* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#daraz-dashboard {
    min-height: 100vh;
    width: 100%;
    display: flex;
    background: #f3f4f6;
    font-family: Arial, Helvetica, sans-serif;
    color: #1f2937;
}

/* =========================
   SIDEBAR
========================= */
#daraz-sidebar {
    width: 240px;
    min-width: 240px;
    background: #f5f5f5;
    border-right: 1px solid #e4e4e4;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#daraz-sidebar-top {
    padding: 18px 16px 8px;
}

#daraz-brand {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

#daraz-brand-icon,
#daraz-footer-icon {
    width: 30px;
    height: 30px;
    background: #f75b00;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
}

#daraz-brand-icon span,
#daraz-footer-icon span {
    position: absolute;
    top: 6px;
    left: 8px;
    width: 0;
    height: 0;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 13px solid #ffffff;
}

#daraz-brand-text h1,
#daraz-brand-text h2 {
    color: #f75b00;
    font-weight: 800;
    font-size: 22px;
    line-height: 1.05;
}

#daraz-sidebar-menu {
    flex: 1;
    overflow-y: auto;
    padding: 4px 10px 10px;
}

.daraz-menu-group {
    margin-bottom: 3px;
}

.daraz-menu-item,
#daraz-language-switch {
    width: 100%;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 11px 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
    color: #6b7280;
}

.daraz-menu-item:hover,
#daraz-language-switch:hover {
    background: #ffffff;
}

.menu-item-active {
    color: #f75b00;
    background: #ffffff;
}

.daraz-menu-left,
.daraz-bottom-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.daraz-menu-icon,
.daraz-globe-icon {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    background: #c9ced6;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
}

.menu-item-active .daraz-menu-icon {
    background: #f75b00;
}

.daraz-menu-title {
    font-size: 15px;
    line-height: 1.2;
}

.daraz-red-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff4d4f;
    display: inline-block;
}

.daraz-menu-arrow {
    font-size: 14px;
    color: #9ca3af;
    transition: transform 0.35s ease;
}

.arrow-open {
    transform: rotate(180deg);
}

.daraz-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease, opacity 0.35s ease;
    opacity: 0;
}

.submenu-open {
    max-height: 500px;
    opacity: 1;
}

.daraz-submenu-inner {
    padding: 4px 0 8px 36px;
}

.daraz-submenu-item {
    padding: 9px 10px;
    font-size: 14px;
    color: #525866;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.daraz-submenu-item:hover {
    background: #ffffff;
    transform: translateX(3px);
}

#daraz-sidebar-bottom {
    border-top: 1px solid #e5e7eb;
}

.daraz-bottom-block {
    padding: 0 10px;
}

.daraz-language-menu .daraz-submenu-inner {
    padding-left: 16px;
    padding-right: 6px;
}

#daraz-footer-logo {
    border-top: 1px solid #e5e7eb;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f75b00;
    font-weight: 800;
    font-size: 18px;
}

/* =========================
   MAIN
========================= */
#daraz-main {
    flex: 1;
    padding: 12px 20px 20px;
}

#daraz-top-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 20px;
    margin-bottom: 16px;
}

.daraz-top-card {
    background: #f3efef;
    border-radius: 18px;
    padding: 20px;
}

.daraz-profile-card {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 114px;
}

.daraz-profile-avatar {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: linear-gradient(180deg, #edf4ff 0%, #d9e6ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.daraz-shop-icon {
    width: 34px;
    height: 28px;
    background: #c7d8ff;
    border-radius: 6px 6px 10px 10px;
    position: relative;
}

.daraz-shop-icon::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -3px;
    width: 40px;
    height: 10px;
    background: #b6caf8;
    border-radius: 8px 8px 0 0;
}

.daraz-shop-icon::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 9px;
    width: 16px;
    height: 12px;
    background: #3d63dd;
    border-radius: 0 0 10px 10px;
}

.daraz-profile-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.daraz-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.daraz-card-head h3 {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.daraz-more-btn,
#daraz-load-btn {
    border: none;
    background: transparent;
    color: #367bff;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}

.daraz-more-btn span {
    font-size: 16px;
}

.daraz-notice-body {
    display: flex;
    align-items: center;
    gap: 14px;
}

.daraz-notice-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ffd1dd 0%, #dbeafe 50%, #e9d5ff 100%);
    position: relative;
    flex-shrink: 0;
}

.daraz-notice-icon::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background: #67d4a3;
    border-radius: 50%;
    top: 17px;
    left: 17px;
}

.daraz-notice-icon::after {
    content: '✓';
    position: absolute;
    top: 15px;
    left: 21px;
    font-size: 12px;
    color: #ffffff;
    font-weight: bold;
}

.daraz-notice-body p {
    font-size: 15px;
    color: #374151;
    line-height: 1.5;
}

/* =========================
   TODO SECTION
========================= */
#daraz-todo-section {
    border-radius: 22px;
    background: linear-gradient(180deg, #ff5b00 0%, #f6d7c4 100%);
    padding: 14px 14px 16px;
    margin-bottom: 16px;
}

#daraz-todo-title {
    font-size: 18px;
    color: #ffffff;
    font-weight: 700;
    margin: 0 0 14px 6px;
}

#daraz-stepper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 22px;
    margin: 8px 0 20px;
    padding: 0 20px;
}

.daraz-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 110px;
}

.daraz-step-circle {
    width: 31px;
    height: 31px;
    border-radius: 50%;
    border: 1.5px solid #ffffff;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    background: transparent;
}

.daraz-step-item.active .daraz-step-circle {
    background: #ffffff;
    color: #ff5b00;
    border-color: #ffffff;
}

.daraz-step-label {
    margin-top: 12px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
}

.daraz-step-line {
    width: 116px;
    height: 1px;
    background: rgba(255, 255, 255, 0.32);
    margin-top: 15px;
}

#daraz-address-card {
    background: #f4f4f4;
    border-radius: 18px;
    min-height: 355px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 34px 20px;
}

#daraz-address-inner {
    text-align: center;
    max-width: 560px;
    width: 100%;
    position: relative;
}

#daraz-address-graphic {
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
}

#daraz-store-illustration {
    width: 110px;
    height: 110px;
    position: relative;
}

.daraz-store-roof {
    position: absolute;
    top: 8px;
    left: 20px;
    width: 68px;
    height: 18px;
    background: #c9d8f8;
    border-radius: 8px 8px 0 0;
}

.daraz-store-body {
    position: absolute;
    top: 26px;
    left: 24px;
    width: 60px;
    height: 50px;
    background: #dce7ff;
    border-radius: 0 0 8px 8px;
}

.daraz-store-pin {
    position: absolute;
    top: 38px;
    right: 8px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #d7e2f8;
}

.daraz-store-pin::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 11px;
    width: 16px;
    height: 16px;
    background: #3b82f6;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
}

.daraz-store-pin::after {
    content: '';
    position: absolute;
    top: 14px;
    left: 17px;
    width: 5px;
    height: 5px;
    background: #ffffff;
    border-radius: 50%;
}

#daraz-address-inner h3 {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 10px;
}

#daraz-no-video {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 16px;
}

#daraz-add-btn {
    width: 320px;
    max-width: 100%;
    height: 31px;
    border: none;
    background: #f75b00;
    border-radius: 4px;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

#daraz-add-btn:hover {
    background: #e85200;
    transform: translateY(-1px);
}

#daraz-address-note {
    margin-top: 14px;
    font-size: 15px;
    color: #4b5563;
}

#daraz-onboard-box {
    margin: 22px auto 0;
    width: fit-content;
    max-width: 100%;
    padding: 10px 14px;
    background: #ffffff;
    border: 1px solid #dedede;
    border-radius: 8px;
    color: #5b6573;
    font-size: 14px;
    text-align: left;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

/* =========================
   UNIVERSITY
========================= */
#daraz-university-section {
    background: #f3efef;
    border-radius: 18px;
    padding: 18px 20px 20px;
}

#daraz-university-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

#daraz-university-title-row h3 {
    font-size: 19px;
    font-weight: 700;
    color: #111827;
}

#daraz-university-subtitle {
    margin-top: 4px;
    color: #6b7280;
    font-size: 14px;
}

#daraz-university-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.daraz-u-card {
    min-width: 0;
}

.daraz-u-thumb {
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    padding: 12px;
}

.daraz-thumb-text {
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
    max-width: 80%;
}

.card-purple {
    background: linear-gradient(135deg, #5317c9 0%, #9f29ff 55%, #ff5fa2 100%);
}

.card-peach {
    background: linear-gradient(135deg, #f4c9b8 0%, #f7ddd0 100%);
}

.card-peach .daraz-thumb-text {
    color: #3f1d1d;
}

.card-light {
    background: linear-gradient(135deg, #fff1ec 0%, #eef4ff 100%);
}

.card-light .daraz-thumb-text {
    color: #3b3f50;
}

.card-orange {
    background: linear-gradient(135deg, #f8781e 0%, #f59e0b 45%, #1d9bf0 100%);
}

.daraz-u-content {
    padding-top: 8px;
}

.daraz-u-tag {
    display: inline-block;
    min-height: 20px;
    padding: 2px 8px;
    background: #eceff3;
    color: #7b8390;
    border-radius: 6px;
    font-size: 11px;
    margin-bottom: 8px;
}

.empty-tag {
    background: transparent;
    padding: 0;
}

.daraz-u-content h4 {
    font-size: 15px;
    line-height: 1.35;
    font-weight: 500;
    color: #1f2937;
    min-height: 40px;
}

.daraz-views {
    margin-top: 4px;
    color: #8b95a5;
    font-size: 14px;
}

/* =========================
   LOGOUT
========================= */
#daraz-logout-wrap {
    display: flex;
    justify-content: flex-end;
    padding-top: 16px;
}

#daraz-logout-btn {
    border: none;
    background: #dc2626;
    color: #ffffff;
    border-radius: 8px;
    padding: 11px 22px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

#daraz-logout-btn:hover {
    background: #b91c1c;
    transform: translateY(-1px);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1200px) {
    #daraz-university-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    #daraz-dashboard {
        flex-direction: column;
    }

    #daraz-sidebar {
        width: 100%;
        min-width: 100%;
    }

    #daraz-top-grid {
        grid-template-columns: 1fr;
    }

    #daraz-stepper {
        gap: 10px;
        flex-wrap: wrap;
    }

    .daraz-step-line {
        display: none;
    }
}

@media (max-width: 768px) {
    #daraz-main {
        padding: 12px;
    }

    #daraz-university-grid {
        grid-template-columns: 1fr;
    }

    .daraz-card-head {
        flex-direction: column;
        align-items: flex-start;
    }

    #daraz-address-card {
        min-height: auto;
    }

    .daraz-profile-card {
        min-height: auto;
    }
}
