﻿@media only screen and (min-width: 601px) {
    .grid2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 20px;
    }

    .grid3 {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-gap: 15px;
    }

    .grid4 {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-gap: 10px;
    }
}

.migas {
    background: #fff;
    height: 44px;
    line-height: 44px;
    margin-bottom: 13px;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
}

.migas > div.container {
    color: #0099BA;
    font-weight: 400;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.breadcrumb {
    font-size: 18px;
    color: rgba(0, 0, 0, 0.7);
    white-space: nowrap;
}

.breadcrumb:last-child {
    color: #000;
}

.breadcrumb:before {
    content: '\E5CC';
    color: rgba(0, 0, 0, 0.7);
    vertical-align: top;
    display: inline-block;
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 25px;
    margin: 0 10px 0 8px;
    -webkit-font-smoothing: antialiased;
}

.modal.solicitud-modal {
    width: 92%;
    max-width: 1200px;
    max-height: 88%;
}
.year-chips-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    min-height: 40px
}
.year-chips-container span.chip {
    margin: 0;
    white-space:nowrap
}
@media (max-width: 768px) {
    .year-chips-container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}

.full-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.full-page > h5{
    margin-top:1rem;
    margin-bottom:1rem;
}

.full-page > .card{
    margin-top:0;
    width:100%;
    margin-bottom:0
}

.full-page .table_head {
    padding-top: 0;
}

.full-page .table_body {
    max-height: 620px;
}

.input-field > label:has(> i.tooltipped) {
    display: flex;
    align-items: center;
}
.input-field label i.tooltipped {
    margin-left: 5px;
    font-size: 16px;
}
.detalles_cambio > div {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 5px;
}
.detalles_cambio > div > i,
.detalles_cambio > div > b {
    margin: 0 5px;
}
.detalles-solicitud span.badge{
    margin-left:5px;
}
.leyenda {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.leyenda-item {
    display: flex;
    align-items: center;
    gap: 5px;
}
.color-box {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    display: inline-block;
}
.blockquotes {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
}
.blockquotes > blockquote {
    margin: 0;
}
ul.adjuntos {
    margin-top: 0;
}

.dropdown-content li > span.categoria1{
    background-color:red;
    color:#fff;
}
.dropdown-content li > span.categoria2 {
    background-color: green;
    color: #fff;
}
.dropdown-content li > span.categoria3 {
    background-color: yellow;
    color: #fff;
}
.dropdown-content li > span.categoria4 {
    background-color: blue;
    color: #fff;
}
.display-flex {
    display: flex;
    align-items: center;
    gap: 5px;
}
.cursor-pointer {
    display: flex;
    cursor: pointer;
}
.material-button.mbi > span.numero {
    border-radius: 50%;
    position: absolute;
    top: 6px;
    right: 6px;
    background-color: #f44336;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 11px;
    width: 16px;
    height: 16px;
    font-weight: bold;
}

.detalle-solicitud {
    display: grid;
    gap: 20px;
    padding: 15px;
}

@media (min-width: 992px) {
    .detalle-solicitud {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 600px) and (max-width: 991px) {
    .detalle-solicitud {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 599px) {
    .detalle-solicitud {
        grid-template-columns: 1fr;
    }
}

.detalle-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.detalle-icono {
    margin-right: 15px;
    color: #555;
}

.detalle-icono i {
    font-size: 24px;
}

.detalle-etiqueta {
    font-size: 12px;
    color: #777;
    margin-bottom: 2px;
}

.detalle-valor {
    font-size: 14px;
    color: #333;
}

.estado-validaciones {
    display:flex;
    justify-content:center;
    gap:10px;
    align-items:center;
    font-size:20px;
}

.detalle-valor .badge {
    display: inline-block;
    float: left;
    margin-left: auto;
    font-weight: 300;
    font-size: 0.8rem;
    border-radius: 2px;
    margin-right: 5px;
}


/*****************************/

.comentarios {
    overflow-y: auto;
    height: 290px;
    padding-right: 25px;
    border-top: 2px solid #ccc;
    padding-left: 4px;
}

hr.clearfix {
    border: 0;
    height: 1px;
    background: #e0e0e0;
    margin: 25px 0;
}

#formValidacion.comentario {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border-left: 4px solid #4285f4;
}

.comentario {
    display: flex;
    gap: 15px;
    padding: 20px 0 12px 0;
    align-items: flex-start;
}

.comentario:last-child {
    border-bottom: none;
}

.comentario > i.material-icons {
    color: #757575;
    background: #f0f0f0;
    border-radius: 50%;
    padding: 8px;
    font-size: 24px;
}

.comentario-header {
    flex: 1;
    margin-bottom: 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.comentario-header b {
    font-size: 15px;
    color: #333;
}

.comentario-header span {
    font-size: 12px;
    color: #9e9e9e;
    margin-left: auto;
}

.comentario-body {
    width: 100%;
}

.comentario-body textarea.materialize-textarea {
    min-height: 64px !important;
    padding: 10px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 4px;
}

.comentario-body .btn-flat {
    border-radius: 4px;
    margin-right: 10px;
    padding: 0 16px;
    height: 36px;
    line-height: 36px;
    text-transform: none;
    font-weight: 500;
    transition: all 0.3s;
}

.comentario-body .btn-flat.green {
    background-color: #4caf50 !important;
}

.comentario-body .btn-flat.red {
    background-color: #f44336 !important;
}

.comentario-body .btn-flat:hover {
    opacity: 0.9;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.comentario .badge {
    padding: 0 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    margin: 0;
}

@media (max-width: 600px) {
    .comentario-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .comentario-header span {
        margin-left: 0;
    }

    .comentario-body {
        margin-left: 0;
    }
}

.comentarios .detalle-item {
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 8px;
    margin: 10px 0;
}

.comentarios .detalle-etiqueta {
    display: flex;
    gap: 5px;
    align-items: center;
    color: #000;
    margin-bottom: 10px;
}

.comentarios .detalle-etiqueta .badge {
    padding: 0 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    margin: 0;
    float: none;
    height: 16px;
    line-height: 16px;
}

.sumario-solicitud {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 10px;
    margin-top: 15px;
}

.sumario-solicitud > h5 {
    margin-top: 0;
    font-size: 0.75rem;
    line-height: 1rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
    color: #94a3b8;
}

.sumario-solicitud .detalle-solicitud {
    padding: 0;
}

.sumario-solicitud .detalle-etiqueta {
    color: #64748b;
    text-transform: uppercase;
    font-weight: 600;
}

.sumario-solicitud .detalle-valor {
    font-weight: 700;
    color: #1e293b;
}

.sumario-solicitud .detalle-item {
    margin: 0;
}