/* static/app/emails/recientes.css */

@import url("/static/app/prompts/crear.css");

/* =========================================================
   LISTA DE RECIENTES (EMAILS)
   ========================================================= */

.resultado-body{
    padding-top:10px;
}

.bloque-info{
    font-size:11px;
    color:#7a7468;
    margin-top:4px;
}

.titulo-inline{
    display:flex;
    align-items:center;
    gap:8px;
}

.subtexto-inline{
    font-size:12px;
    color:#7a7468;
    font-weight:400;
    letter-spacing:0;
}

/* LISTA */
.lista-recientes{
    display:flex;
    flex-direction:column;
}

/* =========================================================
   ITEM
   ========================================================= */

.reciente-item{
    padding:10px 12px;
    border-bottom:1px solid #e1dbcf;
    background:transparent;

    cursor:pointer;

    transition:
        background 0.15s ease,
        border 0.15s ease,
        padding 0.15s ease;
}

/* HOVER */
.reciente-item:hover{
    border-color:#c4bba9;
    background:#f2efe9;
}

/* ACTIVO */
.reciente-item.activo{
    background:#eef3f3;
    border-left:2px solid #375e65;
    padding-left:10px;

    box-shadow:inset 0 0 0 1px rgba(55,94,101,0.08);
}

/* =========================================================
   CONTENIDO INTERNO
   ========================================================= */

/* TIPO */
.reciente-item .tipo{
    font-size:10px;
    color:#a39b8a;
    letter-spacing:0.5px;
}

/* TITULO */
.reciente-item .titulo{
    font-size:13px;
    font-weight:500;
    color:#375e65;
    margin:2px 0;
}

/* PREVIEW */
.reciente-item .preview{
    font-size:11.5px;
    color:#7a7468;
    line-height:1.3;
}

/* =========================================================
   VISTA (DERECHA)
   ========================================================= */

#vista-contenido{
    white-space:pre-line;
    font-size:13px;
    line-height:1.6;
    color:#2c3c3d;

    word-break:break-word;
    overflow-wrap:break-word;
}

/* =========================================================
   BOTONES RESULTADO
   ========================================================= */

/* CONTENEDOR */
.resultado-actions{
    display:flex;
    justify-content:center;
    padding-top:16px;
}

/* GRUPO BOTONES */
.botones-secundarios{
    display:flex;
    gap:16px;
}

/* =========================================================
   BOTÓN EDITAR
   ========================================================= */

.btn-editar{
    background:#e7e3da;
    color:#2c3c3d;
    border:1px solid #cfc8bb;

    font-family:"Inter", sans-serif;
    font-size:12.5px;
    font-weight:500;

    width:110px;
    height:30px;

    border-radius:6px;
    cursor:pointer;
}

.btn-editar:hover{
    background:#dcd6ca;
}

/* =========================================================
   BOTÓN COPIAR
   ========================================================= */

.btn-compartir{
    background:#c48a38;
    color:white;
    border:none;

    font-family:"Inter", sans-serif;
    font-size:12.5px;
    font-weight:500;

    width:110px;
    height:30px;

    border-radius:6px;
    cursor:pointer;

    transition:background 0.15s ease;
}

.btn-compartir:hover{
    background:#a8732f;
}

.btn-ok{
    background:#375e65 !important;
}

.btn-ok::after{
    content:" ✔";
}

.botones-secundarios{
    opacity:0.5;
    pointer-events:none;
}

.botones-secundarios.activo{
    opacity:1;
    pointer-events:auto;
}

/* =========================================================
   TABS (TOPBAR)
   ========================================================= */

.tabs{
    display:flex;
    gap:18px;
}

.tabs a{
    text-decoration:none;
    color:#375e65;
    font-size:14px;
    padding:6px 12px;
    border-radius:6px;
    font-weight:500;
    transition:all 0.15s ease;
}

.tabs a:hover{
    background:#f2efe9;
}

.tabs a.activo{
    background:#ded8cc;
    color:#375e65;
}


/* =========================================================
   ESTADO VACÍO
   ========================================================= */

.estado-vacio{
    padding:20px;
    text-align:center;
}

.titulo-vacio{
    font-size:13px;
    font-weight:500;
    color:#375e65;
}

.texto-vacio{
    font-size:12px;
    color:#7a7468;
    margin-top:4px;
}

/* =========================================================
   META SUPERIOR (TIPO + TIEMPO)
========================================================= */

.reciente-meta{
    display:flex;
    align-items:center;
    justify-content:space-between;

    margin-bottom:4px;
}

.tiempo-reciente{
    font-size:10px;
    color:#9b9385;

    font-family:"Inter", sans-serif;
    font-weight:400;
    letter-spacing:0.2px;
}