.tmp-register-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.tmp-register-header {
    text-align: center;
    margin-bottom: 40px;
}

.tmp-register-header h2 {
    color: #333;
    margin-bottom: 10px;
    font-size: 28px;
}

.tmp-register-header p {
    color: #666;
    font-size: 16px;
}

/* Étapes */
.tmp-register-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.tmp-register-steps:before {
    content: '';
    position: absolute;
    top: 20px;
    left: 25px;
    right: 25px;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}

.tmp-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.tmp-step-number {
    width: 40px;
    height: 40px;
    background: #e0e0e0;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.tmp-step-active .tmp-step-number {
    background: #0073aa;
}

.tmp-step-text {
    font-size: 14px;
    color: #666;
    text-align: center;
}

/* Formulaires */
.tmp-form-section {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.tmp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .tmp-form-row {
        grid-template-columns: 1fr;
    }
}

.tmp-form-group {
    margin-bottom: 25px;
}

.tmp-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.tmp-form-group input[type="text"],
.tmp-form-group input[type="email"],
.tmp-form-group input[type="password"],
.tmp-form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.tmp-form-group input:focus,
.tmp-form-group select:focus {
    border-color: #0073aa;
    outline: none;
}

.tmp-form-help {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

/* Types de compte */
.tmp-account-types {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .tmp-account-types {
        grid-template-columns: 1fr;
    }
}

.tmp-account-type {
    display: block;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tmp-account-type:hover {
    border-color: #0073aa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.tmp-account-type input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.tmp-account-type input[type="radio"]:checked + .tmp-account-type-content {
    border-color: #0073aa;
    background: #f0f8ff;
}

.tmp-account-type-content {
    border-radius: 6px;
    padding: 10px;
}

.tmp-account-type-content h4 {
    margin-top: 0;
    color: #0073aa;
    font-size: 18px;
    margin-bottom: 10px;
}

.tmp-account-type-content p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.tmp-account-type-content ul {
    margin: 0;
    padding-left: 20px;
    font-size: 13px;
    color: #666;
}

.tmp-account-type-content li {
    margin-bottom: 5px;
}

/* Checkbox */
.tmp-checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 14px;
}

.tmp-checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
}

.tmp-required span {
    font-weight: 600;
    color: #333;
}

.tmp-required span a {
    color: #0073aa;
    text-decoration: none;
}

.tmp-required span a:hover {
    text-decoration: underline;
}

/* Actions du formulaire */
.tmp-form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.tmp-form-actions .button {
    padding: 12px 30px;
    font-size: 16px;
}

.button-primary {
    background: #0073aa;
    border-color: #0073aa;
    color: white;
}

.button-primary:hover {
    background: #005a87;
    border-color: #005a87;
}

.button-secondary {
    background: #f0f0f0;
    border-color: #ddd;
    color: #333;
}

.button-secondary:hover {
    background: #e0e0e0;
    border-color: #ccc;
}

/* Messages */
.tmp-register-messages {
    margin-bottom: 20px;
}

.tmp-already-logged-in {
    text-align: center;
    padding: 40px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.tmp-already-logged-in h2 {
    color: #0073aa;
    margin-bottom: 20px;
}

.tmp-registration-disabled {
    text-align: center;
    padding: 40px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Footer */
.tmp-register-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
    color: #666;
}

.tmp-register-footer a {
    color: #0073aa;
    text-decoration: none;
    font-weight: 600;
}

.tmp-register-footer a:hover {
    text-decoration: underline;
}

/* États */
.tmp-form-group input:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #dc3232;
}

.tmp-form-group input:valid:not(:focus):not(:placeholder-shown) {
    border-color: #46b450;
}