﻿.banner {
    background: linear-gradient(90deg, #0099ff, #0099ffab);
    color: white;
    text-align: center;
    padding: 5px 8px;
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
}

    .banner::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('https://www.transparenttextures.com/patterns/cubes.png');
        opacity: 0.15;
    }

    /* Text content */
    .banner h1 {
        font-size: 48px;
        font-weight: 700;
        letter-spacing: 2px;
        margin-bottom: 10px;
        position: relative;
        z-index: 1;
        text-transform: uppercase;
    }

    .banner p {
        font-size: 20px;
        font-weight: 400;
        position: relative;
        z-index: 1;
    }

    /* Decorative line */
    .banner .line {
        width: 120px;
        height: 4px;
        background-color: #ffffff;
        margin: 20px auto;
        border-radius: 2px;
        position: relative;
        z-index: 1;
    }

/* Responsive design */
@media (max-width: 768px) {
    .banner h1 {
        font-size: 32px;
    }

    .banner p {
        font-size: 16px;
    }

    .banner {
        padding: 40px 15px;
    }
}

.delete-row {
    padding: 2px 6px;
    font-size: 0.8rem;
    cursor: pointer;
}

.was-validated .form-control:invalid,
.form-control.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.invalid-feedback {
    display: none;
    color: #dc3545;
    font-size: 0.875em;
}

.was-validated .form-control:invalid ~ .invalid-feedback,
.form-control.is-invalid ~ .invalid-feedback {
    display: block;
}

.text-danger {
    color: #dc3545 !important;
}

.was-validated .form-check-input:invalid {
    border-color: #dc3545 !important;
}
/* combined: subtle zebra + horizontal lines + header separator */
.tabulator .tabulator-row .tabulator-cell {
    border-bottom: 1px solid #e6eef3;
    padding: 4px 5px;
}

.tabulator .tabulator-row:nth-child(odd) {
    background: #ffffff;
}

.tabulator .tabulator-row:nth-child(even) {
    background: #fbfeff;
}

.tabulator .tabulator-header {
    box-shadow: inset 0 -2px 0 #d8e3ea;
}

/* Tabulator — page-wide styling tweaks */
.tu-grid-panel {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(20,30,40,0.06);
    border: 1px solid rgba(30,45,60,0.06);
    padding: 12px;
    margin-bottom: 14px;
    font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
    color: #273238;
}

    .tu-grid-panel .grid-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 8px;
    }

    .tu-grid-panel .grid-title {
        font-weight: 700;
        font-size: 14px;
        letter-spacing: 0.2px;
        color: #0f1720;
    }

/* Tabulator container general */
.tu-grid-root .tabulator {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(30,40,50,0.06);
}
/* Header bar */
.tabulator-header {
    background: linear-gradient(180deg,#f7fafc,#f2f6f8);
    border-bottom: 1px solid rgba(30,40,50,0.06);
}

.tabulator-col .tabulator-col-title {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.6px;
    padding: 8px 10px;
    color: #1f2933;
}
/* make header sort icons subtle */
.tabulator-col .tabulator-arrow {
    color: rgba(30,40,50,0.45);
    opacity: 0.9;
}
/* zebra rows and hover */
.tabulator-row:nth-child(even) {
    background: #ffffff;
}

.tabulator-row:nth-child(odd) {
    background: #fbfeff;
}
/* very light blue tint */
.tabulator-row:hover {
    background: #eef6fb !important;
    transform: translateZ(0);
}
/* selected row */
.tabulator-row.tabulator-selected {
    background: linear-gradient(90deg, rgba(66,153,225,0.06), rgba(66,153,225,0.03)) !important;
    box-shadow: inset 0 0 0 1px rgba(66,153,225,0.06);
}
/* cells */
.tabulator-cell {
    padding: 8px 10px;
    font-size: 13px;
    border-right: 1px solid rgba(30,40,50,0.02);
    color: #243238;
}
/* nicer empty placeholder */
.tabulator-placeholder {
    color: #718096;
    font-style: italic;
    padding: 24px;
}
/* right-align numeric-like fields (you can add classes if desired) */
.tabulator-cell.numeric, .tabulator-cell.hozAlign-right {
    text-align: right;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Roboto Mono", monospace;
}
/* money formatting hint (optional visual) */
.tabulator-cell.money {
    color: #0b8457;
    font-weight: 600;
}
/* small pager / footer */
.tabulator-footer {
    background: transparent;
    padding: 8px 10px;
    border-top: 1px solid rgba(30,40,50,0.04);
    color: #4a5568;
}
/* loader overlay (if you use your loader) */
.tu-loader-overlay {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(255,255,255,0.72);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #2d3748;
    z-index: 500;
}

body {
    background-color: white; /* gentle gray backdrop */
}

.card-body {
    background-color: #dfe2e4; /* Bootstrap’s lightest gray */
    border-radius: 0.5rem;
}

.form-control, .form-select {
    border: 1px solid #bfc9d4;
    transition: all 0.2s ease-in-out;
}

    .form-control:focus, .form-select:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 4px rgba(13, 110, 253, 0.25);
    }
/* small responsive tweak */
@media (max-width: 720px) {
    .tabulator .tabulator-header .tabulator-col .tabulator-col-title {
        font-size: 11px;
    }

    .tabulator-cell {
        font-size: 12px;
        padding: 6px 8px;
    }
}
