.register-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #c2cbf3 0%, #b6e5b3 100%);
    padding: 40px 20px;
}

.register-card {
    background: #f5f5f5;
    padding: 35px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-width: 550px;
    width: 100%;
}

.register-card h1 {
    margin: 0 0 8px 0;
    color: #333;
    text-align: center;
    font-size: 26px;
}

.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 13px;
}

.form-section {
    background: white;
    padding: 20px;
    margin-bottom: 18px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.form-section h3 {
    color: #667eea;
    margin: 0 0 18px 0;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 2px solid #667eea;
    padding-bottom: 8px;
}

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

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: #555;
    font-weight: 500;
    font-size: 13px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
    box-sizing: border-box;
    background-color: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
}

.help-text {
    display: block;
    margin-top: 4px;
    color: #999;
    font-size: 11px;
}

.error {
    display: block;
    color: #c33;
    font-size: 12px;
    margin-top: 4px;
    font-weight: 500;
}

.alert {
    padding: 10px 12px;
    border-radius: 6px;
    margin-bottom: 18px;
    font-size: 13px;
}

.alert-error {
    background-color: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.alert-success {
    background-color: #efe;
    color: #3c3;
    border: 1px solid #cfc;
}

.form-actions {
    margin-top: 20px;
}

.btn-register {
    width: 100%;
    padding: 12px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-register:hover {
    background: #5568d3;
}

.register-footer {
    margin-top: 20px;
    text-align: center;
    background: white;
    padding: 16px;
    border-radius: 8px;
}

.register-footer p {
    color: #666;
    margin: 0;
    font-size: 13px;
}

.register-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

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

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .register-card {
        padding: 25px 20px;
    }

    .form-section {
        padding: 16px 12px;
    }
}

/* Selector de idioma en la esquina superior derecha */
.language-selector-top {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.language-dropdown {
    padding: 6px 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.language-dropdown:hover {
    background: white;
    border-color: #667eea;
}

.language-dropdown:focus {
    outline: none;
    border-color: #667eea;
}

/* Mensaje informativo del dominio */
.info-message {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 12px 16px;
    margin: 16px 0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-message i {
    color: #2196f3;
    font-size: 20px;
}

.info-message p {
    margin: 0;
    color: #0d47a1;
    font-size: 14px;
}

.info-message strong {
    color: #1565c0;
    font-weight: 600;
}

/* Texto de ayuda en formularios */
.form-text {
    display: block;
    margin-top: 4px;
    color: #666;
    font-size: 13px;
    font-style: italic;
}