/*
 * SalonPro X - Responsive Styles
 * Desktop, Tablet, Mobile breakpoints
 */

/* Large Desktop (min 1400px) */
@media (min-width: 1400px) {
    .container-fluid {
        padding-left: 30px;
        padding-right: 30px;
    }
}

/* Desktop (min 992px) - default behavior */

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    .sidebar {
        transform: translateX(-100%);
        width: var(--sidebar-width);
    }
    .sidebar.show {
        transform: translateX(0);
    }
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
    .sidebar-overlay.show {
        display: block;
    }

    .main-wrapper {
        margin-left: 0;
    }

    .app-footer {
        left: 0;
    }

    .search-input {
        width: 200px;
    }
    .search-input:focus {
        width: 240px;
    }

    .pos-container {
        grid-template-columns: 1fr;
        height: auto;
    }
    .pos-cart {
        position: static;
    }

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

/* Mobile (576px - 767px) */
@media (max-width: 767px) {
    .sidebar {
        width: 280px;
    }

    .navbar-row {
        padding: 0 10px;
    }

    .page-title h5 {
        font-size: 15px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 140px;
    }

    .search-box {
        display: none;
    }

    .user-info {
        display: none !important;
    }

    .nav-right {
        gap: 2px;
    }

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

    .stats-card {
        padding: 14px;
    }
    .stats-value {
        font-size: 18px;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
    }

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

    .auth-container {
        max-width: 100%;
        padding: 16px;
    }
    .auth-glass {
        padding: 24px;
    }

    .modal-dialog {
        margin: 10px;
    }

    .page-content {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* Small Mobile (< 576px) */
@media (max-width: 575px) {
    .btn-navbar {
        width: 34px;
        height: 34px;
    }

    .notification-dropdown {
        width: 300px;
        right: -60px;
    }

    .card-body {
        padding: 14px;
    }

    .auth-header h1 {
        font-size: 22px;
    }

    .page-breadcrumb {
        padding: 8px 16px;
    }

    .table thead th,
    .table tbody td {
        padding: 8px 10px;
        font-size: 12px;
    }

    .stats-icon {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
    .stats-value {
        font-size: 16px;
    }
}
