.container {
    display: flex;
    flex-direction: row;
    height: 100%;
    width: 100%;
}

/* Top Bar */
.top-bar {
    height: 80px;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 24px;
    position: relative;
    z-index: 10;
    justify-content: space-between;
    padding-left: 50px;
}

.buttons-container {
    display: flex;
    flex-direction: row;
    gap: 16px;
}

.buttons-container button.top-bar-btns {
    padding: 10px 20px;
    background-color: #3b82f6;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.buttons-container button.top-bar-btns:last-child {
    background-color: #f3f4f6;
    color: black;
}

.buttons-container button.top-bar-btns:last-child:hover {
    background-color: #e5e7eb;
}

.user-dropdown {
    position: relative;
    cursor: pointer;
}

.user-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.user-trigger:hover {
    background-color: #f9fafb;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
    position: relative;
}

.user-avatar.alert::before {
    content: '';
    height: 12px;
    width: 12px;
    border-radius: 99px;
    background-color: red;
    position: absolute;
    top: -2px;
    right: -2px;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

.user-role {
    font-size: 12px;
    color: #6b7280;
}

.dropdown-arrow {
    width: 16px;
    height: 16px;
    color: #6b7280;
    transition: transform 0.2s;
}

.user-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    width: 200px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.user-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 12px 16px;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    transition: background-color 0.2s;
    border-bottom: 1px solid #f3f4f6;
}

.dropdown-item.alert::before {
    content: "!";
    display: inline-block;
    background: #f86d6d;
    color: white;
    border-radius: 50%;
    width: 1.2em;
    height: 1.2em;
    line-height: 1.2em;
    text-align: center;
    font-weight: bold;
    margin-right: 6px;
    font-family: Arial, sans-serif;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: #f9fafb;
}

.dropdown-item.danger {
    color: #dc2626;
}

.dropdown-item.danger:hover {
    background-color: #fef2f2;
}

/* Main Content Area */
.main-area {
    z-index: 99999999999999999999999999;
    display: flex;
    flex: 1;
    flex-direction: column;
    flex-wrap: nowrap;
}

/* Sidebar */
.sidebar {
    z-index: 99999999999999999999999999;
    width: 320px;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.sidebar-header {
    min-height: 80px;
    display: flex;
    border-bottom: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    align-items: center;
    justify-content: center;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
}

.claims-section {
    border-right: 1px solid #e5e7eb;
    flex: 1;
    overflow-y: auto;
    padding: 40px 0 0 0;
    max-height: calc(100% - 80px);
    overflow-y: scroll;
}

.claims-section::-webkit-scrollbar {
    width: 8px;
}

.claims-section::-webkit-scrollbar-track {
    background: #ffffff;
}

.claims-section::-webkit-scrollbar-thumb {
    background-color: rgba(100, 100, 100, 0.3);
    border-radius: 4px;
}

.claims-header {
    padding: 0 20px 12px 20px;
    font-size: 22px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.claim-item {
    padding: 12px 20px;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    transition: background-color 0.2s;
    position: relative;
}

.claim-item:hover {
    background-color: #f9fafb;
}

.claim-item.active {
    background-color: #eff6ff;
    border-right: 3px solid #3b82f6;
}

.claim-title {
    font-size: 14px;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 4px;
}

.claim-preview {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.claim-meta {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.claim-status {
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 20px;
    font-weight: 500;
    text-align: center;
}

.claim-danger {
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 20px;
    font-weight: 500;
    text-align: center;
    background-color: #f86d6d;
    color: #ffffff;
}

.claim-status[data-status="Registro Usuario"] {
    background-color: #f3f4f6;
    /* gray-100 */
    color: #4b5563;
    /* gray-600 */
}

.claim-status[data-status="Reclamación en marcha"] {
    background-color: #dbeafe;
    /* blue-100 */
    color: #2563eb;
    /* blue-600 */
}

.claim-status[data-status="Pendiente de Finalizar"] {
    background-color: #fef9c3;
    /* yellow-100 */
    color: #ca8a04;
    /* yellow-600 */
}

.claim-status[data-status="Pendiente de Finalizar"] {
    background-color: #fef3c7;
    /* yellow-100 */
    color: #b45309;
    /* yellow-700 */
}

.claim-status[data-status="Reclamación Pendiente de Validación"] {
    background-color: #fffbeb;
    /* amber-100 */
    color: #92400e;
    /* amber-800 */
}

.claim-status[data-status="Reclamación Pendiente de Validación"] {
    background-color: #fefce8;
    /* amber-100 */
    color: #78350f;
    /* amber-900 */
}

.claim-status[data-status="Reclamación viable"] {
    background-color: #ccfbf1;
    /* teal-100 */
    color: #0d9488;
    /* teal-600 */
}

.claim-status[data-status="Reclamación viable"] {
    background-color: #ccfafe;
    /* cyan-100 */
    color: #0891b2;
    /* cyan-600 */
}

.claim-status[data-status="Falta de confirmación"] {
    background-color: #fee2e2;
    /* red-100 */
    color: #dc2626;
    /* red-600 */
}

.claim-status[data-status="Autorización Firmada"] {
    background-color: #d1fae5;
    /* green-100 */
    color: #047857;
    /* green-700 */
}

.claim-status[data-status="Presentación Papeleta Conciliación"] {
    background-color: #e0e7ff;
    /* indigo-100 */
    color: #4338ca;
    /* indigo-600 */
}

.claim-status[data-status="Admisión y fecha Conciliación"] {
    background-color: #eef2ff;
    /* indigo-100 */
    color: #3730a3;
    /* indigo-700 */
}

.claim-status[data-status="Acuerdo en CEMAC/SMAC"] {
    background-color: #ede9fe;
    /* purple-100 */
    color: #6b21a8;
    /* purple-600 */
}

.claim-status[data-status="Presentación de Demanda"] {
    background-color: #ffedd5;
    /* orange-100 */
    color: #c2410c;
    /* orange-600 */
}

.claim-status[data-status="Admisión y fecha de Juicio"] {
    background-color: #fff7ed;
    /* orange-100 */
    color: #c2410c;
    /* orange-700 */
}

.claim-status[data-status="Acuerdo Judicial"] {
    background-color: #d1fae5;
    /* emerald-100 */
    color: #047857;
    /* emerald-700 */
}

.claim-status[data-status="Sentencia Favorable"] {
    background-color: #d1fae5;
    /* green-100 */
    color: #059669;
    /* green-600 */
}

.claim-status[data-status="Sentencia no Favorable"] {
    background-color: #fee2e2;
    /* red-100 */
    color: #b91c1c;
    /* red-700 */
}

.claim-status[data-status="FINALIZADO"] {
    background-color: #f1f5f9;
    /* slate-100 */
    color: #475569;
    /* slate-600 */
}

/* Main content area */
.main-content {
    flex: 1;
    background-color: #ffffff;
    min-height: calc(100vh - 80px);
}

/* Empty Main Content */
.empty-main-content {
    display: flex;
    gap: 32px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    background-color: #f3f3f3;
    text-align: center;
}

.empty-main-content .empty-main-content-title {
    font-size: 24px;
    font-weight: 500;
    color: #aaaaaa;
    text-align: center;
}

/* Nueva Reclamación */
.main-content_new-claim {
    padding: 30px 50px;
}

.new-claim-container {
    max-width: 800px;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
}

.new-claim-title {
    font-size: 32px;
    margin: 0;
}

/* Indicador de pasos */
.new-claim-steps {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.new-claim-step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f3f4f6;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.new-claim-step.active {
    background-color: #3b82f6;
    color: white;
}

.new-claim-step.completed {
    background-color: #16a34a;
    color: white;
}

/* Estilos generales del formulario */
.new-claim-container #create-expediente-form {
    border: 1px solid #ddd;
    padding: 24px;
    min-width: 100%;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Pasos del formulario */
.new-claim-container #step-1,
.new-claim-container #step-1-5,
.new-claim-container #step-2,
.new-claim-container #step-3 {
    border: none;
    padding: 0;
    align-items: flex-start;
}

.new-claim-container #step-3 {
    gap: 24px;
    padding: 32px;
    border: 1px solid #ddd;
    border-radius: 20px;
    min-width: 100%;
}

.new-claim-container #step-1 h3,
.new-claim-container #step-1-5 h3,
.new-claim-container #step-2 h3,
.new-claim-container #step-3 h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    text-align: start;
}

/* Fieldsets y radio buttons */
.new-claim-container fieldset,
.new-claim-container #step-2 fieldset {
    display: block;
    border: none;
    padding: 0 !important;
    margin: 0;
    width: 100%;
}

.new-claim-container fieldset label {
    display: block;
    padding: 16px 20px;
    margin-bottom: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fafafa;
}

.new-claim-container fieldset label:hover {
    border-color: #2563eb;
    background: #eff6ff;
}

.new-claim-container fieldset label input[type="radio"] {
    margin-right: 12px;
    accent-color: #2563eb;
}

.new-claim-container fieldset label input[type="radio"]:checked+span,
.new-claim-container fieldset label:has(input[type="radio"]:checked) {
    border-color: #2563eb;
    background: #eff6ff;
    color: #2563eb;
    font-weight: 500;
}

/* Contenedor de fecha */
.new-claim-container .step-2-date-container {
    margin: 0;
    width: 100%;
    gap: 24px;
}

.new-claim-container .step-2-date-container input[type="date"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    background: white;
}

.new-claim-container .step-2-date-container input[type="date"]:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.new-claim-container .step-2-date-container p {
    font-size: 14px;
}

.new-claim-container .step-2-motivo-container {
    gap: 12px;
    width: 100%;
}

/* Botones principales */
.new-claim-container #step-1-continuar,
.new-claim-container #step-15-continuar,
.new-claim-container #step-2-continuar,
.new-claim-container .step-3-continuar {
    padding: 16px 24px;
    background-color: #3b82f6;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.new-claim-container #step-1-continuar:hover,
.new-claim-container #step-15-continuar:hover,
.new-claim-container #step-2-continuar:hover,
.new-claim-container .step-3-continuar:hover {
    background-color: #1d4ed8;
}

/* Step 3 específico */
.new-claim-container .step-3-header {
    margin: 0;
    width: 100%;
    align-items: flex-start;
    gap: 24px;
}

.new-claim-container .step-3-header .logup-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 0px;
    line-height: 1.2;
}

.new-claim-container .step-3-header h5 {
    font-size: 16px;
    color: #6b7280;
    font-weight: 400;
    margin: 0;
    text-align: start;
    text-wrap: auto;
}

.new-claim-container #viabilidad-days {
    color: #dc2626;
    font-weight: 600;
}

/* Contenedor de documentos */
.new-claim-container .docs-container {
    margin: 0;
    gap: 24px;
    width: 100%;
    margin: 0;
}

.new-claim-container .docs-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
}

.new-claim-container .doc-btn_user-panel {
    width: 100%;
    padding: 10px 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #475569;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.new-claim-container .doc-btn_user-panel:focus {
    background: #f8fafc;
}

.new-claim-container .doc-btn_user-panel:hover {
    background: #eff6ff;
    border-color: #2563eb;
    color: #2563eb;
}

.doc-btndoc-btn_user-panel.selected {
    background: #eff6ff;
    border-color: #2563eb;
    color: #2563eb;
}

.doc-btn_user-panel.uploaded {
    background-color: #e2e8f0;
    color: white;
    pointer-events: none;
}

.new-claim-container .upload-docs-text {
    text-align: start;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
    .new-claim-container .new-claim-container {
        padding: 16px;
    }

    .new-claim-container .new-claim-title {
        font-size: 24px;
    }

    .new-claim-container .step-1,
    .step-1-5,
    .step-2,
    .step-3 {
        padding: 20px;
    }

    .new-claim-container .docs-buttons-container {
        grid-template-columns: 1fr;
    }

    .new-claim-container .step-3-header .logup-title {
        font-size: 24px;
    }
}

/* Perfil Styles */
.main-content-configuracion {
    padding: 30px 50px;
}

.main-content-configuracion p {
    font-size: 14px;
    color: #6b7280;
}

.profile-nav_mobile {
    flex-direction: row;
	flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 24px;
}

.dropdown-item.mobile-only {
    background-color: #f3f4f6;
    color: black;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.dropdown-item.mobile-only.active {
    background-color: #3b82f6;
    color: white;
}

.dropdown-item.mobile-only.danger {
    color: #dc2626;
}

.main-content-configuracion .user-panel__template-container {
    max-width: 1200px;
    display: grid;
    grid-template:
        "a b"
        "c c" / 1fr 1fr;
    gap: 48px;
}

.user-panel_password-contaier {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.user-panel_password-contaier_header,
.user-panel_user-form-contaier_header,
.user-panel_address-form-contaier_header {
    display: flex;
    gap: 16px;
}

.user-panel_password-contaier_header_text-container,
.user-panel_user-form-contaier_header_text-container,
.user-panel_address-form-contaier_header_text-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.main-content-configuracion .user-panel__template-container svg {
    color: #3b82f6;
}

.main-content-configuracion .user-panel__template-container h6 {
    font-weight: 600;
    font-size: 22px;
    line-height: 22px;
    margin: 0;
}

.user-panel_password-contaier {
    grid-area: a;
}

.user-panel_user-form-contaier {
    grid-area: b;
}

.user-panel__address-form-container {
    grid-area: c;
}

.user-panel_password-contaier,
.user-panel_user-form-contaier,
.user-panel__address-form-container {
    padding: 25px;
    border-radius: 20px;
    border: 1px solid #ddd;
}

.user-panel__password-form,
.user-panel__client-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.main-content-configuracion .user-panel__template-container .user-panel__password-form label,
.main-content-configuracion .user-panel__template-container .user-panel__client-form label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 8px;
}

.user-panel__password-form input[type="password"],
.user-panel__client-form input[type="text"],
.user-panel__client-form input[type="email"] {
    border-radius: 7px;
    border: 1px solid #bbb;
}

.main-content-configuracion .user-panel__password-form input[type="submit"],
.main-content-configuracion .user-panel__client-form input[type="submit"] {
    padding: 10px 20px;
    background-color: #3b82f6;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

/* Ayuda */
.help-center {
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.help-center__card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.help-center__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
}

.help-center__description {
    font-size: 14px;
    color: #6b7280;
}

.help-center__card .help-center__section-title {
    font-size: 22px;
    font-weight: 600;
    margin: 0;
}

.help-center__contact-grid {
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.help-center__contact-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
}

.help-center__contact-info {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.help-center__icon-container {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
}

.help-center__contact-details h4 {
    font-weight: 500;
    margin-bottom: 2px;
    margin-top: 0;
    font-size: 16px;
}

.help-center__contact-details p {
    font-size: 14px;
    color: #6b7280;
}

.icon {
    width: 20px;
    height: 20px;
}

.icon-small {
    width: 16px;
    height: 16px;
    color: #6b7280;
    flex-shrink: 0;
}

.help-center__btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}


.help-center__card .help-center__btn {
    background-color: #f3f4f6;
    color: black;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.help-center__card .help-center__btn:hover {
    background-color: #3b82f6;
    color: white;
}

.help-center__info-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid #f3f4f6;
}

.help-center__info-item:first-child {
    padding-top: 0;
}

.help-center__info-item:last-child {
    border-bottom: none;
}

.help-center__info-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    justify-content: flex-start;
}

.help-center__info-content svg {
    color: #3b82f6;
}

.help-center__info-item h4 {
    font-weight: 500;
    margin-bottom: 2px;
    margin-top: 0;
    line-height: 22px;
    font-size: 16px;
}

.help-center__info-item p {
    font-size: 14px;
    color: #6b7280;
}

@media (max-width: 768px) {

    .help-center__contact-grid {
        grid-template-columns: 1fr;
    }

    .help-center__contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .help-center__contact-info {
        width: 100%;
    }

    .help-center__btn {
        width: 100%;
        justify-content: center;
    }
}

/* Claim Detail Styles */
.claim-detail {
    padding: 30px 50px;
}

.claim-detail-header {
    margin-bottom: 24px;
}

.claim-detail-title {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
}

.tab-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-buttons .tab-button {
    padding: 10px 20px;
    background-color: #f3f4f6;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.tab-buttons .tab-button.danger::before {
    content: "!";
    display: inline-block;
    background: #f86d6d;
    color: white;
    border-radius: 50%;
    width: 1.2em;
    height: 1.2em;
    line-height: 1.2em;
    text-align: center;
    font-weight: bold;
    margin-right: 6px;
    font-family: Arial, sans-serif;
}

.tab-buttons .tab-button:hover {
    background-color: #e5e7eb;
}

.tab-buttons .tab-button.active {
    background-color: #3b82f6;
    color: white;
}

.expediente-banner,
.new-claim-banner {
    display: flex;
    flex-direction: row;
    gap: 16px;
    padding: 15px;
    border: 1px solid #3b82f6;
    border-radius: 20px;
    background-color: #eff6ff;
    width: 100%;
}

.expediente-banner svg,
.new-claim-banner svg {
    color: #3b82f6;
}

.expediente-banner h6,
.new-claim-banner h6 {
    line-height: 22px;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: #1d3989;
}

.expediente-banner p,
.new-claim-banner p {
    color: #1d4ed8;
}

.expediente-banner_text-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.claim-form {
    max-width: 600px;
    display: none;
    font-size: 14px;
}

.claim-form.active {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

#reclamacion-form.claim-form.active,
#empresa-form.claim-form.active,
#documentos-form.claim-form.active,
#hoja_encargo-form.claim-form.active {
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 1200px;
}

@media (max-width: 768px) {

    #reclamacion-form.claim-form.active,
    #empresa-form.claim-form.active {
        flex-direction: column;
        flex-wrap: nowrap;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: calc(50% - 12px);
}

.form-label {
    display: block;
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 6px;
}

.form-value {
    font-size: 16px;
    border-radius: 7px;
    padding: 5px 15px;
    background-color: #f9fafb;
    border: 1px solid hsl(214.3 31.8% 91.4%);
    font-weight: 500;
}

.form-select {
    display: block;
    width: 100%;
    padding: 8px 12px;
    font-size: 16px;
    color: #6b7280;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    margin-top: 4px;
}

.form-checkbox {
    width: 18px;
    height: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    display: inline-block;
    position: relative;
}

.form-currency {
    font-weight: 500;
}

/* Company form specific styles */
.company-form {
    max-width: 800px;
}

.company-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.company-grid-column-1,
.company-grid-column-2 {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Documents form specific styles */
.documents-form {
    max-width: 1000px;
}

.documents-header {
    margin: 0;
}

.documents-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.documents-subtitle {
    font-size: 14px;
    color: #6b7280;
}

.documents-table {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
}

.table-header {
    background-color: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    padding: 16px 24px;
}

.table-header-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 16px;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.table-body {
    border-top: 1px solid #e5e7eb;
    overflow-y: scroll;
    max-height: 400px;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 16px;
    padding: 16px 24px;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.2s;
}

.table-row:hover {
    background-color: #f9fafb;
}

.table-row:last-child {
    border-bottom: none;
}

.document-name {
    display: flex;
    align-items: center;
    gap: 12px;
}

.document-icon {
    width: 20px;
    height: 20px;
    color: #3b82f6;
}

.document-title {
    font-size: 14px;
    font-weight: 500;
    color: #1f2937;
}

.document-type {
    display: inline-flex;
    align-items: center;
    padding: 6px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    background-color: #f3f4f6;
    color: #6b7280;
    width: fit-content;
    height: fit-content;
    line-height: 12px;
}

.document-download {
    display: inline-flex;
    justify-content: center
}

.document-size {
    font-size: 14px;
    color: #6b7280;
}

.document-date {
    font-size: 14px;
    color: #6b7280;
}

.documents-footer {
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
}

.documents-count {
    font-size: 14px;
    line-height: 14px;
    color: #6b7280;
}

.documents-footer .upload-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background-color: #3b82f6;
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.upload-button:hover {
    background-color: #2563eb;
}

.upload-icon {
    width: 16px;
    height: 16px;
}

@media (max-width: 768px) {
    .table-body {
        max-height: 280px;
    }
}

/* Scrollbar styling */
.claims-section::-webkit-scrollbar {
    width: 6px;
}

.claims-section::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.claims-section::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.claims-section::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Reset and base styles */
.user-panel-container {
    display: flex;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Responsive utilities */
.desktop-only {
    display: flex;
}

.mobile-only {
    display: none;
}

/* Mobile styles */
@media (max-width: 1024px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: flex;
    }

    .user-panel-container {
        flex-direction: column;
        min-height: 100vh;
    }

    .main-area {
        flex: 1;
        display: flex;
        flex-direction: column;
        padding-bottom: 80px;
        /* Space for bottom nav */
    }
}

/* Mobile Top Bar */
.mobile-top-bar {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 40;
}

.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.mobile-logo-link {
    display: flex;
    align-items: center;
}

.mobile-logo {
    height: 32px;
    width: 150px;
}

.mobile-user-avatar {
    width: 32px;
    height: 32px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    justify-content: space-between;
    padding: 0.5rem 15px;
    z-index: 50;
    gap: 6px;
}

.mobile-bottom-nav button.mobile-nav-item,
.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 10px 5px;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
    color: #6b7280;
    background-color: transparent;
    min-width: calc(33.33% - 4px);
    justify-content: center;
    gap: 8px;
}

.mobile-bottom-nav button.mobile-nav-item.active,
.mobile-nav-item.active {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.1);
}

.mobile-bottom-nav button.mobile-nav-item:hover,
.mobile-nav-item:hover {
    color: #374151;
    background-color: transparent;
}

.mobile-bottom-nav button.mobile-nav-item.active:hover,
.mobile-nav-item.active:hover {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.1);
}

.mobile-bottom-nav button.mobile-nav-item:focus {
    background-color: transparent;
}

button.mobile-nav-item svg,
.mobile-nav-item svg {
    width: 20px;
    height: 20px;
}

button.mobile-nav-item span,
.mobile-nav-item span {
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 0.75rem;
}

/* Mobile Content Sections */
.main-content-section {
    display: none;
    padding: 1.5rem;
    flex: 1;
}

.main-content-section.active {
    display: block;
}

/* Mobile Claims List */
.mobile-claims-header {
    margin-bottom: 1.5rem;
}

.mobile-claims-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.mobile-claims-header p {
    color: #6b7280;
    font-size: 0.875rem;
}

.mobile-claims-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.no-claims-message {
    padding-top: 128px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 32px;
}

.no-claims-message h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #6b7280;
}

.no-claims-message .iniciar-nueva-reclamacion-btn {
    border-radius: 99px;
    background-color: #3b82f6;
}

.mobile-claim-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-claim-item:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.mobile-claim-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.mobile-claim-header h3 {
    font-weight: 600;
    color: #111827;
    font-size: 1.1rem;
    line-height: 1.25;
    flex: 1;
    margin: 0;
}

.mobile-claim-footer {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.mobile-claim-status {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    text-wrap: auto;
    text-align: end;
}

.mobile-claim-status[data-status="Registro Usuario"] {
    background-color: #f3f4f6;
    /* gray-100 */
    color: #4b5563;
    /* gray-600 */
}

.mobile-claim-status[data-status="Reclamación en marcha"] {
    background-color: #dbeafe;
    /* blue-100 */
    color: #2563eb;
    /* blue-600 */
}

.mobile-claim-status[data-status="Pendiente de Finalizar"] {
    background-color: #fef9c3;
    /* yellow-100 */
    color: #ca8a04;
    /* yellow-600 */
}

.mobile-claim-status[data-status="Pendiente de Finalizar"] {
    background-color: #fef3c7;
    /* yellow-100 */
    color: #b45309;
    /* yellow-700 */
}

.mobile-claim-status[data-status="Reclamación Pendiente de Validación"] {
    background-color: #fffbeb;
    /* amber-100 */
    color: #92400e;
    /* amber-800 */
}

.mobile-claim-status[data-status="Reclamación Pendiente de Validación"] {
    background-color: #fefce8;
    /* amber-100 */
    color: #78350f;
    /* amber-900 */
}

.mobile-claim-status[data-status="Reclamación viable"] {
    background-color: #ccfbf1;
    /* teal-100 */
    color: #0d9488;
    /* teal-600 */
}

.mobile-claim-status[data-status="Reclamación viable"] {
    background-color: #ccfafe;
    /* cyan-100 */
    color: #0891b2;
    /* cyan-600 */
}

.mobile-claim-status[data-status="Falta de confirmación"] {
    background-color: #fee2e2;
    /* red-100 */
    color: #dc2626;
    /* red-600 */
}

.mobile-claim-status[data-status="Autorización Firmada"] {
    background-color: #d1fae5;
    /* green-100 */
    color: #047857;
    /* green-700 */
}

.mobile-claim-status[data-status="Presentación Papeleta Conciliación"] {
    background-color: #e0e7ff;
    /* indigo-100 */
    color: #4338ca;
    /* indigo-600 */
}

.mobile-claim-status[data-status="Admisión y fecha Conciliación"] {
    background-color: #eef2ff;
    /* indigo-100 */
    color: #3730a3;
    /* indigo-700 */
}

.mobile-claim-status[data-status="Acuerdo en CEMAC/SMAC"] {
    background-color: #ede9fe;
    /* purple-100 */
    color: #6b21a8;
    /* purple-600 */
}

.mobile-claim-status[data-status="Presentación de Demanda"] {
    background-color: #ffedd5;
    /* orange-100 */
    color: #c2410c;
    /* orange-600 */
}

.mobile-claim-status[data-status="Admisión y fecha de Juicio"] {
    background-color: #fff7ed;
    /* orange-100 */
    color: #c2410c;
    /* orange-700 */
}

.mobile-claim-status[data-status="Acuerdo Judicial"] {
    background-color: #d1fae5;
    /* emerald-100 */
    color: #047857;
    /* emerald-700 */
}

.mobile-claim-status[data-status="Sentencia Favorable"] {
    background-color: #d1fae5;
    /* green-100 */
    color: #059669;
    /* green-600 */
}

.mobile-claim-status[data-status="Sentencia no Favorable"] {
    background-color: #fee2e2;
    /* red-100 */
    color: #b91c1c;
    /* red-700 */
}

.mobile-claim-status[data-status="FINALIZADO"] {
    background-color: #f1f5f9;
    /* slate-100 */
    color: #475569;
    /* slate-600 */
}

.mobile-claim-danger {
    background-color: #f86d6d;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.mobile-claim-type {
    color: #6b7280;
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
}

.mobile-claim-actions {
    display: flex;
    align-items: center;
    color: #6b7280;
    font-size: 0.75rem;
}

/* Mobile Nueva Reclamación */
.mobile-section-header {
    margin-bottom: 1.5rem;
}

.mobile-section-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.mobile-section-header p {
    color: #6b7280;
    font-size: 0.875rem;
}

.mobile-new-claim-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
}

.mobile-start-claim-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #2563eb;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    width: 100%;
    justify-content: center;
}

.mobile-start-claim-btn:hover {
    background: #1d4ed8;
}

.mobile-claim-info {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
}

.mobile-claim-info h3 {
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
}

.mobile-claim-info p {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
}

.notifications-container {
    flex: 1;
    padding: 16px;
    max-width: 1016px;
    margin: 0 auto;
    width: 100%;
}

.notifications-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.notifications-title-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notifications-title-section svg {
    color: #3b82f6;
}

.notifications-icon {
    color: #3b82f6;
    font-size: 16px;
}

.notifications-title {
    font-size: 32px;
    font-weight: bold;
    color: #111827;
    margin: 0;
}

.unread-count {
    background-color: #3b82f6;
    color: white;
    font-size: 12px;
    font-weight: 500;
    padding: 5px;
    padding-top: 7px;
    border-radius: 99px;
    min-width: 30px;
    min-height: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 12px;
}

.notifications-header button.mark-all-read {
    background-color: transparent;
    border: 1px solid #e5e7eb;
    color: #111827;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.notifications-header button.mark-all-read:hover {
    background-color: #f5f5f5;
}

/* Notifications list */
.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.notification-card {
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.2s;
}

.notification-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.notification-card.unread {
    border-left: 4px solid #3b82f6;
    background-color: #eff6ff;
}

.notification-content {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.notification-main {
    display: flex;
    gap: 12px;
    flex: 1;
}

.notification-icon::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
}

.notification-icon.info::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%233b82f6" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><path d="M12 16v-4"></path><path d="M12 8h.01"></path></svg>');
    color: #3b82f6;
}

.notification-icon.success::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2310b981" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21.801 10A10 10 0 1 1 17 3.335"></path><path d="m9 11 3 3L22 4"></path></svg>');
    color: #10b981;
}

.notification-icon.warning::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23f59e0b" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3"></path><path d="M12 9v4"></path><path d="M12 17h.01"></path></svg>');
    color: #f59e0b;
}

.notification-icon.error::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23ef4444" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3"></path><path d="M12 9v4"></path><path d="M12 17h.01"></path></svg>');
    color: #ef4444;
}

.notification-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.notification-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}

.notification-header .notification-title {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    margin: 0;
    font-weight: 500;
}

.notification-card.unread .notification-title {
    color: #111827;
}

.notification-card:not(.unread) .notification-title {
    color: #374151;
}

.unread-indicator {
    width: 8px;
    height: 8px;
    background-color: #3b82f6;
    border-radius: 50%;
}

.notification-message {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 8px;
}

.notification-footer {
    display: flex;
    align-items: center;
    gap: 16px;
}

.notification-card .notification-content .mark-read {
    color: #3b82f6;
    padding: 5px;
    font-size: 12px;
    cursor: pointer;
    background: transparent;
    border: none;
    transition: all 0.3s;
}

.notification-time {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #9ca3af;
}

.notification-time i {
    font-size: 12px;
}

.close-notification {
    margin-left: 8px;
}

@media (max-width: 768px) {
    .notifications-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .notifications-container {
        padding: 0;
    }
}

/* Focus states para accesibilidad */
.btn:focus,
button:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Estados hover mejorados */
.notification-card:hover .close-notification {
    opacity: 1;
}

.notification-card .notification-content .close-notification {
    opacity: 0.7;
    transition: opacity 0.2s;
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #6b7280;
    height: 24px;
    width: 24px;
}

/* Desktop styles remain unchanged */
@media (min-width: 1025px) {
    .main-content-section {
        display: none;
    }

    /* Keep existing desktop styles for sidebar, main-area, etc. */
    .sidebar {
        width: 320px;
        background-color: #ffffff;
        display: flex;
        flex-direction: column;
        max-height: 100vh;
        position: fixed;
        left: 0;
        top: 0;
    }

    .main-area {
        display: flex;
        flex: 1;
        flex-direction: column;
        flex-wrap: nowrap;
        margin-left: 320px;
    }

    /* Top Bar */
    .top-bar {
        height: 80px;
        background-color: #ffffff;
        border-bottom: 1px solid #e5e7eb;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding: 0 24px;
        position: relative;
        z-index: 10;
        justify-content: space-between;
        padding-left: 50px;
    }

    .main-content {
        flex: 1;
        background-color: #ffffff;
        min-height: calc(100vh - 80px);
    }
}

/* Claims section always visible on desktop, responsive on mobile */
@media (min-width: 1025px) {
    .mobile-reclamaciones {
        display: none !important;
    }
}

/* Hide original desktop sections on mobile when using mobile nav */
@media (max-width: 1024px) {
    .main-content>div:not(.main-content-section):not(.mobile-bottom-nav) {
        display: none;
        padding: 2rem 1rem;
    }

    .main-content-section[data-id="reclamaciones"] {
        display: block;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .mobile-only {
        display: flex;
    }

    .sidebar {
        display: none;
    }

    .top-bar {
        display: none;
    }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .main-area {
        padding-bottom: 80px;
        /* Space for bottom nav */
    }

    .main-content {
        padding: 0;
        min-height: calc(100vh - 160px);
        /* Account for top and bottom bars */
    }

    .empty-main-content {
        display: none;
    }

    .main-content-configuracion {
        display: none;
    }

    .claim-detail {
        display: none;
    }

    .mobile-reclamaciones {
        display: block;
    }

    .main-content-configuracion .user-panel__template-container {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    form.user-panel__password-form {
        margin-bottom: 32px;
    }
}

/* Document preview */
.he-document-preview {
    background-color: #f9fafb;
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 16px;
    max-height: 256px;
    overflow-y: auto;
    border: 1px solid #e5e7eb;
}

.he-document-title {
    font-weight: 600;
    margin-bottom: 12px;
    color: #111827;
    font-size: 18px;
}

.he-document-content {
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
}

.he-document-content p {
    margin-bottom: 12px;
}

.he-document-content strong {
    font-weight: 600;
}

.he-document-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 12px;
}

/* Signature canvas */
.he-signature-container {
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    background-color: white;
    margin-bottom: 16px;
}

.he-signature-canvas {
    display: block;
    margin: 0 auto;
    cursor: crosshair;
}

.he-signature-hint {
    text-align: center;
    padding: 8px;
    font-size: 14px;
    color: #6b7280;
}

/* Button group */
.he-button-group {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

/* Success message */
.he-success-message {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 16px;
}

.he-success-content {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.he-success-title {
    color: #166534;
    font-weight: 500;
    margin-bottom: 4px;
}

.he-success-description {
    font-size: 14px;
    color: #15803d;
}

/* Tarjetas */
.he-card {
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.he-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 4px 0;
}

.he-card-description {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* Botones */
.he-button-group button.he-btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.he-button-group button.he-btn:focus {
    background: none;
    outline: none;
}

.he-button-group button.he-btn-primary:focus {
    background-color: #2563eb;
}

.he-button-group button.he-btn-primary {
    background-color: #3b82f6;
    color: white;
}

.he-button-group button.he-btn-primary:hover {
    background-color: #2563eb;
}

.he-button-group button.he-btn-outline {
    background-color: transparent;
    border: 1px solid #d1d5db;
    color: #374151;
}

.he-button-group button.he-btn-outline:hover {
    background-color: #f9fafb;
}

.he-button-group button.he-btn-success {
    background-color: transparent;
    color: #10b981;
    border: 1px solid #10b981;
}

.he-button-group button.he-btn-success:hover {
    background-color: rgb(240 253 244);
}

.he-button-group button.he-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Iconos */
.he-icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
}

.he-icon-file {
    color: #3b82f6;
}

.he-icon-pen {
    color: #ffffff;
}

.he-icon-download {
    color: #10b981;
}

.he-icon-check {
    color: #10b981;
}

.hidden,
.he-button-group button.he-btn-success.hidden,
.he-button-group button.he-btn-primary.hidden,
.he-button-group button#clearBtn.hidden {
    display: none;
}

.fade {
    transition: opacity 0.3s ease;
}

.fade.hidden {
    opacity: 0;
}

.fade.visible {
    display: block;
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .he-button-group {
        flex-direction: column;
    }
}