:root {
    --purple: #7f53ac;
    --blue1: #5f72bd;
    --blue2: #1e3c72;
    --cyan: #43e97b;
    --green: #38f9d7;
    --pink: #fa8bff;
    --red: #ff3b3b;
    --bg-dark: radial-gradient(circle at 30% 30%, #23243a 0%, #18192b 100%);
    --bg-light: radial-gradient(circle at 30% 30%, #e8edf9 0%, #f5f7fb 100%);
    --text-dark: #f3f4f6;
    --text-light: #1e3a8a;
    --ok: #43e97b;
    --off: #ff3b3b;
    --primary: #7f53ac;
    --secondary: #43e97b;
    --accent: #5f72bd;
    --danger: #ff3b3b;
    --warning: #ffa500;
}

html, body {
    margin: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    font-family: "Montserrat", sans-serif;
    background: var(--bg-dark);
    color: var(--text-dark);
    transition: background .5s, color .5s;
}

body.light {
    background: var(--bg-light);
    color: var(--text-light);
}

#lava-bg {
    position: fixed;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    filter: blur(18px) brightness(.8) saturate(1.2);
    transition: background .5s;
}

body.light #lava-bg {
    filter: blur(14px) brightness(1.1) saturate(1.1);
}

#lava-bg svg {
    width: 100vw;
    height: 100vh;
    display: block;
}

/* Скрываем header как в Telegram Web */
header {
    display: none;
}

main, .sidebar, .update-banner {
    position: relative;
    z-index: 2;
}

/* Улучшенный sidebar */
.sidebar {
    position: fixed;
    top: 10px;
    left: 10px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--purple), var(--blue2));
    border-radius: 50%;
    transition: all .4s cubic-bezier(.77, 0, .18, 1.01);
    z-index: 20;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 32px 0 rgba(31, 38, 135, .18);
    overflow: hidden;
}

.sidebar.active {
    width: 220px;
    height: auto;
    border-radius: 20px;
    padding: 10px 0;
}

.sidebar .burger-btn {
    background: linear-gradient(135deg, #fff, #e3e6f3 80%);
    border: none;
    color: var(--blue2);
    font-size: 1.5rem;
    font-weight: 700;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px #7f53ac22;
    transition: background .2s, box-shadow .2s;
    outline: none;
}

.sidebar.active .burger-btn {
    width: 48px;
    height: 48px;
    margin: 18px 0 18px 18px;
}

.sidebar button:not(.burger-btn) {
    display: block;
    width: 180px;
    margin: 10px auto;
    padding: 10px;
    border: none;
    border-radius: 14px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
    font-size: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInPanel .5s forwards;
}

.sidebar.active button:not(.burger-btn) {
    animation: fadeInPanel .5s forwards;
}

.sidebar button:not(.burger-btn):nth-child(2) {
    animation-delay: .12s;
}

.sidebar button:not(.burger-btn):nth-child(3) {
    animation-delay: .22s;
}

.sidebar button:not(.burger-btn):nth-child(4) {
    animation-delay: .32s;
}

.sidebar button:not(.burger-btn):nth-child(5) {
    animation-delay: .42s;
}

@keyframes fadeInPanel {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sidebar button:not(.burger-btn):hover {
    background: rgba(255, 255, 255, .22);
}

/* ---------- MAIN ---------- */
main {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 20px;
}

.menu {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu.hidden {
    display: none !important;
}

.stats-board {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    justify-content: center;
}

.stat-card {
    width: 170px;
    height: 120px;
    border-radius: 22px;
    padding: 20px 14px;
    background: linear-gradient(135deg, rgba(127, 83, 172, .85) 0%, rgba(67, 233, 123, .65) 100%);
    color: #fff;
    text-align: center;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, .37);
    position: relative;
    overflow: hidden;
    animation: breath 4s ease-in-out infinite;
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, .13);
    transition: transform .35s, box-shadow .35s;
}

.stat-card.card-purple {
    background: linear-gradient(135deg, rgba(127, 83, 172, .92) 0%, rgba(250, 139, 255, .65) 100%);
    box-shadow: 0 8px 32px 0 rgba(127, 83, 172, .18);
}

.stat-card.card-cyan {
    background: linear-gradient(135deg, rgba(67, 233, 123, .92) 0%, rgba(94, 234, 212, .65) 100%);
    box-shadow: 0 8px 32px 0 rgba(67, 233, 123, .18);
}

.stat-card.card-green {
    background: linear-gradient(135deg, rgba(30, 60, 114, .92) 0%, rgba(67, 233, 123, .65) 100%);
    box-shadow: 0 8px 32px 0 rgba(30, 60, 114, .18);
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 16px 40px 0 rgba(31, 38, 135, .25);
}

.stat-card h3 {
    margin: 0 0 6px;
    font-size: 2.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.1;
}

.stat-card span {
    font-size: .9rem;
    opacity: .88;
    font-weight: 600;
    letter-spacing: .01em;
}

.stat-card .rub {
    font-size: 1.2rem;
    vertical-align: middle;
    margin-left: 2px;
}

.stat-card::after {
    content: "";
    position: absolute;
    inset: -150%;
    background: radial-gradient(circle, #ffffff33 0%, transparent 60%);
    animation: shine 7s linear infinite;
}

@keyframes shine {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes breath {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

/* LIGHT THEME STAT CARD */
body.light .stat-card {
    background: linear-gradient(135deg, rgba(200, 200, 255, .65) 0%, rgba(180, 255, 210, .55) 100%);
    color: #1e1e2b;
    border-color: rgba(0, 0, 0, .15);
}

body.light .stat-card.card-purple {
    background: linear-gradient(135deg, rgba(200, 180, 255, .7) 0%, rgba(255, 200, 255, .55) 100%);
}

body.light .stat-card.card-cyan {
    background: linear-gradient(135deg, rgba(180, 255, 210, .7) 0%, rgba(180, 240, 255, .55) 100%);
}

body.light .stat-card.card-green {
    background: linear-gradient(135deg, rgba(180, 200, 255, .7) 0%, rgba(180, 255, 210, .55) 100%);
}

/* ---------- COMPUTERS ---------- */
.computers {
    flex: 1;
    display: none;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    padding-bottom: 35px;
}

.computers.active {
    display: flex;
    animation: fade .3s;
}

@keyframes fade {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

.computers h3 {
    width: 92%;
    max-width: 400px;
    margin: 12px 0 8px;
    font-weight: 600;
}

.pc-card {
    width: 92%;
    max-width: 400px;
    margin: 6px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .92);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
    transition: background .4s;
}

body.dark .pc-card {
    background: rgba(40, 44, 70, .92);
}

.pc-info {
    color: #23243a;
}

body.dark .pc-info {
    color: #f3f4f6;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
    display: inline-block;
}

.pc-info small {
    display: block;
    font-size: .98rem;
    opacity: .92;
}

.pc-changed {
    animation: soft-gradient-perl 5s cubic-bezier(.4, 0, .2, 1);
}

@keyframes soft-gradient-perl {
    0%, 100% {
        background: transparent
    }
    10%, 90% {
        background: linear-gradient(90deg, rgba(127, 83, 172, .18) 0%, rgba(67, 233, 123, .13) 100%)
    }
    20%, 80% {
        background: linear-gradient(90deg, rgba(67, 233, 123, .18) 0%, rgba(127, 83, 172, .13) 100%)
    }
    40%, 60% {
        background: linear-gradient(90deg, rgba(94, 234, 212, .18) 0%, rgba(250, 139, 255, .13) 100%)
    }
}

body.light .pc-changed {
    animation: soft-gradient-perl-light 5s cubic-bezier(.4, 0, .2, 1);
}

@keyframes soft-gradient-perl-light {
    0%, 100% {
        background: transparent
    }
    10%, 90% {
        background: linear-gradient(90deg, rgba(67, 233, 123, .13) 0%, rgba(127, 83, 172, .10) 100%)
    }
    20%, 80% {
        background: linear-gradient(90deg, rgba(250, 139, 255, .13) 0%, rgba(67, 233, 123, .10) 100%)
    }
    40%, 60% {
        background: linear-gradient(90deg, rgba(127, 83, 172, .13) 0%, rgba(94, 234, 212, .10) 100%)
    }
}

.main-btn.purple, .main-btn.green {
    color: #fff;
    font-weight: 700;
    border: none;
    outline: none;
    border-radius: 22px;
    padding: 0 18px;
    min-width: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.08rem;
    transition: .2s;
}

.main-btn.purple {
    background: linear-gradient(90deg, #ff3b3b 0%, #fa8bff 100%);
}

.main-btn.green {
    background: linear-gradient(90deg, #1e3c72 0%, #43e97b 100%);
}

.main-btn.purple:hover, .main-btn.green:hover {
    box-shadow: 0 4px 16px #fa8bff44;
}

/* ---------- UPDATE BANNER & TOAST ---------- */
.update-banner {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 18px;
    background: rgba(79, 70, 229, .95);
    border-radius: 25px;
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
    opacity: 0;
    transition: .4s;
    z-index: 15;
}

.update-banner.show {
    opacity: 1;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 3px solid rgba(255, 255, 255, .3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

#error-toast {
    position: fixed;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #ff3b3b, #fa8bff);
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 14px 32px;
    border-radius: 18px;
    box-shadow: 0 4px 24px #ff3b3b33;
    opacity: 0;
    pointer-events: none;
    z-index: 100;
    transition: opacity .5s, top .5s;
}

#error-toast.show {
    opacity: 1;
    pointer-events: auto;
    top: 80px;
}

/* ---------- PROFILES ---------- */
#profilesPanel {
    flex: 1;
    display: none;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    padding-bottom: 35px;
}

#profilesPanel h3 {
    font-size: 1.4rem;
    color: #fff;
    margin: 18px 0;
}

.search-container {
    position: relative;
    width: 96%;
    max-width: 400px;
    margin-bottom: 16px;
}

.search-container input {
    width: 100%;
    padding: 12px 40px;
    border: none;
    border-radius: 14px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: .3s;
}

.search-container input:focus {
    background: rgba(255, 255, 255, .25);
    box-shadow: 0 0 12px rgba(250, 139, 255, .4);
}

.search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    opacity: .5;
}

.profile-list {
    width: 92%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-item {
    background: linear-gradient(135deg, rgba(127, 83, 172, .35), rgba(67, 233, 123, .25));
    border-radius: 16px;
    padding: 12px 18px;
    color: #fff;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
    cursor: pointer;
    transition: .3s;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeUp .4s forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-item:hover {
    transform: scale(1.03);
    background: linear-gradient(135deg, rgba(250, 139, 255, .45), rgba(67, 233, 123, .35));
}

/* LIGHT THEME PROFILES */
body.light #profilesPanel h3 {
    color: #1e1e2b;
}

body.light .search-container input {
    background: rgba(0, 0, 0, .07);
    color: #1e1e2b;
}

body.light .search-container input:focus {
    background: rgba(0, 0, 0, .12);
    box-shadow: 0 0 12px rgba(0, 120, 200, .3);
}

body.light .profile-item {
    background: linear-gradient(135deg, rgba(180, 180, 255, .25), rgba(180, 255, 210, .20));
    color: #1e1e2b;
}

body.light .profile-item:hover {
    background: linear-gradient(135deg, rgba(200, 200, 255, .35), rgba(210, 255, 225, .30));
}

/* Gender badge */
.gender-badge {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #43e97b, #1e3c72);
    box-shadow: 0 0 10px 2px rgba(67, 233, 123, .6);
    animation: pulseBadge 1.8s ease-in-out infinite;
}

.gender-badge.female {
    background: linear-gradient(135deg, #fa8bff, #ff3b3b);
    box-shadow: 0 0 10px 2px rgba(250, 139, 255, .6);
}

@keyframes pulseBadge {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.25);
        opacity: .75;
    }
}

/* No-results placeholder */
.no-results {
    width: 92%;
    max-width: 400px;
    padding: 30px 20px;
    margin-top: 30px;
    text-align: center;
    color: #fff;
    opacity: 0;
    animation: fadeInResults .6s forwards;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

@keyframes fadeInResults {
    to {
        opacity: 1;
    }
}

.no-results svg {
    width: 80px;
    height: 80px;
    fill: rgba(255, 255, 255, .4);
    animation: zoomPulse 1.6s infinite;
}

@keyframes zoomPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

/* LIGHT THEME NO-RESULTS */
body.light .no-results {
    color: #1e1e2b;
}

body.light .no-results svg {
    fill: rgba(0, 0, 0, .15);
}

/* ---------- TG ACCOUNTS ---------- */
#tgAccountsPanel {
    flex: 1;
    display: none;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    padding-bottom: 35px;
}

#tgAccountsPanel h3 {
    font-size: 1.4rem;
    color: #fff;
    margin: 18px 0;
}

/* Категории */
.categories-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    width: 92%;
    max-width: 400px;
    margin: 16px 0;
}

.category-tab {
    padding: 8px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: .85rem;
    font-weight: 600;
    transition: all .3s;
    flex: 1;
    min-width: 80px;
    text-align: center;
}

.category-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(127, 83, 172, .3);
}

.category-tab:hover:not(.active) {
    background: rgba(255, 255, 255, .2);
}

/* Секции аккаунтов */
.accounts-section {
    width: 92%;
    max-width: 400px;
    margin-bottom: 25px;
    animation: fadeInUp .5s ease-out;
}

.accounts-section h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 12px;
    padding-left: 12px;
    border-left: 4px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.accounts-section.pinned h4 {
    border-left-color: var(--secondary);
}

.accounts-section.ban h4 {
    border-left-color: var(--danger);
}

.accounts-section.error h4 {
    border-left-color: var(--danger);
}

.accounts-section.ready h4 {
    border-left-color: var(--secondary);
}

.accounts-section.tries h4 {
    border-left-color: var(--warning);
}

.accounts-section.writing h4 {
    border-left-color: var(--accent);
}

.accounts-section.queue h4 {
    border-left-color: var(--primary);
}

.accounts-section.all h4 {
    border-left-color: var(--primary);
}

.tg-account-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tg-account-item {
    background: linear-gradient(135deg, rgba(127, 83, 172, .35), rgba(67, 233, 123, .25));
    border-radius: 16px;
    padding: 14px 16px;
    color: #fff;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
    cursor: pointer;
    transition: all .3s;
    position: relative;
    overflow: hidden;
}

.tg-account-item:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(250, 139, 255, .45), rgba(67, 233, 123, .35));
    box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
}

.tg-account-item.changed {
    animation: highlightChange 2s ease-in-out;
}

@keyframes highlightChange {
    0%, 100% {
        background: linear-gradient(135deg, rgba(127, 83, 172, .35), rgba(67, 233, 123, .25));
    }
    25% {
        background: linear-gradient(135deg, rgba(250, 139, 255, .6), rgba(67, 233, 123, .5));
    }
    50% {
        background: linear-gradient(135deg, rgba(127, 83, 172, .6), rgba(250, 139, 255, .5));
    }
    75% {
        background: linear-gradient(135deg, rgba(67, 233, 123, .6), rgba(127, 83, 172, .5));
    }
}

/* LIGHT THEME TG ACCOUNTS */
body.light #tgAccountsPanel h3 {
    color: #1e1e2b;
}

body.light .tg-account-item {
    background: linear-gradient(135deg, rgba(180, 180, 255, .25), rgba(180, 255, 210, .20));
    color: #1e1e2b;
}

body.light .tg-account-item:hover {
    background: linear-gradient(135deg, rgba(200, 200, 255, .35), rgba(210, 255, 225, .30));
}

body.light .category-tab {
    background: rgba(0, 0, 0, .07);
    color: #1e1e2b;
}

body.light .category-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
}

body.light .accounts-section h4 {
    color: #1e1e2b;
}

/* Status badge */
.status-badge {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--secondary);
}

.status-badge.waiting {
    background: var(--warning);
}

.status-badge.error {
    background: var(--danger);
}

.status-badge.queue {
    background: var(--primary);
}

.status-badge.writing {
    background: var(--accent);
}

.status-badge.tries {
    background: var(--warning);
}

.status-badge.ban {
    background: var(--danger);
}

/* No-results placeholder for TG */
.no-results-tg {
    width: 92%;
    max-width: 400px;
    padding: 30px 20px;
    margin-top: 30px;
    text-align: center;
    color: #fff;
    opacity: 0;
    animation: fadeInResults .6s forwards;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* LIGHT THEME NO-RESULTS TG */
body.light .no-results-tg {
    color: #1e1e2b;
}

body.light .no-results-tg svg {
    fill: rgba(0, 0, 0, .15);
}

/* Pin button */
.pin-btn {
    background: rgba(255, 255, 255, .1);
    border: none;
    border-radius: 8px;
    padding: 6px 12px;
    color: #fff;
    cursor: pointer;
    font-size: .8rem;
    transition: background .2s;
}

.pin-btn:hover {
    background: rgba(255, 255, 255, .2);
}

.pin-btn.pinned {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
}

/* Action buttons */
.action-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.action-btn {
    border: none;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    flex: 1;
    min-width: 120px;
}

.action-btn.primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
}

.action-btn.secondary {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: #fff;
}

.action-btn.warning {
    background: linear-gradient(135deg, var(--warning), var(--accent));
    color: #fff;
}

.action-btn.danger {
    background: linear-gradient(135deg, var(--danger), var(--primary));
    color: #fff;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
}

/* Status selection modal */
.status-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 15px 0;
}

.status-option {
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .1);
    border: none;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    transition: all .2s;
    text-align: center;
}

.status-option:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, .2);
}

.status-option.ready {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
}

.status-option.waiting {
    background: linear-gradient(135deg, var(--warning), var(--accent));
}

.status-option.tries {
    background: linear-gradient(135deg, var(--warning), var(--primary));
}

.status-option.writing {
    background: linear-gradient(135deg, var(--accent), var(--primary));
}

.status-option.queue {
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.status-option.error {
    background: linear-gradient(135deg, var(--danger), var(--primary));
}

.status-option.ban {
    background: linear-gradient(135deg, var(--danger), var(--accent));
}
/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Универсальное решение */
.search-container {
    width: 100% !important;
    max-width: 200px !important;
    margin: 0 auto 16px auto !important;
}

/* Для всех мобильных (включая Web App) */
@media (max-width: 768px) {
    .search-container {
        max-width: 160px !important;
        margin: 0 auto 12px auto !important;
    }
    
    #tgAccountsSearch, 
    #profilesSearch {
        font-size: 14px !important;
        padding: 10px 14px !important;
    }
}