/* ESTILOS GLOBALES */







* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}







html,
body,
#root {
    height: 100%;
}







body {







    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;







    min-height: 100vh;







    background: url('https://api.jdos.online/storage/v1/object/public/DATA/fondo.png') center/cover no-repeat fixed;







    display: block;























    position: relative;







    overflow-x: hidden;







    overflow-y: auto;






    padding: 2rem 0;







}







body::before {







    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;







    background:







        radial-gradient(circle at 30% 70%, rgba(139, 195, 74, 0.1) 0%, transparent 50%),







        radial-gradient(circle at 80% 20%, rgba(76, 175, 80, 0.08) 0%, transparent 50%),







        linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(139, 195, 74, 0.05) 60%, rgba(0, 0, 0, 0.3) 100%);







    z-index: -1;







}







.main-view-container {
    width: 100%;
    min-height: 100%;
    overflow-y: auto;
    padding: 1.25rem 0.75rem 2rem;
    margin: 0 auto;
}







.module-inner {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 0 1.35rem 2.5rem;
    box-sizing: border-box;
}















/* ESTILOS DE LOGIN */







.login-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 0 20px;
    perspective: 1000px;
    animation: slideInScale 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}







.login-container {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(35px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    padding: 4rem 3.5rem;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.25), 0 16px 32px rgba(139, 195, 74, 0.1);
}







.login-container::before {







    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;







    background: linear-gradient(90deg, transparent, rgba(139, 195, 74, 0.4) 20%, rgba(255, 255, 255, 0.2) 50%, rgba(139, 195, 74, 0.4) 80%, transparent);







}







.brand-section {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}







.brand-logo {







    font-size: 2.8rem;
    font-weight: 900;







    background: linear-gradient(135deg, rgba(139, 195, 74, 1) 0%, rgba(255, 255, 255, 0.9) 50%, rgba(139, 195, 74, 1) 100%);







    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;







    letter-spacing: 4px;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 30px rgba(139, 195, 74, 0.3);







}







.brand-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}







.login-title {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    letter-spacing: 1px;
    position: relative;
}







.login-title::after {







    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;







    background: linear-gradient(90deg, transparent, rgba(139, 195, 74, 0.6), transparent);







}







.form-group {
    margin-bottom: 2.5rem;
    position: relative;
}







.form-label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}







.form-input {







    width: 100%;
    padding: 1.4rem 2rem;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;







    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.95);







    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    backdrop-filter: blur(15px);
    font-weight: 300;







}







.form-input:focus {







    border-color: rgba(139, 195, 74, 0.8);
    background: rgba(255, 255, 255, 0.08);







    box-shadow: 0 0 0 4px rgba(139, 195, 74, 0.1), 0 12px 35px rgba(139, 195, 74, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);







    transform: translateY(-3px);







}







.form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
}







.login-btn {







    width: 100%;
    background: linear-gradient(135deg, rgba(139, 195, 74, 0.9) 0%, rgba(104, 159, 56, 1) 50%, rgba(76, 175, 80, 0.95) 100%);







    color: white;
    border: none;
    padding: 1.6rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 20px;







    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 1rem;







    box-shadow: 0 12px 35px rgba(139, 195, 74, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);







    position: relative;
    overflow: hidden;







}







.login-btn:hover {







    background: linear-gradient(135deg, rgba(139, 195, 74, 1) 0%, rgba(104, 159, 56, 1) 50%, rgba(76, 175, 80, 1) 100%);







    transform: translateY(-4px);







    box-shadow: 0 20px 45px rgba(139, 195, 74, 0.4), 0 8px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);







}







.error-message {
    padding: 1rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 500;
    backdrop-filter: blur(15px);
    border: 1px solid;
    background: rgba(244, 67, 54, 0.1);
    border-color: rgba(244, 67, 54, 0.3);
    color: rgba(255, 255, 255, 0.95);
}















/* ESTILOS DE MENA PRINCIPAL */







.dashboard-wrapper {
    width: 100%;
    min-height: 100vh;
    padding: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}







.dashboard-container {
    position: relative;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: clamp(1.5rem, 2vw, 2.5rem);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    width: min(100%, 1100px);
    margin: 0 auto 2rem;
}







.dashboard-header {
    width: 100%;
    max-width: 920px;
    margin: 0 auto 2.25rem;
    text-align: left;
}







.dashboard-title {
    font-size: 2.8rem;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    letter-spacing: 3px;
}







.logout-btn {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    border: none;
    padding: 0.45rem 0.95rem;
    border-radius: 22px;
    cursor: pointer;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    z-index: 2;
}







.logout-btn:hover {
    background: linear-gradient(135deg, #c82333, #a71e2a);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
}







.process-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 3rem;
    flex-wrap: wrap;
}







.process-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}







.process-card:hover {
    transform: translateY(-5px);
}







.process-icon-container {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 4px solid #2E8B57;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}







.process-card:hover .process-icon-container {
    border-color: #8BC34A;
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(139, 195, 74, 0.3);
}







.process-img {
    width: 65%;
    height: 65%;
    object-fit: contain;
}







.process-label {
    font-size: 1.4rem;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}















/* ESTILOS PARA FORMULARIOS Y TABLAS (NUEVOS) */







.header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(209, 213, 219, 0.8);
    border-radius: 18px;
    padding: 1.25rem 1.6rem;
    margin: 0 auto 2rem auto;
    width: 100%;
    max-width: 920px;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    box-sizing: border-box;
}







.header h1 {
    color: #1f2937;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
}







.form-container {
    background: #ffffff;
    border: 1px solid rgba(209, 213, 219, 0.7);
    border-radius: 20px;
    padding: 1.85rem 2.25rem;
    margin: 0 auto 2rem auto;
    width: 100%;
    max-width: 920px;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
    box-sizing: border-box;
}







.form-title {
    color: #111827;
    font-size: 1.65rem;
    font-weight: 700;
    margin-bottom: 1.75rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}







.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.7rem 0.8rem;
    margin-bottom: 0.75rem;
    width: 100%;
}







.form-group-light {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-width: 0;
}







.form-label-new {
    display: block;
    font-weight: 600;
    color: #1f2937;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}







.form-input-new,
.form-select-new,
.form-textarea-new {
    width: 100%;
    min-width: 0;
    padding: 0.9rem 1.05rem;
    border: 1.5px solid rgba(148, 163, 184, 0.7);
    border-radius: 14px;
    font-size: 0.95rem;
    background: #fefefe;
    color: #0f172a;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.08);
}







.form-input-new:focus,
.form-select-new:focus,
.form-textarea-new:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}







.form-input-new::placeholder,
.form-textarea-new::placeholder {
    color: rgba(107, 114, 128, 0.8);
}







.form-select-new {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, rgba(37, 99, 235, 0.8) 50%), linear-gradient(135deg, rgba(37, 99, 235, 0.8) 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 4px), calc(100% - 13px) calc(50% - 4px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    font-weight: 600;
}





.form-select-new option {
    font-weight: 600;
    color: #0f172a;
    background: #ffffff;
}







.wide-field {
    grid-column: 1 / -1;
}







.form-textarea-new {
    min-height: 120px;
    resize: vertical;
}







.form-file-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.95rem;
    border-radius: 12px;
    background: #f3f4f6;
    color: #1f2937;
    border: 1px dashed #d1d5db;
}







.file-input-new {
    display: none;
}







.file-label-new {
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    color: #111827;
}







.file-info {
    font-size: 0.75rem;
    color: rgba(55, 65, 81, 0.85);
}







.button-group {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}







.btn {
    padding: 0.85rem 1.6rem;
    border: none;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-width: 140px;
}







.btn-save {
    background: linear-gradient(135deg, #22c55e, #15803d);
    color: white;
}







.btn-save:hover {
    background: linear-gradient(135deg, #16a34a, #166534);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(34, 197, 94, 0.35);
}







.btn-secondary {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
}







.btn-secondary:hover {
    background: linear-gradient(135deg, #4b5563, #374151);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(75, 85, 99, 0.3);
}







.btn-back-form {
    position: static;
    background: transparent linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
    padding: 0.65rem 1.3rem;
    font-size: 0.85rem;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(55, 65, 81, 0.25);
}







.btn-back-form:hover {
    transform: translateY(-1px);
}







.table-container {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.15rem 1.4rem;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
    margin: 0 auto;
    width: 100%;
    max-width: 920px;
    border: 1px solid rgba(209, 213, 219, 0.7);
    box-sizing: border-box;
}







.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0 0.25rem;
    gap: 1rem;
    flex-wrap: wrap;
}







.table-title {
    color: #1f2937;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}







.reports-table-wrapper {
    width: 100%;
    overflow-x: auto;
    max-height: 420px;
    overflow-y: auto;
}







.reports-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 0;
    table-layout: auto;
}







.reports-table thead {
    position: sticky;
    top: 0;
    z-index: 10;
}







.reports-table th {
    background-color: #f3f4f6;
    color: #374151;
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.55px;
    border-bottom: 2px solid #e5e7eb;
}







.reports-table td {
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid #e5e7eb;
    color: #1f2937;
    font-size: 0.88rem;
    line-height: 1.45;
}



.reports-table td span:first-child {
    display: none;
    color: #475569;
    font-weight: 600;
}



.reports-table td span:last-child {
    display: inline-block;
}



.reports-table td:first-child {
    font-weight: 600;
    color: #0f172a;
}



.reports-table td:nth-child(2) {
    font-weight: 600;
    color: #1d4ed8;
}



.reports-table td.table-actions div {
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: nowrap;
}



.reports-table th:last-child,
.reports-table td.table-actions {
    width: 170px;
    min-width: 170px;
    text-align: center;
}







.reports-table tr:hover {
    background-color: #f9fafb;
}







.priority-badge {
    display: inline-flex;
    padding: 0.28rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 9999px;
    border: 1px solid;
    align-items: center;
    gap: 0.25rem;
}







.priority-URGENTE {
    background-color: #fee2e2;
    color: #b91c1c;
    border-color: #fecaca;
}







.priority-ALTA {
    background-color: #ffedd5;
    color: #c2410c;
    border-color: #fed7aa;
}







.priority-BAJA {
    background-color: #dcfce7;
    color: #166534;
    border-color: #bbf7d0;
}







@media (max-width: 1200px) {



    .form-container {
        padding: 1.75rem 2rem;
    }



    .form-grid {
        grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    }



}







@media (max-width: 960px) {



    .header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }



    .btn-back-form {
        align-self: center;
    }



    .form-container {
        padding: 1.6rem;
        border-radius: 18px;
    }



    .form-title {
        font-size: 1.5rem;
    }



    .table-container {
        padding: 1.1rem 1.25rem;
    }



}



@media (max-width: 900px) {



    .module-inner {
        max-width: 640px;
        padding: 0 1rem 2.25rem;
    }



    .header,
    .form-container,
    .table-container {
        max-width: 100%;
        padding: 1.2rem;
    }



}







@media (max-width: 720px) {



    body {
        align-items: flex-start;
        padding: 0.8rem 0;
    }



    .main-view-container {
        padding: 0.75rem 0.4rem 1.7rem;
    }



    .module-inner {
        max-width: 100%;
        padding: 0 0.8rem 1.9rem;
    }



    .dashboard-wrapper {
        align-items: flex-start;
        padding: 1rem 0.5rem 1.9rem;
    }



    .dashboard-container {
        padding: 1.25rem 0.95rem;
    }



    .process-grid {
        flex-direction: column;
        align-items: center;
        gap: 1.3rem;
    }



    .process-card {
        width: 100%;
        max-width: 200px;
    }



    .process-icon-container {
        width: 92px;
        height: 92px;
    }



    .process-label {
        font-size: 1.04rem;
    }



    .header {
        padding: 0.85rem;
    }



    .header h1 {
        font-size: 1.38rem;
    }



    .form-container {
        padding: 0.95rem;
    }



    .form-grid {
        grid-template-columns: 1fr;
        gap: 0.78rem;
    }



    .button-group {
        justify-content: center;
    }



    .logout-btn {
        position: static;
        align-self: center;
        margin-bottom: 0.9rem;
        padding: 0.6rem 1.25rem;
        font-size: 0.72rem;
    }



    .dashboard-header {
        margin-top: 0.25rem;
    }



    .dashboard-container {
        padding-top: 1.4rem;
    }



}











@media (max-width: 900px) {

    .reports-table thead {
        display: none;
    }

    .reports-table .desktop-only {
        display: none;
    }

    .reports-table .mobile-only {
        display: table-row;
    }

    .reports-card-row td {
        padding: 0;
        border: none;
        background: transparent;
    }

    .reports-table {
        border-collapse: separate;
        width: 100%;
    }
}







.mobile-card-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    z-index: 999;
}



.mobile-card-modal.active {
    display: flex;
}



.mobile-card-content {
    width: 100%;
    max-width: 24rem;
    max-height: 88vh;
    overflow-y: auto;
    background: transparent;
    display: block;
}



.mobile-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 22px;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.25);
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.2);
    display: flex;
    flex-direction: column;
}



.mobile-card__header {
    background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
    padding: 1.4rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}



.mobile-card__title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: nowrap;
}



.mobile-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    text-shadow: 0 6px 16px rgba(15, 23, 42, 0.45);
}



.mobile-card__subtitle {
    font-size: 0.85rem;
    color: rgba(226, 232, 240, 0.9);
    margin-bottom: 0.3rem;
}

.mobile-card__title-main {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin: 0;
    color: #fff;
    text-transform: uppercase;
}

.mobile-card__header-meta {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: rgba(235, 245, 255, 0.9);
}

.mobile-card__text-box {
    background: #0f172a;
    color: #f8fafc;
    border-radius: 16px;
    padding: 1rem;
    line-height: 1.5;
    box-shadow: 0 15px 45px rgba(15, 23, 42, 0.35);
}



.mobile-card__header-side {
    flex: 1 1 45%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}



.mobile-card__header-side--right {
    align-items: flex-end;
    text-align: right;
}



.mobile-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: rgba(226, 232, 240, 0.8);
}



.mobile-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.45rem 1.15rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    align-self: flex-start;
    margin-left: auto;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.28);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.mobile-card__badge--priority {
    margin-left: 0;
    padding: 0.35rem 0.95rem;
    border: none;
    background: rgba(15, 23, 42, 0.35);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.35);
    letter-spacing: 0.25em;
}



.mobile-card__body {
    padding: 1.3rem 1.4rem 1.6rem;
    display: grid;
    gap: 1.1rem;
}



.mobile-card__fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.9rem 1.2rem;
}



.mobile-card__row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.65rem 0.75rem;
    background: #f1f5f9;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}



.mobile-card__label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #475569;
    letter-spacing: 0.45px;
    text-transform: uppercase;
}



.mobile-card__value {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: #0f172a;
    word-break: break-word;
}



.mobile-card__photo {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.25);
}



.mobile-card__photo img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}



.mobile-card__photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;
    background: #e2e8f0;
    color: #475569;
    font-weight: 600;
    flex-direction: column;
    gap: 0.35rem;
}



.mobile-card__description {
    background: #0f172a;
    color: #f8fafc;
    padding: 1rem 1.1rem;
    border-radius: 16px;
    font-size: 0.88rem;
    line-height: 1.5;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.35);
}



.mobile-card__footer {
    padding: 0 1.4rem 1.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: #475569;
}



.mobile-card-close {
    border: none;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: white;
    padding: 0.55rem 1.4rem;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    align-self: center;
    margin-top: 1rem;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.35);
    letter-spacing: 0.5px;
}



.mobile-card__badge--baja {
    background: linear-gradient(135deg, rgba(187, 247, 208, 0.95), rgba(34, 197, 94, 0.95));
    border: none;
    color: #064e3b;
}



.mobile-card__badge--alta {
    background: linear-gradient(135deg, rgba(254, 215, 170, 0.95), rgba(249, 115, 22, 0.95));
    border: none;
    color: #7f1d1d;
}



.mobile-card__badge--urgente {
    background: linear-gradient(135deg, rgba(254, 202, 202, 0.95), rgba(239, 68, 68, 0.95));
    border: none;
    color: #7f1d1d;
}



@media (min-width: 641px) {
    .mobile-card-modal {
        display: none !important;
    }
}



@media (max-width: 560px) {



    .main-view-container {
        padding: 0.65rem 0.35rem 1.45rem;
    }



    .module-inner {
        padding: 0 0.55rem 1.7rem;
    }



    .dashboard-container {
        padding: 1.05rem 0.75rem;
    }



    .process-icon-container {
        width: 82px;
        height: 82px;
    }



    .process-label {
        font-size: 1rem;
    }



    .form-container {
        padding: 0.85rem;
        border-radius: 16px;
    }



    .form-title {
        font-size: 1.16rem;
    }



    .form-grid {
        grid-template-columns: 1fr;
        gap: 0.68rem;
    }



    .button-group {
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
    }



    .btn {
        width: 100%;
    }



}







/* OTROS ESTILOS Y ANIMACIONES */







.loader {
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: #8BC34A;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}







@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}







@keyframes slideInScale {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}







@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


@media (max-width: 640px) {
    .dashboard-container {
        padding-top: 1rem;
    }

    .dashboard-container .logout-btn {
        position: static;
        margin: 0 auto 1.25rem;
        display: inline-flex;
    }

    .dashboard-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        margin-top: 0;
    }
}


@media (max-width: 640px) {
    .dashboard-container {
        padding-top: 1.75rem;
    }

    .logout-btn {
        position: static;
        margin: 0 auto 1rem;
        display: inline-flex;
    }

    .dashboard-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        margin-top: 0;
    }
}

.photo-section {
    margin-top: 20px;
}

.photo-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 10px;
}

.photo-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 25px 20px;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.photo-btn:hover {
    border-color: #2a5298;
    background: #e0e7ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(42, 82, 152, 0.15);
}

.photo-btn img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.photo-btn span {
    font-size: 15px;
    font-weight: 600;
    color: #334155;
}

.photo-section input[type="file"] {
    display: none;
}

.photo-preview {
    margin-top: 15px;
    display: none;
}

.photo-preview.active {
    display: block;
}

.photo-preview img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* --- Componentes reactivados para la app conectada a Supabase --- */
.dashboard-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.dashboard-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0.75rem auto 0 auto;
}

.login-tagline {
    margin-top: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.8rem 1.4rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.login-tagline__pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 18px rgba(34, 197, 94, 0.9);
}

.login-tagline__text {
    margin: 0;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
}

.login-screen {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.login-screen__bg,
.login-screen__overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
}

.login-screen__bg {
    background: url('https://gysfiokdjofltzdgtgmu.supabase.co/storage/v1/object/public/DATA/FONDO.png') center/cover no-repeat;
    filter: brightness(0.65);
}

.login-screen__overlay {
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.85) 0%, rgba(139, 195, 74, 0.15) 50%, rgba(10, 14, 39, 0.85) 100%);
}

.login-shell {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
}

.login-grid {
    width: min(1200px, 95%);
    backdrop-filter: blur(25px);
    border-radius: 28px;
    padding: clamp(1.5rem, 2vw, 2.5rem);
    display: grid;
    grid-template-columns: minmax(280px, 3fr) minmax(280px, 2fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    background: rgba(5, 8, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transform: scale(0.85);
    transform-origin: center top;
}

.login-hero {
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.login-hero__brand {
    display: inline-flex;
    font-weight: 700;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #8bc34a, #cddc39);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-hero__title {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
    background: linear-gradient(135deg, #fff, #a5d76b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-hero__description {
    margin: 0;
    max-width: 480px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
}

.login-hero__features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.login-feature {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}

.login-feature__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #8bc34a, #cddc39);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.login-feature__title {
    margin: 0;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
}

.login-feature__desc {
    margin: 0.15rem 0 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.login-card__section {
    display: flex;
    justify-content: flex-end;
    padding-right: clamp(0.5rem, 3vw, 2rem);
}

.login-card {
    width: min(520px, 100%);
    background: rgba(23, 25, 38, 0.95);
    border-radius: 24px;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.login-card__header h2 {
    color: #f8fafc;
}

.login-card__header p {
    color: #9aa4c2;
}

.login-card__status {
    background: rgba(76, 175, 80, 0.15);
    color: #a4f79b;
}

.login-card__status {
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.login-card__header h2 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
}

.login-card__header p {
    margin: 0.4rem 0 0;
    color: #666;
}

.login-card__status {
    margin-top: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: #e7f6eb;
    color: #2e7d32;
    font-size: 0.85rem;
    font-weight: 600;
}

.login-card__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2e7d32;
    animation: pulse 2s infinite;
}

.login-form {
    margin-top: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.login-form__group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #f1f5f9;
}

.login-form__group input {
    width: 100%;
    padding: 0.95rem 1.1rem;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(15, 18, 35, 0.9);
    color: #f8fafc;
    font-size: 1rem;
}

.login-form__group input:focus {
    outline: none;
    border-color: #8bc34a;
    box-shadow: 0 0 0 3px rgba(139, 195, 74, 0.12);
}

.login-form__options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #6b7280;
}

.login-form__remember {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
}

.login-form__link {
    color: #4dab53;
    text-decoration: none;
    font-weight: 600;
}

.login-form__submit {
    margin-top: 0.5rem;
    padding: 0.95rem;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #8bc34a 0%, #5fa02c 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(98, 168, 45, 0.4);
}

.login-form__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.login-form__divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #94a3b8;
    font-size: 0.85rem;
}

.login-form__divider span {
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.login-form__help {
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

.login-form__help a {
    color: #9de95f;
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 768px) {
    .login-hero {
        display: none;
    }

    .login-grid {
        grid-template-columns: 1fr;
        width: min(95%, 100%);
        transform: none;
    }
}

.sync-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(15, 23, 42, 0.35);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    color: #f3f4f6;
    font-size: 0.85rem;
    margin-top: 1rem;
}

.sync-indicator .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
}

.dot--ok {
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.45);
}

.dot--loading {
    background: #facc15;
    box-shadow: 0 0 8px rgba(250, 204, 21, 0.45);
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(0.9);
        opacity: 0.7;
    }
}

.loader-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    padding: 2rem;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.35);
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.loader-card .loader-spinner {
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: #22c55e;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

.summary-panel {
    background: rgba(15, 23, 42, 0.7);
    border-radius: 18px;
    padding: 1.5rem;
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 1.5rem;
}

.summary-panel__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.summary-panel__header h2 {
    margin: 0;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.summary-panel__sync {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.summary-panel__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.85rem;
}

.summary-panel__list li {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.summary-panel__label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.65);
}

.summary-panel__empty {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 1.3rem;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.35);
    color: #0f172a;
    min-width: 280px;
    z-index: 50;
}

.toast--success {
    background: #bbf7d0;
}

.toast--error {
    background: #fecdd3;
}

.toast--warning {
    background: #fde68a;
}

.toast__title {
    margin: 0;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.toast__close {
    background: transparent;
    border: none;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    color: inherit;
}

@media (max-width: 640px) {
    .toast {
        right: 16px;
        left: 16px;
        bottom: 16px;
    }

    .summary-panel__list {
        grid-template-columns: 1fr;
    }
}

.button-group--right {
    justify-content: flex-end;
}

.photo-inputs {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.photo-button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #d7deff;
    background: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    padding: 0;
    flex: 0 0 auto;
}

.photo-button img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.photo-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(24, 58, 255, 0.15);
}

.reports-table-section {
    margin-top: 2.5rem;
    background: rgba(255, 255, 255, 0.28);
    border-radius: 1.75rem;
    padding: 1.75rem;
    box-shadow: 0 25px 65px rgba(15, 23, 42, 0.15);
    width: 100%;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.reports-table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #1d4ed8, #3b82f6);
    padding: 1rem 1.5rem;
    border-radius: 1.2rem;
    color: #fff;
}

.reports-table-header h2 {
    margin: 0;
    font-size: 1.25rem;
    color: #fff;
}

.table-status {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.reports-table-title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.reports-table-icon {
    font-size: 1.45rem;
}

.reports-empty {
    margin: 0;
    padding: 1rem 0;
    color: #475569;
}

.table-wrapper {
    overflow-x: auto;
}

.reports-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1.2rem;
    overflow: hidden;
    table-layout: fixed;
}

.reports-table th {
    text-align: left;
    padding: 0.65rem 0.75rem;
    font-weight: 600;
    color: #111827;
    border-bottom: 2px solid rgba(15, 23, 42, 0.08);
    background: #eef2ff;
    letter-spacing: 0.05em;
    font-size: 0.8rem;
}

.reports-table td {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    color: #0f172a;
    word-break: break-word;
}

.reports-table tbody tr:nth-child(even) {
    background: rgba(15, 23, 42, 0.02);
}

.report-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.report-card {
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.report-card__header {
    background: linear-gradient(135deg, #1e3a5f 0%, #238159 100%);
    padding: 1.4rem 1.6rem;
    color: #fff;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
}

.report-card__head-main {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    max-width: 70%;
}

.report-card__date {
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.85;
}

.report-card__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.report-card__subtitle {
    margin: 0;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.9);
}

.report-card__subtitle span {
    margin-left: 0.25rem;
    font-weight: 700;
    color: #fff;
}

.report-card__badge {
    align-self: flex-start;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    background: rgba(15, 23, 42, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25);
}

.report-card__badge--urgent {
    background: #fee2e2;
    color: #991b1b;
    border-color: transparent;
}

.report-card__badge--high {
    background: #fef3c7;
    color: #92400e;
    border-color: transparent;
}

.report-card__badge--medium {
    background: #dbeafe;
    color: #1d4ed8;
    border-color: transparent;
}

.report-card__badge--low {
    background: #d1fae5;
    color: #047857;
    border-color: transparent;
}

.report-card__badge--muted {
    background: rgba(15, 23, 42, 0.35);
    color: rgba(255, 255, 255, 0.85);
}

.report-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.9rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.4rem;
}

.report-card__header-actions {
    display: none;
    gap: 0.4rem;
    margin-left: auto;
}

.report-card__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: #f8fafc;
}

.report-card__photo {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    min-height: 180px;
    background: #e2e8f0;
}

.report-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.report-card__photo-placeholder {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #475569;
}

.report-card__photo-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.4rem;
}

.report-card__icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    color: #fff;
}

.report-card__icon-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.report-card__icon-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.2);
}

.report-card__icon-btn--edit {
    background: #2563eb;
}

.report-card__icon-btn--view {
    background: #9333ea;
}

.report-card__icon-btn--delete {
    background: #dc2626;
}

@media (max-width: 640px) {
    .report-card__header {
        flex-direction: column;
    }

    .report-card__head-main {
        max-width: 100%;
    }

    .report-card__actions {
        flex-direction: column;
    }
}

@media (min-width: 1024px) {
    .report-card__photo {
        display: none;
    }

    .report-card__photo-actions {
        display: none;
    }

    .report-card__header-actions {
        display: flex;
    }

    .report-card__body {
        padding: 1.2rem 1.6rem;
    }
}

.reports-actions {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    align-items: center;
}

.report-icon-btn {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    font-size: 18px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.report-icon-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.report-icon-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.15);
}

.report-icon-btn--edit {
    background: #dbeafe;
    color: #1e40af;
}

.report-icon-btn--edit:hover:not(:disabled) {
    background: #3b82f6;
    color: #fff;
}

.report-icon-btn--view {
    background: #f3e8ff;
    color: #6b21a8;
}

.report-icon-btn--view:hover:not(:disabled) {
    background: #9333ea;
    color: #fff;
}

.report-icon-btn--delete {
    background: #fee2e2;
    color: #991b1b;
}

.report-icon-btn--delete:hover:not(:disabled) {
    background: #ef4444;
    color: #fff;
}

.reports-table .desktop-only {
    display: table-row;
}

.reports-table .mobile-only {
    display: none;
}

.report-icon-svg {
    width: 18px;
    height: 18px;
}

.report-icon-loading {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-top-color: currentColor;
    border-radius: 50%;
    animation: report-spin 0.8s linear infinite;
}

.cell-link {
    color: #2563eb;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    display: inline-flex;
    flex-direction: column;
}

.cell-strong {
    font-weight: 700;
    text-transform: uppercase;
    color: #0f172a;
    letter-spacing: 0.04em;
}

.priority-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background: #e2e8f0;
    color: #1f2937;
}

.priority-badge--urgent {
    background: #fee2e2;
    color: #b91c1c;
}

.priority-badge--warning {
    background: #fef3c7;
    color: #92400e;
}

.priority-badge--info {
    background: #dbeafe;
    color: #1d4ed8;
}

.priority-badge--muted {
    background: #e5e7eb;
    color: #374151;
}

.text-ellipsis {
    max-width: 280px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #616b88;
}

@keyframes report-spin {
    to {
        transform: rotate(360deg);
    }
}

.report-tooltip {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: #0f172a;
    color: #fff;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
    white-space: nowrap;
}

.report-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #0f172a;
}

.report-icon-btn:hover:not(:disabled) .report-tooltip {
    opacity: 1;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.dashboard-header__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.header-space {
    justify-content: space-between;
}

.header-title-block {
    flex: 1 1 200px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
}

.dashboard-subtitle--area {
    margin: 0;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-container--stacked {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.selection-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.selection-tag {
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f172a;
}

.selection-tag strong {
    margin-right: 0.25rem;
    color: #111827;
}

.top-nav {
    display: flex;
    justify-content: flex-end;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.nav-btn {
    border: none;
    border-radius: 18px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.6px;
    background: rgba(255, 255, 255, 0.9);
    color: #0f172a;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.8rem 1.4rem;
    text-transform: uppercase;
}

.nav-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.18);
}

.nav-btn--circle {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    justify-content: center;
}

.nav-btn--pill {
    border-radius: 16px;
    padding: 0.7rem 1.6rem;
}

.nav-icon {
    font-size: 1.1rem;
}

.nav-btn--logout {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.nav-btn--admin {
    background: linear-gradient(135deg, #84cc16, #65a30d);
    color: #1f2937;
    font-weight: 700;
}

.nav-btn--admin:hover {
    background: linear-gradient(135deg, #a3e635, #84cc16);
}


.process-container {
    text-align: center;
    max-width: 780px;
    position: relative;
}

.process-header__title-row {
    margin-top: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.process-header__title-row .dashboard-title {
    margin: 0;
}

.process-header__text,
.dashboard-description {
    text-align: left;
}

.process-greeting {
    margin-top: 0.5rem;
}

@media (max-width: 640px) {
    .process-header__title-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }

    .process-header__title-row .dashboard-title {
        font-size: 2.5rem;
        text-align: center;
        margin: 0 auto 0.5rem;
    }

    .process-header__text,
    .dashboard-description,
    .process-greeting {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .process-header__title-row > div:first-child {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .process-header__title-row > div:last-child {
        width: 100%;
        justify-content: center;
    }
    
    .nav-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
}

.selection-container {
    width: min(100%, 900px);
    position: relative;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-bottom: 1.5rem;
}

.selection-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.selection-title {
    margin: 0;
    letter-spacing: 4px;
    text-align: left;
}

.selection-controls {
    display: flex;
    gap: 0.75rem;
}

.selection-menu-btn {
    position: absolute;
    top: 1.1rem;
    left: 1.1rem;
}

.selection-header {
    padding-top: 2.5rem;
    margin-bottom: 1rem;
}

.selection-dropdown {
    margin: 0 0 1.25rem;
}

.selection-dropdown--wide select {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    border: 1.5px solid rgba(148, 163, 184, 0.7);
    font-size: 1rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

.circle-grid {
    width: 100%;
    display: block;
    margin-bottom: 1.5rem;
}

.circle-options {
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 32px;
    padding: 1.5rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.2);
    backdrop-filter: blur(6px);
}

.circle-options__header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1rem;
}

.circle-options__title {
    margin: 0;
    font-size: 1rem;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: #0f172a;
}

.circle-options__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: minmax(140px, 1fr);
    gap: 1.25rem 1.5rem;
    justify-items: center;
}

.circle-options--disabled {
    opacity: 0.45;
    pointer-events: none;
}

.circle-options__empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #475569;
    font-weight: 600;
}

.circle-option {
    width: 100%;
    max-width: 140px;
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease;
    position: relative;
}

.circle-option:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 6px;
}

.circle-option__figure {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    border: 3px solid #cbd5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.circle-option__ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px dashed rgba(148, 163, 184, 0.5);
}

.circle-option__icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
    z-index: 1;
}

.circle-option__label {
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0f172a;
    text-align: center;
    background: transparent;
    padding: 0;
}

.circle-option--active .circle-option__figure {
    border-color: #22d3ee;
    box-shadow: 0 18px 40px rgba(34, 211, 238, 0.35);
}

.circle-option--active .circle-option__ring {
    border-color: rgba(34, 211, 238, 0.8);
}

.circle-option:hover {
    transform: translateY(-4px);
}

@media (max-width: 1024px) {
    .circle-options__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .circle-options__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.9rem;
    }

    .circle-option__figure {
        width: 100px;
        height: 100px;
    }

    .circle-option__icon {
        width: 52px;
        height: 52px;
    }
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.process-card {
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
}

.process-card__circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.process-card__icon {
    width: 95px;
    height: 95px;
    object-fit: contain;
}

.process-card__label {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #e2e8f0;
    font-size: 0.9rem;
}

.process-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 50px rgba(37, 99, 235, 0.3);
}

.process-card:hover .process-card__circle {
    border-color: #22d3ee;
    box-shadow: 0 30px 60px rgba(34, 211, 238, 0.35);
}

.menu-grid--wide {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.selection-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
}

.action-buttons {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.action-btn {
    padding: 0.55rem 1.5rem;
    border: 2px solid;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    background: #fff;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.05em;
    color: #1a3a52;
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.12);
}

.action-btn--back {
    border-color: #1a3a52;
}

.action-btn--back:hover {
    background: #1a3a52;
    color: #fff;
    transform: translateX(-2px);
}

.action-btn--menu {
    border-color: #b8d430;
    color: #1a3a52;
}

.action-btn--menu:hover {
    background: #b8d430;
    color: #1a3a52;
    transform: scale(1.03);
}

.action-btn--logout {
    border-color: #1a3a52;
}

.action-btn--logout:hover {
    background: #1a3a52;
    color: #b8d430;
    transform: translateX(2px);
}

@media (max-width: 640px) {
    .header-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .action-buttons {
        justify-content: flex-start;
    }

    .action-btn {
        width: 100%;
        text-align: center;
    }
}

.selection-actions .btn-save {
    min-width: 220px;
}

.logout-btn--wide {
    width: 100%;
    margin-top: 1rem;
}

.logout-btn--floating {
    padding: 0.35rem 0.9rem;
    font-size: 0.8rem;
    border-radius: 999px;
    background: rgba(220, 38, 38, 0.9);
}

.form-container--stacked {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.step-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.12);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.step-card h3 {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    color: #0f172a;
}

.step-card__options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.step-card__btn {
    border: 1px solid #cbd5f5;
    border-radius: 10px;
    background: #fff;
    padding: 0.65rem 0.8rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.step-card__btn:hover {
    border-color: #2563eb;
    color: #2563eb;
}

.step-card__btn.active {
    background: linear-gradient(135deg, #2563eb, #22d3ee);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
}

.step-card__empty {
    margin: 0;
    font-size: 0.85rem;
    color: #475569;
}

.step-card--disabled {
    opacity: 0.45;
}

.code-badge {
    background: #f3f4f6;
    border-radius: 10px;
    padding: 0.7rem;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px dashed #e2e8f0;
}

.login-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.12), transparent 70%);
    position: relative;
}

.login-card {
    width: min(100%, 1040px);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(24px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 35px 90px rgba(15, 23, 42, 0.35);
    position: relative;
}

.login-card__visual {
    background: transparent;
    color: #fff;
    padding: 3.5rem 2.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card__visual::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px 0 0 24px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.12), transparent 70%);
    pointer-events: none;
}

.login-logo-img {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.45);
}

.login-card__form {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    background: #fff;
}

.form-header-modern h2 {
    margin: 0;
    font-size: 2rem;
    color: #0f172a;
}

.form-header-modern p {
    margin: 0.25rem 0 0;
    color: #64748b;
    font-size: 0.95rem;
}

.form-modern {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group-modern label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #475569;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.input-wrapper-modern {
    position: relative;
}

.input-wrapper-modern input {
    width: 100%;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.95rem 1rem 0.95rem 3rem;
    font-size: 1rem;
    background: #f8fafc;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.input-wrapper-modern input:focus {
    outline: none;
    border-color: #4caf50;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.15);
}

.input-icon-modern {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    color: #94a3b8;
}

.btn-login-modern {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #4caf50, #a3e635);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s;
    box-shadow: 0 18px 35px rgba(72, 187, 120, 0.35);
}

.btn-login-modern:hover:not(:disabled) {
    transform: translateY(-2px);
}

.btn-login-modern:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 1024px) {
    .form-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .dashboard-container {
        border-radius: 0;
        padding: 1rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }
}

.header-center {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.dashboard-title--center {
    text-align: center;
    flex: 1;
}

.header-controls {
    display: flex;
    gap: 0.75rem;
}

.selection-dropdown select {
    width: 100%;
}

.selection-dropdown--wide select {
    width: 100%;
}

.photo-upload {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.photo-upload__label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f172a;
}

.photo-buttons {
    display: flex;
    gap: 0.5rem;
}

.photo-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 2px solid #cbd5f5;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.photo-btn img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.photo-btn:hover {
    transform: translateY(-2px);
    border-color: #2563eb;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.2);
}

.photo-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.photo-footer .btn-save {
    align-self: center;
}

@media (max-width: 640px) {
    .photo-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .photo-footer .btn-save {
        width: 100%;
    }
}