﻿:root {
    --gris20: #DADADA;
    --gris60: #878787;
    --gris80: #575756;
    --fondo: #F5F7FA;
    --blanco: #FFFFFF;
    --shadow: 0 2px 10px rgba(0,0,0,.04), 0 10px 30px rgba(0,0,0,.06);
    --font-family: 'Poppins',sans-serif;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: fallback;
    src: url(https://fonts.gstatic.com/s/poppins/v24/pxiEyp8kv8JHgFVrJJbecmNE.woff2) format('woff2');
    unicode-range: U +0900 -097F, U +1CD0 -1CF9, U +200C -200D, U +20A8, U +20B9, U +20F0, U +25CC, U + A830-A839, U + A8E0-A8FF, U +11B00 -11B09;
} 
/* ========================================
   RESET
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    overflow-x: hidden;
 
}


body {
    background: var(--fondo);
    color: #333;
    font-family: var(--font-family);
    font-size: 16px
}

form {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ========================================
   TOP BAR
======================================== */

.top-bar {
    height: 6px;
    background: var(--gris80);
}

/* ========================================
   HEADER
======================================== */

.headerSection {
    background: #575756;
    min-height: 110px;
    display: flex;
    align-items: center; 
    padding: 15px 40px;
    border-bottom: 1px solid var(--shadow);
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
    position: sticky;
    top: 0;
    z-index: 1000;
    color: var(--blanco)
}
.tituloSistema {
    color: var(--blanco) !important
}
 
 
.logo {
    flex-shrink: 0;
}
    .logo img {
        height: 90px;
        width: auto;
    }
.tituloSistema {
    flex: 1;
    text-align: center;
}

.leftH {
    flex: 1;
    text-align: center;
}

    .leftH img {
        max-height: 80px;
        width: auto;
    }

/* ========================================
   CONTENIDO
======================================== */

.wrapper {
    flex: 1;
    width: 100%;
    padding: 30px;
}

.content {
    max-width: 1300px;
    margin: auto;
}

.content__main {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 35px; 
    box-shadow: 0 1px 3px rgba(0,0,0,.05), 0 15px 40px rgba(0,0,0,.05);
}

/* ========================================
   TARJETAS
======================================== */

.card-modern {
    background: #FFFFFF;
    border: 1px solid #EEEEEE;
    border-radius: 16px;
    padding: 25px;
    transition: .25s;
    box-shadow: 0 2px 8px rgba(0,0,0,.03);
}

    .card-modern:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0,0,0,.08);
    }

/* ========================================
   BOTONES
======================================== */

.boton,
.btn-success {
    background: var(--gris80) !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 10px 22px !important;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,.10);
}

    .boton:hover,
    .btn-success:hover {
        background: var(--gris60) !important;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0,0,0,.15);
    }

    .boton:active,
    .btn-success:active {
        transform: translateY(0);
    }

/* ========================================
   INPUTS
======================================== */

input[type=text],
input[type=password],
input[type=email],
input[type=number],
select,
textarea {
    width: 100%;
    border: 1px solid var(--gris20);
    border-radius: 10px;
    padding: 10px 14px;
    background: #FFFFFF;
    transition: all .20s ease;
}

    input:focus,
    select:focus,
    textarea:focus {
        outline: none;
        border-color: var(--gris60);
        box-shadow: 0 0 0 4px rgba(135,135,135,.15);
    }

/* ========================================
   TABLAS
======================================== */

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    background: var(--gris80);
    color: white;
    padding: 12px;
    font-weight: 600;
    text-align: left;
}

td {
    padding: 12px;
    border-bottom: 1px solid #EAEAEA;
    font-size: 14px;
    color: #444;
}

tr:hover {
    background: #F8F8F8;
}

/* ========================================
   TEXTOS
======================================== */

h1,
h2,
h3,
h4,
h5 { 
    font-weight: 600;
}

.align-custom {
    text-align: center;
}

/* ========================================
   MODAL
======================================== */

.modalBackground {
    background-color: rgba(0,0,0,.55);
    z-index: 10000;
}

/* ========================================
   FOOTER MODERNO
======================================== */

.footerSections {
    margin-top: 30px;
    background: #FFFFFF;
    border-top: 1px solid #E5E5E5;
    padding: 20px;
    text-align: center;
    color: var(--gris60);
    font-size: 13px;
}

    .footerSections .left,
    .footerSections .right,
    .footerSections .center {
        display: inline-block;
        vertical-align: middle;
    }

        .footerSections .left img,
        .footerSections .center img {
            height: 50px;
            width: auto;
            margin: 0 15px;
        }

    .footerSections .right {
        text-align: left;
    }

        .footerSections .right p {
            margin: 0;
            line-height: 1.6;
            color: var(--gris80);
        }

/* ========================================
   SCROLLBAR
======================================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #ECECEC;
}

::-webkit-scrollbar-thumb {
    background: #A0A0A0;
    border-radius: 20px;
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width:768px) {

    .headerSection {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .logo img {
        height: 70px;
    }

    .leftH img {
        max-width: 100%;
    }

    .wrapper {
        padding: 15px;
    }

    .content__main {
        padding: 20px;
        border-radius: 15px;
    }

    .footerSections .left,
    .footerSections .right,
    .footerSections .center {
        display: block;
        text-align: center;
        margin-bottom: 10px;
    }

    .footerSections .right {
        text-align: center;
    }
}
/* ==========================================
   FOOTER INSTITUCIONAL FGJ
========================================== */

.fgj-footer {
    width: 100%;
    background: linear-gradient( to bottom, #878787 0%, #575756 100% );
    color: #FFFFFF;
    padding: 35px 50px;
    box-sizing: border-box;
    border-top: 4px solid #DADADA;
    margin-top: 30px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

/* ==========================================
   BLOQUE IZQUIERDO
========================================== */

.footer-left {
    display: flex;
    align-items: center;
    gap: 25px;
}

.footer-logo img {
    height: 90px;
    width: auto;
}

.footer-title-block h2 {
    margin: 0;
    color: #FFFFFF;
    font-size: 22px;
    font-weight: 600;
}

.footer-address {
    margin-top: 8px;
    color: #EAEAEA;
    font-size: 13px;
    line-height: 1.5;
}

/* ==========================================
   BLOQUE DERECHO
========================================== */

.footer-right {
    text-align: right;
}

.footer-department {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .footer-links a {
        color: #FFFFFF;
        text-decoration: none;
        font-size: 13px;
        transition: .2s;
    }

        .footer-links a:hover {
            color: #DADADA;
            text-decoration: underline;
        }

.footer-phone {
    margin-top: 12px;
    font-size: 15px;
    font-weight: 600;
}

.phone-number-line {
    border-bottom: 2px solid #FFFFFF;
    padding-bottom: 2px;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width:768px) {

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-left {
        flex-direction: column;
    }

    .footer-right {
        text-align: center;
    }
}

.inicio-container {
    max-width: 750px;
    margin: 40px auto;
}

.welcome-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 15px;  
    text-align: center;
}

.icono-cita {
    font-size: 60px;
    margin-bottom: 15px;
}

.titulo-pagina {
    color: #575756;
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 15px;
}

.descripcion {
    color: #666666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 35px;
}

.privacidad-box {
    background: #F8F8F8;
/*    border: 1px solid #E5E5E5;*/
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin: 40px;
}

    .privacidad-box input[type=checkbox] {
        margin-right: 8px;
    }

.privacidad-link {
    color: #575756;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

    .privacidad-link:hover {
        color: #878787;
    }
.btn-generar {
    background: #575756 !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 12px 35px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all .25s ease;
}

    .btn-generar:hover {
        background: #878787 !important;
        transform: translateY(-2px);
    }

.nota {
    margin-top: 25px;
    font-size: 13px;
    color: #878787;
}

.icono-cita {
    font-size: 60px;
    color: #575756;
    margin-bottom: 20px;
}

/* ==========================================
   TITULOS
========================================== */

.tab-content h3 {
    background: #575756;
    color: white;
    padding: 14px 20px;
    border-radius: 12px;
    margin-top: 25px;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: .5px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.tab-content h5 {
    color: #575756;
    font-size: 17px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #DADADA;
}

h7 {
    display: block;
    margin-bottom: 15px;
    color: #878787;
    font-style: italic;
    font-size: 13px;
}

/* ==========================================
   FORMULARIOS
========================================== */

.form {
    width: 100%;
}

.form__inputs--inline {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.form__input__group--no-input {
    flex: 1;
    min-width: 280px;
}

    .form__input__group--no-input label {
        display: block;
        margin-bottom: 8px;
        color: #575756;
        font-weight: 600;
        font-size: 14px;
    }

    /* ==========================================
   INPUTS
========================================== */

    input[type=text],
    input[type=email],
    input[type=password],
    textarea,
    select,
    .form__input__group--no-input input,
    .form__input__group--no-input select {
        width: 100%;
        border: 1px solid #DADADA;
        border-radius: 10px;
        padding: 10px 12px;
        transition: all .2s ease;
        background: white;
    }

        input:focus,
        select:focus,
        textarea:focus {
            outline: none;
            border-color: #878787;
            box-shadow: 0 0 0 4px rgba(135,135,135,.15);
        }

/* ==========================================
   BOTONES
========================================== */

.btn,
.btn--primary,
input[type=submit],
input[type=button] {
    background: #575756 !important;
    color: white !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 10px 20px !important;
    font-weight: 600;
    transition: all .25s ease;
}

    .btn:hover,
    .btn--primary:hover,
    input[type=submit]:hover,
    input[type=button]:hover {
        background: #878787 !important;
        transform: translateY(-2px);
    }

/* ==========================================
   CALENDARIO
========================================== */

#calendar {
    background: white;
    border: 1px solid #EAEAEA;
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
}

/* ==========================================
   TABLA DISPONIBILIDAD
========================================== */

.nav-justified {
    width: 100%;
    background: white;
    border: 1px solid #EAEAEA;
    border-radius: 12px;
    overflow: hidden;
}

    .nav-justified td {
        padding: 10px;
        border-bottom: 1px solid #F0F0F0;
    }

/* ==========================================
   MENSAJES
========================================== */

#msjeAdvertencia {
    margin-bottom: 20px;
}

    #msjeAdvertencia label {
        display: block;
        padding: 12px;
        border-radius: 10px;
    }

/* ==========================================
   HIPERVINCULO PDF
========================================== */

#hlkEvidenciaPdf {
    display: inline-block;
    padding: 10px 15px;
    background: #F5F5F5;
    border-radius: 10px;
    border: 1px solid #DADADA;
    text-decoration: none;
    margin-bottom: 20px;
}

/* ==========================================
   CONSULTA / REGISTRO
========================================== */

#btnCcita,
#btnRcita {
    min-width: 240px;
    margin-top: 10px;
}

/* ==========================================
   TEXTBOX DESHABILITADOS
========================================== */

.disabled {
    background: #F3F3F3 !important;
    color: #666 !important;
    border-color: #E0E0E0 !important;
}

/* ==========================================
   TARJETA GENERAL
========================================== */

.card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,.05);
    border: 1px solid #EAEAEA;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width:768px) {

    .form__inputs--inline {
        flex-direction: column;
    }

    .form__input__group--no-input {
        min-width: 100%;
    }

    #btnCcita,
    #btnRcita {
        width: 100%;
    }
}


.aviso-panel {
    margin-top: 25px;
    margin-bottom: 25px;
    border: 1px solid #DADADA;
    border-radius: 14px;
    overflow: hidden;
    background: #FFFFFF;
}

.aviso-header {
    background: #575756;
    color: white;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
}

.aviso-scroll {
    max-height: 260px;
    overflow-y: auto;
    padding: 20px;
    text-align: justify;
    color: #555;
    line-height: 1.7;
    font-size: 14px;
}

    .aviso-scroll h4 {
        color: #575756;
        font-size: 15px;
        margin-bottom: 15px;
        text-align: center;
    }

    .aviso-scroll ul {
        margin-left: 20px;
        margin-bottom: 15px;
    }

    .aviso-scroll li {
        margin-bottom: 8px;
    }

    .aviso-scroll::-webkit-scrollbar {
        width: 10px;
    }

    .aviso-scroll::-webkit-scrollbar-track {
        background: #F3F3F3;
    }

    .aviso-scroll::-webkit-scrollbar-thumb {
        background: #878787;
        border-radius: 10px;
    }

        .aviso-scroll::-webkit-scrollbar-thumb:hover {
            background: #575756;
        }
.privacidad-integral {
    margin: 15px 0 25px 0;
    text-align: center;
}

.privacidad-link-integral {
    color: #575756;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .5px;
    text-transform: uppercase;
    text-decoration: underline;
}

    .privacidad-link-integral:hover {
        color: #878787;
    }

.privacidad-integral i {
    color: #575756;
    margin-right: 8px;
    font-size: 16px;
}


main p {
    line-height: 1.5;
    color: #636363;
    margin: 0.75rem 0;
}

a {
    color: #437cbd;
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

ol {
    margin-left: 1rem;
}

li {
    margin: 1rem 0;
}

.button {
    background-color: #fff;
    border: 1px solid var(--gray);
    border-radius: .5rem;
    color: var(--blue);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    padding: .5rem 1rem;
    text-decoration: none;
    transition: .3s ease-in-out;
    min-width: 22rem;
}

    .button svg {
        width: 1.2rem;
        height: 1.2rem;
        margin-left: .5rem;
    }

    .button:hover {
        background-color: var(--blue);
        color: #fff;
        cursor: pointer;
    }

    .button:disabled {
        background-color: #f5f5f5;
        color: #a0a0a0;
        cursor: not-allowed;
    }

.button-simple {
    background: #ffffff;
    border-radius: 50%;
    border: none;
    color: gray;
    height: 2.2rem;
    margin-left: 1rem;
    transition: ease .3s;
    width: 2.2rem;
}

    .button-simple svg {
        height: 1.2rem;
        width: 1.2rem;
    }

    .button-simple:hover {
        background: #ececec;
        color: #2a9fe8;
        cursor: pointer;
    }

.btn-icon-sm {
    background-color: #fff;
    border: 1px solid var(--gray);
    border-radius: 50%;
    color: var(--blue);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    height: 2rem;
    transition: .3s ease-in-out;
    width: 2rem;
}

    .btn-icon-sm:hover {
        background-color: #d0d0d0;
        color: #fff;
        cursor: pointer;
    }

.btn-md {
    background-color: #627a8b;
    border: 1px solid #627a8b;
    border-radius: .5rem;
    color: #fff;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    padding: .5rem 1rem;
    text-decoration: none;
    transition: .3s ease-in-out;
}

    .btn-md:hover {
        background-color: var(--blue);
        text-decoration: none;
        cursor: pointer;
    }

    .btn-md:disabled {
        background-color: #f5f5f5;
        color: #a0a0a0;
        cursor: not-allowed;
    }

.card-white {
    background: #ffffff;
    border-radius: 1.5rem;
    margin: 1rem auto;
    padding: .5rem 2rem;
}

    .card-white img {
        display: block;
        margin: 2rem auto;
        max-width: 25%;
    }

.contact-value {
    border-radius: .5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .25rem 1rem;
    transition: .3s ease-in-out;
}

    .contact-value:hover {
        background: #f5f5f5;
    }

    .contact-value svg {
        color: crimson;
    }

.form-border {
    background: #fff;
    border: 1px solid #364054;
    border-radius: 0.5rem;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    padding: 1rem;
}

    .form-border p {
        color: #364054;
    }
/* 
* My Profile cards
*/
.form-data p:first-of-type {
    color: #a0a0a0;
}

.hero-sm {
    /* background-image:  radial-gradient(#c9d0df 1.5px, transparent 1.5px), radial-gradient(#c9d0df 1.5px, #2a3143 1.5px);
    background-size: 60px 60px;
    background-position: 0 0,30px 30px; */
    background: url('/images/portada.jpg') no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    border-bottom-right-radius: 3rem;
    border-bottom-left-radius: 3rem;
    height: 30vh;
    width: 100%;
    z-index: 1;
}

.hero-bg {
    backdrop-filter: blur(2px);
    background: rgba(0, 0, 0, 0.3);
    border-bottom-right-radius: 3rem;
    border-bottom-left-radius: 3rem;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 100%;
    width: 100%;
}

.hero-content {
    width: 100%;
    height: 100%;
}

.hero-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

    .hero-logos img {
        height: 5rem;
        margin: 0 1rem;
    }

.hero-logos-fd {
    display: flex;
    align-items: center;
    border-left: 1px solid #fff;
}

.hero-logos-fd-text {
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .hero-logos-fd-text .fiscalia {
        font-size: 2.3rem;
        letter-spacing: 2px;
    }

    .hero-logos-fd-text .digital {
        font-size: 1.9rem;
        letter-spacing: 8px;
    }

.hero-heading {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.logo-fd {
    width: 15rem;
}

.section-divider {
    border-bottom: 1px solid #dfdfdf;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .5rem 1rem;
    margin-bottom: 1rem;
}

    .section-divider p {
        color: #6d7381;
        font-size: 1.2rem;
        font-weight: 600;
    }


.tabs-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 2rem
}

.tab-button {
    background: none;
    border: none;
    padding: .75rem 1rem;
    font-size: inherit;
    font-family: inherit;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    transition: all .2s ease;
    position: relative
}

    .tab-button.active {
        color: #1f2937
    }

        .tab-button.active:after {
            content: "";
            position: absolute;
            bottom: -1px;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: #575756
        }

    .tab-button:hover:not(.active) {
        color: #374151
    }

.tab-contentAP {
    display: none
}

    .tab-contentAP.active {
        display: block
    }


.institutional-title {
    color: #212529; /* Gris carbón oficial */
    font-weight: 700;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 40px;
    font-size: 24px !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
