/* Variables de colores */
:root {
    --text-color: #212242;
    --link-color: #6D6FC2;
    --button-color: #64F870;
    --button-hover: #B0FFB6;
    --button-pressed: #28E843;
    --input-border: #DFE0F9;
    --white: #FFFFFF;
    --black: #212242;
}

/* Estilos generales */
body {
    margin: 0;
    padding: 0;
    font-family: 'DM Sans', sans-serif;
    background: url('okticket-bg-form.png') center/cover no-repeat fixed;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    box-sizing: border-box;
}

/* Contenedor del formulario */
.form-container {
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.form-container:hover {
    transform: translateY(-5px);
}

/* Logo */
.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.logo {
    width: 150px;
    height: 60px;
    object-fit: contain;
}

/* Títulos y textos */
h1 {
    color: var(--text-color);
    text-align: center;
    font-size: 32px;
    line-height: 36px;
    margin-bottom: 20px;
    font-weight: 700;
}

.subtitle {
    color: var(--text-color);
    text-align: center;
    font-size: 16px;
    line-height: 18px;
    margin-bottom: 35px;
}

/* Campos del formulario */
.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
}

input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--input-border);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: 'DM Sans', sans-serif;
}

input:focus {
    border-color: var(--link-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(109, 111, 194, 0.1);
}

/* Checkbox personalizado */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    margin-top: 4px;
}

.checkbox-group label {
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 0;
}

/* Enlaces */
a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--link-color);
    text-decoration: underline;
}

/* Botón */
button {
    background-color: var(--button-color);
    color: var(--text-color);
    border: none;
    border-radius: 8px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    font-family: 'DM Sans', sans-serif;
}

button:hover {
    background-color: var(--button-hover);
    transform: translateY(-2px);
}

button:active {
    background-color: var(--button-pressed);
    transform: translateY(0);
}

.mensaje {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    display: none;
}

.mensaje.mensaje-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.mensaje.mensaje-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.mensaje.mensaje-info {
    background-color: #cce5ff;
    color: #004085;
    border: 1px solid #b8daff;
    display: block;
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Responsive */
/* Tablet */
@media (max-width: 1024px) {
    .container {
        padding: 15px;
    }

    .form-container {
        padding: 30px;
        max-width: 500px;
    }

    .logo {
        width: 120px;
        height: 48px;
    }

    h1 {
        font-size: 28px;
        line-height: 32px;
    }

    .subtitle {
        font-size: 15px;
        line-height: 17px;
    }

    input {
        padding: 10px;
        font-size: 14px;
    }

    button {
        padding: 12px 25px;
        font-size: 15px;
    }
}

/* Móvil */
@media (max-width: 480px) {
    .container {
        padding: 10px;
        margin: 0;
        display: flex;
        justify-content: center;
    }

    .form-container {
        padding: 20px;
        margin: 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    }

    .logo-container {
        margin-bottom: 20px;
    }

    .logo {
        width: 100px;
        height: 40px;
    }

    h1 {
        font-size: 24px;
        line-height: 28px;
        margin-bottom: 15px;
    }

    .subtitle {
        font-size: 14px;
        line-height: 16px;
        margin-bottom: 25px;
    }

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

    label {
        font-size: 14px;
        margin-bottom: 6px;
    }

    input {
        padding: 8px;
        font-size: 14px;
    }

    .checkbox-group label {
        font-size: 13px;
    }

    button {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Estilos para radio buttons */
.radio-group {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 8px;
}

.radio-group input[type="radio"] {
    width: auto;
    margin-right: 5px;
}

.radio-group label {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0;
    font-size: 14px;
}

/* Ajustes responsive para los nuevos elementos */
@media (max-width: 480px) {
    .radio-group {
        gap: 15px;
    }
    
    .radio-group label {
        font-size: 13px;
    }
}