/* ========================================
   GO WORK - TABLETTE RESPONSIVE STYLES OPTIMIZED
   Utilise TailwindCSS avec quelques overrides nécessaires
   ======================================== */

/* Tablette portrait (768px à 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {

    /* === LAYOUT SIDEBAR === */
    .sidebar {
        width: 200px !important;
    }

    .main-content {
        margin-left: 200px !important;
    }

    .main-header {
        left: 200px !important;
    }

    /* === DASHBOARD GRID === */
    .dashboard-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* === PAGES GRID === */
    .pages-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
        gap: 15px !important;
    }

    /* === CARDS RESPONSIVE === */
    .next-session-card,
    .victory-card {
        padding: 20px !important;
    }

    /* === CONTENT SECTIONS === */
    .content-section {
        padding: 20px !important;
        margin-bottom: 20px !important;
    }

    /* === WELCOME HEADER === */
    .welcome-header h1 {
        font-size: 2rem !important;
    }

    /* === BOUTONS === */
    .btn {
        padding: 10px 20px !important;
        font-size: 13px !important;
    }

    /* === PAGE THUMBNAILS === */
    .page-thumbnail {
        height: 180px !important;
    }

    /* === SESSION INFO === */
    .session-info {
        flex-direction: column !important;
        text-align: center !important;
    }

    .session-actions {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .session-actions .btn {
        width: 100% !important;
    }

    /* === FORM RESPONSIVE === */
    .go-form-group {
        margin-bottom: 20px !important;
    }

    .go-input {
        padding: 12px 16px !important;
        font-size: 15px !important;
    }

    /* === MODAL RESPONSIVE === */
    .go-modal-content {
        max-width: 90% !important;
        margin: 0 20px !important;
    }

    /* === TABLE RESPONSIVE === */
    .go-table-responsive {
        font-size: 13px !important;
    }

    .go-table-cell {
        padding: 8px 12px !important;
    }

    /* === NAVIGATION RESPONSIVE === */
    .go-breadcrumb {
        font-size: 12px !important;
    }

    /* === ALERTS RESPONSIVE === */
    .go-alert {
        padding: 12px 16px !important;
        font-size: 13px !important;
    }

}

/* Tablette landscape spécifique (1024px et moins) */
@media (max-width: 1024px) {

    /* === GRILLE RESPONSIVE === */
    .go-grid-responsive {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    }

    /* === CONTAINER RESPONSIVE === */
    .go-container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* === TYPOGRAPHY RESPONSIVE === */
    .go-card-title {
        font-size: 1.1rem !important;
    }

    /* === SPACING RESPONSIVE === */
    .go-card {
        padding: 20px !important;
    }

    .go-card-header {
        padding-bottom: 16px !important;
        margin-bottom: 16px !important;
    }

    .go-card-footer {
        padding-top: 16px !important;
        margin-top: 16px !important;
    }

}