/* styles.css */

:root {
    --primary-red: #E31E24;
    --dark-red: #C71A1F;
    --text-dark: #2C2C2C;
    --text-medium: #4A4A4A;
    --text-light: #6B6B6B;
    --border-gray: #D0D0D0;
    --bg-white: #FFFFFF;
    --bg-light: #F8F8F8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background-image: url(fondo-login-tablet.jpg.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
}

.container {
    
    max-width: 540px;
    width: 100%;
    padding: 40px 80px;
    margin-top: 20px;
}

.logo-container {
    text-align: center;
    margin-bottom: 35px;
}

.logo {
    max-width: 260px;
    height: auto;
}

.welcome-section {
    text-align: left;
    margin-bottom: 32px;
}

.greeting {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.subtitle {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-select,
.form-input {
    width: 100%;
    padding: 13px 16px;
    font-size: 16px;
    border: 1.5px solid var(--border-gray);
    border-radius: 8px;
    background-color: var(--bg-white);
    color: var(--text-dark);
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath fill='%234A4A4A' d='M7 8L0 0h14z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 45px;
    cursor: pointer;
    font-weight: 400;
}

.form-input {
    font-weight: 400;
}

.form-input::placeholder {
    color: #AAAAAA;
}

.form-select:hover,
.form-input:hover {
    border-color: #A0A0A0;
}

.form-select:focus,
.form-input:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.1);
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: -8px;
    margin-bottom: -4px;
}

.checkbox {
    width: 17px;
    height: 17px;
    cursor: pointer;
    accent-color: var(--text-medium);
    flex-shrink: 0;
}

.checkbox-label {
    font-size: 14px;
    color: var(--text-light);
    cursor: pointer;
    user-select: none;
    font-weight: 400;
}

.btn-continue {
    width: 100%;
    padding: 15px;
    font-size: 17px;
    font-weight: 600;
    color: var(--bg-white);
    background-color: var(--primary-red);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 12px;
    box-shadow: 0 2px 6px rgba(227, 30, 36, 0.2);
}

.btn-continue:hover {
    background-color: var(--dark-red);
    box-shadow: 0 4px 10px rgba(227, 30, 36, 0.3);
    transform: translateY(-1px);
}

.btn-continue:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(227, 30, 36, 0.2);
}

.footer-link {
    text-align: center;
    margin-top: 45px;
    padding-top: 35px;
    border-top: 1px solid #E5E5E5;
}

.link-forgot {
    font-size: 15px;
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.link-forgot:hover {
    color: var(--primary-red);
}

/* Responsive */
@media (max-width: 640px) {
    .container {
        padding: 30px 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 25px 20px;
    }
    
    .greeting {
        font-size: 22px;
    }
    
    .subtitle {
        font-size: 24px;
    }
    
    .logo {
        max-width: 220px;
    }
}
