/* Contenedor principal */
.register-container {
    display: flex;
    max-width: 1000px;
    margin: 50px auto;
    background: linear-gradient(135deg, #f4f7fb, #e6ecf5);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 78, 146, 0.15);
}

/* Lado izquierdo */
.register-container .left {
    flex: 1;
    min-width: 320px;
    background: linear-gradient(180deg, #0057b7, #007bff);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    color: #fff;
}

.register-container .left .logo {
    max-width: 130px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}
.register-container .left .logo:hover {
    transform: scale(1.05);
}
.register-container .left p {
    font-size: 1.1rem;
    line-height: 1.5;
}

/* Lado derecho */
.register-container .right {
    flex: 2;
    padding: 40px;
    color: #333;
}

.title-login {
    font-size: 1.8rem;
    font-weight: bold;
    color: #0057b7;
    margin-bottom: 5px;
    text-shadow: 0 0 6px rgba(0, 123, 255, 0.2);
}
.subtitle {
    font-size: 1rem;
    color: #555;
    margin-bottom: 25px;
}

/* Campos */
.form-group {
    margin-bottom: 18px;
}
.form-group label {
    display: block;
    margin-bottom: 6px;
    color: #0057b7;
    font-weight: 500;
}
.form-group input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    background: #f9fbfd;
    border: 1px solid #ccd6e0;
    color: #333;
    transition: all 0.3s ease;
}
.form-group input:focus {
    border-color: #007bff;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
    outline: none;
}

/* Icono contraseña */
.input-icon {
    position: relative;
}
.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #0057b7;
}
.toggle-password:hover {
    color: #007bff;
}

/* Errores */
.form-error {
    color: #d93025;
    font-size: 0.85rem;
    margin-top: 4px;
}

/* Botón */
.submit-btn {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(90deg, #0057b7, #007bff);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.submit-btn:hover {
    background: linear-gradient(90deg, #007bff, #0057b7);
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.4);
}

/* Link final */
.register-link {
    margin-top: 20px;
    font-size: 0.95rem;
    text-align: center;
    color: #555;
}
.register-link a {
    color: #0057b7;
    font-weight: bold;
    text-decoration: none;
}
.register-link a:hover {
    color: #007bff;
}

/* Responsive */
@media (max-width: 768px) {
    .register-container {
        flex-direction: column;
    }
    .register-container .left {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
}
