/* =====================================================================
   CSS pour la creation de verger - createVerger.css
   Version simplifiee - Formulaire unique
   ===================================================================== */

#verger-create-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 10000;
}

#verger-create-container {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border: 2px solid #4CAF50;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    z-index: 10001;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    font-family: Arial, sans-serif;
}

.verger-create-header {
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 6px 6px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.verger-create-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.verger-create-close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.verger-create-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.verger-create-body {
    padding: 20px 30px;
}

.verger-step-description {
    margin: 0 0 20px 0;
    padding: 15px;
    background-color: #f5f5f5;
    border-left: 4px solid #4CAF50;
    border-radius: 4px;
    color: #666;
    font-size: 14px;
}

.verger-create-form {
    margin-top: 20px;
}

.verger-form-field {
    margin-bottom: 20px;
}

.verger-form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.verger-form-field label .required {
    color: #f44336;
    margin-left: 3px;
}

.verger-form-field input[type="text"],
.verger-form-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: Arial, sans-serif;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.verger-form-field input[type="text"]:focus,
.verger-form-field textarea:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.verger-form-field textarea {
    resize: vertical;
    min-height: 80px;
}

.verger-field-help {
    margin-top: 6px;
    font-size: 12px;
    color: #999;
    font-style: italic;
}

.verger-validation-message {
    margin-top: 15px;
    padding: 12px 15px;
    border-radius: 4px;
    font-size: 14px;
    display: none;
}

.verger-create-footer {
    padding: 15px 30px;
    background-color: #f9f9f9;
    border-top: 1px solid #ddd;
    border-radius: 0 0 6px 6px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.verger-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.verger-btn-primary {
    background-color: #4CAF50;
    color: white;
}

.verger-btn-primary:hover {
    background-color: #45a049;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.verger-btn-secondary {
    background-color: white;
    color: #666;
    border: 2px solid #ddd;
}

.verger-btn-secondary:hover {
    background-color: #f5f5f5;
    border-color: #999;
}

@media (max-width: 768px) {
    #verger-create-container {
        width: 95%;
        max-height: 95vh;
    }
    
    .verger-create-body {
        padding: 15px 20px;
    }
}
