.register-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    padding: 2rem 0;
}

.register-container {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 1240px;
    width: 90%;
}

.register-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    text-align: center;
}

.register-subtitle {
    color: #7f8c8d;
    text-align: center;
    margin-bottom: 2rem;
}

.trial-badge {
    background: #2ecc71;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
    flex: 1;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #2ecc71;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
}

.btn-register {
    width: 100%;
    padding: 0.75rem;
    background: #2ecc71;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-register:hover {
    background: #27ae60;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
}

.register-links {
    text-align: center;
    margin-top: 2rem;
}

.register-links a {
    color: #2ecc71;
    text-decoration: none;
    font-weight: 500;
}

.register-links a:hover {
    text-decoration: underline;
}

.user-type-group {
    margin-bottom: 2rem;
}

.user-type-choices {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.user-type-choices .choice-item {
    flex: 1;
    position: relative;
}

.user-type-choices input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.user-type-choices label {
    display: block;
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    font-weight: 500;
    margin: 0;
    box-sizing: border-box;
}

.user-type-choices label:hover {
    border-color: #2ecc71;
    background: #f8f9fa;
}

.user-type-choices input[type="radio"]:checked+label {
    border-color: #2ecc71;
    background: #2ecc71;
    color: white;
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: #2ecc71;
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

.terms-checkbox {
    margin-bottom: 1.5rem;
}

.terms-checkbox input[type="checkbox"] {
    /* width: auto; */
    margin-bottom: 0.5rem;
}

.terms-text {
    font-size: 0.9rem;
    color: #7f8c8d;
    line-height: 1.4;
    margin-left: 0;
}

.terms-text a {
    color: #2ecc71;
    text-decoration: none;
}

.terms-text a:hover {
    text-decoration: underline;
}

/* Messages d'erreur et de succès */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 14px;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.form-error {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.form-group .invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.benefits {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid #2ecc71;
}

.benefits h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits li {
    color: #7f8c8d;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.benefits li:before {
    content: "✓";
    color: #2ecc71;
    font-weight: bold;
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .register-container {
        padding: 2rem;
        margin: 1rem;
    }

    .register-title {
        font-size: 1.75rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}
