﻿@font-face {
    font-family: 'PP TelegrafR';
    src: url('PPTelegraf-Regular.woff2') format('woff2'),
        url('PPTelegraf-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html {
    height: 100%;
}

body {
    font-family: 'PP TelegrafR', Helvetica;
    color: #383838;
    height: 100%;
}


.box
{
    border-color:#002D74;
    border-style:solid;
    border-width:0;
    -webkit-border-radius: 15px 15px 15px 15px;
    -moz-border-radius: 15px 15px 15px 15px;
    width:600px;
    background-color: White;
    box-shadow: 1px 1px 3px #bebebe;
}

h1 
{
    font-family: 'PP TelegrafB', Helvetica;
    color:#FFA400;
}

.boxGrid
{
    border-color:#002D74;
    border-style:solid;
    border-width:0px;
    -webkit-border-radius: 15px 15px 15px 15px;
    -moz-border-radius: 15px 15px 15px 15px;
    width:95%;
    background-color: White;
    box-shadow: 1px 1px 3px #bebebe;
}

.btn-isg
    {
        font-family: 'PP TelegrafR', Helvetica;
        font-weight: 500;
        font-size: 14px;
        color: #fff;
        background-color: #002D74;
        padding: 10px 30px;
        border: solid #f05cbc 0px;
        box-shadow: none;
        border-radius: 10px;
        /*transition : 500ms;
        transform: translateY(0);*/
        display: flex;
        flex-direction: row;
        align-items: center;
        cursor: pointer;
        text-transform: uppercase;
    }

.btn-isg:hover {
        /*transition : 500ms;*/
        padding: 10px 30px;
        /*transform : translateY(-0px);*/
        background-color: #002D74;
        color: #FFA400;
        border: solid 0px #f05cbc;
    }
    
.titgrid
{
    color:#383838;
    font-size:larger;
    font-weight:bold;
}

.btnflyes
    {
        font-family: 'PP TelegrafR', Helvetica;
        font-weight: 500;
        font-size: 14px;
        color: #fff;
        background-color: #002D74;
        padding: 5px 15px;
        border: solid #002D74 2px;
        box-shadow: none;
        border-radius: 10px;
}

.btnflno
    {
        font-family: 'PP TelegrafR', Helvetica;
        font-weight: 500;
        font-size: 14px;
        color: #383838;
        background-color: white;
        padding: 5px 10px;
        border: solid gray 1px;
        box-shadow: none;
        border-radius: 10px;
}

.btnflno:hover
    {
        padding: 5px 10px;
        color: black;
        border: solid #002D74 2px;
    }
    
.Txtstyle2[type=text], textarea 
{         
    font-family: 'PP TelegrafR', Helvetica;
    transition: all 0.30s ease-in-out;         
    outline: none;         
    border-bottom: 1px solid lightgray;  
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
    /*font-size:larger;       */
    color:#253080;
}

.Txtstyle2[type=text]:focus, textarea:focus 
{         
    /*box-shadow: 2px 2px 12px gray;         */
    border-bottom: 1px solid #FFA400;      
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;   
}
   
.Txtstyle3
{               
    font-family: 'PP TelegrafR', Helvetica;
    outline: none;         
    border-bottom: 1px solid ligthgray;  
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;  
    /*font-size:larger;       */
    color:#253080;
} 

.TxtstyleMail
{               
    font-family: 'PP TelegrafR', Helvetica;
    outline: none;         
    border: 0px solid #002D74;  
    /*font-size:larger;       */
    color:#253080;
} 
   
.lbstyle
{               
    font-family: 'PP TelegrafR', Helvetica;
    outline: none;         
    color:#253080;
} 
    
.tdbottom 
   {
       border-bottom:1px solid #e1e6f0;
   }
   
   a:link,
a:visited,
a:active {
  text-decoration: none;
  color: #9e9e9e;
  
}

.dropsin
{
    font-family: 'PP TelegrafR', Helvetica;
    border: 0px solid gray;
    color: #002D74;
}
.mycheckbox td
{
    font-family: 'PP TelegrafR', Helvetica;
   border-left:4px solid #002D74;
   line-height:30px;   
   width: 33%;
   vertical-align:top;
}

.mycheckbox td label
{
    font-family: 'PP TelegrafR', Helvetica;
    line-height:30px;
    color: lightgray;
    margin-left: 3px;
} 

.mycheckbox:checked
{
    font-family: 'PP TelegrafR', Helvetica;
   border-left:2px solid #002D74;
   line-height:30px;   
   width: 33%;
}



.Upbtn
    {
        font-family: 'PP TelegrafR', Helvetica;
        background-color:white;
        color: #9e9e9e;
        border: 1px solid lightgray;
        /*font: Verdana 10px;*/
        padding: 1px 4px 1px 1px;
    }
   
.btnUP
    {
        font-family: 'PP TelegrafR', Helvetica;
        font-weight: 500;
        font-size: 14px;
        color: #fff;
        background-color: #002D74;
        padding: 5px 10px;
        border: solid #f05cbc 0px;
        box-shadow: none;
        /*border-radius: 10px;*/
        /*transition : 500ms;
        transform: translateY(0);*/
        display: flex;
        flex-direction: row;
        align-items: center;
        cursor: pointer;
        text-transform: uppercase;
    }

.btnUP:hover
    {
        /*transition : 500ms;*/
        padding: 5px 5x;
        /*transform : translateY(-0px);*/
        background-color: #002D74;
        color: #FFA400;
        border: solid 0px #f05cbc;
    }

.mydict {
    display: flex;
    justify-content: center;
    margin: 10px 0;
}

    .mydict input[type="radio"] {
        display: none;
    }

    .mydict label {
        padding: 8px 18px;
        border: 1px solid #cfcfcf;
        background-color: #fff;
        cursor: pointer;
        font-size: 14px;
        color: #333;
        user-select: none;
        margin: 0;
    }

        .mydict label + input + label {
            border-left: none;
        }

    .mydict input[type="radio"]:checked + label {
        background-color: #eaf1ff;
        border-color: #2f6bff;
        color: #2f6bff;
        border-left: 1px solid #2f6bff; /* 🔑 clave */
        z-index: 2;
    }

    .mydict label:first-of-type {
        border-radius: 6px 0 0 6px;
    }

    .mydict label:last-of-type {
        border-radius: 0 6px 6px 0;
    }

.modal-section {
    margin-top: 18px;
}

.modal-section-title {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
    display: block;
}

.work-area {
    background-color: #f8f9fb;
    min-height: calc(100vh - 60px); /* 60px = header superior */
    width: 100%;
    padding-bottom: 40px;
}

.fecha-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .fecha-control .fecha-input {
        width: 120px !important;
        display: inline-block !important;
        text-align: center;
    }

    .fecha-control .fecha-btn {
        border: none;
        background: transparent;
        padding: 0;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
    }

.dashboard-shell {
    padding: 8px 4px 18px 4px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.dashboard-title {
    margin: 0;
    color: #16324f;
    font-size: 2rem;
}

.dashboard-subtitle {
    margin: 6px 0 0 0;
    color: #6b7d91;
    font-size: 0.98rem;
}

.dashboard-date {
    background: linear-gradient(135deg, #f8fbff 0%, #eef4fb 100%);
    border: 1px solid #dde7f0;
    border-radius: 18px;
    padding: 10px 14px;
    color: #35516d;
    font-size: 0.95rem;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.dashboard-date-picker {
    position: relative;
}

.dashboard-date__input {
    border: none;
    background: transparent;
    color: #35516d;
    font-size: 0.95rem;
    min-width: 210px;
    text-align: center;
    padding: 0;
}

.dashboard-date__input:focus {
    outline: none;
}

.dashboard-date__button {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.dashboard-date-picker__popup {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 30;
}

.dashboard-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

.dashboard-card {
    background: #ffffff;
    border: 1px solid #e6ecf3;
    border-radius: 22px;
    box-shadow: 0 12px 30px rgba(17, 50, 83, 0.07);
}

.dashboard-kpi {
    padding: 22px 22px 18px 22px;
    position: relative;
    overflow: hidden;
}

.dashboard-kpi:before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    border-radius: 22px 0 0 22px;
    background: #0f4c97;
}

.dashboard-kpi--dark:before {
    background: #16324f;
}

.dashboard-kpi--success:before {
    background: #72b01d;
}

.dashboard-kpi--muted:before {
    background: #7b8ea3;
}

.dashboard-kpi__label {
    display: block;
    color: #6c7b8d;
    font-size: 0.92rem;
    margin-bottom: 12px;
}

.dashboard-kpi__value {
    display: block;
    color: #16324f;
    font-size: 2.25rem;
    line-height: 1;
    margin-bottom: 10px;
}

.dashboard-kpi__meta {
    display: block;
    color: #98a5b4;
    font-size: 0.82rem;
}

.dashboard-main {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(290px, 1fr);
    gap: 18px;
    margin-bottom: 22px;
}

.dashboard-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.dashboard-card__header h2 {
    margin: 0;
    color: #16324f;
    font-size: 1.1rem;
}

.dashboard-card__hint {
    color: #8a9aae;
    font-size: 0.82rem;
}

.dashboard-chart-card,
.dashboard-status-card,
.dashboard-table-card {
    padding: 22px;
}

.dashboard-chart-wrap {
    position: relative;
    height: 320px;
}

.dashboard-status-list {
    display: grid;
    gap: 12px;
}

.dashboard-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid #ebf0f5;
}

.dashboard-status__label {
    display: block;
    color: #16324f;
    font-size: 0.95rem;
}

.dashboard-status__desc {
    display: block;
    color: #8a9aae;
    font-size: 0.8rem;
    margin-top: 4px;
}

.dashboard-status__value {
    font-size: 1.8rem;
    color: #16324f;
    min-width: 28px;
    text-align: right;
}

.dashboard-status--pending {
    background: #f5f8fc;
}

.dashboard-status--done {
    background: #f3faed;
}

.dashboard-status--rescheduled {
    background: #fff8e7;
}

.dashboard-status--cancelled {
    background: #fff1f2;
}

.dashboard-grid {
    margin-top: 8px;
}

@media (max-width: 1100px) {
    .dashboard-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .dashboard-header {
        flex-direction: column;
    }

    .dashboard-date {
        width: 100%;
        white-space: normal;
    }

    .dashboard-date__input {
        min-width: 0;
        width: 100%;
    }

    .dashboard-kpis {
        grid-template-columns: 1fr;
    }
}
