/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Login Screen */
.login-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    min-width: 350px;
    text-align: center;
}

.logo-container h1 {
    color: #333;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 600;
}

.login-form {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #007bff;
}

.demo-credentials {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    text-align: left;
}

.demo-credentials p {
    font-weight: 600;
    margin-bottom: 8px;
}

.demo-credentials small {
    color: #666;
    display: block;
    margin-bottom: 4px;
}

/* Main Application */
.main-app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left h1 {
    color: #007bff;
    font-size: 24px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.header-left h1:hover {
    color: #0056b3;
}

.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-nav {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-btn {
    padding: 10px 16px;
    border: none;
    background: transparent;
    color: #666;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: fit-content;
}

.nav-btn:hover {
    background: #f8f9fa;
    color: #333;
}

.nav-btn.active {
    background: #007bff;
    color: white;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.language-selector select {
    padding: 8px 12px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    background: white;
    cursor: pointer;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-menu span {
    font-weight: 500;
    color: #666;
}

/* Buttons */
.btn {
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #545b62;
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-success:hover {
    background: #1e7e34;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

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

.btn-warning {
    background: #ffc107;
    color: #212529;
}

.btn-warning:hover {
    background: #e0a800;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-header h2 {
    color: #333;
    font-size: 28px;
    font-weight: 600;
}

.section-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.search-input {
    padding: 10px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 14px;
    min-width: 200px;
}

.search-input:focus {
    outline: none;
    border-color: #007bff;
}

/* Dashboard */
.dashboard-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.kpi-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.kpi-card h3 {
    color: #666;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kpi-value {
    font-size: 32px;
    font-weight: 700;
    color: #007bff;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}

.dashboard-panel {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dashboard-panel h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Tables */
.table-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e1e5e9;
}

.data-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
    position: sticky;
    top: 0;
}

.data-table tr:hover {
    background: #f8f9fa;
}

.table-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.table-actions .btn {
    padding: 6px 12px;
    font-size: 12px;
}

/* Order item buttons styling */
.order-item-row {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    background: #f8f9fa;
}

.item-main {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.item-main .btn {
    margin-left: 10px;
    white-space: nowrap;
}

.materials-section {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #dee2e6;
}

.materials-list {
    margin-bottom: 10px;
}

.material-row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.material-row .btn-sm {
    margin-left: auto;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
    z-index: 1;
}

.close:hover {
    color: #333;
}

.modal-header {
    padding: 25px 25px 0;
    border-bottom: 1px solid #e1e5e9;
    margin-bottom: 25px;
}

.modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.modal-body {
    padding: 0 25px 25px;
}

/* Forms */
.form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: 500;
    color: #555;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding-top: 20px;
    border-top: 1px solid #e1e5e9;
}

/* Tabs */
.tabs {
    display: flex;
    border-bottom: 2px solid #e1e5e9;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 12px 24px;
    border: none;
    background: transparent;
    color: #666;
    cursor: pointer;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: #333;
}

.tab-btn.active {
    color: #007bff;
    border-bottom-color: #007bff;
}

.staff-tabs {
    display: flex;
    border-bottom: 2px solid #e1e5e9;
    margin-bottom: 20px;
    background: white;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-left: 4px solid #007bff;
    min-width: 300px;
    animation: slideInRight 0.3s ease;
}

.toast.success {
    border-left-color: #28a745;
}

.toast.error {
    border-left-color: #dc3545;
}

.toast.warning {
    border-left-color: #ffc107;
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ✅ НОВЫЙ КЛАСС: Стили для вертикального разделения (правый столбец) */
.dashboard-vertical-split {
    display: flex;
    flex-direction: column; /* Размещаем элементы вертикально */
    gap: 20px;
}

.dashboard-vertical-split .vertical-panel {
    flex: 1; /* Каждый дочерний элемент занимает равное место */
    min-height: 200px; /* Минимальная высота для красивого отображения */
}

/* Public Booking */
.public-booking {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.booking-container {
    background: white;
    border-radius: 12px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.booking-header {
    text-align: center;
    margin-bottom: 30px;
}

.booking-header h1 {
    color: #333;
    font-size: 28px;
    font-weight: 600;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Settings */
.settings-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.settings-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e1e5e9;
}

.settings-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.settings-section h3 {
    color: #333;
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Ensure settings only appear in settings section */
#dashboard-section .settings-section,
#orders-section .settings-section,
#customers-section .settings-section,
#vehicles-section .settings-section,
#services-section .settings-section,
#inventory-section .settings-section,
#staff-section .settings-section {
    display: none !important;
}

#dashboard-section .settings-sections,
#orders-section .settings-sections,
#customers-section .settings-sections,
#vehicles-section .settings-sections,
#services-section .settings-sections,
#inventory-section .settings-sections,
#staff-section .settings-sections {
    display: none !important;
}

.logo-upload {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.logo-preview {
    max-width: 200px;
    max-height: 100px;
    border: 2px dashed #e1e5e9;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    color: #666;
}

.logo-preview img {
    max-width: 100%;
    max-height: 80px;
}

/* Print Styles */
.print-content {
    display: none;
}

.print-content.printing {
    display: block;
}

.invoice-print {
    font-family: Arial, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    color: black;
}

.invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    border-bottom: 2px solid #333;
    padding-bottom: 20px;
}

.invoice-logo img {
    max-height: 80px;
}

.invoice-info {
    text-align: right;
}

.invoice-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.invoice-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.invoice-table th,
.invoice-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.invoice-table th {
    background: #f5f5f5;
    font-weight: bold;
}

.invoice-totals {
    text-align: right;
    margin-top: 20px;
}

.invoice-totals table {
    margin-left: auto;
    min-width: 300px;
}

.invoice-totals .total-row {
    font-weight: bold;
    font-size: 18px;
    border-top: 2px solid #333;
}

/* Tablet and medium screen improvements */
@media (max-width: 1024px) and (min-width: 769px) {
    .nav-btn {
        font-size: 12px;
        padding: 8px 10px;
    }
    
    .main-nav {
        gap: 3px;
    }
}

/* Small tablet improvements */
@media (max-width: 900px) and (min-width: 769px) {
    .nav-btn {
        font-size: 11px;
        padding: 6px 8px;
    }
    
    .header-left h1 {
        font-size: 20px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        flex-direction: row;
        height: 70px;
        padding: 0 20px;
        justify-content: space-between;
    }

    /* Hide desktop navigation on mobile */
    .desktop-nav {
        display: none !important;
    }

    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex !important;
    }

    /* Show mobile menu when active */
    .mobile-menu {
        display: block !important;
    }

    .header-center {
        display: none;
    }

    .header-right {
        gap: 15px;
    }

    .user-menu {
        display: none;
    }

    .language-selector {
        display: none;
    }

    /* Improve desktop nav for medium screens */
    .main-nav {
        flex-wrap: wrap;
        gap: 3px;
    }

    .nav-btn {
        font-size: 11px;
        padding: 6px 8px;
        min-width: auto;
    }

    /* Mobile menu improvements */
    .mobile-menu {
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .mobile-nav-btn {
        font-size: 18px;
        padding: 20px;
    }

    /* Ensure mobile menu is above other content */
    .mobile-menu {
        z-index: 10000 !important;
    }

    /* Order form mobile fixes */
    .item-main {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .item-main .btn {
        margin-left: 0;
        margin-top: 10px;
    }

    .material-row {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .material-row .btn-sm {
        margin-left: 0;
        margin-top: 10px;
    }

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

    .section-actions {
        justify-content: stretch;
    }

    .search-input {
        min-width: auto;
        width: 100%;
    }

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

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-panel {
        min-width: auto;
    }

    .table-container {
        overflow-x: auto;
    }

    .data-table {
        min-width: 600px;
    }

    .modal-content {
        width: 95%;
        margin: 2% auto;
        max-height: 95vh;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .login-container {
        min-width: auto;
        width: 90%;
        padding: 30px 20px;
    }

    .booking-container {
        padding: 30px 20px;
    }

    .toast-container {
        left: 20px;
        right: 20px;
        top: 100px;
    }

    .toast {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .kpi-grid {
        grid-template-columns: 1fr;
    }

    .nav-btn {
        font-size: 11px;
        padding: 6px 8px;
    }

    .main-content {
        padding: 15px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .modal-content {
        margin: 1% auto;
        max-height: 98vh;
    }

    /* Mobile menu for very small screens */
    .mobile-nav-btn {
        font-size: 16px;
        padding: 18px;
    }

    .header-left h1 {
        font-size: 20px;
    }

    /* Force hide desktop nav on very small screens */
    .desktop-nav {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: flex !important;
    }
}

/* Role-based visibility */
.admin-only {
    display: none;
}

.admin-manager-only {
    display: none;
}

.role-admin .admin-only,
.role-admin .admin-manager-only {
    display: initial;
}

.role-manager .admin-manager-only {
    display: initial;
}

/* Status badges */
.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.status-open {
    background: #fff3cd;
    color: #856404;
}

.status-in-progress {
    background: #d1ecf1;
    color: #0c5460;
}

.status-done {
    background: #d4edda;
    color: #155724;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.status-paid {
    background: #d4edda;
    color: #155724;
}

.status-unpaid {
    background: #f8d7da;
    color: #721c24;
}

.status-partial {
    background: #fff3cd;
    color: #856404;
}

/* Low stock warning */
.low-stock {
    background: #fff3cd;
    color: #856404;
}

/* Футер */
.footer {
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #e1e5e9;
    background: #f8f9fa;
}  

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 10px;
}

/* User management styles */
.user-management {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.user-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    background: #f8f9fa;
}

.user-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

.user-controls input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    width: 120px;
}

.user-controls input[type="password"] {
    font-family: monospace;
}

.data-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .user-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .user-controls {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .user-controls input {
        width: 140px;
    }
}

/* Mobile Menu Styles - SIMPLIFIED */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
    transform-origin: 1px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg);
}

.mobile-menu {
    display: none !important;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10000;
}

.mobile-menu.active {
    display: block !important;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.mobile-nav-btn {
    padding: 15px 20px;
    border: none;
    background: transparent;
    color: #666;
    text-align: left;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.mobile-nav-btn:hover {
    background: #f8f9fa;
    color: #333;
}

.mobile-nav-btn.active {
    background: #007bff;
    color: white;
}

.mobile-nav-btn:last-child {
    border-bottom: none;
}

/* Mobile Menu Footer */
.mobile-menu-footer {
    border-top: 1px solid #e1e5e9;
    padding: 20px;
    background: #f8f9fa;
    margin-top: 10px;
}

.mobile-language-selector {
    margin-bottom: 15px;
}

.mobile-language-selector label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #666;
    font-size: 14px;
}

.mobile-language-selector select {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    background: white;
    font-size: 14px;
}

.mobile-user-info {
    margin-bottom: 15px;
    padding: 10px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e1e5e9;
}

.mobile-user-info span {
    font-weight: 500;
    color: #333;
}

.mobile-menu-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-menu-actions .btn {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    border-radius: 6px;
}

.mobile-menu-actions .btn-danger {
    background: #dc3545;
    color: white;
    border: none;
}

.mobile-menu-actions .btn-danger:hover {
    background: #c82333;
}

/* Desktop Navigation - Always visible on desktop */
.desktop-nav {
    display: flex;
}

/* Mobile Navigation - Hidden by default, shown on mobile */
.mobile-menu {
    display: none !important;
}

/* Mobile Menu Toggle - Hidden by default, shown on mobile */
.mobile-menu-toggle {
    display: none !important;
}

/* Force hide mobile menu on desktop */
@media (min-width: 901px) {
    .mobile-menu {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: none !important;
    }
}

/* Tablet transition - show mobile menu on smaller tablets */
@media (max-width: 900px) {
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .desktop-nav {
        display: none !important;
    }
    
    .mobile-menu {
        display: block !important;
    }
}

/* Mobile styles - show mobile menu on mobile devices */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .desktop-nav {
        display: none !important;
    }
    
    .mobile-menu {
        display: none !important;
    }
    
    .mobile-menu.active {
        display: block !important;
    }
}
