html {
    scroll-padding-top: 80px;
}
/* start: grilla tarjeta */
.tab-job svg{
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
}
.nombre-empleo{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 48px;
}
.descripcion-limitada {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
.data-empresa{
    height: 130px !important;
}
/* end: grilla tarjeta */

/* start: filtros de visualizacion lista empleo */
.display-type .box-view-type .view-type{
    color: #b1b2b4;
    border-color: #b1b2b4;
}
/* end: filtros de visualizacion lista empleo */

/* start: detail job */
.documents-section {
    padding: 20px 16px;
    max-height: 600px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.documents-section .document-item {
    transition: all 0.3s ease;
}

.documents-section .document-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.documents-section .status-icon {
    min-width: 24px;
    display: flex;
}

.documents-section .document-info .nombre-doc{
    font-size: 12px;
    max-width: 26rem;
}

.documents-section .btn-documento{
    min-width: 150px;
}

.documents-section .document-actions{
    display: flex;
    gap: 10px;
}

.documents-section .document-actions .btn{
    height: 43px;
    min-width: 150px;
    width: 100%;
}

.documents-section .badge-warning,
.documents-section .badge-danger,
.documents-section .badge-success {
    font-size: 10px;
}


/* apply-job-form */
.apply-job-form.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.sidebar-list-job .image{
    max-width: 7rem;
}

/* switches mas grandes */

.form-check.form-switch .form-check-input {
    width: 4.5em;
    height: 2em;
}



@media (max-width: 460px) {
    .document-actions{
        flex-direction: column;
    }
}


@media (max-width: 624px) {
    .documents-section .document-row{
        flex-direction: column;
    }
    .documents-section .document-actions{
        width: 100%;
        margin-top: 10px;
        flex-direction: column;
    }
    .documents-section .btn-documento{
        width: 100%;
    }
}

/* end: detail job */

/* start: perfil usuario */
.btn-eliminar-documento{
    opacity: 0;
    transition: opacity 0.2s;
    background: none;
    border: none;
    color: #dc3545;
}

.card-archivo:hover .btn-eliminar-documento {
    opacity: 1 !important;
}

.card-archivo {
    transition: transform 0.2s;
    max-width: 160px;
    min-height: 120px;
    position: relative;
}

.card-nombre-archivo p{
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.card-estado-archivo span {
    font-size: 9px;
    padding: 2px 6px;
}

.card-tipo-archivo {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.card-tipo-archivo span {
    font-size: 9px;
    font-weight: bold;
    color: #666;
}

.card-archivo:hover {
    transform: scale(1.05);
}

/* cv estilos */
.swal-cv-container .swal-cv-popup {
    border-radius: 20px !important;
    padding: 0 !important;
}

.swal-cv-html {
    padding: 32px !important;
}

.cv-jobbox-modal {
    text-align: left;
}

.cv-jobbox-modal h4 {
    color: #05264e;
    font-weight: 600;
}

.cv-jobbox-modal h5 {
    color: #05264e;
    font-weight: 500;
}

.cv-nav-tabs .nav-tabs {
    border-bottom: 2px solid #e9ecef;
}

.cv-nav-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    background: none;
    color: #6c757d;
    font-weight: 500;
    padding: 12px 20px;
    margin-right: 10px;
}

.cv-nav-tabs .nav-link:hover {
    color: #667eea;
    border-bottom-color: #667eea;
}

.cv-nav-tabs .nav-link.active {
    color: #667eea;
    border-bottom-color: #667eea;
    background: none;
}

.cv-experience-item,
.cv-education-item {
    transition: transform 0.2s ease;
}

.cv-experience-item:hover,
.cv-education-item:hover {
    transform: translateX(5px);
}

.cv-item-minimal {
    transition: background-color 0.2s ease;
    padding: 8px 0;
}

.cv-item-minimal:hover {
    background-color: #f8f9fa;
    border-radius: 4px;
    padding: 8px 10px;
}

.cv-content {
    padding: 0 10px;
}

.cv-content::-webkit-scrollbar {
    width: 6px;
}

.cv-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.cv-content::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 10px;
}

.cv-content::-webkit-scrollbar-thumb:hover {
    background: #5a6fd8;
}

.image-compay{
    max-width: 80px;
}

/* end: perfil usuario */

/* media perfil usuario */

@media (max-width: 768px) {
    #div-otros .wrap-search-filter {
        gap: 0.5rem;
    }
    .nav-tavs-profile {
        padding-right: unset
    }
}

@media (max-width: 991px) {
    .btn-download-cv {
        width: 100%;
        margin-top: 10px;
    }
}
/* end: media perfil usuario */

/* start: nueva-clave */

.password-strength-container {
    margin-top: 10px;
}

.password-strength-bar {
    width: 100%;
    height: 4px;
    background-color: #e9ecef;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 5px;
}

.password-strength-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-weak { background-color: #dc3545; }
.strength-fair { background-color: #fd7e14; }
.strength-good { background-color: #ffc107; }
.strength-strong { background-color: #28a745; }

.password-match { color: #28a745 !important; }
.password-no-match { color: #dc3545 !important; }

.position-relative .btn-link {
    padding: 0.375rem 0.75rem;
}

.position-relative .btn-link:hover {
    background-color: transparent;
    text-decoration: none;
}

.alert {
    border-radius: 8px;
    border: none;
    padding: 15px 20px;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.section-box-profile {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 60px 0;
}
/* end: nueva clave */

/* start: mis postulaciones */

.postulacion-card {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.postulacion-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.estado-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
}

.estado-pendiente {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.estado-aprobado {
    background: #d1edff;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.estado-rechazado {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f1b0b7;
}

.fecha-info {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
    margin: 10px 0;
}

.btn-modificar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    border-radius: 25px;
    padding: 10px 20px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-modificar:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.btn-modificar.disabled {
    background: #6c757d;
    transform: none;
    box-shadow: none;
    cursor: not-allowed;
}

.section-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 60px 0;
    margin-bottom: 0;
}

.empleo-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.info-icon {
    margin-right: 8px;
    color: #667eea;
}

@media (max-width: 768px) {
    .postulacion-card {
        padding: 20px 15px;
    }
    
    .text-md-end {
        text-align: center !important;
        margin-top: 15px;
    }
}
/* end: mis postulaciones */

/* start: editar postulacion */

.document-card {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.document-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.document-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.document-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.file-upload-area {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    background: #f8f9fa;
    transition: all 0.3s ease;
    margin: 15px 0;
}

.file-upload-area:hover {
    border-color: #667eea;
    background: #f0f2ff;
}

.file-upload-area.dragover {
    border-color: #667eea;
    background: #e8ecff;
}

.btn-upload {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    border-radius: 25px;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.btn-upload:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    color: white;
}

.current-file {
    background: #e8f5e8;
    border: 1px solid #c3e6c3;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge-success-custom {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8em;
}


@media (max-width: 768px) {
    .document-card {
        padding: 20px 15px;
    }
    
    .document-header {
        flex-direction: column;
        text-align: center;
    }
    
    .document-icon {
        margin-bottom: 10px;
        margin-right: 0;
    }
}
/* end: editar postulacion */