.avatar-box {
    background: none !important;
}

.telegram {
    color: #FDC864;
}

.icon-svg {
    width: 20px;
    height: 20px;
}

.service-content-box {
    display: flex; /* keep items in a row */
    flex-wrap: wrap; /* allow wrapping to next line if too many */
    gap: 6px; /* horizontal and vertical spacing between items */
}

.social-item img {
    width: 24px;
}

.skill-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    background: #1e1e1f; /* 1a1a1a adjust to your theme */
    color: #d6d6d6;
    font-size: 14px;
}

.skill-item:hover {
    background: #1a1a1a;
    transform: translateY(-1px);
}

.skill-item img {
    width: 32px;
    height: auto;
    max-height: 32px;
}

.project-img {
    height: 200px;
}

.support-link {
    margin-top: 18px;
    width: 350px;
    color: #fff;
    gap: 10px;
    font-family: sans-serif;
    padding: 23px 0px !important;
}

.support-link:hover {
    box-shadow: 0 0 10px hsla(45, 100%, 71%);
    transform: translateY(-2px);
    opacity: 0.9;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.support-link img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

.sidebar, article {
    box-shadow: var(--shadow-1);
}

.service-item {
    box-shadow: var(--shadow-1);
}

.navbar-list {
    gap: 8px;
}


/* ==========  MY  ========== */

.my-social-list .social-item .social-link {
    font-size: 28px !important;
}

.my-service-list {
    display: grid;
    grid-template-columns: 1fr; /* one item per row */
    gap: 20px; /* vertical gap only */
}

.my-service-list .service-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.my-service-list .service-icon-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.my-wpf {
    height: 32px !important;
    width: auto !important;
}

.my-winforms {
    margin-top: 7.52px;
}

.my-service-header {
    display: flex; /* align icon and text in a row */
    align-items: center; /* vertically center the icon and text */
    gap: 10px; /* space between icon and title */
    margin-bottom: 15px; /* space below the header before skill items */
}

.my-service-header img {
    width: 40px; /* keep icon consistent */
    height: auto;
}

.my-service-header h4 {
    font-size: 1.2rem; /* adjust size if needed */
    font-weight: 600; /* make title bold */
    margin: 0; /* remove default margin */
}

.my-monobank-block {
    display: block;
}

.my-monobank-block a {
    color: #fdc864;
    text-decoration: none;
}

.my-monobank-link {
    display: inline;
}

.my-monobank-link span,
.my-monobank-link a {
    display: inline;
}

.my-tb-block {
    display: block;
    width: 100%;
}

.my-tb-block a {
    color: #fdc864;
    text-decoration: none;
    margin-top: 18px;
}

.my-lang-switcher {
    position: absolute;
    top: -30px;
    right: 0;
    z-index: 999;
    display: flex;
    gap: 10px;
}

.my-lang-switcher a {
    color: #d6d6d6;
}

.my-lang-switcher a.active {
    color: #ffdb70;
}

@media (max-width: 1249px) {
    .my-lang-switcher {
        top: -240px;
    }
}

@media (max-width: 1023px) {
    .my-lang-switcher {
        right: 54px;
        top: 26px;
    }
}

/* ==========  USDT  ========== */

.usdt-support-box {
    margin-top: 18px;
    display: inline-flex; /* shrink-wrap width */
    flex-direction: column; /* vertical stack for label+address+QR */
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #1b2735, #090a0f);
    padding: 16px 20px;
    border-radius: 12px;
    color: #fff;
    font-family: Arial, sans-serif;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

.usdt-label-box {
    display: flex;
    align-items: center;
    gap: 10px; /* space between logo and text */
}

.usdt-logo {
    width: 40px;
    height: 40px;
}

.usdt-label {
    font-size: 16px;
    font-weight: bold;
}

.usdt-address-box {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 6px 10px;
    border-radius: 6px;
    font-family: monospace;
    font-size: 14px;
    color: #d6d6d6;
    max-width: 100%;
}

.usdt-address-box button {
    background-color: #00b894;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.usdt-address-box button:hover {
    background-color: #019973;
}

#usdt-address {
    font-family: monospace;
    word-break: break-all; /* forces wrapping */
    overflow-wrap: anywhere; /* modern browsers */
    max-width: 100%;
}

.usdt-qrcode {
    margin-top: 18px;
}

.usdt-qrcode svg {
    border: 2px solid #fff;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

/* ==========  Telegram Bots  ========== */

.telegram-bots-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.telegram-bots-description p {
    margin-bottom: 12px;
    line-height: 1.6;
    color: var(--light-gray);
}

.telegram-bots-demo {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.telegram-bots-demo-link {
    display: inline-block;
    width: fit-content;
    padding: 10px 18px;
    border-radius: 8px;

}

.telegram-bots-demo-link a {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
}

.telegram-bots-demo-link:hover {
    box-shadow: 0 0 10px hsla(45, 100%, 71%);
    transition: transform 0.2s ease, opacity 0.2s ease;
    transform: translateY(-2px);
    opacity: 0.9;
}

.telegram-bots-demo-credentials {
    background: var(--eerie-black-2);
    border: 1px solid var(--jet);
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 320px;
}

.telegram-bots-demo-credentials span {
    font-size: 0.85rem;
    color: var(--light-gray-70);
}

.telegram-bots-demo-credentials code {
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--accent-color);
}

.telegram-bots-demo-note {
    margin-top: 6px;
    font-size: 0.8rem;
    color: var(--light-gray-70);
}

.telegram-bots-subtitle {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.telegram-bots-architecture img {
    max-width: 100%;
    border-radius: 12px;
    border: 1px solid var(--jet);
    background: var(--eerie-black-2);
}

.stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.stack-group {
    background: var(--eerie-black-2);
    border: 1px solid var(--jet);
    border-radius: 12px;
    padding: 16px;
}

.stack-group h4 {
    margin-bottom: 10px;
    font-size: 1rem;
    color: var(--white);
}

.stack-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.stack-group li {
    font-size: 0.9rem;
    padding: 4px 0;
    color: var(--light-gray);
}
