﻿
html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  background-color: #e6e6e6!important;
}

.navbar2 {
    background-color: #ffffff;
    border-bottom: 1px solid #ddd;
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

    .navbar2 .contenedor {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 1200px;
        margin: 0 auto;
    }

    .navbar2 .logo img {
        height: 50px;
        object-fit: contain;
    }

    .navbar2 .menu ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
    }

        .navbar2 .menu ul li {
            margin: 0 15px;
            position: relative;
        }

            .navbar2 .menu ul li a {
                text-decoration: none;
                font-size: 16px;
                color: #333;
                font-weight: normal;
                transition: all 0.2s ease;
                padding-bottom: 5px;
            }

                .navbar2 .menu ul li a::after {
                    content: '';
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    width: 100%;
                    height: 2px;
                    background-color: transparent;
                    transform: scaleX(0);
                    transform-origin: bottom right;
                    transition: transform 0.3s ease-out;
                }

                .navbar2 .menu ul li a:hover::after,
                .navbar2 .menu ul li a.active::after {
                    transform: scaleX(1);
                    transform-origin: bottom left;
                    background-color: #960E53;
                }

                .navbar2 .menu ul li a:hover,
                .navbar2 .menu ul li a.active {
                    font-weight: bold;
                    color: color: #333;
                    ;
                }

/* Responsivo */
@media (max-width: 768px) {
    .navbar2 .menu ul {
        flex-direction: column;
        align-items: center;
    }

        .navbar2 .menu ul li {
            margin: 10px 0;
        }
}




.btn-editar {
    background-color: #DC7F37; /* Color de fondo */
    color: white; /* Texto blanco */
    border: 2px solid #E49B62; /* Borde con el color E49B62 */
    padding: 5px 10px; /* Relleno del botón */
    font-size: 16px; /* Tamaño de la fuente */
    border-radius: 8px; /* Bordes redondeados */
    cursor: pointer; /* Cursor de puntero al pasar sobre el botón */
    transition: background-color 0.3s, border 0.3s; /* Transición suave al cambiar color */
}

    .btn-editar:hover {
        background-color: #E49B62; /* Cambio de color de fondo al pasar el ratón */
        border-color: #DC7F37; /* Cambio de color del borde */
    }

.btn-primario {
    background-color: #960E53; /* Color de fondo */
    color: white; /* Texto blanco */
    padding: 10px 20px; /* Relleno del botón */
    font-size: 16px; /* Tamaño de la fuente */
    border-radius: 8px; /* Bordes redondeados */
    cursor: pointer; /* Cursor de puntero al pasar sobre el botón */
    transition: background-color 0.3s, border 0.3s; /* Transición suave al cambiar color */
}

    .btn-primario:hover {
        background-color: #C5126D; /* Cambio de color de fondo al pasar el ratón */
        color: white; /* Texto blanco */
    }

.btn-agregar {
    background-color: #237469; /* Color de fondo */
    color: white; /* Texto blanco */
    padding: 5px 10px; /* Relleno del botón */
    font-size: 16px; /* Tamaño de la fuente */
    border-radius: 4px; /* Bordes redondeados */
    cursor: pointer; /* Cursor de puntero al pasar sobre el botón */
    transition: background-color 0.3s, border 0.3s; /* Transición suave al cambiar color */
}

    .btn-agregar:hover {
        background-color: #2F9B8C; /* Cambio de color de fondo al pasar el ratón */
        color: white; /* Cambio de color del borde */
    }


/* ✅ Botón estilo Google Forms con ícono Material Icons */
.btn-agregar-google {
    background-color: transparent;
    color: #333;
    border: 2px solid #333;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

    /* Ícono de Material Icons */
    .btn-agregar-google i {
        font-size: 18px;
        color: #333;
    }

    /* Efecto hover */
    .btn-agregar-google:hover {
        color: white;
        background-color: #237469;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        border: none;
    }

    .btn-agregar-google i:hover {
        color: white;
    }

    /* Tooltip */
    .btn-agregar-google .tooltip {
        visibility: hidden;
        background-color: #333;
        color: #fff;
        text-align: center;
        padding: 4px 8px;
        border-radius: 4px;
        position: absolute;
        z-index: 10;
        bottom: 50px;
        left: 50%;
        transform: translateX(-50%);
        opacity: 0;
        transition: opacity 0.2s ease;
        white-space: nowrap;
        font-size: 12px;
    }

        /* Flecha del tooltip */
        .btn-agregar-google .tooltip::after {
            content: "";
            position: absolute;
            top: 100%; /* Flecha debajo del tooltip */
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #333 transparent transparent transparent;
        }

    /* Mostrar tooltip en hover */
    .btn-agregar-google:hover .tooltip {
        visibility: visible;
        opacity: 1;
    }




.btn-eliminar {
    background-color: #9B2F3E; /* Color de fondo */
    color: white; /* Texto blanco */
    border: 2px solid #C23B4E; /* Borde con el color #C23B4E */
    padding: 10px 20px; /* Relleno del botón */
    font-size: 16px; /* Tamaño de la fuente */
    border-radius: 8px; /* Bordes redondeados */
    cursor: pointer; /* Cursor de puntero al pasar sobre el botón */
    transition: background-color 0.3s, border 0.3s; /* Transición suave al cambiar color */
}

    .btn-eliminar:hover {
        background-color: #C23B4E; /* Cambio de color de fondo al pasar el ratón */
        border-color: #9B2F3E; /* Cambio de color del borde */
    }


    .navbar {
        background-color: #960E53 !important;
    }

    #img-logo-principal {
        width: 150px;
    }

    .bienvenida {
        padding: 20px;
        color: #410123;
        text-align: center;
    }

    .titulo-bienvenida {
        font-size: 24px;
        font-weight: bold;
        color: #333; /* Un color oscuro que contrasta con el nav */
    }

    .descripcion-bienvenida {
        font-size: 16px;
        margin: 10px 0;
        color: #333; /* Mantiene la consistencia del texto */
    }

    .btn-ir-formularios {
        padding: 10px 20px;
        font-size: 14px;
        color: #FFF;
        background-color: #960E53; /* Destaca sin repetir el color del nav */
        border: none;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

        .btn-ir-formularios:hover {
            background-color: #C5126D; /* Un toque de contraste */
        }

    /* Estilo inicial para la animación */
    .bienvenida.animate {
        opacity: 0;
        transform: translateY(-50px);
        animation: slideDown 1s ease-out forwards;
    }

    /* Definición de la animación */
@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilos para la tarjeta de participante */
.participant-card {
    background-color: #f2f2f2;
    border: none;
    border-radius: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.participant-card-header {
    background-color: #d9d9d9; /* Color solicitado */
    color: #333;
    padding: 20px 15px;
    border-bottom: none;
}

    .participant-card-header h2, .participant-card-header p {
        color: #333 !important; /* Color de texto */
    }

/* Botón del formulario */
.participant-button {
    background-color: #960E53;
    color: #fff;
    border: none;
    border-radius: 0;
    font-size: 1rem; /* Tamaño de fuente más pequeño */
    transition: background-color 0.3s ease;
}

    .participant-button:hover {
        background-color: #C5126D;
        color: #fff;
        text-decoration: none;
    }

/* Inputs y etiquetas del formulario */
label {
    color: #333; /* Color de las etiquetas */
    font-size: 0.9rem; /* Tamaño de fuente más pequeño */
}

input.form-control {
    border-radius: 0;
    border: 1px solid #ccc;
    padding: 10px;
    font-size: 0.9rem; /* Tamaño de fuente más pequeño en los campos */
}

    input.form-control:focus {
        border-color: #960E53;
        box-shadow: 0 0 5px rgba(150, 14, 83, 0.5); /* Mismo color que el del encabezado */
    }

/* Contenedor de acciones */
.acciones-disponibles {
    text-align: center;
    margin: 30px auto;
    padding: 20px;
    background-color: #f2f2f2; /* Color de fondo similar a tus tarjetas */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    animation: fadeIn 0.8s ease-in-out;
}

/* Estilo del título */
.acciones-titulo {
    font-size: 24px;
    font-weight: bold;
    color: #333; /* Mismo color oscuro para el texto */
    margin-bottom: 10px;
}

/* Descripción del contenedor */
.acciones-descripcion {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

/* Botones de acción */
.acciones-boton {
    background-color: #960E53; /* Color principal del tema */
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    margin: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

    /* Hover para los botones */
    .acciones-boton:hover {
        background-color: #C5126D; /* Color de hover consistente */
        transform: scale(1.05); /* Efecto de agrandamiento */
    }

    /* Íconos dentro del botón */
    .acciones-boton i {
        font-size: 18px;
        color: white!important;
    }

/* Animación de entrada */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .acciones-disponibles {
        padding: 15px;
        max-width: 90%;
    }

    .acciones-boton {
        width: 100%;
        font-size: 14px;
        padding: 10px 15px;
    }
}

/* Sección de inicio de sesión */
.login-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh; /* Altura ajustada al layout */
    animation: fadeIn 0.8s ease-in-out;
}

/* Tarjeta de inicio de sesión */
.login-card {
    background-color: #FFFFFF;
    border: none;
    border-radius: 10px;
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Encabezado */
.login-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

    .login-header h1 {
        font-size: 1.8rem;
        color: #333; /* Color de texto */
    }

/* Campos del formulario */
.form-group {
    margin-bottom: 1rem;
}

label {
    color: #333;
    font-size: 0.9rem;
}

input.form-control {
    border-radius: 0;
    border: 1px solid #ccc;
    padding: 10px;
    font-size: 0.9rem;
    background-color: #F9F9F9;
}

    input.form-control:focus {
        border-color: #960E53;
        box-shadow: 0 0 5px rgba(150, 14, 83, 0.5);
    }

/* Botón */
.btn-login {
    width: 100%;
    background-color: #960E53;
    color: #fff;
    padding: 12px 20px;
    font-size: 16px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

    .btn-login:hover {
        background-color: #C5126D;
        transform: scale(1.05);
    }

/* Texto de ayuda */
.help-text {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

    .help-text a {
        color: #960E53;
        text-decoration: none;
    }

        .help-text a:hover {
            text-decoration: underline;
        }

/* Animación de entrada */
.login-card.animate {
    opacity: 0;
    transform: translateY(-50px);
    animation: slideDown 1s ease-out forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .login-card {
        padding: 1.5rem;
        max-width: 90%;
    }
}

/* Contenedor principal */
.admin-container {
    margin: 0 auto;
    padding: 20px;
    max-width: 900px;
    text-align: center;

}

/ /* Contenedor principal */
.admin-container {
    font-family: Arial, sans-serif;
    margin: 0 auto;
    padding: 20px;
    max-width: 900px;
    text-align: center;
    background-color: #ffffff; /* Fondo blanco */
    color: #000000; /* Texto negro */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Encabezado de bienvenida */
.admin-header h1 {
    font-size: 2.5rem;
    color: #000000; /* Texto negro */
    margin-bottom: 10px;
}

.admin-header p {
    font-size: 1rem;
    color: #444444; /* Gris suave */
}

/* Contenedor de tarjetas */
.cards-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

/* Tarjetas */
.card {
    position: relative;
    background-color: #f9f9f9;
    width: 250px;
    height: 300px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #b3b3b3
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    }

/* Contenido de la tarjeta */
.card-content {
    text-align: center;
    padding: 20px;
}

.card i {
    font-size: 4rem;
    color: #333; /* Ícono negro */
    margin-bottom: 15px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #000000;
}

.card p {
    font-size: 1rem;
    color: #555555; /* Texto gris */
}

/* Efecto hover con fondo negro transparente */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6); /* Negro transparente */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;

}

.card:hover .card-overlay {
    opacity: 1;
}

/* Botón dentro del overlay */
.card-overlay button {
    background-color: #960E53;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

    .card-overlay button:hover {
        background-color: #e6e6e6;
    }


.survey-header {
    background-color: #fff; /* Color púrpura estilo Google */
    color: #333;
    padding: 20px;
    text-align: center;
    border-radius:5px;
}

.survey-main-title {
    font-size: 1.8rem;
    margin: 0;
}

/* Contenedor de la encuesta */
.survey-content {
    max-width: 800px;
    margin: auto;
}
    .survey-content form {
        background-color: #fff;
        margin: 20px auto;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
    }

    .survey-content form

    .survey-form-group {
        margin-bottom: 20px;
    }

.survey-input-title,
.survey-textarea-description {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: none;
    border-bottom: 2px solid #ccc;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease;
}

    .survey-input-title:focus,
    .survey-textarea-description:focus {
        outline: none;
        border-color: #333;
    }

.questions-container {
    margin-top: 20px;
}

.survey-question {
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 15px;
    background-color: #fafafa;
    position: relative;
}

    .survey-question input {
        width: calc(100% - 30px);
        padding: 8px;
        font-size: 1rem;
        border: none;
        border-bottom: 2px solid #ccc;
        background-color: #f9f9f9;
        margin-bottom: 10px;
        transition: border-color 0.3s ease;
    }

        .survey-question input:focus {
            outline: none;
            border-color: #666;
        }

.survey-btn-add {
    display: inline-block;
    margin: 10px 0;
    /*padding: 10px 20px;*/
    font-size: 1rem;
    color: #237469;
    border: 2px dashed #237469;
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

    .survey-btn-add:hover {
        background-color: #2F9B8C;
        color: #fff;
    }

.survey-btn-save {
    position: relative;
    top: 10px;
    left: 950px;
    max-width: 100%; /* No permite que el botón exceda el ancho del contenedor */
    max-height: 100%;
    background-color: #960E53;
    color: #fff;
    border: none;
    padding: 10px 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}


.survey-actions {
    text-align: right;
    margin-top: 30px;
}



    .survey-btn-save:hover {
        background-color: #C5126D;
    }

.survey-question {
    background-color: #fff;
    border-radius:10px;
}

.tab-pane {
    color: #333!important;
}

.btn-mostrar {
    background-color: #4A4A4A;
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-mostrar:hover {
    background-color: #6B6B6B;
    transform: translateY(-3px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3);
}

.btn-mostrar i {
    font-size: 18px;
}



.tab-container {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.nav-tabs .nav-link {
    color: #555;
}

    .nav-tabs .nav-link.active {
        color: #C5126D;
        border-bottom: 2px solid #C5126D;
    }

.table th, .table td {
    padding: 6px;
    font-size: 14px;
}

.table-hover tbody tr:hover {
    background-color: #f9f9f9;
}


.logout-button {
    background-color: #960E53;
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

    .logout-button:hover {
        background-color: #7a0b45;
        color: white;
    }


.link-volver {
    text-decoration: none;
    color: #666;
    font-size: 16px;
    cursor: pointer;
}

    .link-volver:hover {
        text-decoration: underline;
        color: #444;
    }

    .link-volver i {
        margin-right: 5px;
    }


.filtros-container {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.barra-verde {
    background-color: #43a047;
    height: 20px;
}



