/*==================================================
    SOLICITUD DE CORREO INSTITUCIONAL
===================================================*/

:root{
    --primary:#005DAA;
    --primary-dark:#004680;
    --secondary:#0EA5E9;
    --success:#22C55E;
    --warning:#F59E0B;
    --danger:#EF4444;

    --bg:#F4F7FB;
    --white:#FFF;
    --border:#DDE5EE;
    --text:#334155;
    --muted:#64748B;

    --radius:14px;

    --shadow-sm:0 3px 10px rgba(0,0,0,.05);
    --shadow:0 8px 25px rgba(0,0,0,.08);
    --transition:.25s;
}

/*******************************************
GENERAL
********************************************/

body{
    background:var(--bg);
    font-family: 
        "Inter",
        "Segoe UI",
        Roboto,
        "Helvetica Neue",
        Arial,
        sans-serif;
    color:var(--text);
}

.container-form{
    max-width:1200px;
    margin:auto;
    padding:5px 10px;
}

/*******************************************
HEADER
********************************************/

.page-header{
    width:100%;
    background:linear-gradient(135deg,#005c97,#007bb5);
    color:white;
    padding:30px 50px;
	margin-bottom:20px;
}

.page-header h1{
    font-size:32px;
    font-weight:700;
    margin-bottom:5px;
}

.page-header p{
    opacity:.95;
    font-size:15px;
}

.page-header .subtitulo{
    opacity:.85;
    font-size:13px;
	text-align:justify;
}

.justificado{
	text-align:justify;
}

.sms{
	font-size:14px;
    font-weight:600;
	padding: 10px 30px;
}
/*******************************************
CARDS
********************************************/

.form-card{

    background:#FFF;

    border-radius:15px;

    padding:25px;

    margin-bottom:25px;

    box-shadow:var(--shadow-sm);

    border:1px solid var(--border);

}

.form-card-title{

    font-size:20px;

    font-weight:700;

    color:var(--primary);

    margin-bottom:20px;

    display:flex;

    align-items:center;

}

.form-card-title i{

    margin-right:10px;

    font-size:22px;

}

/*******************************************
INPUTS
********************************************/

.form-label{

    font-weight:600;

    margin-bottom:6px;

    color:#475569;

}

.form-control,

.form-select{

    height:48px;

    border-radius:10px;

    border:1px solid var(--border);

    transition:.25s;

}

textarea.form-control{

    height:130px;

    resize:none;

}

.form-control:focus,

.form-select:focus{

    border-color:var(--primary);

    box-shadow:0 0 0 .18rem rgba(0,93,170,.15);

}

/*******************************************
BOTON BUSCAR
********************************************/

.btn-search{

    height:48px;

    border-radius:10px;

    background:var(--primary);

    border:none;

    color:#FFF;

    font-weight:600;

    transition:.25s;

    width:100%;

}

.btn-search:hover{

    background:var(--primary-dark);

    transform:translateY(-2px);

}

/*******************************************
BOTON ENVIAR
********************************************/

.btn-send{

    background:#16A34A;

    color:#FFF;

    font-size:17px;

    font-weight:600;

    border:none;

    border-radius:12px;

    height:54px;

    width:100%;

    transition:.25s;

}

.btn-send:hover{

    background:#15803D;

    transform:translateY(-2px);

}

/*******************************************
INFORMACION DEL TRABAJADOR
********************************************/

.worker-card{

    background:#F8FBFF;

    border-left:3px solid var(--primary);

    border-radius:12px;
	font-size:13px;
    padding:10px;

}

.worker-name{

    font-size:22px;

    font-weight:700;

}

.worker-info{

    color:#64748B;

    margin-top:4px;

}

/*******************************************
ESTADO
********************************************/

.status-success{

    color:#16A34A;

    font-weight:600;

}

.status-warning{

    color:#F59E0B;

    font-weight:600;

}

.status-danger{

    color:#DC2626;

    font-weight:600;

}

/*******************************************
UPLOAD
********************************************/

.upload-box{

    position:relative;

    border:2px dashed #B7C8DD;

    border-radius:14px;

    background:#FAFCFE;

    padding:45px;

    text-align:center;

    cursor:pointer;

    transition:.3s;

}

.upload-box:hover{

    background:#EEF7FF;

    border-color:var(--primary);

}

.upload-box i{

    font-size:60px;

    color:var(--primary);

    margin-bottom:15px;

}

.upload-box h5{

    font-weight:700;

}

.upload-box p{

    color:#64748B;

    margin-bottom:0;

}

.upload-box input[type=file]{

    position:absolute;

    inset:0;

    opacity:0;

    cursor:pointer;

}

.file-selected{

    margin-top:15px;

    background:#ECFDF5;

    border-left:5px solid #22C55E;

    padding:15px;

    border-radius:10px;

    display:none;

}

.file-selected strong{

    color:#15803D;

}

/*******************************************
CHECK
********************************************/

.custom-check{

    display:flex;

    align-items:center;

    padding:15px;

    background:#F8FAFC;

    border-radius:10px;

}

.custom-check input{

    width:20px;

    height:20px;

    margin-right:12px;

}

/*******************************************
TIMELINE
********************************************/

.timeline{

    display:flex;

    justify-content:space-between;

    margin:30px 0;

}

.timeline-item{

    flex:1;

    text-align:center;

    position:relative;

}

.timeline-item:not(:last-child)::after{

    content:"";

    position:absolute;

    top:22px;

    left:50%;

    width:100%;

    height:3px;

    background:#D7E2EC;

}

.timeline-circle{

    width:44px;

    height:44px;

    border-radius:50%;

    background:var(--primary);

    color:#FFF;

    line-height:44px;

    margin:auto;

    position:relative;

    z-index:2;

    font-weight:700;

}

.timeline-text{

    margin-top:12px;

    font-size:14px;

}

/*******************************************
FUNCIONARIO
********************************************/

.designacion-card{

    background:#FFFBEA;

    border-left:5px solid #F59E0B;

    border-radius:12px;

    padding:20px;

}

/*******************************************
RESPONSIVE
********************************************/

@media(max-width:768px){

.page-header{

padding:25px;

}

.page-header h1{

font-size:24px;

}

.timeline{

display:block;

}

.timeline-item{

margin-bottom:25px;

}

.timeline-item::after{

display:none;

}

.upload-box{

padding:30px 15px;

}

}

.logo-circle{

    width:140px;

    height:140px;

    background:#FFF;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    margin:auto;

    box-shadow:0 8px 25px rgba(0,0,0,.15);

    border:5px solid rgba(255,255,255,.6);

}

.logo-circle img{

    max-width:90px;

    max-height:90px;

    object-fit:contain;

}

.dropzone{

    border:2px dashed #3b82f6;

    border-radius:10px;

    background:#f8fbff;

    min-height:220px;

}

.dropzone .dz-message{

    font-size:16px;

    color:#64748b;

}

.document-preview{

    margin-top:0px;

}

.document-card{

    background:#fff;

    border:1px solid #dce7f5;

    border-left:6px solid #0d6efd;

    border-radius:12px;

    padding:22px;

    display:flex;

    align-items:center;

    gap:0px;

    box-shadow:0 4px 15px rgba(0,0,0,.08);

}
.document-details{
	padding:14px;	
	border-radius:12px; 
	border:1px solid #3b82f6;
	border-left:3px solid #3b82f6;
}
.document-icon{

    width:90px;

    height:90px;

    border-radius:50%;

    background:#fdecec;

    color:#dc3545;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:45px;

    flex-shrink:0;

}


.document-info{
    flex:1;
    padding:10px;
}

.document-info h5{

    margin-bottom:8px;

    font-weight:700;

    color:#2c3e50;

}

.document-info small{

    color:#6c757d;

    display:block;

    margin-bottom:10px;

}

.doc-ok{

    color:#198754;
	font-size : 10px;
    font-weight:400;

}

.document-actions{

    display:flex;

    flex-direction:column;

    gap:10px;

}

.footer-institucional {
    margin-top: 50px;
    padding: 15px 10px;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.footer-line {
    width: 80px;
    height: 4px;
    background: #1e88e5;
    margin: -27px auto 25px;
    border-radius: 10px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    width: 45px;
    height: 45px;
    background: #1e88e5;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 12px;
    box-shadow: 0 4px 10px rgba(30,136,229,.25);
}

.footer-text h6 {
    margin: 0;
    color: #374151;
    font-size: 15px;
    font-weight: 700;
}

.footer-text p {
    margin: 8px 0;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.6;
}

.footer-text p span {
    color: #1e88e5;
    font-weight: 600;
}

.footer-text small {
    color: #9ca3af;
    font-size: 12px;
}