.chronoteam-client-area{max-width:1600px!important;width:100%!important;margin:auto;padding:20px;font-family:sans-serif;box-sizing:border-box}
.chronoteam-front-hero{background:#102f5f;color:#fff;border-radius:20px;padding:40px 20px;margin-bottom:30px;text-align:center}
.chronoteam-front-hero h1 { margin:0; font-size:32px; }
.ct-mobile-nav-toggle { display: none; }
.ct-tabs-container { position: relative; }
.ct-tabs-nav { display: flex; gap: 10px; border-bottom: 3px solid #eee; margin-bottom: 35px; overflow-x: auto; padding-bottom: 5px; }
.ct-tab-btn { background: #f5f5f5; border: none; padding: 12px 25px; border-radius: 12px 12px 0 0; cursor: pointer; font-weight: 700; color: #666; transition: all 0.3s; white-space: nowrap; }
.ct-tab-btn:hover { background: #eee; }
.ct-tab-btn.active { background: #102f5f; color: #fff; }
.ct-tab-panel { display: none; animation: fadeIn 0.4s; }
.ct-tab-panel.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.ct-box { background: #fff; padding: 35px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); margin-bottom: 25px; border: 1px solid #f0f0f0; }
.ct-box h2 { margin: 0 0 25px 0; font-size: 24px; color: #102f5f; border-left: 5px solid #ff8a00; padding-left: 20px; }
.ct-front-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; }
.ct-front-form label { display: flex; flex-direction: column; gap: 10px; font-weight: 600; color: #444; }

/* STYLE DES CHAMPS FRONT */
.ct-front-form input, .ct-front-form select, .ct-front-form textarea { 
    height: 50px !important; 
    line-height: normal !important; 
    padding: 0 15px !important; 
    border: 2px solid #eee !important; 
    border-radius: 12px !important; 
    font-size: 16px !important; 
    width: 100% !important; 
    box-sizing: border-box !important;
    display: block !important;
    background: #fff !important;
}

/* STYLE SPÉCIFIQUE UPLOAD FICHIER */
.ct-front-form input[type="file"] {
    padding: 10px !important;
    background: #fdfdfd !important;
    border: 2px dashed #ccc !important;
    height: auto !important;
    min-height: 60px !important;
    cursor: pointer !important;
    transition: 0.3s;
}
.ct-front-form input[type="file"]:hover {
    border-color: #ff8a00 !important;
    background: #fff8f0 !important;
}

.ct-front-form input:focus, .ct-front-form select:focus { border-color: #102f5f; outline: none; background: #f9f9ff !important; }
.ct-front-form .full { grid-column: span 2; }

/* STYLE DU CHAT */
.ct-chat-container { height: 500px; overflow-y: auto; padding: 25px; background: #f4f5f7; border-radius: 20px; border: 1px solid #e0e6ed; display: flex; flex-direction: column; gap: 20px; }
.ct-chat-msg { max-width: 70%; padding: 12px 18px; border-radius: 12px; position: relative; line-height: 1.5; font-family: inherit; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.ct-chat-msg.is-client { align-self: flex-end; background: #ff9800; color: #fff; border-bottom-right-radius: 4px; }
.ct-chat-msg.is-admin { align-self: flex-start; background: #ffffff; color: #333; border: 1px solid #e0e0e0; border-bottom-left-radius: 4px; }
.ct-chat-meta { font-size: 11px; margin-bottom: 6px; display: block; font-weight: 600; }
.ct-chat-msg.is-client .ct-chat-meta { color: rgba(255,255,255,0.9); text-align: right; }
.ct-chat-msg.is-admin .ct-chat-meta { color: #888; }
.ct-chat-text { font-size: 14px; word-wrap: break-word; }

/* STYLE DES BOUTONS FRONT */
.chronoteam-front-button { 
    background: #ff8a00; 
    color: #fff !important; 
    border: none; 
    border-radius: 12px; 
    cursor: pointer; 
    font-weight: 700; 
    font-size: 16px; 
    transition: all 0.3s; 
    height: 50px !important; 
    line-height: 50px !important; 
    display: inline-block !important; 
    width: 250px !important; 
    max-width: 100%;
    text-align: center !important; 
    text-decoration: none !important;
    padding: 0 !important;
}
.chronoteam-front-button:hover { background: #e67e00; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255,138,0,0.3); }

.ct-vignette-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.ct-vignette { background: #fff; border-radius: 15px; padding: 20px; border: 1px solid #eee; transition: all 0.3s; }
.ct-vignette:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); border-color: #ff8a00; }
.ct-vignette-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 15px; }
.ct-vignette-title { font-weight: 800; font-size: 18px; color: #102f5f; }
.ct-badge { padding: 5px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.ct-badge-orange { background: #fff3e6; color: #ff8a00; }
.ct-vignette-footer { margin-top: 15px; padding-top: 15px; border-top: 1px solid #f5f5f5; display: flex; justify-content: flex-end; gap: 10px; }
.ct-btn-sm { padding: 8px 15px; font-size: 13px; border-radius: 8px; cursor: pointer; border: none; font-weight: 600; }
.ct-btn-blue { background: #102f5f; color: #fff; }
.ct-btn-red { background: #feebeb; color: #e74c3c; }
.ct-modal { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); backdrop-filter: blur(5px); align-items: center; justify-content: center; }
.ct-modal.active { display: flex; }
.ct-modal-window { background: #fff; width: 90%; max-width: 600px; border-radius: 25px; overflow: hidden; animation: zoomIn 0.3s; }
@keyframes zoomIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
.ct-modal-header { padding: 20px 30px; display: flex; justify-content: space-between; align-items: center; }
.ct-modal-header h3 { margin: 0 !important; border: none !important; padding: 0 !important; }
.ct-close-modal { background: none; border: none; color: #fff !important; font-size: 30px; cursor: pointer; opacity: 0.8; transition: 0.3s; }
.ct-close-modal:hover { opacity: 1; }
.ct-modal-body { padding: 30px; max-height: 80vh; overflow-y: auto; }
.ct-status-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 8px; }
.ct-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.ct-table th { text-align: left; padding: 15px; border-bottom: 2px solid #eee; color: #102f5f; font-weight: 700; }
.ct-table td { padding: 15px; border-bottom: 1px solid #f5f5f5; vertical-align: middle; }
@media (max-width: 768px) {
    .ct-tabs-nav { 
        display: none; 
        flex-direction: column; 
        position: absolute; 
        background: #fff; 
        width: 100%; 
        z-index: 999; 
        box-shadow: 0 10px 30px rgba(0,0,0,0.15); 
        border: 1px solid #eee; 
        border-radius: 15px;
        margin-top: 5px;
        box-sizing: border-box;
    }
    .ct-tabs-nav.open { display: flex; }
    .ct-tabs-nav .ct-tab-btn { 
        border-radius: 0; 
        text-align: left; 
        border-bottom: 1px solid #f5f5f5; 
        padding: 15px 20px;
        background: #fff;
        width: 100%;
        color: #102f5f;
    }
    .ct-tabs-nav .ct-tab-btn:first-child { border-radius: 15px 15px 0 0; }
    .ct-tabs-nav .ct-tab-btn:last-child { border-radius: 0 0 15px 15px; border-bottom: none; }
    .ct-tabs-nav .ct-tab-btn.active { background: #102f5f !important; color: #fff !important; }

    .ct-mobile-nav-toggle { 
        display: block !important; 
        width: 100%; 
        padding: 15px 20px; 
        border: 1px solid rgba(0,0,0,0.1); 
        border-radius: 15px; 
        font-weight: 800; 
        text-align: left; 
        position: relative; 
        cursor: pointer;
        margin-bottom: 15px;
        box-sizing: border-box;
    }
    .ct-mobile-nav-toggle::after {
        content: "▼";
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 12px;
        transition: 0.3s;
        color: inherit;
    }
    .ct-mobile-nav-toggle.open::after { transform: translateY(-50%) rotate(180deg); }
    .ct-mobile-nav-select { display: none; }
    .ct-front-form { grid-template-columns: 1fr; }
    .ct-vignette-grid { grid-template-columns: 1fr; }
    .ct-modal-window { border-radius: 15px; width: 98%; }
    .ct-modal-header { padding: 15px 20px; }
    .ct-modal-body { padding: 20px; }
    .ct-front-form .full { grid-column: span 1; }
    .chronoteam-front-button { width: 100% !important; }
}
