:root {
    --primary-color: #ff5722; /* Color principal */
    --secondary-color: #ff9800; /* Color secundario */
    --dark-color: #212121; /* Color oscuro */
    --light-color: #fff; /* Color claro */
    --border-radius: 12px; /* Bordes redondeados */
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* Sombra de cajas */
    --input-focus-color: #ff7043; /* Color de foco en inputs */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--light-color);
    background-color: #1a1a1a;
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0.6)),
                      url('https://images.unsplash.com/photo-1478720568477-152d9b164e26?ixlib=rb-1.2.1&auto=format&fit=crop&w=1500&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

h1, h2, p {
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

.login-container, .register-container {
    max-width: 450px;
    width: 100%;
    margin: 50px auto;
    padding: 30px;
    background-color: rgba(20, 20, 20, 0.8);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-header, .register-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2, .register-header h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.login-header p, .register-header p {
    color: #aaa;
}

.form-control {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid #444;
    border-radius: var(--border-radius);
    color: #fff;
    padding: 12px;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--input-focus-color);
    box-shadow: 0 0 0 2px rgba(255, 87, 34, 0.25);
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    border-radius: var(--border-radius);
    padding: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #ff7043;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3);
}

.google-btn {
    width: 100%;
    padding: 14px 0;
    background-color: #fff;
    color: #3c4043;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.google-btn:hover {
    background-color: #f8f9fa;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transform: translateY(-1px);
}

.google-btn img {
    margin-right: 10px;
    width: 20px;
    height: 20px;
}

.form-group label {
    font-weight: 500;
    color: #ddd;
    margin-bottom: 8px;
}

.form-links {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    font-size: 14px;
}

.form-links a {
    color: #aaa;
    transition: color 0.3s;
}

.form-links a:hover {
    color: var(--primary-color);
}

.or-divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: #aaa;
}

.or-divider::before, .or-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #444;
}

.or-divider span {
    padding: 0 15px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.promo-banner {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 10px 0;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.benefits {
    background-color: rgba(20, 20, 20, 0.7);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-top: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits li {
    padding: 10px 0;
    font-size: 16px;
    color: #ddd;
}

.benefits i {
    color: var(--primary-color);
    margin-right: 10px;
}

.alert {
    border-radius: var(--border-radius);
    padding: 15px;
    margin-bottom: 25px;
    border: none;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.15);
    color: #ff6b6b;
    border-left: 3px solid #dc3545;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.15);
    color: #75b798;
    border-left: 3px solid #28a745;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .login-container, .register-container {
        max-width: 100%;
        padding: 20px;
        margin: 20px auto;
    }

    .login-header h2, .register-header h2 {
        font-size: 1.6rem;
    }

    .btn-primary, .google-btn {
        padding: 12px;
    }

    .form-control {
        padding: 10px;
    }

    .form-links {
        flex-direction: column;
        align-items: center;
    }

    .form-links a {
        margin-top: 10px;
    }

    .promo-banner {
        font-size: 14px;
    }

    .benefits {
        margin-top: 20px;
    }
}

/* Hover Effects for Buttons and Links */
.btn-primary:hover, .google-btn:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


