/* styles-auth.css - Archivo compartido para login y registro */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Poppins', sans-serif;
    background-color: #f5f8ff;
}

.container {
    display: flex;
    height: 100vh;
    margin: 0 auto;
    overflow: hidden;
}

.error-message {
    color: #d9534f;
    background-color: #f2dede;
    padding: 10px;
    border: 1px solid #ebccd1;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.error-message i {
    font-size: 18px;
}


.form-container {
    flex: 1;
    padding: 60px 40px;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.auth-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(149, 157, 165, 0.1);
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

h2 {
    color: #17406C;
    margin-bottom: 10px;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
}

.welcome-text {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 15px;
}

.form-group {
    margin-bottom: 24px;
}

label {
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
    display: block;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5ee;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f8fafd;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
    border-color: #17406C;
    outline: none;
    box-shadow: 0 0 0 4px rgba(23, 64, 108, 0.1);
    background: white;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(45deg, #17406C, #245d9d);
    color: white;
    padding: 14px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn-submit:hover {
    background: linear-gradient(45deg, #102a45, #17406C);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(23, 64, 108, 0.2);
}

.logo-container {
    flex: 1;
    background: linear-gradient(135deg, #17406C, #245d9d);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 40px;
  
    overflow: hidden;
}

.logo-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/retGas-fondo.png');
    opacity: 0.1;
}

.logo-container img {
    width: 70%;
    max-width: 400px;
    margin-bottom: 30px;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
}

.logo-text {
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
}

.logo-text h3 {
    margin: 0;
    font-size: 36px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.logo-text p {
    margin: 15px 0 0;
    font-size: 18px;
    opacity: 0.9;
    max-width: 400px;
    line-height: 1.6;
}

.footer {
    text-align: center;
    margin-top: 25px;
    color: #666;
}

.footer a {
    color: #17406C;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #245d9d;
}

/* Toast Notification */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #4CAF50;
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(150%);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.toast.show {
    transform: translateX(0);
}

.toast i {
    font-size: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .logo-container {
        display: none;
    }

    .form-container {
        padding: 20px;
    }
    
    .auth-form {
        padding: 30px 20px;
    }
}