/*
Theme Name: PSB Divi Child
Theme URI: 
Description: Thème enfant pour PSB utilisant Divi
Author: 
Author URI: 
Template: Divi
Version: 1.0.0
*/

/* Import de la feuille de style parent */
@import url("../Divi/style.css");

/* Styles généraux de l'application PSB */
.psb-oraux-app {
    max-width: 768px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f5f5f5;
}

/* En-tête de l'application */
.psb-app-header {
    background-color: #0d47a1;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.psb-app-title {
    color: #ffffff !important;
    text-align: center;
    font-size: 22px !important;
    font-weight: 700 !important;
    padding: 0;
    margin: 0;
}

/* Contenu principal */
.psb-app-content {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

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

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

/* Navigation en bas */
.psb-app-bottom-nav {
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
    padding: 10px 0;
    position: sticky;
    bottom: 0;
    z-index: 100;
}

.psb-nav-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #757575;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.psb-nav-button.active {
    color: #0d47a1;
}

.psb-nav-button .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.psb-nav-text {
    font-size: 12px;
    margin-top: 4px;
}

/* Styles pour les cartes/blocs d'information */
.psb-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.psb-card-header {
    background: linear-gradient(to right, #0d47a1, #6f42c1);
    padding: 15px;
    color: #ffffff;
}

.psb-card-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.psb-card-subtitle {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 5px;
}

.psb-card-content {
    padding: 15px;
}

.psb-card-section-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
}

/* Ajustements pour les modules Divi dans l'application */
.psb-oraux-app .et_pb_section {
    padding: 0;
}

.psb-oraux-app .et_pb_row {
    padding: 0;
    width: 100%;
    max-width: 100%;
}

.psb-oraux-app .et_pb_module {
    margin-bottom: 15px;
}

/* Styles responsives */
@media (max-width: 767px) {
    .psb-app-title {
        font-size: 20px !important;
    }
    
    .psb-app-content {
        padding: 10px;
    }
    
    .psb-card-header {
        padding: 12px;
    }
    
    .psb-card-content {
        padding: 12px;
    }
}