/* Import des polices personnalisées */
@font-face {
    font-family: 'SpaceMono';
    src: url('./font/SpaceMono-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Delight';
    src: url('./font/Delight-VF.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'SpaceMono', 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}



/* Step Image */
.step-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
}

.step-svg {
    width: 120px;
    height: 120px;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.step-svg:hover {
    transform: scale(1.05);
}

/* Step Title */
.step-title {
    text-align: center;
    margin-bottom: 2rem;
}

.step-title h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.step-title p {
    font-size: 1rem;
    color: #718096;
    margin: 0;
}

/* Form Section */
.form-section {
    width: 100%;
    margin-bottom: 2rem;
}

.coaching-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    font-family: 'Delight', 'Inter', sans-serif;
}

/* Inputs stylisés comme des cartes */
.form-group input {
    width: 100%;
    padding: 1.25rem;
    border: none;
    border-radius: 16px;
    font-size: 1rem;
    font-family: inherit;
    background: #f6f6f6;
    border: solid 2px #f4f4f4;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    color: #333;
}

.form-group input:focus {
    outline: none;
    background: white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}


.form-group input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

/* Progress Dots */
.progress-dots {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e8e8e8;
    transition: all 0.3s ease;
}

.dot.active {
    background: #333;
    transform: scale(1.2);
}

/* Navigation Section */
.navigation-section {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border: 2px solid #e8e8e8;
    border-radius: 50%;
    background: white;
    color: #333;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover:not(:disabled) {
    border-color: #333;
    background: #f8f8f8;
    transform: scale(1.05);
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.main-btn {
    flex: 1;
    max-width: 200px;
    background: #333;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Delight', 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.main-btn:hover {
    background: #222;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

/* Checkbox Group */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Checkbox Label */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    font-size: 1rem;
    color: #333;
    padding: 1rem;
    background: #f6f6f6;
    border: solid 2px #f4f4f4;
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.checkbox-label:hover {
    background: white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

/* Custom Checkbox */
.checkbox-label input[type="checkbox"] {
    width: 10px;
    height: 10px;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    position: relative;
    appearance: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked {
    background: #333;
    border-color: #333;
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 6px;
    font-weight: bold;
}

.checkbox-label input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.1);
}

.checkbox-label span {
    flex: 1;
    font-weight: 500;
}

/* Textarea stylisé */
textarea {
    width: 100%;
    padding: 1.25rem;
    border: none;
    border-radius: 16px;
    font-size: 1rem;
    font-family: inherit;
    background: #f8f9fa;
    transition: all 0.3s ease;
    resize: vertical;
    min-height: 100px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    color: #333;
}

textarea:focus {
    outline: none;
    background: white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

textarea::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

/* Select stylisé */
select {
    width: 100%;
    padding: 1.25rem;
    border: none;
    border-radius: 16px;
    font-size: 1rem;
    font-family: inherit;
    background: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    color: #333;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 3rem;
}

select:focus {
    outline: none;
    background-color: white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

select option {
    background: white;
    color: #333;
    padding: 0.5rem;
}

/* Responsive Design */
@media (max-width: 480px) {
    .container {
        padding: 15px;
        gap: 1.5rem;
    }
    

    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 1rem;
    }
    
    .checkbox-label {
        padding: 0.875rem;
    }
    
    .main-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .nav-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* Animation d'entrée */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-section,
.progress-dots,
.navigation-section {
    animation: fadeInUp 0.6s ease forwards;
}

.form-section {
    animation-delay: 0.2s;
}

.progress-dots {
    animation-delay: 0.4s;
}

.navigation-section {
    animation-delay: 0.6s;
}

/* Validation styles */
.form-group {
    position: relative;
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    background: #fef2f2;
    border: 2px solid #ef4444;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.1);
    padding-right: 3rem;
}

.form-group input.error::after,
.form-group textarea.error::after,
.form-group select.error::after {
    content: '';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='SVGRepo_bgCarrier' stroke-width='0'%3E%3C/g%3E%3Cg id='SVGRepo_tracerCarrier' stroke-linecap='round' stroke-linejoin='round'%3E%3C/g%3E%3Cg id='SVGRepo_iconCarrier'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10zm-1.5-5.009c0-.867.659-1.491 1.491-1.491.85 0 1.509.624 1.509 1.491 0 .867-.659 1.509-1.509 1.509-.832 0-1.491-.642-1.491-1.509zM11.172 6a.5.5 0 0 0-.499.522l.306 7a.5.5 0 0 0 .5.478h1.043a.5.5 0 0 0 .5-.478l.305-7a.5.5 0 0 0-.5-.522h-1.655z' fill='%23ef4444'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
}

.form-group input.success,
.form-group textarea.success,
.form-group select.success {
    background: #f0fdf4;
    border: 2px solid #10b981;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.1);
}

/* Message d'erreur */
.form-group .error-message {
    display: none;
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

.form-group input.error + .error-message,
.form-group textarea.error + .error-message,
.form-group select.error + .error-message {
    display: block;
}

/* Notification styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #10b981;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    max-width: 300px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification.error {
    background: #ef4444;
}

.notification-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
} 