/*
Theme Name: Easytoutou
Description: Eaasytoutou
Author: Kylian Nô--Jaffré
Template: astra
Version: 1.0.0
*/


 body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f7f6;
    margin: 0;
    color: #333;
}
.container {
    max-width: 950px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin: 20px auto;
}
h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 25px;
}
h2 {
    color: #2c3e50;
    margin-top: 40px;
    border-bottom: 2px solid #cbd5e1;
    padding-bottom: 8px;
}
h3 {
    color: #2980b9;
    margin-top: 0;
    /*border-bottom: 2px solid #edf2f7;*/
    padding-bottom: 8px;
}
.form-section {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.full-width {
    grid-column: span 2;
}
label {
    display: block;
    margin: 10px 0 4px;
    font-weight: 600;
    color: #34495e;
}
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin: 15px 0;
    font-weight: 600;
    color: #2c3e50;
}
.checkbox-label input {
    width: auto;
}
input, select, textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 14px;
    background-color: #fff;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}
/* Sections affichées uniquement pour les gardes */
.garde-only-section {
    display: none;
}
.garde-border-top {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px dashed #cbd5e1;
}
/* Grille adaptative pour la saisie de l'animal */
.pet-input-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    border: 1px dashed #cbd5e1;
    margin-bottom: 15px;
}
.pet-input-grid .btn-container {
    grid-column: span 3;
    text-align: right;
    margin-top: 5px;
}
.btn-add-pet {
    background-color: #3498db;
    color: white;
    padding: 10px 25px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
}
.btn-add-pet:hover {
    background-color: #2980b9;
}
.pet-list-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 20px;
}
.pet-badge {
    background: #e2e8f0;
    color: #1e293b;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #cbd5e1;
    line-height: 1.5;
}
.pet-badge-content strong {
    color: #2c3e50;
    font-size: 14px;
}
.pet-badge .remove-pet {
    color: #ef4444;
    cursor: pointer;
    font-weight: bold;
    font-size: 20px;
    padding-left: 15px;
}
button[type="submit"] {
    width: 100%;
    background-color: #27ae60;
    color: white;
    padding: 14px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 15px;
    transition: background 0.2s;
}
button[type="submit"]:disabled {
    background-color: #94a3b8;
    cursor: not-allowed;
}
button[type="submit"]:hover:not(:disabled) {
    background-color: #219653;
}
.dynamic-section {
    display: none;
    background: #fff;
    padding: 20px;
    border-left: 4px solid #3498db;
    margin-top: 20px;
    border-radius: 0 8px 8px 0;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.02);
}
.sub-dynamic {
    display: none;
    background: #f1f5f9;
    padding: 15px;
    margin-top: 15px;
    border-radius: 6px;
    border: 1px dashed #cbd5e1;
}
.price-box {
    background-color: #f0fdf4;
    border: 2px dashed #22c55e;
    color: #166534;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    display: none;
}
.notification {
    display: none;
    padding: 15px;
    margin-top: 25px;
    border-radius: 6px;
    font-weight: 500;
    line-height: 1.5;
}
.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.info-panel {
    background-color: #e0f2fe;
    border: 1px solid #bae6fd;
    color: #0369a1;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}
#calendar {
    margin-top: 20px;
    background: #fff;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}
.legend {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
    font-size: 13px;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
}
.color-box {
    width: 15px;
    height: 15px;
    border-radius: 3px;
}
@media(max-width: 768px) {
    .pet-input-grid { grid-template-columns: 1fr 1fr; }
    .pet-input-grid .btn-container { grid-column: span 2; }
}
@media(max-width: 600px) {
    .form-grid { grid-template-columns: 1fr; }
    .full-width { grid-column: span 1; }
    .pet-input-grid { grid-template-columns: 1fr; }
    .pet-input-grid .btn-container { grid-column: span 1; }
    .btn-add-pet { width: 100%; text-align: center; }
}