﻿body {
    font-family: Arial, sans-serif;
    background: #f0f2f5;
    margin: 0;
    padding: 0;
}

.top-nav {
    background-color: #252858;
    padding: 12px 24px;
    display: flex;
    justify-content: flex-end;
}

.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: #FDB803;
    color: #fff;
}

    .btn-primary img {
        width: 18px;
    }

.btn-secondary {
    background-color: transparent;
    border: 1px solid #FDB803;
    color: #FDB803;
}

/* Menú superior */
nav {
    background-color: #252858;
    padding: 15px 20px;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    position: relative;
}

    nav button,
    .dropdown {
        background-color: #FDB803;
        border: none;
        padding: 10px 18px;
        border-radius: 4px;
        cursor: pointer;
        font-weight: bold;
        color: white;
        transition: background-color 0.3s;
    }
/*
        nav button:hover,
        .dropdown:hover {
            background-color: #DBDCDD;
        }*/

/* Dropdown menu */
.dropdown-container {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    min-width: 230px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
    z-index: 9999;
    padding: 6px 0;
}

    .dropdown-menu a {
        display: block;
        padding: 12px 16px;
        color: #252858;
        text-decoration: none;
        font-size: 14px;
    }

        .dropdown-menu a:hover {
            background-color: #f1f4ff;
        }

.dropdown-container:hover .dropdown-menu {
    display: block;
}

.dropdown-container.open .dropdown-menu {
    display: block;
}
/* Contenedor de login */
.login-container {
    max-width: 420px;
    margin: 80px auto;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
}

    .login-container h2 {
        text-align: center;
        margin-bottom: 25px;
        color: #252858;
    }

    .login-container label {
        display: block;
        margin-bottom: 8px;
        font-weight: bold;
        color: #333;
    }

    .login-container input[type="text"],
    .login-container input[type="password"] {
        width: 100%;
        padding: 10px 12px;
        margin-bottom: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-size: 16px;
    }

/* Contenedor de pantallas */
.login-form {
    max-width: 700px;
    margin: 80px auto;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
}

    .login-form h2 {
        text-align: center;
        margin-bottom: 25px;
        color: #004aad;
    }

    .login-form label {
        display: block;
        margin-bottom: 8px;
        font-weight: bold;
        color: #333;
    }

    .login-form input[type="text"],
    .login-form input[type="password"] {
        width: 100%;
        padding: 10px 12px;
        margin-bottom: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-size: 16px;
    }

.textbox {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    resize: none;
}

.registro-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 32px;
    box-shadow: 0 20px 45px rgba(0,0,0,.12);
    max-width: 1200px;
    margin: 40px auto;
}

.css3Cont {
    border-radius: 10px !important;
    font-weight: 600 !important;
    box-shadow: 0 8px 20px rgba(0,0,0,.2);
}

.RadButton.rbButton.css3Cont {
    width: 100%;
    font-weight: bold;
    padding: 12px 18px;
    color: white;
    border: 0;
    border-radius: 6px;
    box-shadow: 2px 4px 6px #444;
    background: #252858; /* Old browsers */
    background: linear-gradient(top, #c3d9ff 0%,#b1c8ef 41%,#98b0d9 100%); /* W3C */
}

    .RadButton.rbButton.css3Cont em {
        font-size: 10px;
        display: block;
    }

    .RadButton.rbButton.css3Cont:hover {
        border: 0;
        background: #252858; /* Old browsers */
    }

/* Opciones de recuperación */
.recovery-options {
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
}

    .recovery-options a {
        color: #252858;
        text-decoration: none;
        margin: 0 8px;
        cursor: pointer;
    }

        .recovery-options a:hover {
            text-decoration: underline;
        }

.next-btn {
    display: inline-flex; /* Para alinear icono y texto */
    align-items: center; /* Centrar verticalmente */
    gap: 8px; /* Espacio entre icono y texto */
    padding: 12px 20px; /* Tamaño del botón */
    border: none; /* Sin borde predeterminado */
    border-radius: 10px; /* Bordes redondeados */
    background: #252858; /* Old browsers */
    background: linear-gradient(top, #c3d9ff 0%,#b1c8ef 41%,#98b0d9 100%); /* W3C */
    color: white; /* Texto blanco */
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Sombra suave */
    transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
}


.fila-desafio {
    display: flex;
    align-items: center;
    gap: 12px; /* espacio entre controles */
    margin-bottom: 15px; /* espacio entre filas */
    width: 100%;
}

    .fila-desafio label,
    .fila-desafio .asp-label {
        display: inline-block;
        width: 350px; /* ancho fijo para la descripción */
        font-weight: bold;
    }

    .fila-desafio .input-control {
        display: inline-block;
        vertical-align: middle;
        font-size: 16px;
    }

/* tamaños fijos para cada control */
.txtPreguntas {
    width: 200px !important;
}

.txtNumPreguntas {
    width: 120px !important;
}

.txtFecPreguntas {
    width: 150px !important;
}

/* Grid para preguntas */
.pregunta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Dos columnas iguales */
    gap: 15px;
    margin-bottom: 15px;
    align-items: start;
}

.pregunta-label {
    font-weight: bold;
    color: #333;
}

.pregunta-input {
    width: 100%;
    min-width: 200px;
}

.RadTabStrip_Bootstrap .rtsLI {
    font-weight: 600;
}

.RadTabStrip_Bootstrap .rtsSelected {
    background-color: #252858 !important;
    color: #fff !important;
    border-radius: 8px 8px 0 0;
}

.RadTabStrip_Bootstrap .rtsLink {
    padding: 14px 18px !important;
}

.form-section {
    background: #f9fafc;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 25px;
    border-left: 5px solid #252858;
}

    .form-section h3 {
        margin-top: 0;
        margin-bottom: 15px;
        font-size: 18px;
        color: #252858;
    }

.RadInput input,
.RadPicker input,
.RadNumericTextBox input {
    height: 42px !important;
    border-radius: 8px !important;
    font-size: 15px !important;
}

    .RadInput input:focus {
        border-color: #252858 !important;
        box-shadow: 0 0 0 3px rgba(37,40,88,.15);
    }

.RadCaptcha span {
    display: none;
}

div#MegaDropDown {
    margin: 0 auto;
    padding: 20px 0 0 0;
    width: 280px;
    /*height: 100px;*/
    /*    background-image: url('images/main_back.jpg');
    background-repeat: no-repeat;*/
    font-size: 16px;
}

div.RadMenu_Default ul.rmRootGroup,
div.RadMenu_Default div.rmRootGroup {
    background: none;
    border: 0;
    height: 100%;
    padding-left: 20px;
}


div.RadMenu .rmItem {
    position: static;
}

/*setting the width and height of the dropdown */
div.RadMenu_Default .rmLink,
html div.RadMenu_Default li.rmItem.rmSelected .rmLink,
html div.RadMenu_Default li.rmItem.rmExpanded .rmLink {
    color: inherit;
    text-transform: uppercase;
}

.grupo-radio {
    display: flex;
    gap: 25px;
    align-items: center;
    flex-wrap: wrap;
}

.item-radio {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
}

/* ICONO INFO */
.icon-help {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #FDB803;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    margin-left: 6px;
    user-select: none;
}

    .icon-help:hover {
        transform: scale(1.1);
    }

/* PANEL FLOTANTE */
.panel-ayuda {
    position: fixed;
    top: 90px;
    right: -450px;
    width: 340px;
    background: #fff;
    border-left: 5px solid #FDB803;
    border-radius: 14px 0 0 14px;
    box-shadow: 0 0 25px rgba(0,0,0,0.25);
    padding: 22px;
    z-index: 999999;
    transition: all .35s ease;
    opacity: 0;
    visibility: hidden;
}

    /* PANEL VISIBLE */
    .panel-ayuda.mostrar {
        right: 0;
        opacity: 1;
        visibility: visible;
    }

.titulo-panel {
    font-size: 28px;
    font-weight: bold;
    color: #FDB803;
    margin-bottom: 15px;
}

.panel-ayuda p,
.panel-ayuda li {
    font-size: 15px;
    line-height: 1.5;
}

/* BOTON CERRAR */
.cerrar-panel {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 18px;
    cursor: pointer;
    color: #777;
    font-weight: bold;
}

    .cerrar-panel:hover {
        color: red;
    }