/* fournitures.css - Design moderne */
#fournitures-scolaires-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fa;
}

.fournitures-hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    margin-bottom: 40px;
    color: white;
}

.fournitures-hero h1 {
    font-size: 2.8em;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.fournitures-hero p {
    font-size: 1.2em;
    opacity: 0.9;
    margin: 0;
    font-weight: 300;
}

.fournitures-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    margin-bottom: 40px;
}

.form-section {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: #f8f9fa;
}

.form-group input[type="text"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}

.file-upload-group {
    margin-bottom: 30px;
}

.file-upload-zone {
    border: 2px dashed #dee2e6;
    border-radius: 15px;
    padding: 40px 20px;
    text-align: center;
    background: #f8f9fa;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.file-upload-zone:hover {
    border-color: #667eea;
    background: #f0f3ff;
}

.file-upload-zone.drag-over {
    border-color: #667eea;
    background: #e8f0ff;
    transform: scale(1.02);
}

.file-upload-icon {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.6;
}

.file-upload-zone p {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #6c757d;
}

.file-browse {
    color: #667eea;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.file-upload-zone input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-zone small {
    color: #6c757d;
    font-size: 12px;
    display: block;
    margin-top: 10px;
}

.file-selected {
    margin-top: 15px;
    padding: 12px;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    color: #155724;
    font-size: 14px;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: white;
    color: #667eea;
    padding: 15px 40px;
    border: 2px solid #667eea;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.info-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.service-features {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.service-features h3 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 1.5em;
    font-weight: 700;
    text-align: center;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.feature-icon {
    background: #667eea;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0;
}

.feature-item strong {
    color: #2c3e50;
    font-size: 16px;
    margin-bottom: 5px;
    display: block;
}

.feature-item p {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}

.help-section {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
}

.help-section h4 {
    margin-bottom: 10px;
    font-size: 1.2em;
    font-weight: 600;
}

.help-section p {
    margin-bottom: 15px;
    opacity: 0.9;
}

.help-phone {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255,255,255,0.2);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.help-phone:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

#fournitures-message {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
}

#fournitures-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#fournitures-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-loading {
    position: relative;
    pointer-events: none;
}

.form-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    border-radius: 15px;
}

.form-loading::before {
    content: '⏳ Envoi en cours...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
    font-weight: 600;
    color: #667eea;
    font-size: 18px;
}

.char-counter {
    text-align: right;
    font-size: 12px;
    color: #6c757d;
    margin-top: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    #fournitures-scolaires-container {
        padding: 10px;
    }
    
    .fournitures-hero {
        padding: 40px 15px;
    }
    
    .fournitures-hero h1 {
        font-size: 2em;
    }
    
    .fournitures-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-section {
        padding: 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .file-upload-zone {
        padding: 30px 15px;
    }
    
    .file-upload-icon {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .fournitures-hero h1 {
        font-size: 1.8em;
    }
    
    .fournitures-hero p {
        font-size: 1em;
    }
    
    .form-section {
        padding: 20px;
    }
    
    .service-features {
        padding: 20px;
    }
    
    .feature-item {
        padding: 12px;
    }
}
