﻿/* =============================================
   Salon Management System - Custom CSS
   Arabic RTL - Orange Theme
   ============================================= */

:root {
    --primary: #F7941D;
    --primary-dark: #e07e0a;
    --primary-light: #fff3e0;
    --sidebar-width: 260px;
    --topbar-height: 60px;
    --text-dark: #1a1a2e;
    --text-muted: #6c757d;
    --border-color: #e9ecef;
    --card-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Segoe UI', 'Cairo', 'Tajawal', Arial, sans-serif;
    background-color: #f5f6fa;
    color: var(--text-dark);
    direction: rtl;
    text-align: right;
}

a {
    text-decoration: none;
}

/* =============================================
   AUTH LAYOUT (Login Page)
   ============================================= */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.auth-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 35px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    text-align: center;
}

    .auth-card .lang-toggle {
        text-align: left;
        margin-bottom: 20px;
    }

.lang-btn {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 13px;
    cursor: pointer;
    color: #495057;
}

.auth-logo {
    width: 70px;
    height: 70px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: #fff;
}

.auth-card h1 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.auth-card .subtitle {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 30px;
}

.auth-card .form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    display: block;
    text-align: right;
    width: 100%;
}

.auth-card .form-control {
    border-radius: 10px;
    border: 1.5px solid #dee2e6;
    padding: 12px 15px;
    font-size: 14px;
    transition: border-color 0.2s;
    text-align: right;
}

    .auth-card .form-control:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(247,148,29,0.15);
    }

.btn-primary-orange {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 13px;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

    .btn-primary-orange:hover {
        background: var(--primary-dark);
        transform: translateY(-1px);
    }

.forgot-link {
    color: var(--primary);
    font-size: 13px;
    display: block;
    margin-top: 12px;
}

    .forgot-link:hover {
        text-decoration: underline;
    }

.password-input-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #adb5bd;
    cursor: pointer;
    padding: 0;
}

/* =============================================
   MAIN LAYOUT
   ============================================= */
.app-wrapper {
    display: flex;
    min-height: 100vh;
}

/* =============================================
   SIDEBAR
   ============================================= */
.sidebar {
    width: var(--sidebar-width);
    background: #fff;
    border-left: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    transition: transform 0.3s ease;
}

    .sidebar::-webkit-scrollbar {
        width: 4px;
    }

    .sidebar::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    .sidebar::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 4px;
    }

.sidebar-brand {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
}

    .sidebar-brand .wifi-icon {
        color: var(--primary);
        font-size: 18px;
    }

.sidebar-menu {
    padding: 10px 0;
    list-style: none;
    margin: 0;
}

    .sidebar-menu li a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 11px 20px;
        color: #495057;
        font-size: 14px;
        transition: all 0.2s;
        border-right: 3px solid transparent;
    }

        .sidebar-menu li a:hover {
            background: var(--primary-light);
            color: var(--primary);
            border-right-color: var(--primary);
        }

    /* ---- Submenu toggle (parent item) ---- */
    .sidebar-menu li.has-submenu > a.submenu-toggle {
        justify-content: space-between;
        cursor: pointer;
        user-select: none;
    }

        .sidebar-menu li.has-submenu > a.submenu-toggle .arrow-icon {
            font-size: 11px;
            transition: transform 0.25s;
            margin-right: auto;
            margin-left: 0;
        }

    .sidebar-menu li.has-submenu.open > a.submenu-toggle .arrow-icon {
        transform: rotate(-90deg);
    }

    .sidebar-menu li.has-submenu > a.active-parent {
        color: var(--primary);
        font-weight: 600;
        background: var(--primary-light);
        border-right-color: var(--primary);
    }

    /* ---- Submenu list ---- */
    .sidebar-menu .submenu {
        list-style: none;
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        background: #fafafa;
        transition: max-height 0.3s ease;
    }

        .sidebar-menu .submenu.show {
            max-height: 600px;
        }

        .sidebar-menu .submenu li a {
            padding: 9px 20px 9px 16px;
            font-size: 13px;
            color: #6c757d;
            border-right: 3px solid transparent;
            padding-right: 36px;
        }

            .sidebar-menu .submenu li a:hover {
                background: var(--primary-light);
                color: var(--primary);
                border-right-color: var(--primary);
            }

            .sidebar-menu .submenu li a.active {
                background: rgba(247,148,29,0.12);
                color: var(--primary);
                border-right-color: var(--primary);
                font-weight: 600;
            }

    /* ---- Divider line before groups ---- */
    .sidebar-menu .menu-divider {
        height: 1px;
        background: var(--border-color);
        margin: 6px 16px;
    }

    .sidebar-menu li a.active {
        background: var(--primary);
        color: #fff;
        border-right-color: var(--primary-dark);
        font-weight: 600;
    }

    .sidebar-menu li a i {
        width: 20px;
        text-align: center;
        font-size: 15px;
    }

/* =============================================
   MAIN CONTENT AREA
   ============================================= */
.main-content {
    margin-right: var(--sidebar-width);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: margin 0.3s ease;
}

/* =============================================
   SIDEBAR COLLAPSED STATE
   ============================================= */
body.sidebar-collapsed .sidebar {
    transform: translateX(100%);
}

body.sidebar-collapsed .main-content {
    margin-right: 0;
}

/* Desktop sidebar toggle button */
.sidebar-toggle-btn {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    padding: 0;
}

    .sidebar-toggle-btn:hover {
        background: var(--primary-light);
        color: var(--primary);
        border-color: var(--primary);
    }

/* =============================================
   TOP BAR
   ============================================= */
.topbar {
    background: #fff;
    height: var(--topbar-height);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 999;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-greeting {
    font-size: 14px;
    color: var(--text-muted);
}

    .topbar-greeting strong {
        color: var(--primary);
        font-weight: 600;
    }

.topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8f9fa;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 5px 14px 5px 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.user-role {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 400;
}

.notif-btn {
    position: relative;
    width: 36px;
    height: 36px;
    background: #f8f9fa;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #495057;
    font-size: 16px;
}

.notif-badge {
    position: absolute;
    top: -4px;
    left: -4px;
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
    font-size: 9px;
    padding: 1px 5px;
    font-weight: 700;
}

.lang-switch-btn {
    background: #17a2b8;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.logout-btn {
    width: 36px;
    height: 36px;
    background: #f8f9fa;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #dc3545;
    font-size: 18px;
    text-decoration: none;
}

    .logout-btn:hover {
        background: #dc3545;
        color: #fff;
    }

.connected-btn {
    background: #28a745;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: default;
    white-space: nowrap;
}

/* =============================================
   PAGE CONTENT
   ============================================= */
.page-content {
    padding: 24px;
    flex: 1;
}

.page-header {
    margin-bottom: 24px;
}

    .page-header h1 {
        font-size: 26px;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 4px;
    }

    .page-header p {
        color: var(--text-muted);
        font-size: 14px;
    }

/* =============================================
   DASHBOARD STAT CARDS
   ============================================= */
.stat-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--card-shadow);
    border-top: 4px solid transparent;
    display: flex;
    flex-direction: column;
}

    .stat-card.green {
        border-top-color: #28a745;
    }

    .stat-card.blue {
        border-top-color: #007bff;
    }

    .stat-card.red {
        border-top-color: #dc3545;
    }

    .stat-card.orange {
        border-top-color: var(--primary);
    }

.stat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

    .stat-icon.green {
        background: #e8f5e9;
        color: #28a745;
    }

    .stat-icon.blue {
        background: #e3f2fd;
        color: #007bff;
    }

    .stat-icon.red {
        background: #fce4ec;
        color: #dc3545;
    }

    .stat-icon.orange {
        background: var(--primary-light);
        color: var(--primary);
    }

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.stat-sub {
    font-size: 12px;
    color: var(--text-muted);
}

/* Secondary stat cards row */
.secondary-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.sec-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: var(--card-shadow);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .sec-card.green-bg {
        background: #e8f5e9;
    }

    .sec-card.blue-bg {
        background: #e3f2fd;
    }

    .sec-card.orange-bg {
        background: var(--primary-light);
    }

.sec-card-info h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.sec-card-info .count {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
}

.sec-card-info .sub-text {
    font-size: 12px;
    color: var(--text-muted);
}

.sec-card-icon {
    font-size: 32px;
    opacity: 0.4;
}

.sec-card.green-bg .sec-card-icon {
    color: #28a745;
}

.sec-card.blue-bg .sec-card-icon {
    color: #007bff;
}

.sec-card.orange-bg .sec-card-icon {
    color: var(--primary);
}

/* =============================================
   INFO CARDS (birthdays, expiry)
   ============================================= */
.info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.info-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--card-shadow);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    font-weight: 700;
    font-size: 15px;
    color: var(--text-dark);
}

    .info-card-header i {
        color: var(--primary);
        font-size: 18px;
    }

.info-card-empty {
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    padding: 20px 0;
}

/* =============================================
   GENERAL CARD
   ============================================= */
.card {
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    border: none;
    margin-bottom: 20px;
}

.card-header {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    padding: 16px 20px;
    border-radius: 12px 12px 0 0;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-body {
    padding: 20px;
}

/* =============================================
   TABLES
   ============================================= */
.table {
    width: 100%;
    margin-bottom: 0;
}

    .table th {
        background: #f8f9fa;
        color: var(--text-muted);
        font-size: 13px;
        font-weight: 600;
        padding: 12px 16px;
        border-bottom: 2px solid var(--border-color);
        white-space: nowrap;
    }

    .table td {
        padding: 12px 16px;
        border-bottom: 1px solid var(--border-color);
        font-size: 14px;
        vertical-align: middle;
    }

    .table tbody tr:hover {
        background: #f8f9fa;
    }

    .table tbody tr:last-child td {
        border-bottom: none;
    }

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

    .btn-primary:hover {
        background: var(--primary-dark);
        border-color: var(--primary-dark);
        color: #fff;
    }

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
}

    .btn-outline-primary:hover {
        background: var(--primary);
        color: #fff;
    }

.btn-sm {
    padding: 5px 12px;
    font-size: 12px;
}

/* =============================================
   FORMS
   ============================================= */
.form-control, .form-select {
    border-radius: 8px;
    border: 1.5px solid #dee2e6;
    padding: 10px 14px;
    font-size: 14px;
    transition: border-color 0.2s;
    text-align: right;
}

    .form-control:focus, .form-select:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(247,148,29,0.15);
    }

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

/* =============================================
   BADGES
   ============================================= */
.badge {
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
}

/* =============================================
   ALERTS
   ============================================= */
.alert {
    border-radius: 10px;
    border: none;
    padding: 14px 18px;
    font-size: 14px;
}

/* =============================================
   PAGINATION
   ============================================= */
.pagination .page-link {
    color: var(--primary);
    border-radius: 8px;
    margin: 0 2px;
}

.pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
}

/* =============================================
   SEARCH & FILTER
   ============================================= */
.search-bar {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 16px;
}

    .search-bar .form-control {
        max-width: 300px;
    }

/* =============================================
   STATUS BADGES
   ============================================= */
.status-active {
    background: #e8f5e9;
    color: #28a745;
}

.status-inactive {
    background: #fce4ec;
    color: #dc3545;
}

.status-pending {
    background: #fff3e0;
    color: #ff9800;
}

.status-completed {
    background: #e8f5e9;
    color: #28a745;
}

.status-cancelled {
    background: #fce4ec;
    color: #dc3545;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 992px) {
    .stat-cards {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .info-cards {
        grid-template-columns: 1fr;
    }

    .sidebar {
        transform: translateX(100%);
        z-index: 1050;
        box-shadow: -4px 0 20px rgba(0,0,0,0.15);
        transition: transform 0.3s ease;
        position: fixed;
        width: min(260px, 82vw);
    }

        .sidebar.show {
            transform: translateX(0);
        }

    .main-content {
        margin-right: 0;
        max-width: 100%;
        overflow-x: hidden;
    }
}

@media (max-width: 576px) {
    .stat-cards {
        grid-template-columns: 1fr;
    }

    .secondary-cards {
        grid-template-columns: 1fr;
    }

    .page-content {
        padding: 12px;
    }

    .topbar {
        padding: 0 12px;
    }

    .topbar-greeting,
    .connected-btn {
        display: none !important;
    }

    .topbar-left {
        gap: 6px;
    }

    .topbar-right {
        gap: 8px;
    }
}

/* =============================================
   HAMBURGER BUTTON (Mobile)
   ============================================= */
.hamburger-btn {
    width: 38px;
    height: 38px;
    background: #f8f9fa;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-dark);
    font-size: 18px;
    margin-left: 10px;
}

    .hamburger-btn:hover {
        background: var(--primary-light);
        color: var(--primary);
    }

/* =============================================
   SIDEBAR CLOSE BUTTON (Mobile - floating fixed)
   ============================================= */
.sidebar-close-btn {
    display: none;
    position: fixed;
    top: 12px;
    left: 12px;
    width: 44px;
    height: 44px;
    background: #dc3545;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(220,53,69,0.5);
    z-index: 1060;
    touch-action: manipulation;
}

    .sidebar-close-btn.show {
        display: flex;
    }

/* Prevent body scroll when sidebar is open on mobile */
body.sidebar-open {
    overflow: hidden;
}

/* =============================================
   SIDEBAR OVERLAY (Mobile)
   ============================================= */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1049;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

    .sidebar-overlay.show {
        display: block;
    }

/* =============================================
   CUSTOMER CARDS
   ============================================= */
.customer-card {
    border-radius: 14px;
    border: 1px solid var(--border-color);
    transition: transform 0.2s, box-shadow 0.2s;
}

    .customer-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    }

.customer-avatar {
    width: 70px;
    height: 70px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
}

.customer-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

    .info-item i {
        color: var(--primary);
        width: 16px;
        text-align: center;
        font-size: 13px;
    }

/* =============================================
   LTR (English) OVERRIDES
   ============================================= */
html[dir="ltr"] body {
    direction: ltr;
    text-align: left;
}

html[dir="ltr"] .sidebar {
    right: auto;
    left: 0;
    border-left: none;
    border-right: 1px solid var(--border-color);
}

html[dir="ltr"] .sidebar-menu li a {
    border-right: none;
    border-left: 3px solid transparent;
}

    html[dir="ltr"] .sidebar-menu li a:hover {
        border-left-color: var(--primary);
        border-right-color: transparent;
    }

html[dir="ltr"] .sidebar-menu li.has-submenu > a.active-parent {
    border-left-color: var(--primary);
    border-right-color: transparent;
}

html[dir="ltr"] .sidebar-menu li a.active {
    border-left-color: var(--primary-dark);
    border-right-color: transparent;
}

html[dir="ltr"] .sidebar-menu .submenu li a {
    border-right: none;
    border-left: 3px solid transparent;
    padding-right: 16px;
    padding-left: 36px;
}

    html[dir="ltr"] .sidebar-menu .submenu li a:hover {
        border-left-color: var(--primary);
        border-right-color: transparent;
    }

    html[dir="ltr"] .sidebar-menu .submenu li a.active {
        border-left-color: var(--primary);
        border-right-color: transparent;
    }

html[dir="ltr"] .sidebar-menu li.has-submenu > a.submenu-toggle .arrow-icon {
    margin-left: auto;
    margin-right: 0;
}

html[dir="ltr"] .notif-badge {
    left: auto;
    right: -4px;
}

html[dir="ltr"] .form-control,
html[dir="ltr"] .form-select {
    text-align: left;
}

html[dir="ltr"] .auth-card .form-control,
html[dir="ltr"] .auth-card .form-label {
    text-align: left;
}

html[dir="ltr"] .hamburger-btn {
    margin-left: 0;
    margin-right: 10px;
}

html[dir="ltr"] .password-toggle {
    left: auto;
    right: 12px;
}

@media (min-width: 992px) {
    html[dir="ltr"] .main-content {
        margin-right: 0;
        margin-left: var(--sidebar-width);
    }
}

@media (max-width: 992px) {
    html[dir="ltr"] .main-content {
        margin-left: 0;
        margin-right: 0;
    }

    html[dir="ltr"] .sidebar {
        transform: translateX(-100%);
        left: 0;
        right: auto;
        box-shadow: 4px 0 20px rgba(0,0,0,0.15);
    }

        html[dir="ltr"] .sidebar.show {
            transform: translateX(0);
        }

    html[dir="ltr"] .sidebar-close-btn {
        left: auto;
        right: 12px;
    }
}

/* =============================================
   DELETE CONFIRMATION MODAL
   ============================================= */
.delete-modal-red {
    background: #dc3545;
    border-radius: 20px;
    overflow: hidden;
}

.delete-icon-wrap {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 32px;
    color: #fff;
}

.delete-confirm-btn {
    background: #fff;
    color: #dc3545;
    border: none;
    border-radius: 10px;
    min-width: 120px;
}

    .delete-confirm-btn:hover {
        background: #f8f9fa;
        color: #c82333;
    }

.delete-cancel-btn {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    min-width: 120px;
}

    .delete-cancel-btn:hover {
        background: rgba(255, 255, 255, 0.15);
        color: #fff;
        border-color: #fff;
    }


/* ===== ����� ������� ������ ===== */
@media print {
    /* ����� ����� ������� */
    .sidebar-overlay,
    .sidebar-close-btn,
    .sidebar,
    #sidebar,
    .topbar,
    .page-header,
    .stat-cards,
    .no-print,
    .card:not(.print-area) {
        display: none !important;
    }

    /* ����� �������� �� ��� layout */
    body,
    .app-wrapper,
    .main-content {
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
    }

    /* ����� ������ ���� ������ */
    .print-area {
        width: 100% !important;
        margin: 0 !important;
        padding: 8px !important;
        border: none !important;
        box-shadow: none !important;
    }

        /* ��� �� ������ */
        .print-area .table {
            font-size: 11px;
            width: 100%;
        }

        /* ������� �� ������� */
        .print-area .badge {
            border: 1px solid #999;
            color: #000 !important;
            background: none !important;
            -webkit-print-color-adjust: exact;
        }

    /* ����� �������� �� ������� */
    tfoot.table-dark {
        background: #333 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
