﻿/* ===================== */
/* Estilos generales */
/* ===================== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f3f8fc;
    margin: 0;
    padding: 0;
}

.container {
    background: #ffffff;
    max-width: 700px;
    margin: 60px auto;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0px 4px 12px rgba(0, 64, 128, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        margin: 20px;
        padding: 20px;
    }

    .btn, input[type=submit], button {
        width: 100%;
        font-size: 16px;
    }

    h2 {
        font-size: 22px;
    }
}

/* ===================== */
/* Header encuesta */
/* ===================== */
.encuesta-header {
    text-align: center;
    margin-bottom: 20px;
}

.titulo__formulario {
    color: #004080;
    margin-bottom: 10px;
}

.required-fields {
    font-size: 14px;
    color: #333;
}

.campo-obligatorio {
    color: red;
}

/* ===================== */
/* Panel encuesta */
/* ===================== */
.encuesta-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

    .encuesta-panel label {
        font-weight: bold;
        color: #004080;
        display: block;
        margin-bottom: 8px;
    }

/* Inputs, select y textarea */
input[type=text], textarea, select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #b3cde0;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
}

    input[type=text]:focus, textarea:focus, select:focus {
        border-color: #004080;
        box-shadow: 0px 0px 6px rgba(0, 64, 128, 0.4);
    }

/* Radio buttons */
.radioButtonList input[type=radio] {
    margin-right: 6px;
}

.radioButtonList label {
    display: block;
    color: #333;
    margin-bottom: 6px;
}

/* ===================== */
/* Botones */
/* ===================== */
.btn, .aspNet-Button, input[type=submit], button {
    background: linear-gradient(135deg, #007bff, #004080);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
}

    .btn:hover, .aspNet-Button:hover {
        background: linear-gradient(135deg, #0056b3, #00264d);
        transform: translateY(-2px);
    }

/* ===================== */
/* Validación */
/* ===================== */
.error_validacionEncuesta {
    color: #ff0000;
    font-size: 13px;
    display: block;
    margin-top: 6px;
}

/* ===================== */
/* Modal (opcional para mensajes) */
/* ===================== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #ffffff;
    margin: auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 350px;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0px 6px 18px rgba(0,0,0,0.3);
    animation: fadeIn 0.5s ease;
}

    .modal-content p {
        font-size: 16px;
        color: #004080;
        margin: 0;
    }

.close {
    color: #004080;
    float: right;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
}

    .close:hover {
        color: #ff0000;
        text-decoration: none;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}
/* 🔹 Modal general */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.5);
}

/* 🔹 Contenedor del contenido del modal */
.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 25px;
    border-radius: 12px;
    width: 320px;
    text-align: center;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3);
    font-family: "Segoe UI", sans-serif;
}

    /* 🔹 Texto dentro del modal */
    .modal-content p {
        margin-top: 15px;
        color: #333;
        font-size: 16px;
    }

/* 🔹 Spinner animado */
.spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #007bff;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    margin: 0 auto;
    animation: spin 1s linear infinite;
}

/* 🔹 Animación de carga */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
/* 🔹 Contenedor en una sola fila */
.fila-validacion {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

    /* 🔹 TextBox con ancho flexible pero limitado */
    .fila-validacion .form-control {
        flex: 1;
        min-width: 220px;
        max-width: 280px; /* 🔸 límite máximo del campo */
    }

    /* 🔹 Botón con ancho fijo o máximo */
    .fila-validacion .btn {
        padding: 10px 18px;
        max-width: 180px; /* 🔸 límite máximo del botón */
        width: 100%;
        white-space: nowrap;
    }

/* 🔹 Mensaje de error debajo del grupo */
.error_validacionEncuesta {
    display: block;
    width: 100%;
    color: #000;
    font-size: 1.1rem;
    margin-top: 4px;
    text-align: center;
}
.arrow-pointer {
    font-size: 22px;
    color: #007bff; /* azul Bootstrap */
    font-weight: bold;
    margin-right: 8px;
    animation: arrowBlink 1.2s infinite;
    position: relative;
    top: -2px;
}

@keyframes arrowBlink {
    0% {
        opacity: 0.2;
        transform: translateX(0);
    }

    50% {
        opacity: 1;
        transform: translateX(-3px);
    }

    100% {
        opacity: 0.2;
        transform: translateX(0);
    }
}
/* Contenedor de los medios de pago */
.medios-pago-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

/* Tarjeta visual de medio de pago */
.medio-pago {
 
    text-align: center;
    cursor: pointer;
}

.pago-card {
    background-color: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 15px;
    padding: 1rem;
    width: 160px;
    height: 130px; /* altura uniforme para todos */
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

    .pago-card:hover {
        border-color: #007bff;
        transform: translateY(-3px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

.img-pago {
    height: 70px;
    width: auto;
    margin-bottom: 0.5rem;
}

/* Cuando el usuario selecciona un método de pago */
input[type="radio"]:checked + .pago-card {
    border-color: #007bff;
    background-color: #e9f3ff;
    box-shadow: 0 0 10px rgba(0,123,255,0.3);
}
.gv-solicitudes tr {
    vertical-align: middle; /* centra verticalmente todo */
}

.gv-solicitudes .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.9rem;
}

.gv-solicitudes .btn-primary {
    display: inline-block;
    margin: 0 auto; /* centra horizontalmente */
}
.mensaje-vacio {
    text-align: center;
    padding: 15px;
    background-color: transparent; /* fondo transparente */
    color: #333; /* color de texto */
    font-style: italic;
    font-size: 0.95rem;
}
.medio-deshabilitado {
    opacity: 0.4;
    cursor: not-allowed !important;
    pointer-events: none; /* Evita clic en toda la tarjeta */
}
