/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-wp6vgojkev] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-wp6vgojkev] {
    flex: 1;
}

.sidebar[b-wp6vgojkev] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-wp6vgojkev] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-wp6vgojkev]  a, .top-row[b-wp6vgojkev]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-wp6vgojkev]  a:hover, .top-row[b-wp6vgojkev]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-wp6vgojkev]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-wp6vgojkev] {
        justify-content: space-between;
    }

    .top-row[b-wp6vgojkev]  a, .top-row[b-wp6vgojkev]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-wp6vgojkev] {
        flex-direction: row;
    }

    .sidebar[b-wp6vgojkev] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-wp6vgojkev] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-wp6vgojkev]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-wp6vgojkev], article[b-wp6vgojkev] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-wp6vgojkev] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-wp6vgojkev] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Pages/Home.razor.rz.scp.css */
/* Layout */
.page-wrapper[b-n2g4kt3i1j] {
    max-width: 2200px;
    margin: 0 auto;
    padding: 30px 20px;
    font-family: "ABC Whyte",sans-serif;
    color: #1a1a1a;
    background: linear-gradient(135deg, #f8fafc 0%, #e8f1ff 100%);
    min-height: 100vh;
}

/* Header */
.header[b-n2g4kt3i1j] {
    display: flex;
    align-items: center;
    background: white;
    padding: 25px 40px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    gap: 30px;
}

@keyframes shimmer-b-n2g4kt3i1j {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.logo-container[b-n2g4kt3i1j] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo[b-n2g4kt3i1j] {
    height: 120px;
    opacity: 1;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 4px 12px rgba(30, 48, 242, 0.15));
}

    .logo:hover[b-n2g4kt3i1j] {
        transform: scale(1.05);
        filter: drop-shadow(0 8px 24px rgba(30, 48, 242, 0.25));
    }

.title-container[b-n2g4kt3i1j] {
    flex: 1;
}

.title[b-n2g4kt3i1j] {
    font-size: 3rem;
    font-weight: 800;
    margin: 0;
    background: #bd9b08;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle[b-n2g4kt3i1j] {
    font-size: 1.7rem;
    color: #000000;
    font-weight: 500;
}

/* Content Area */
.content[b-n2g4kt3i1j] {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    animation: slideUp-b-n2g4kt3i1j 0.6s ease-out;
}

.main-content[b-n2g4kt3i1j] {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

@keyframes slideUp-b-n2g4kt3i1j {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Animation */
@keyframes fadeInBounce-b-n2g4kt3i1j {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    50% {
        transform: translateY(-5px) scale(1.01);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Section Title */
.section-title[b-n2g4kt3i1j] {
    font-size: 1.7rem;
    margin: 0 0 15px;
    color: #000000;
    font-weight: 700;
    position: relative;
    padding-left: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .section-title[b-n2g4kt3i1j]::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 6px;
        height: 60%;
        background: linear-gradient(180deg, #d8bb4c, #bd9b08);
        box-shadow: 0 2px 8px var(--gold-shadow);
    }

.section-icon[b-n2g4kt3i1j] {
    color: #bd9b08;
}

/* Table Styling */
.table-container[b-n2g4kt3i1j] {
    background: white;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(30, 48, 242, 0.08), 0 2px 8px rgba(0, 19, 104, 0.04);
    animation: fadeIn-b-n2g4kt3i1j 0.6s ease;
    border: 1px solid #e8f1ff;
}

@keyframes fadeIn-b-n2g4kt3i1j {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.styled-table[b-n2g4kt3i1j] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
}

    .styled-table thead[b-n2g4kt3i1j] {
        background: #bd9b08;
        color: white;
        position: relative;
    }

        .styled-table thead[b-n2g4kt3i1j]::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, #bd9b08, transparent);
        }

    .styled-table th[b-n2g4kt3i1j],
    .styled-table td[b-n2g4kt3i1j] {
        padding: 16px 20px;
        font-size: 0.95rem;
        text-align: left;
    }

    .styled-table th[b-n2g4kt3i1j] {
        font-weight: 600;
        text-transform: uppercase;
        font-size: 0.85rem;
        letter-spacing: 0.5px;
    }

    .styled-table tbody tr[b-n2g4kt3i1j] {
        border-bottom: 1px solid #e2e8f0;
        transition: all 0.2s ease;
    }

        .styled-table tbody tr:nth-child(even)[b-n2g4kt3i1j] {
            background-color: #f6f6f6;
        }

        .styled-table tbody tr:hover[b-n2g4kt3i1j] {
            background: linear-gradient(90deg, #eff6ff 0%, #e8f1ff 100%);
            transform: scale(1.01);
            border-left: 4px solid #d8bb4c;
/*            box-shadow: 0 6px 20px #7ddecb;*/
        }

        .styled-table tbody tr:last-child[b-n2g4kt3i1j] {
            border-bottom: none;
        }

    .styled-table td[b-n2g4kt3i1j] {
        color: #334155;
        font-weight: 500;
    }

/* Status Badges */
.status-badge[b-n2g4kt3i1j] {
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: capitalize;
}

.status-active[b-n2g4kt3i1j] {
    background: #dcfce7;
    color: #166534;
}

.status-maintenance[b-n2g4kt3i1j] {
    background: #fef3c7;
    color: #92400e;
}

.status-inactive[b-n2g4kt3i1j] {
    background: #fee2e2;
    color: #991b1b;
}

/* Table Footer */
.table-footer[b-n2g4kt3i1j] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.result-count[b-n2g4kt3i1j] {
    color: #64748b;
    font-weight: 500;
}

.table-actions[b-n2g4kt3i1j] {
    display: flex;
    gap: 10px;
}

/* Sidebar */
.sidebar[b-n2g4kt3i1j] {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.card[b-n2g4kt3i1j] {
    background: white;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(30, 48, 242, 0.08), 0 2px 8px rgba(0, 19, 104, 0.04);
    border: 1px solid #e8f1ff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 0rem;
}

    .card:hover[b-n2g4kt3i1j] {
        transform: translateY(-5px);
        box-shadow: 0 12px 40px rgba(30, 48, 242, 0.12);
    }

.card-title[b-n2g4kt3i1j] {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #001368;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-content[b-n2g4kt3i1j] {
    color: #64748b;
    font-size: 0.95rem;
}

/* Stats */
.stats-container[b-n2g4kt3i1j] {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat-item[b-n2g4kt3i1j] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

    .stat-item:last-child[b-n2g4kt3i1j] {
        border-bottom: none;
    }

.stat-label[b-n2g4kt3i1j] {
    color: #64748b;
    font-weight: 500;
}

.stat-value[b-n2g4kt3i1j] {
    font-weight: 700;
    color: #bd9b08;
}

/* Query Info */
.query-info[b-n2g4kt3i1j] {
    margin-top: 15px;
}

.info-item[b-n2g4kt3i1j] {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.info-label[b-n2g4kt3i1j] {
    color: #64748b;
}

.info-value[b-n2g4kt3i1j] {
    font-weight: 600;
    color: #1e30f2;
}

/* Contact Info */
.contact-info[b-n2g4kt3i1j] {
    margin-top: 10px;
    line-height: 1.8;
}

    .contact-info i[b-n2g4kt3i1j] {
        width: 20px;
        color: #1e30f2;
    }

/* Action Buttons */
.action-buttons[b-n2g4kt3i1j] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.btn[b-n2g4kt3i1j] {
    padding: 12px 24px;
    border: none;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;

    border-radius: .1rem;
    background-color: #bd9b08;
    background: linear-gradient(45deg,#bd9b08 50%,#04071a 50%);
    background-size: 285%;
    background-repeat: repeat;
    background-position: top left;
    transition: background-position 0.5s ease;
    color: #fff
}

.btn-primary[b-n2g4kt3i1j] {
    color: white;
    box-shadow: 0 4px 12px rgba(30, 48, 242, 0.2);
}

    .btn-primary:hover[b-n2g4kt3i1j] {
        transform: translateY(-3px);
        background-position: top right; border: 1px solid #bd9b08;
    }

    .btn-primary:disabled[b-n2g4kt3i1j] {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
        box-shadow: 0 2px 6px rgba(30, 48, 242, 0.2);
    }

#save-button[b-n2g4kt3i1j] {
    margin-left: 200px;
    font-size: 15px;
}

#submit-button[b-n2g4kt3i1j] {
    margin-right: 200px;
    font-size: 15px;
}

/* Input Fields */
.input-field[b-n2g4kt3i1j] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    font-size: 14px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    background: white;
}

    .input-field:focus[b-n2g4kt3i1j] {
        outline: none;
        border-color: #bd9b08;
        box-shadow: 0 0 0 3px rgba(189, 155, 8, 0.25);
        background: #fffdf4;
    }

    .input-field.disabled[b-n2g4kt3i1j] {
        background-color: #f5f5f5;
        cursor: not-allowed;
        color: #999;
        border-color: #e2e8f0;
    }

/* Loading Spinner */
.loading-spinner[b-n2g4kt3i1j] {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #1e30f2;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin-b-n2g4kt3i1j 1s linear infinite;
    margin-right: 15px;
}

.button-spinner[b-n2g4kt3i1j] {
    display: inline-block;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    animation: spin-b-n2g4kt3i1j 0.8s linear infinite;
    margin-right: 8px;
}

@keyframes spin-b-n2g4kt3i1j {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Messages */
.message[b-n2g4kt3i1j] {
    display: flex;
    align-items: center;
    padding: 16px;
    margin-bottom: 20px;
    border-left: 4px solid;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

    .message.success[b-n2g4kt3i1j] {
        background-color: #d1ffbd;
        border-color: #1ea6fc;
        color: #001368;
    }

    .message.error[b-n2g4kt3i1j] {
        background-color: #ffd0d0;
        border-color: #dc3545;
        color: #721c24;
    }

    .message.info[b-n2g4kt3i1j] {
        background-color: #f0f9ff;
        border-color: #1ea6fc;
        color: #001368;
    }

.message-icon[b-n2g4kt3i1j] {
    font-size: 30px;
    margin-right: 15px;
    font-weight: bold;
}

.message-content[b-n2g4kt3i1j] {
    flex: 1;
}

/* Responsive Design */
@media (max-width: 1100px) {
    .content[b-n2g4kt3i1j] {
        grid-template-columns: 1fr;
    }

    .sidebar[b-n2g4kt3i1j] {
        order: -1;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .page-wrapper[b-n2g4kt3i1j] {
        padding: 20px 15px;
    }

    .header[b-n2g4kt3i1j] {
        flex-direction: column;
        text-align: center;
        padding: 25px;
        gap: 20px;
    }

    .title[b-n2g4kt3i1j] {
        font-size: 2rem;
    }

    .logo[b-n2g4kt3i1j] {
        height: 100px;
    }

    .sidebar[b-n2g4kt3i1j] {
        grid-template-columns: 1fr;
    }

    .styled-table th[b-n2g4kt3i1j],
    .styled-table td[b-n2g4kt3i1j] {
        padding: 12px 14px;
        font-size: 0.9rem;
    }

    .table-container[b-n2g4kt3i1j] {
        padding: 20px;
    }

    .table-footer[b-n2g4kt3i1j] {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .action-buttons[b-n2g4kt3i1j] {
        flex-direction: column;
        gap: 15px;
    }

    #save-button[b-n2g4kt3i1j], #submit-button[b-n2g4kt3i1j] {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header[b-n2g4kt3i1j] {
        padding: 20px;
    }

    .title[b-n2g4kt3i1j] {
        font-size: 1.8rem;
    }

    .section-title[b-n2g4kt3i1j] {
        font-size: 1.4rem;
    }
}

/* Micro-interactions */
.styled-table tbody tr[b-n2g4kt3i1j] {
    cursor: default;
}

.styled-table tbody td:first-child[b-n2g4kt3i1j] {
    font-weight: 600;
    color: #001368;
}

/* Loading state */
@keyframes pulse-b-n2g4kt3i1j {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.loading[b-n2g4kt3i1j] {
    animation: pulse-b-n2g4kt3i1j 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.background-video[b-n2g4kt3i1j] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.95; /* adjust brightness */
}

.page-wrapper[b-n2g4kt3i1j] {
    position: relative;
    z-index: 1;
}

.high-validation-banner[b-n2g4kt3i1j] {
    background-color: #ffd54f;
/*    border: 1px solid #ffc107;*/
    padding: 12px 16px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #000000;
    font-size: 1.2rem
}

.validation-banner[b-n2g4kt3i1j] {
    background-color: #ffd0d0;
/*    border: 1px solid #ffc107;*/
    padding: 12px 16px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #000000;
    font-size: 1.2rem
}

.banner-icon[b-n2g4kt3i1j] {
    font-size: 30px;
    color: #000000;
}

.inline-error-message[b-n2g4kt3i1j] {
    display: block;
    color: #dc3545;
    font-size: 15px;
    margin-top: 4px;
    font-weight: 500;
}

.error-icon[b-n2g4kt3i1j] {
    font-size: 14px;
}

.input-error[b-n2g4kt3i1j] {
    border: 2px solid #ffd0d0 !important;
    background-color: #ffd0d0
}

    .input-error:focus[b-n2g4kt3i1j] {
        outline: none;
        box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
    }

.input-warning[b-n2g4kt3i1j] {
/*    border: 2px solid #e6ce1a !important;*/
    background-color: #f8f1Bf !important;
}

    .input-warning:focus[b-n2g4kt3i1j] {
        outline: none;
        box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
    }

.modal-overlay[b-n2g4kt3i1j] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content[b-n2g4kt3i1j] {
    background: white;
    padding: 50px;
    max-width: 650px;
    width: 90%;
}

.modal-header h3[b-n2g4kt3i1j] {
    margin: 0 0 15px 0;
}

.modal-footer[b-n2g4kt3i1j] {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
}

.background-container[b-n2g4kt3i1j] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.background-image[b-n2g4kt3i1j] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}
