﻿:root {
    --gold-text: #FFB48319;
    --error-red: #FFE80707;
    --btn-blue: #00698d;
}

.gbMenuInferior {
    height: 30px;
    display: block;
    position: fixed;
    bottom: 0px;
    background-color: #1d3557;
    font-family: Arial;
    width: 100%;
    color: ghostwhite;
}

    .gbMenuInferior div {
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        color: ghostwhite; 
        font-weight: bold;
    }

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-window {
    width: 100vw;
    height: 100vh;
    background-color: var(--primary-blue);
    position: relative;
    display: flex;
}

/* Traducción de Grid.RowDefinitions y ColumnDefinitions */
.grid-container {
    display: grid;
    width: 100%;
    height: 100%;
    grid-template-rows: 1px auto 1fr 25px; /* Rows 0, 1, 2, 3 */
    grid-template-columns: 300px 1fr;
}

/* Background Images */
.background-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.bg-fill {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-logo {
    position: absolute;
    top: 50px;
    left: 50px;
    width: 350px;
    height: 350px;
}

/* Menú Central (WrapPanel) */
.menu-central-border {
    grid-row: 1 / span 2;
    grid-column: 1 / span 2;
    justify-self: center;
    align-self: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 35px;
    padding:30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 5;
}

.wrap-panel {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.hide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    height:0px;
    display: block;
}
/* Animación Hover de los Items (Equivalente a EventTrigger MouseEnter) */
.menu-item-container {
    position: relative;
    transition: all .8s ease;
    cursor: pointer;
}

    .menu-item-container:hover {
        background-color: #d8f3dc;
        border-radius: 12px;
    }
        .menu-item-container:hover .hide {
            opacity: 1;
            visibility: visible;
            height:auto;
        }

.app-text {
    font-family: 'Stencil Std', sans-serif;
    font-size: 14px;
    transition: font-size 0.4s ease;
}

/*.menu-item-container:hover .app-text {
    font-size: 26px;
}*/

/* Barra de Estado */
.status-bar {
    grid-row: 4;
    grid-column: 1 / span 2;
    position: relative;
    display: flex;
    align-items: center;
}

.status-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

.status-content-derecha {
    width: 100%;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    padding: 0 20px;
}

.status-content-izquierda {
    width: 100%;
    z-index: 1;
    display: flex;
    justify-content: flex-start;
    padding: 0 20px;
}

.text-red {
    color: red;
    font-weight: bold;
}

.text-green {
    color: green;
    font-weight: bold;
}



/* LightBox Visuals */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 200;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .lightbox.collapsed {
        display: none;
    }

.lightbox-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0.5;
}

/* El Border de WPF con DropShadow */
.main-card {
    background: white;
/*    width: 617px;
    height: 380px;*/
    border-radius: 15px;
    border: 1px solid black;
    box-shadow: 5px 5px 15px rgba(201, 184, 184, 0.8);
    position: relative;
    overflow: hidden;
    padding: 20px;
    display: grid;
    /*grid-template-rows: 115px 40px 1fr;*/
}

.sombra {
    box-shadow: 5px 5px 15px rgba(201, 184, 184, 0.8);
}
/* Header */
.login-header h1 {
    font-family: 'Stencil Std', sans-serif; /* Asegúrate de tener la fuente o usa una similar */
    text-align: center;
    
}

.slogan {
    color: #926c15;
    text-align: center;
    font-family: Lucida Grande,Lucida Sans Unicode,Lucida Sans,Geneva,Verdana,sans-serif;
    margin: 5px 30px 0px 30px;
}

/* Animación del Logo (Equivalente al Storyboard) */
.rotating-logo {
    width: 150px;
    animation: rotate 5s linear infinite, fade 3s ease-in-out infinite alternate;
}

.mini-rotating-logo {
    width: 50px;
    animation: rotate 5s linear infinite, fade 3s ease-in-out infinite alternate;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes fade {
    from {
        opacity: 1;
    }

    to {
        opacity: 0.3;
    }
}


.content-grid {
    display: grid;
    grid-template-columns: 30% 70%;
    align-items: center;
}

.input-group input {
    width: 90%;
    height: 32px;
    margin: 10px 0;
    padding: 0 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}


.button-group {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.btn-blue {
    background-color: var(--btn-blue);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.btn-red {
    background-color: #e80707;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.hidden {
    display: none !important;
}

.rating-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.rating-stars {
    display: flex;
    flex-direction: row-reverse; /* Truco para iluminar estrellas previas */
    justify-content: flex-end;
}

    /* Ocultamos los radio buttons originales */
    .rating-stars input {
        display: none;
    }

    /* Estilo base de la estrella (vacía) */
    .rating-stars label {
        cursor: pointer;
        width: 40px;
        height: 40px;
        position: relative;
    }

        .rating-stars label::before {
            content: "\2605"; /* Carácter Unicode de estrella sólida */
            position: absolute;
            font-size: 35px;
            color: #e5e5e5; /* Gris claro para estado vacío */
            transition: color 0.2s ease-in-out;
        }

        /* Iluminar al pasar el mouse (Hover) */
        .rating-stars label:hover,
        .rating-stars label:hover ~ label {
            color: #ffca08; /* Color dorado */
        }

            .rating-stars label:hover::before,
            .rating-stars label:hover ~ label::before {
                color: #ffca08;
            }

    /* Mantener iluminado cuando se selecciona (Checked) */
    .rating-stars input:checked ~ label::before {
        color: #ffca08;
    }

    /* Efecto sutil de pulsación al hacer click */
    .rating-stars label:active {
        transform: scale(0.9);
    }

.lista ul li {
    background-color: #f9f9f9;
    margin: 10px 0;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    transition: transform 0.2s;
    list-style-type: none;
}

   .lista ul li:hover {
        transform: translateX(5px); /* Simple hover effect */
    }

.panel-central {
    width: calc(100vw - 90px);
    height: 100vh;
    margin-left: 75px;
}
.menu-lateral h5 {
    margin-top: 15px;
    color: #4c5c68;
}
.menu-lateral {
    position: fixed;
    top: 0;
    left: 0;
    width: 60px;
    height: 100%;
    display: flex;
    overflow-x: hidden;
    background-color: #fafdf6;
    flex-direction: column;
    transition: all 0.8s ease;
}
    .menu-lateral img {
        transform: scale(1.05);
        position:relative;
        cursor: pointer;
        width:35px;
        margin: 20px 15px;
        transition: all .8s ease;
    }

        .menu-lateral img:hover {
            width: 44px;
            margin: 10px 8px;
        }

.esconderMobile {
    display: block;
    flex: 0 0 auto;
    width: 8.333333%;
}

.centrarApp {
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    
}

.columna1MobileNo {
    grid-column: span 1;
}

.card-central {
    max-height: 85vh;
    overflow-y: auto;
}
    @media only screen and (max-width: 768px) {
        .menu-lateral {
            display: none !important;
        }

        .panel-central {
            margin-left: 0px;
            width: 100vw;
        }

        .esconderMobile {
            display: none !important;
            width: 0px !important;
            height:0px !important;
        }
        .columna1MobileNo {
            grid-column: span 0;
        }
        .centrarApp {
            left: 2% !important;
            top: 2% !important;
            bottom: 2% !important;
            right: 2% !important;
            transform: none !important;
            
        }
    }

    .logo40 {
        width: 30px;
        height: 30px;
        margin: 0 20px;
    }

    .navfondo {
        background-color: #edf2f4;
    }

    .navbarAIS {
        background: #007f5f;
        color: white !important;
        border-radius: 12px
    }


    .nav-link:hover {
        color: #ffff3f !important;
        transform: scale(1.2);
        transition: all 0.4s ease;
    }

    .dropdown-item:hover {
        background-color: #ffff3f !important;
        color: #072ac8 !important;
        transform: scale(1.05);
        transition: all 0.4s ease;
    }

    .nav-link {
        color: white !important;
        margin: 0 12px;
    }
    /* Lista de navegación */
