.ms-dashboard {
    display: flex;
    min-height: 100vh;
    background: #f4f7f9;
    font-family: Cairo, sans-serif;
}

.ms-sidebar {
    width: 280px;
    background: #0f172a;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    border-radius: 0 32px 32px 0;
    box-shadow: inset 4px 0 0 rgba(255, 189, 35, 0.12);
}

.ms-sidebar-title {
    color: #f5af02;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 4px;
}

.ms-sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ms-sidebar-menu li {
    width: 100%;
}

.ms-sidebar-menu li.active > a,
.ms-sidebar-menu li > a:hover {
    background: rgba(245, 175, 2, 0.16);
    color: #f5af02;
}

.ms-tab-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: #e2e8f0;
    text-decoration: none;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    transition: all 0.25s ease;
}

.ms-tab-link.active {
    background: rgba(245, 175, 2, 0.24);
    color: #f5af02;
}

.ms-menu-item-main {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.ms-menu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: rgba(245, 175, 2, 0.12);
    color: #f5af02;
    font-size: 16px;
}

.ms-menu-label {
    font-weight: 600;
}

.ms-menu-badge {
    min-width: 30px;
    text-align: center;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.82rem;
}

.ms-content {
    flex: 1;
    padding: 38px 40px 42px;
}

.ms-owner-top h1,
.ms-owner-top p {
    margin: 0;
}

.ms-owner-top h1 {
    font-size: 2rem;
    color: #0f172a;
}

.ms-owner-top p {
    margin-top: 10px;
    color: #64748b;
    font-size: 0.98rem;
}

.ms-owner-grid {
    flex: auto;
    display: flex;
    justify-content: space-between;
    align-content: flex-start;
    flex-direction: row;
}

.ms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.ms-card {
    background: #fff;
    padding: 28px;
    border-radius: 24px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.ms-card h3 {
    margin: 0 0 14px;
    font-size: 1rem;
    color: #0f172a;
}

.ms-number,
.ms-amount {
    font-size: 2.4rem;
    font-weight: 800;
    color: #0f172a;
}

.ms-tab-content {
    display: none;
}

.ms-tab-content.active {
    display: block;
}

@media (max-width: 991px) {
    .ms-dashboard {
        flex-direction: column;
    }

    .ms-sidebar {
        width: 100%;
        border-radius: 0 0 24px 24px;
        box-shadow: none;
    }

    .ms-content {
        padding: 24px 20px 28px;
    }
}
