:root{--ink:#142033;--muted:#667085;--line:#e6eaf0;--navy:#162b4d;--blue:#246bfe;--bg:#f5f7fb;--green:#0e9f6e;--red:#d14343}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.55 Inter,Segoe UI,Arial,sans-serif}.topbar{min-height:68px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:36px;padding:0 max(24px,calc((100% - 1160px)/2))}.brand{font-weight:800;font-size:20px;color:var(--navy);text-decoration:none}nav{display:flex;gap:24px;flex:1}nav a,.muted-link{color:var(--muted);text-decoration:none}.profile{display:flex;align-items:center;gap:15px;font-size:14px}.link-button{border:0;background:none;color:var(--blue);cursor:pointer;padding:0}.container{max-width:1160px;margin:0 auto;padding:42px 24px 70px}.hero{display:flex;align-items:center;justify-content:space-between;gap:30px;margin:8px 0 48px}.eyebrow{font-size:12px;letter-spacing:.12em;font-weight:800;color:var(--blue);margin-bottom:8px}h1{font-size:34px;line-height:1.2;margin:0 0 10px}h2{margin:0 0 8px;font-size:21px}h3{margin:6px 0 8px}p{color:var(--muted);margin:0}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:30px 0 20px}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}.card,.panel,.auth-card,.balance-card{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 4px 16px rgba(20,32,51,.04)}.card{padding:22px}.card small{color:var(--muted)}.card p{white-space:normal}.multiline{white-space:pre-wrap!important}.panel{padding:25px;margin-bottom:24px}.narrow{max-width:600px}.balance-card{padding:19px 22px;min-width:245px}.balance-card span{display:block;font-size:13px;color:var(--muted);margin-bottom:4px}.balance-card strong{font-size:23px}.auth-card{max-width:460px;margin:72px auto;padding:34px}.form-stack{display:grid;gap:17px;margin-top:20px}label{display:grid;gap:7px;font-weight:650}input,textarea,select{font:inherit;color:var(--ink);width:100%;border:1px solid #cfd7e3;border-radius:9px;padding:11px 12px;background:#fff}textarea{resize:vertical}button,.outline-button{font:inherit;font-weight:750;border-radius:9px;padding:11px 16px;cursor:pointer;text-decoration:none;text-align:center}button{background:var(--blue);color:white;border:1px solid var(--blue)}.outline-button{border:1px solid #bfd0ff;color:var(--blue);background:white}.notice{padding:13px 16px;border-radius:10px;margin-bottom:24px}.notice.success{background:#e9f8f2;color:#087b54}.notice.error{background:#fff0f0;color:#b33333}.empty{padding:28px;text-align:center;color:var(--muted);background:white;border:1px dashed #cbd3df;border-radius:14px}.history-filter{display:flex;align-items:end;justify-content:space-between;gap:22px}.history-filter form{min-width:280px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:670px}th,td{text-align:left;padding:13px 10px;border-bottom:1px solid var(--line)}th{font-size:12px;text-transform:uppercase;color:var(--muted);letter-spacing:.04em}.amount{text-align:right}.amount.topup{color:var(--green);font-weight:750}.amount.expense{color:var(--red);font-weight:750}.tag{font-size:12px;border-radius:20px;padding:4px 9px}.tag.topup{color:#087b54;background:#e6f7ef}.tag.expense{color:#b33333;background:#fff0f0}.muted{color:var(--muted);font-weight:400}@media(max-width:700px){.topbar{padding:14px 20px;gap:12px;flex-wrap:wrap}.topbar nav{order:3;width:100%;gap:16px;font-size:13px}.profile{margin-left:auto}.container{padding:28px 18px}.hero,.section-heading,.history-filter{align-items:stretch;flex-direction:column}.balance-card{width:100%}h1{font-size:28px}}
.brand {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1;
}

.brand strong {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.brand small {
    font-size: 11px;
    margin-top: 5px;
    opacity: 0.75;
    letter-spacing: 0.5px;
}

.warehouse-detail-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:24px;
    margin-bottom:30px;
}

.back-link{
    display:inline-block;
    color:var(--blue);
    text-decoration:none;
    font-weight:650;
    margin-bottom:18px;
}

.warehouse-detail-header h1{
    margin-bottom:6px;
}

.warehouse-detail-header p{
    margin:0;
}

.warehouse-detail-header p strong{
    color:var(--ink);
}

.warehouse-stat-value small{
    font-size:14px;
    color:var(--muted);
    font-weight:600;
}

.material-info-list{
    display:grid;
}

.material-info-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    padding:15px 0;
    border-bottom:1px solid var(--line);
}

.material-info-row:last-child{
    border-bottom:0;
}

.material-info-row span{
    color:var(--muted);
}

.material-info-row strong{
    text-align:right;
}

.attachment-list{
    display:grid;
    gap:10px;
}

.attachment-card{
    display:flex;
    align-items:center;
    gap:13px;
    padding:13px;
    border:1px solid var(--line);
    border-radius:12px;
    text-decoration:none;
    color:var(--ink);
    transition:.15s;
}

.attachment-card:hover{
    border-color:#bfd0ff;
    background:#f8faff;
}

.attachment-icon{
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--bg);
    border-radius:10px;
    font-size:21px;
    flex-shrink:0;
}

.attachment-info{
    min-width:0;
    display:grid;
    gap:2px;
}

.attachment-info strong{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.attachment-info small{
    color:var(--muted);
}

.btn-danger{
    background:#fff0f0;
    color:#b33333;
    border:1px solid #f1c5c5;
}

.btn-danger:hover{
    background:#ffe5e5;
}

@media(max-width:700px){

    .warehouse-detail-header{
        align-items:stretch;
        flex-direction:column;
    }

    .warehouse-detail-header form,
    .warehouse-detail-header form button{
        width:100%;
    }

    .material-info-row{
        align-items:flex-start;
        flex-direction:column;
        gap:4px;
    }

    .material-info-row strong{
        text-align:left;
    }

}
/* =========================================================
   TASKFLOW — MODERN TASK DASHBOARD
   ========================================================= */

.task-list-panel{
    padding:0 !important;
    overflow:hidden !important;
    border-radius:18px;
}

.task-list-panel > div:first-child{
    padding:24px 28px 18px;
    margin:0 !important;
}

.task-list-panel h2{
    font-size:21px;
    font-weight:800;
}

.task-table-wrap{
    overflow-x:auto;
}

.task-table{
    width:100%;
    min-width:900px;
    border-collapse:collapse;
}

.task-table th{
    background:#f8faff;
    color:#64748b;
    font-size:11px;
    font-weight:800;
    letter-spacing:.06em;
    padding:13px 16px;
    border-top:1px solid #edf0f5;
    border-bottom:1px solid #e5eaf1;
    white-space:nowrap;
}

.task-table td{
    padding:15px 16px;
    border-bottom:1px solid #edf0f5;
    vertical-align:middle;
}

.task-table tbody tr{
    background:#fff;
    transition:.15s ease;
}

.task-table tbody tr:hover{
    background:#f9fbff;
}

.task-number{
    width:42px;
    color:#64748b;
    font-weight:750;
}

.task-object{
    min-width:240px;
}

.task-object a{
    color:#172554;
    font-weight:800;
    text-decoration:none;
}

.task-object a:hover{
    color:var(--blue);
}

.task-object .task-description{
    display:block;
    margin-top:3px;
    color:#7a8699;
    font-size:13px;
    max-width:330px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.task-employee{
    display:flex;
    align-items:center;
    gap:10px;
    min-width:170px;
}

.task-avatar{
    width:34px;
    height:34px;
    border-radius:50%;
    background:#eaf6dc;
    color:#4d8d22;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:11px;
    font-weight:850;
    flex-shrink:0;
}

.task-employee-name{
    font-weight:650;
    color:#243247;
}

.task-employee-role{
    display:block;
    color:#8a94a6;
    font-size:11px;
    margin-top:1px;
}

.task-deadline{
    white-space:nowrap;
}

.task-deadline-date{
    display:block;
    color:#243247;
    font-weight:650;
}

.task-deadline-time{
    display:block;
    color:#8791a2;
    font-size:11px;
}

.task-badge{
    display:inline-flex;
    align-items:center;
    gap:6px;
    border-radius:8px;
    padding:6px 10px;
    font-size:12px;
    font-weight:750;
    white-space:nowrap;
    border:1px solid transparent;
}

.task-badge::before{
    content:"";
    width:7px;
    height:7px;
    border-radius:50%;
    background:currentColor;
}

.task-priority-oddiy{
    color:#1769e0;
    background:#f1f6ff;
    border-color:#d8e6ff;
}

.task-priority-orta{
    color:#c47b00;
    background:#fff8e8;
    border-color:#ffe5a8;
}

.task-priority-yuqori{
    color:#d63c3c;
    background:#fff1f1;
    border-color:#ffd2d2;
}

.task-status-yangi{
    color:#1769e0;
    background:#f1f6ff;
    border-color:#d8e6ff;
}

.task-status-qayta{
    color:#d47700;
    background:#fff5ea;
    border-color:#ffe0b8;
}

.task-status-tekshiruv{
    color:#7050c8;
    background:#f5f0ff;
    border-color:#e3d8ff;
}

.task-status-bajarildi{
    color:#15945d;
    background:#ecfaf3;
    border-color:#cdeedc;
}

.task-status-bajarildi::before{
    content:"✓";
    width:auto;
    height:auto;
    background:none;
    font-size:11px;
}

.task-actions-modern{
    display:flex;
    align-items:center;
    gap:7px;
    white-space:nowrap;
}

.task-action-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    border-radius:8px;
    padding:8px 12px;
    font-size:12px;
    font-weight:800;
    text-decoration:none;
    cursor:pointer;
    transition:.15s;
}

.task-action-complete{
    color:var(--blue);
    background:#fff;
    border:1px solid #bcd0ff;
}

.task-action-complete:hover{
    background:#f3f7ff;
    border-color:var(--blue);
}

.task-action-approve{
    color:#128453;
    background:#f0fbf5;
    border:1px solid #bfe9d0;
}

.task-action-return{
    color:#c66d00;
    background:#fff8ee;
    border:1px solid #f4d5a5;
}

.task-action-secondary{
    color:#64748b;
    background:#fff;
    border:1px solid #d9e0e9;
}

.task-summary-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:14px;
    margin:0 0 22px;
}

.task-summary-card{
    background:#fff;
    border:1px solid var(--line);
    border-radius:15px;
    padding:17px 18px;
    display:flex;
    align-items:center;
    gap:12px;
    box-shadow:0 3px 12px rgba(20,32,51,.035);
}

.task-summary-icon{
    width:40px;
    height:40px;
    border-radius:11px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:20px;
    background:#f3f6fb;
}

.task-summary-number{
    display:block;
    font-size:20px;
    line-height:1;
    font-weight:850;
    color:#162b4d;
}

.task-summary-label{
    display:block;
    margin-top:5px;
    font-size:12px;
    color:#6b778b;
}

.task-toolbar{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:10px;
    flex-wrap:wrap;
}

.task-search{
    width:260px;
    position:relative;
}

.task-search input{
    height:42px;
    padding-left:40px;
    border-radius:10px;
    border-color:#dce3ed;
    background:#fff;
}

.task-search-icon{
    position:absolute;
    left:13px;
    top:9px;
    font-size:19px;
    color:#8a95a7;
    pointer-events:none;
}

.task-filter-select{
    width:155px;
    height:42px;
    padding:0 12px;
    border-radius:10px;
    border-color:#dce3ed;
}

@media(max-width:900px){

    .task-summary-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:600px){

    .task-summary-grid{
        grid-template-columns:1fr;
    }

    .task-toolbar{
        width:100%;
    }

    .task-search{
        width:100%;
    }

    .task-filter-select{
        width:100%;
    }

}

/* =========================================================
   TASKFLOW TASKS — FINAL MODERN DESIGN
   ========================================================= */

.tasks-dashboard{
    display:grid;
    gap:22px;
}

.tasks-summary{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:12px;
}

.tasks-summary-card{
    background:#fff;
    border:1px solid var(--line);
    border-radius:14px;
    padding:16px;
    display:flex;
    align-items:center;
    gap:12px;
}

.tasks-summary-icon{
    width:42px;
    height:42px;
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:19px;
    background:#f3f6fb;
}

.tasks-summary-card strong{
    display:block;
    font-size:21px;
    line-height:1;
}

.tasks-summary-card span{
    display:block;
    color:var(--muted);
    font-size:12px;
    margin-top:5px;
}

.tasks-toolbar{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:10px;
    flex-wrap:wrap;
}

.tasks-search{
    position:relative;
    width:260px;
}

.tasks-search input{
    height:42px;
    padding-left:38px;
    border-radius:10px;
}

.tasks-search-icon{
    position:absolute;
    left:13px;
    top:8px;
    color:#7c8798;
    font-size:19px;
    pointer-events:none;
}

.tasks-priority-filter{
    width:155px;
    height:42px;
    border-radius:10px;
}

.task-number-cell{
    width:45px;
    text-align:center !important;
    color:#64748b;
    font-weight:750;
}

.task-object-cell a{
    font-weight:800;
    color:#172554;
    text-decoration:none;
}

.task-object-cell a:hover{
    color:var(--blue);
}

.task-description{
    display:block;
    color:#7a8699;
    font-size:13px;
    margin-top:3px;
}

.task-person{
    display:flex;
    align-items:center;
    gap:9px;
}

.task-person-avatar{
    width:34px;
    height:34px;
    border-radius:50%;
    background:#eaf6dc;
    color:#4d8d22;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:11px;
    font-weight:850;
}

.task-person-name{
    font-weight:650;
}

.task-person-role{
    display:block;
    color:#8a94a6;
    font-size:11px;
}

.task-date{
    white-space:nowrap;
}

.task-date-main{
    display:block;
    font-weight:650;
}

.task-date-time{
    display:block;
    color:#8791a2;
    font-size:11px;
}

.task-badge{
    display:inline-flex;
    align-items:center;
    gap:6px;
    border-radius:8px;
    padding:6px 10px;
    font-size:12px;
    font-weight:750;
    white-space:nowrap;
}

.task-badge-dot{
    width:7px;
    height:7px;
    border-radius:50%;
    background:currentColor;
}

.task-priority-oddiy{
    color:#1769e0;
    background:#f1f6ff;
    border:1px solid #d8e6ff;
}

.task-priority-orta{
    color:#c47b00;
    background:#fff8e8;
    border:1px solid #ffe5a8;
}

.task-priority-yuqori{
    color:#d63c3c;
    background:#fff1f1;
    border:1px solid #ffd2d2;
}

.task-status-yangi{
    color:#1769e0;
    background:#f1f6ff;
    border:1px solid #d8e6ff;
}

.task-status-qayta{
    color:#d47700;
    background:#fff5ea;
    border:1px solid #ffe0b8;
}

.task-status-tekshiruv{
    color:#7050c8;
    background:#f5f0ff;
    border:1px solid #e3d8ff;
}

.task-status-bajarildi{
    color:#15945d;
    background:#ecfaf3;
    border:1px solid #cdeedc;
}

.task-status-bajarildi .task-badge-dot{
    display:none;
}

.task-action-inline{
    display:inline-flex;
    align-items:center;
    gap:6px;
    border-radius:8px;
    padding:8px 12px;
    font-size:12px;
    font-weight:800;
    text-decoration:none;
    white-space:nowrap;
}

.task-action-complete{
    color:var(--blue);
    background:#fff;
    border:1px solid #bcd0ff;
}

.task-action-complete:hover{
    background:#f3f7ff;
}

.task-action-approve{
    background:#ecfaf3;
    color:#128453;
    border:1px solid #bfe9d0;
}

.task-action-return{
    background:#fff7ec;
    color:#c66d00;
    border:1px solid #f4d5a5;
}

.task-actions-modern{
    display:flex;
    align-items:center;
    gap:7px;
}

.task-count-pill{
    background:#f5f7fb;
    border:1px solid #e1e6ee;
    border-radius:20px;
    padding:6px 12px;
    font-size:12px;
    font-weight:700;
    color:#64748b;
}

@media(max-width:900px){
    .tasks-summary{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:600px){
    .tasks-summary{
        grid-template-columns:1fr;
    }

    .tasks-search{
        width:100%;
    }

    .tasks-priority-filter{
        width:100%;
    }
}


/* =====================================================
   MAXWELL — PREMIUM NAVIGATION
   ===================================================== */

.topbar {
    min-height: 76px;
    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 205px;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #162b4d, #246bfe);
    color: #fff;
    font-size: 21px;
    font-weight: 850;
    letter-spacing: .5px;
    box-shadow: 0 5px 14px rgba(36,107,254,.20);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-text strong {
    font-size: 20px;
    font-weight: 850;
    letter-spacing: 1.5px;
    color: var(--navy);
}

.brand-text small {
    margin-top: 5px;
    font-size: 9px;
    letter-spacing: .55px;
    color: var(--muted);
    opacity: .9;
}


/* Navigatsiya */

.main-nav {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1;
}

.main-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 42px;
    padding: 0 13px;
    border-radius: 11px;
    color: #667085;
    text-decoration: none;
    font-size: 14px;
    font-weight: 650;
    transition:
        background .15s ease,
        color .15s ease,
        transform .15s ease;
}

.main-nav a:hover {
    color: var(--navy);
    background: #f4f7fb;
    transform: translateY(-1px);
}

.main-nav a.active {
    color: var(--blue);
    background: #eef4ff;
}

.nav-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    line-height: 1;
}

.main-nav a:nth-child(2) .nav-icon {
    font-size: 17px;
    font-weight: 900;
}


/* Profil */

.profile {
    padding-left: 12px;
    border-left: 1px solid var(--line);
}


/* Mobil */

@media (max-width: 900px) {

    .topbar {
        gap: 14px;
    }

    .brand {
        min-width: auto;
    }

    .main-nav {
        gap: 2px;
    }

    .main-nav a {
        padding: 0 9px;
    }

    .main-nav a span:last-child {
        display: none;
    }

}

@media (max-width: 700px) {

    .brand-text small {
        display: none;
    }

    .brand-text strong {
        font-size: 18px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
    }

    .main-nav {
        overflow-x: auto;
        width: 100%;
        padding-bottom: 2px;
    }

    .main-nav a {
        flex-shrink: 0;
    }

    .profile {
        border-left: 0;
        padding-left: 0;
    }

}

/* =====================================================
   MAXWELL — FINAL PREMIUM NAVIGATION
   ===================================================== */

.topbar {
    min-height: 78px;
    gap: 34px;
    padding-left: max(30px, calc((100% - 1160px) / 2));
    padding-right: max(30px, calc((100% - 1160px) / 2));
}


/* BRAND */

.brand {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 190px;
    text-decoration: none;
    line-height: 1;
}

.brand-word {
    color: #142033;
    font-size: 27px;
    font-weight: 850;
    letter-spacing: 2.2px;
}

.brand-tagline {
    margin-top: 6px;
    color: #8a94a5;
    font-size: 8.5px;
    font-weight: 650;
    letter-spacing: 1.15px;
    text-transform: uppercase;
}


/* NAVIGATION */

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.main-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 14px;
    border-radius: 10px;
    color: #667085;
    background: transparent;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 650;
    white-space: nowrap;
    transition:
        color .18s ease,
        background .18s ease,
        box-shadow .18s ease;
}

.main-nav a:hover {
    color: #142033;
    background: #f5f7fa;
}

.main-nav a.active {
    color: #246bfe;
    background: #eef4ff;
    box-shadow:
        inset 0 0 0 1px #dce7ff;
}


/* ICONS */

.nav-icon {
    width: 21px;
    height: 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #7c8798;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
}

.main-nav a:hover .nav-icon,
.main-nav a.active .nav-icon {
    color: #246bfe;
}


/* FINANCE ICON */

.main-nav a:last-child .nav-icon {
    width: 20px;
    height: 20px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    font-size: 11px;
}


/* PROFILE */

.profile {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-left: 20px;
    border-left: 1px solid #e7ebf1;
}

.profile > span {
    color: #344054;
    font-size: 13px;
    font-weight: 650;
}


/* MOBILE */

@media (max-width: 900px) {

    .topbar {
        gap: 18px;
    }

    .brand {
        min-width: 155px;
    }

    .brand-word {
        font-size: 23px;
    }

    .main-nav a {
        padding: 0 10px;
    }

    .main-nav a span:last-child {
        display: none;
    }

}

@media (max-width: 700px) {

    .topbar {
        padding: 13px 18px;
    }

    .brand {
        min-width: auto;
    }

    .brand-tagline {
        display: none;
    }

    .brand-word {
        font-size: 21px;
        letter-spacing: 1.5px;
    }

    .main-nav {
        overflow-x: auto;
        gap: 3px;
    }

    .main-nav a {
        flex-shrink: 0;
    }

    .profile {
        padding-left: 0;
        border-left: 0;
    }

}

/* =====================================================
   MAXWELL — FINAL BRAND
   ===================================================== */

.brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 13px;
    min-width: 245px;
}

.brand-logo {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #c9a84e;
    border-radius: 12px;

    background: linear-gradient(
        145deg,
        #17243a,
        #0b1424
    );

    color: #e4bc55;
    font-size: 25px;
    font-weight: 900;
    letter-spacing: -1px;

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.04),
        0 4px 14px rgba(0,0,0,.25);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
}

.brand-word {
    color: #f1c65b;
    font-size: 29px;
    font-weight: 900;
    letter-spacing: 2.4px;
}

.brand-tagline {
    margin-top: 6px;
    color: #aeb5c0;
    font-size: 8px;
    font-weight: 650;
    letter-spacing: 1.1px;
    white-space: nowrap;
}


/* MENYU — FAQAT YOZUV */

.main-nav {
    gap: 2px;
}

.main-nav a {
    height: 82px;
    padding: 0 16px;
    font-size: 15px;
    font-weight: 650;
}

.main-nav a::after {
    left: 16px;
    right: 16px;
}


/* Eski ikonka klasslari endi ko‘rinmaydi */

.main-nav .nav-icon {
    display: none !important;
}


@media (max-width: 900px) {

    .brand {
        min-width: 205px;
    }

    .brand-logo {
        width: 42px;
        height: 42px;
    }

    .brand-word {
        font-size: 25px;
    }

    .main-nav a {
        padding: 0 11px;
        font-size: 14px;
    }

}


@media (max-width: 700px) {

    .brand {
        min-width: auto;
    }

    .brand-logo {
        width: 38px;
        height: 38px;
        font-size: 21px;
    }

    .brand-word {
        font-size: 21px;
    }

    .brand-tagline {
        display: none;
    }

}

/* =====================================================
   MAXWELL — METALLIC GOLD PREMIUM BRAND
   ===================================================== */

.brand-logo {
    color: #f7d77a;

    background:
        linear-gradient(
            145deg,
            #fff1a8 0%,
            #d9a92f 28%,
            #fff0a0 50%,
            #b98218 72%,
            #f4cf67 100%
        );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    border: 0;
    background-color: transparent;
    box-shadow: none;

    font-size: 39px;
    width: 44px;
    height: 48px;
}


/* MAXWELL — RASMDAGI METALLIK OLTIN */

.brand-word {
    background:
        linear-gradient(
            180deg,
            #fff4b8 0%,
            #e9bd4b 22%,
            #fff0a0 43%,
            #b9821d 68%,
            #f2ce69 100%
        );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    color: #e7bd52;

    font-size: 31px;
    font-weight: 900;
    letter-spacing: 2.6px;

    text-shadow:
        0 1px 1px rgba(255,255,255,.12),
        0 3px 12px rgba(208,158,45,.16);
}


/* TAGLINE */

.brand-tagline {
    color: #e6c768;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.45px;

    text-shadow:
        0 1px 6px rgba(214,169,65,.15);
}


/* =====================================================
   MENU — RASMDAGIDEK OQ
   ===================================================== */

.main-nav a {
    color: #f4f6fa;

    font-size: 16px;
    font-weight: 700;
}

.main-nav a:hover {
    color: #ffffff;
    background: rgba(255,255,255,.045);
}


/* AKTIV MENU */

.main-nav a.active {
    color: #f2c94c;
}

.main-nav a.active::after {
    background:
        linear-gradient(
            90deg,
            #d8a52d,
            #ffe27b,
            #d8a52d
        );

    box-shadow:
        0 0 12px rgba(239,190,67,.35);
}


/* =====================================================
   O'NG TOMON — UKISHJON / CHIQISH
   ===================================================== */

.profile {
    border-left: 1px solid rgba(255,255,255,.13);
}

.profile > span {
    color: #f3f5f8;
    font-size: 15px;
    font-weight: 650;
}

.profile form button,
.profile button,
.profile .link-button {
    color: #f2c94c !important;
    font-weight: 750;
}

.profile form button:hover,
.profile button:hover,
.profile .link-button:hover {
    color: #ffe28a !important;
}


/* HEADER PASTIDAGI OLTIN CHIZIQ */

.topbar {
    border-bottom: 1px solid rgba(220,174,55,.55);

    box-shadow:
        0 4px 20px rgba(0,0,0,.28),
        0 1px 8px rgba(221,174,52,.12);
}

/* =====================================================
   MAXWELL — FINAL PREMIUM HEADER
   DARK NAVY / WHITE / MODERN BLUE
   ===================================================== */

.topbar {
    background: #07111f !important;
    border-bottom: 1px solid #24344a !important;
    box-shadow: 0 5px 20px rgba(4,12,24,.28) !important;
}

/* LOGO */

.brand {
    display: flex !important;
    align-items: center !important;
    gap: 13px !important;
    min-width: 300px !important;
}

.brand-logo {
    width: 50px !important;
    height: 52px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;

    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;

    font-size: 46px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: -5px !important;
}

.brand-copy {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.brand-word {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;

    font-size: 34px !important;
    font-weight: 900 !important;
    letter-spacing: 2px !important;
    line-height: 1 !important;

    text-shadow: none !important;
}

.brand-tagline {
    margin-top: 7px !important;

    color: #aeb9c8 !important;
    -webkit-text-fill-color: #aeb9c8 !important;

    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: 1.45px !important;
}


/* AJRATUVCHI CHIZIQ */

.brand::after {
    content: "";
    height: 58px;
    width: 1px;
    background: #29394e;
    margin-left: 28px;
}


/* MENYU */

.main-nav {
    display: flex !important;
    align-items: stretch !important;
    gap: 4px !important;
}

.main-nav a {
    position: relative !important;

    height: 82px !important;
    padding: 0 20px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    color: #f1f4f8 !important;
    font-size: 16px !important;
    font-weight: 700 !important;

    background: transparent !important;
}

.main-nav a:hover {
    color: #ffffff !important;
    background: rgba(255,255,255,.035) !important;
}


/* AKTIV MENYU */

.main-nav a.active {
    color: #7db8ff !important;
}

.main-nav a.active::after {
    content: "" !important;

    position: absolute !important;
    left: 18px !important;
    right: 18px !important;
    bottom: 13px !important;

    height: 4px !important;

    background: #5b9cff !important;
    border-radius: 5px !important;

    box-shadow: 0 0 12px rgba(91,156,255,.35) !important;
}


/* ESKI IKONKALAR YO'Q */

.main-nav .nav-icon {
    display: none !important;
}


/* O'NG TOMON */

.profile {
    border-left: 1px solid #29394e !important;
    padding-left: 25px !important;
}

.profile > span {
    color: #f1f4f8 !important;
    font-size: 15px !important;
    font-weight: 650 !important;
}

.profile form button,
.profile button,
.profile .link-button {
    color: #7db8ff !important;
    -webkit-text-fill-color: #7db8ff !important;
    font-weight: 750 !important;
}

.profile form button:hover,
.profile button:hover,
.profile .link-button:hover {
    color: #a8ceff !important;
}


/* RESPONSIVE */

@media (max-width: 1100px) {

    .brand {
        min-width: 250px !important;
    }

    .brand-word {
        font-size: 29px !important;
    }

    .main-nav a {
        padding: 0 13px !important;
        font-size: 14px !important;
    }

}

@media (max-width: 800px) {

    .brand {
        min-width: auto !important;
    }

    .brand-logo {
        width: 42px !important;
        font-size: 38px !important;
    }

    .brand-word {
        font-size: 25px !important;
    }

    .brand-tagline {
        display: none !important;
    }

}

/* =====================================================
   MAXWELL — MODERN M LOGO
   ===================================================== */

.brand-logo {
    position: relative !important;

    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border: 2px solid #5b9cff !important;
    border-radius: 50% !important;

    background:
        radial-gradient(
            circle at 35% 30%,
            rgba(91,156,255,.12),
            rgba(5,15,29,.95) 70%
        ) !important;

    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;

    font-family: Arial, sans-serif !important;
    font-size: 35px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: -5px !important;

    box-shadow:
        0 0 0 1px rgba(91,156,255,.12),
        0 0 16px rgba(91,156,255,.18),
        inset 0 0 14px rgba(91,156,255,.08) !important;

    overflow: hidden !important;
}


/* M harfini markazga chiroyli joylashtirish */

.brand-logo {
    text-indent: -2px !important;
}


/* Chaqmoq — M ustidan kesib o'tadi */

.brand-logo::after {
    content: "";
    position: absolute;

    width: 8px;
    height: 29px;

    top: 10px;
    left: 27px;

    background: #07111f;

    clip-path: polygon(
        45% 0,
        100% 0,
        63% 39%,
        91% 39%,
        25% 100%,
        43% 52%,
        12% 52%
    );

    filter:
        drop-shadow(0 0 2px rgba(91,156,255,.25));
}


/* Chaqmoqning ko'k yaltirashi */

.brand-logo::before {
    content: "";
    position: absolute;

    width: 3px;
    height: 25px;

    top: 13px;
    left: 30px;

    background: #66adff;

    clip-path: polygon(
        45% 0,
        100% 0,
        62% 40%,
        90% 40%,
        25% 100%,
        43% 52%,
        12% 52%
    );

    opacity: .9;
    z-index: 2;
}


/* Logo ichidagi M ustida turishi uchun */

.brand-logo {
    z-index: 1;
}


/* MAXWELL bilan masofani biroz chiroyli qilamiz */

.brand {
    gap: 14px !important;
}


/* Eski oltin ranglarning qolib ketganini majburan yo'qotamiz */

.brand-logo,
.brand-word,
.brand-tagline {
    text-shadow: none !important;
}

.brand-word {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
}

.brand-tagline {
    color: #aeb9c8 !important;
    -webkit-text-fill-color: #aeb9c8 !important;
}


/* kichik ekran */

@media (max-width: 800px) {
    .brand-logo {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        font-size: 30px !important;
    }

    .brand-logo::after {
        top: 8px;
        left: 23px;
        height: 25px;
    }

    .brand-logo::before {
        top: 10px;
        left: 26px;
        height: 22px;
    }
}

/* Vazifalar — Excel */

.task-excel-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;
    padding: 0 17px;

    text-decoration: none !important;

    background: #edf7f1 !important;
    border: 1px solid #c9e7d5 !important;
    color: #177245 !important;

    font-weight: 750;
}

.task-excel-button:hover {
    background: #e1f3e9 !important;
    border-color: #abd8bd !important;
    color: #12633d !important;
}
