* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eff5 100%);
    color: #333;
    line-height: 1.6;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* Header */
.form-header {
    background: linear-gradient(135deg, #5a9b9e 0%, #4a8a8d 100%);
    color: white;
    padding: 50px 40px;
    text-align: center;
}

.form-header .logo {
    max-width: 150px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.form-header h1 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 600;
}

.form-header .intro {
    font-size: 18px;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

/* Form */
.benevolat-form {
    padding: 40px;
}

.form-section {
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h2 {
    font-size: 22px;
    color: #2d3748;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-section h2 .icon {
    font-size: 28px;
}

.section-subtitle {
    color: #718096;
    font-size: 14px;
    margin-bottom: 20px;
    font-style: italic;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 8px;
    color: #4a5568;
    font-size: 15px;
}

.required {
    color: #e53e3e;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #5a9b9e;
    box-shadow: 0 0 0 3px rgba(90, 155, 158, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Checkbox Grid */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}

.checkbox-item:hover {
    border-color: #5a9b9e;
    background: #f7fafc;
}

.checkbox-item input[type="checkbox"] {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #5a9b9e;
}

.checkbox-item span {
    font-size: 15px;
    color: #4a5568;
}

/* Radio Group */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-item {
    display: flex;
    align-items: center;
    padding: 15px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}

.radio-item:hover {
    border-color: #5a9b9e;
    background: #f7fafc;
}

.radio-item input[type="radio"] {
    margin-right: 12px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #5a9b9e;
}

.radio-item span {
    font-size: 15px;
    color: #4a5568;
}

/* Form Actions */
.form-actions {
    text-align: center;
    margin-top: 40px;
}

.btn-submit {
    background: linear-gradient(135deg, #5a9b9e 0%, #4a8a8d 100%);
    color: white;
    padding: 18px 50px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(90, 155, 158, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(90, 155, 158, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

.form-footer-text {
    text-align: center;
    margin-top: 25px;
    color: #718096;
    font-size: 14px;
    line-height: 1.6;
    padding: 0 20px;
}

/* Admin Section */
.admin-section {
    background: #f7fafc;
    padding: 40px;
    border-top: 3px solid #5a9b9e;
    margin-top: 50px;
}

.admin-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #2d3748;
}

.admin-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.btn-export,
.btn-view,
.btn-clear {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-export {
    background: #48bb78;
    color: white;
}

.btn-export:hover {
    background: #38a169;
}

.btn-view {
    background: #4299e1;
    color: white;
}

.btn-view:hover {
    background: #3182ce;
}

.btn-clear {
    background: #f56565;
    color: white;
}

.btn-clear:hover {
    background: #e53e3e;
}

.submissions-list {
    margin-top: 20px;
}

.submission-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid #5a9b9e;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.submission-card h3 {
    margin-bottom: 10px;
    color: #2d3748;
}

.submission-card p {
    margin: 5px 0;
    font-size: 14px;
    color: #4a5568;
}

.submission-card .date {
    color: #a0aec0;
    font-size: 12px;
    margin-top: 10px;
}

/* Success Message */
.success-message {
    background: #c6f6d5;
    color: #22543d;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid #38a169;
    display: none;
}

.success-message.show {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        border-radius: 10px;
    }

    .form-header {
        padding: 30px 20px;
    }

    .form-header h1 {
        font-size: 28px;
    }

    .form-header .intro {
        font-size: 16px;
    }

    .benevolat-form {
        padding: 25px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .checkbox-grid {
        grid-template-columns: 1fr;
    }

    .admin-actions {
        flex-direction: column;
    }

    .btn-export,
    .btn-view,
    .btn-clear {
        width: 100%;
    }
}

/* Accessibility */
.checkbox-item input:focus,
.radio-item input:focus {
    outline: 2px solid #5a9b9e;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .admin-section,
    .btn-submit,
    .form-actions {
        display: none;
    }
}