﻿@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

@charset "utf-8";

@font-face {
    font-family: 'MankSansRegular';
    src: url('manksans-webfont.eot?') format('eot'), url('manksans-webfont.woff') format('woff'), url('manksans-webfont.ttf') format('truetype'), url('manksans-webfont.svg#webfontnv72R10S') format('svg');
    font-weight: normal;
    font-style: normal;
}
/*-------------------------------BODY-------------------------------------- */
html {
    height: 100%;
    scrollbar-color: #c4c4c4 transparent;
    scrollbar-width: thin;
}

:root {
    --ssf-azul: #003865;
    --ssf-azul-claro: #005a9c;
    --ssf-naranja: #ee810a;
    --ssf-gris: #f5f6f7;
    --ssf-texto: #333;
    --ssf-texto-label: #9e9e9e;
    --ssf-backgraund-field: #3E4551;
    --ssf-backgraund-acordeon: #5D636C;
}

body, table, tr, td {
    font-family: Roboto, Helvetica, Arial,sans-serif;
    font-size: 12px;
    font-weight: normal;
    background: #323844;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--ssf-gris);
    color: var(--ssf-texto);
    background: #323844;
}

/*--------------------------------------------------------------------------*/
p {
    font-family: Roboto, Helvetica, Arial,sans-serif;
    font-size: 14px; /* 14px */
    margin: 0 0 1.357em 0;
    color: #333
}

small {
    color: #666;
    font-size: 9px
}

.forgot-password {
    font-family: Roboto, 'MankSansRegular', Helvetica, Arial, serif;
    font-size: 14px;
    color: #fff;
    font-weight: bold;
    margin: -1em 0 0 -1em;
}

a:link.forgot-password {
    text-decoration: none color:#fff
}

p.small {
    font-family: Roboto, Helvetica, Arial,sans-serif;
    font-size: 11px;
    line-height: 2em;
    margin: 3.5em 0 0 0;
    color: #666;
}

.error {
    font-family: Roboto, 'MankSansRegular', Helvetica, Arial, serif;
    font-size: 14px;
    color: #EF030A;
    margin: 0 0 0 -1em;
    font-weight: bold;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Roboto, 'MankSansRegular', Helvetica, Arial, serif;
    font-weight: bold;
    color: #fff;
}

.forgotPasswordMessage {
    color: #fff;
    padding-right: 12em;
}

h1 {
    font-family: Roboto, 'MankSansRegular', Helvetica, Arial,sans-serif;
    font-size: 52px;
    text-align: left;
    color: #fff;
    margin: 10px 0 15px 0;
    padding: 0;
    line-height: 1em;
    font-weight: bold;
}

h2 {
    font-family: Roboto, Helvetica, Arial,sans-serif;
    font-size: 14px;
    line-height: 1.56em;
    padding: 0px;
    font-weight: bold;
    color: #fff;
    margin: 10px 0 15px 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

h3 {
    font-family: Roboto, 'MankSansRegular', Helvetica, Arial,sans-serif;
    font-size: 48px;
    color: #ccc;
    margin: 0;
    padding: 0 0 15px 0;
    line-height: 100%;
    letter-spacing: -2px;
    font-weight: normal;
    text-shadow: #666 0 1px 0;
}

/*FONT*/
form, input, textarea, submit, select {
}

[disabled] {
    border: solid 1px #a5acb2;
    color: #9d9da1;
    background-color: #f7f7f7;
}

a {
    color: #003399;
    text-decoration: underline
}

    a:hover {
        color: #666;
        text-decoration: none;
    }

.notify {
    border-bottom: #ffd86e 1px solid;
    padding: 5px;
    color: #000;
    background-color: #FFFFCC
}

.spaced {
    padding: 10px
}

.separator {
    background: #f2f2f2;
    clear: both;
    padding: 10px 5px 10px 5px;
    margin-bottom: 20px;
    border-top: dashed 1px #ccc;
    border-bottom: dashed 1px #ccc
}

div#container1 {
    position: relative;
    top: 60%;
}

div#container {
    position: relative;
    left: 50%;
    top: 50%;
    margin-left: -450px;
    margin-top: 150px;
    padding: 0px;
    width: 900px;
    height: 530px;
}

div#logo {
    width: 200px;
    height: 80px;
    max-width: 100%;
    max-height: 100%;
    margin: 30px auto;
    content: url(../images/logo_new.png);
}

#main {
    padding: 50px 80px 20px 150px;
    margin: 0;
}

#main2 {
    padding: 115px 20px 20px 150px;
    margin: 0;
}


.tf {
    font-family: Roboto, Helvetica, Arial, sans-serif;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    font-size: 18px;
    color: #858282;
}

.pad-left {
    padding: 3px 3px 3px 25px;
}

.pad {
    padding: 3px;
}

.empty {
    font-family: Roboto, Helvetica, Arial, sans-serif;
    font-size: 18px;
    color: #ccc;
    top: -7px;
}

.submit {
    color: #666;
    background: #ddd;
    font-size: 18px;
    text-shadow: #fff 0 2px 0;
    padding: 3px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

    .submit:hover,
    .submit:focus {
        color: #999;
        background: #ee810a;
    }

body > input.submit-disabled,
body > input.submit-disabled:hover,
body > input.submit-disabled:focus {
    color: #fff;
    background: #f3f3f3;
}

.submit:visited {
    color: #000;
}

input.span2 {
    width: 160px;
}

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    position: relative;
    min-height: 1px;
    padding-right: 2px;
    padding-left: 2px;
    color: white;
}


.list-ol-ssf {
    background-color: #3e4551;
    padding: 20px 30px;
    border-radius: 12px;
    color: white;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}


.collapsible-header {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    line-height: 1.5;
    padding: 1rem;
    background-color: #252a34;
    border-bottom: 1px solid #c5c8cf;
    border-radius: 16px;
}

.collapsible {
    border-top: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-left: 1px solid #ddd;
    margin: 0.5rem 0 1rem 0;
    border: none;
    border-radius: 16px;
}

.collapsible-header {
    border-bottom: 1px solid #666667;
}

.collapsible-body li {
    text-align: left;
}


.btn-warning {
    background-color: var(--ssf-naranja);
    border: none;
}

    .btn-warning:hover {
        background-color: #d97800;
    }

.card {
    border: none;
}

.card-body {
    background: #323844;
    border: none;
}

.acordeon, .tramite-detalle-bg {
    background: var(--ssf-backgraund-acordeon) !important;
}

.form-label {
    font-weight: 500;
}

.text-label {
    color: var(--ssf-texto-label);
}

.mud-text-btn {
    color: white !important;
}


.requisitos {
    background-color: #3E4551 !important;
    border-color: #3E4551 !important;
    padding: 20px;
    margin-left: 12px;
    margin-bottom: 10px;
}

.btn-preguntas-frecuentes {
    width: 100%;
    border-radius: 16px;
    margin-top: 20px;
    margin-left: 12px;
    margin-bottom: 20px; 

    background-color: #2F3540 !important;
    border-color: #2F3540 !important;
    /* Efecto resaltado inferior */
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.25);
    /* Para que el botón se vea un poco más “alto” visualmente */
    padding-bottom: 12px;
}

.bg-field{
    background: var(--ssf-backgraund-field);
    color:white;
}

label.required::after {
    content: " *";
    color: #dc3545; /* rojo Bootstrap */
    font-weight: 700;
}

.bg-field {
    background-color: #fff;
}

.invalid-feedback {
    font-size: 0.85rem;
}

.toggle-icon {
    transition: transform 0.2s ease;
}

.tramite-row.open .toggle-icon {
    transform: rotate(90deg);
}

/*barra de estados*/
.color-finalizado {
    background: #8bc34a !important;
}

.color-revision {
    background: #ffeb3beb !important;
}

.color-proceso {
    background: #ee810a !important;
}

.color-observacion {
    background: #dc3545 !important;
}

.color-recepcion {
    background: #074780 !important;
}


.barraEstados {
    background: #333333;
    border: none;
}

/*vistas parciales grid*/
.tramite-header {
    cursor: pointer;
}

.toggle-icon {
    font-size: 1.3rem;
    transition: transform .2s ease;
}

.tramite-header[aria-expanded="true"] .toggle-icon {
    transform: rotate(90deg);
}


    /* Estado activo → aplica color definido */
    .estado-badge.active[data-estado="recepcion"],
    .estado-global.active[data-estado="recepcion"] {
        background: #074780;
    }

    .estado-badge.active[data-estado="revision"],
    .estado-global.active[data-estado="revision"] {
        background: #ffeb3beb;
    }

    .estado-badge.active[data-estado="proceso"],
    .estado-global.active[data-estado="proceso"] {
        background: #ee810a;
    }

.estado-badge.active[data-estado="observacion"],
.estado-global.active[data-estado="observacion"] {
    background: #dc3545;
}

    .estado-badge.active[data-estado="finalizado"],
    .estado-global.active[data-estado="finalizado"] {
        background: #8bc34a;
    }

.estado-badge {
    background: #3E4551;
    color: #fff;
    min-width: 12rem; 
    max-width: 12rem;
    text-align: center;
    white-space: nowrap;
}

.barraEstados .row {
    flex-wrap: nowrap;
}

/* badge interno */
.estado-global .badge {
    background: transparent; /* el color lo maneja el contenedor */
    color: #fff;
}

.getiones {
    background: #3E4551;
}

/* cada estado */
.estado-global {
    background: #3E4551;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: all .2s ease;
    white-space: nowrap; /* evita salto de texto */
}

@media (max-width: 768px) {
    .barraEstados .d-flex {
        overflow-x: auto;
        gap: 0.5rem;
    }

    .estado-global {
        flex: 0 0 auto;
        font-size: 0.85rem;
    }
}


.tramite-wrapper {
    column-gap: 1rem;
}
.tramite-card,
.tramite-card .card-body {
    background: var(--ssf-backgraund-acordeon);
    color: #fff;
    border: none;
}

.tramite-detalle-bg {
    background: #3E4551;
}


.divider {
    border-top: 1px solid #fff;
    margin: 12px 0;
    width: 70%; /* más corto que el container */
    height: 1px;
}

.divider-wrapper {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.gestiones-scroll {
    max-height: 200px; /* ~ 2 o 3 cards */
    overflow-y: auto;
    padding-right: 8px;
}

#descripcion {
    margin-top: 12px;
    padding: 14px 18px;
    background: var(--ssf-backgraund-acordeon);
    color: #fff;
    border-radius: 10px;

    font-size: 14px;
    font-weight: 500;

    
border: 1px solid rgba(255,255,255,0.08);
box-shadow: 0 2px 6px rgba(0,0,0,0.15);

transition: all 0.25s ease;
}

#descripcion:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}


    #descripcion.recepcion {
        border-left: 6px solid #074780;
        background: linear-gradient(to right, rgba(7,71,128,0.15), transparent);
    }

    #descripcion.observacion {
        border-left: 6px solid #dc3545;
        background: linear-gradient(to right, rgba(238,129,10,0.15), transparent);
    }

    #descripcion.proceso {
        border-left: 6px solid #ee810a;
        background: linear-gradient(to right, rgba(131,193,169,0.15), transparent);
    }

    #descripcion.revision {
        border-left: 6px solid #ffeb3beb;
        background: linear-gradient(to right, rgba(195,184,151,0.15), transparent);
    }

    #descripcion.finalizado {
        border-left: 6px solid #8bc34a;
        background: linear-gradient(to right, rgba(0,198,198,0.15), transparent);
    }



   

.captcha-box {
    background: #3E4551;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 5px;
    border-left: 5px solid var(--ssf-naranja);
    user-select: none;
}


/* Responsive general para página de resultados */
.gestiones {
    width: 100%;
    overflow-x: hidden;
}

/* Barra de estados responsive */
.barraEstados .d-flex {
    gap: 0.75rem;
    display: block;
}

.estado-global {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .estado-global .badge {
        font-size: clamp(0.85rem, 2vw, 1.25rem);
        white-space: nowrap;
    }

/* Grid responsive */
.tramite-wrapper {
    row-gap: 0.75rem;
}

.tramite-card {
    width: 100%;
}

.estado-badge {
    min-width: 12rem;
    max-width: 12rem;
}

/* Móvil */
@media (max-width: 768px) {
    .gestiones {
        padding: 1rem !important;
    }

    .barraEstados .d-flex {
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start !important;
        padding-bottom: 0.5rem;
        display: none;
    }

    .estado-global {
        flex: 0 0 auto;
        min-width: 160px;
    }

    #descripcion {
        font-size: 12px;
        padding: 10px 12px;
    }

    .tramite-wrapper {
        display: block;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

        .tramite-wrapper > .col,
        .tramite-wrapper > .col-auto {
            width: 100%;
            max-width: 100%;
        }

    .estado-badge {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        margin-top: 0.5rem;
        min-height: 48px;
        white-space: normal;
    }

    .card-body.acordeon .row {
        row-gap: 0.5rem;
    }

    .card-body.acordeon .col-md-5,
    .card-body.acordeon .col-md-7,
    .tramite-detalle-bg .col-md-5,
    .tramite-detalle-bg .col-md-7 {
        width: 100%;
    }

    .toggle-icon {
        font-size: 1rem;
    }

    .divider {
        width: 90%;
    }

    .gestiones-scroll {
        max-height: none;
        overflow-y: visible;
    }
}

/* Teléfonos pequeños */
@media (max-width: 480px) {
    h5 {
        font-size: 1rem;
        line-height: 1.4;
    }

    .estado-global {
        min-width: 145px;
        padding: 0.45rem 0.6rem;
    }

        .estado-global .badge {
            font-size: 0.85rem;
        }

    .tramite-card .card-body {
        padding: 0.85rem;
    }

    .progress {
        height: 0.75rem;
    }
}



.footer {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: #363D4D;
    color: #b9bcc0;
    padding: 2.5rem 4rem;
    font-family: 'Roboto', sans-serif;
}

.footer-container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1fr;
    align-items: start;
    gap: 2rem;
}

.footer-left {
    text-align: left;
}

.footer-right {
    text-align: right;
}

.footer-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    max-width: 560px;
}

    .footer-item p,
    .footer-item a,
    .footer-link a,
    .footer-title {
        color: #d5d8df;
        font-size: 14px;
        line-height: 1.5;
        text-decoration: none;
    }

        .footer-item a:hover,
        .footer-link a:hover {
            color: #ffffff;
        }

.icon-circle {
    color: #ffffff;
    width: 28px;
    min-width: 28px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-circle img {
    max-width: 115px;
    width: 100%;
    height: auto;
}

.footer-title {
    margin-bottom: 1.3rem;
}

.social-icons {
    display: flex;
    justify-content: flex-end;
    gap: 1.4rem;
    margin-bottom: 2rem;
}

.icon-circle.iredes {
    background: #9aa0ad;
    color: #252a34;
    width: 42px;
    min-width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1.25rem;
}

    .icon-circle.iredes a {
        color: #252a34;
        width: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
    }

    .icon-circle.iredes:hover {
        background: #ffffff;
        transform: scale(1.05);
        transition: all 0.2s ease;
    }

@media (max-width: 992px) {
    .footer {
        padding: 2rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-left,
    .footer-right {
        text-align: center;
    }

    .footer-item {
        justify-content: flex-start;
        text-align: left;
        max-width: 100%;
    }

    .footer-logo {
        order: 2;
    }

    .footer-right {
        order: 3;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 2rem 1rem;
    }

    .footer-item {
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

        .footer-item p,
        .footer-item a,
        .footer-link a,
        .footer-title {
            font-size: 13px;
        }

    .logo-circle img {
        max-width: 110px;
    }

    .social-icons {
        gap: 0.9rem;
    }

    .icon-circle.iredes {
        width: 38px;
        min-width: 38px;
        height: 38px;
    }

        .icon-circle.iredes a {
            width: 38px;
            height: 38px;
        }
}

.header-ssf {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: #323844;
    padding: 2.5rem 1rem 2rem;
    text-align: center;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
}

.header-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

    .header-logos img {
        height: 80px;
        object-fit: contain;
    }

.header-title {
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .header-logos {
        gap: 1rem;
    }

        .header-logos img {
            height: 45px;
        }

    .header-title {
        font-size: 1rem;
        line-height: 1.4;
        padding: 0 1rem;
    }
}