﻿:root {
    --primary: #18AACC;
    --primary-dark: #128299;
    --primary-light: #e6f7fb;
    --glass-bg: rgba(255, 255, 255, 0.55);
    --glass-border: rgba(255, 255, 255, 0.65);
    --shadow-soft: 0 8px 32px rgba(24, 170, 204, 0.12);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: transform .35s ease, box-shadow .35s ease;
    animation: riseIn .5s ease both;
}

.badge-status {
    font-size: .72rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge-ok {
    background: rgba(24, 170, 204, 0.12);
    color: var(--primary-dark);
    border: 1px solid rgba(24, 170, 204, 0.3);
}

.badge-error {
    background: rgba(220, 53, 69, 0.1);
    color: #c0293b;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.btn-icon-glass {
    background: rgba(24, 170, 204, 0.1);
    border: 1px solid rgba(24, 170, 204, 0.25);
    color: var(--primary-dark);
    border-radius: 10px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .25s ease;
}

    .btn-icon-glass:hover {
        background: var(--primary);
        color: #fff;
        transform: translateY(-1px);
    }

.btn-sm-glass {
    border-radius: 10px;
    font-weight: 600;
    font-size: .78rem;
    padding: 6px 14px;
    border: none;
    transition: all .25s ease;
}

.btn-generate {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 12px rgba(24, 170, 204, 0.3);
}

    .btn-generate:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 18px rgba(24,170,204,0.4);
        color: #fff;
    }

    .btn-generate:disabled {
        background: #cfd8da;
        box-shadow: none;
        color: #8a9598;
        cursor: not-allowed;
    }

#offcanvasViewAllReports {
    width: 95%;
}

.offcanvas-title-name {
    font-weight: 800;
    color: #0f4a58;
    font-size: 1.15rem;
}

.offcanvas-title-sub {
    font-size: .78rem;
    color: #5a6d72;
}

.payment-summary-strip {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.summary-chip {
    flex: 1;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(24, 170, 204, 0.15);
    border-radius: 12px;
    padding: 10px 12px;
    text-align: center;
}

    .summary-chip .val {
        font-weight: 800;
        font-size: 1rem;
        color: var(--primary-dark);
    }

    .summary-chip .lbl {
        font-size: .68rem;
        color: #8a9598;
        text-transform: uppercase;
        letter-spacing: .3px;
    }

.badge-status {
    font-size: .72rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge-paid {
    background: rgba(25, 135, 84, 0.1);
    color: #146c43;
    border: 1px solid rgba(25, 135, 84, 0.3);
}

.badge-upcoming {
    background: rgba(108, 117, 125, 0.1);
    color: #5a6268;
    border: 1px solid rgba(108, 117, 125, 0.25);
}

#offcanvasViewAllReports .offcanvas-body {
    background: radial-gradient(1200px 600px at 10% 0%, rgba(34, 193, 255, .20), transparent 55%), radial-gradient(900px 500px at 90% 10%, rgba(124, 58, 237, .18), transparent 55%), radial-gradient(900px 500px at 20% 85%, rgba(34, 197, 94, .14), transparent 55%), #fff;
}

.glass-bg h4 {
    font-size: 16px;
    margin-bottom: 0px;
}

.glass-bg {
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(255, 255, 255, .40);
    box-shadow: 0 18px 70px rgba(15, 23, 42, .12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px));
    border-radius: 9px;
}

.glass-Body {
    padding: 10px;
}

.glass-Header {
    border-bottom: solid thin #e9e9eb;
    padding: 10px;
}

.table-responsive {
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}

.btn-edit {
    background: rgb(223 249 255);
    color: #18aacc;
    border: 1px solid rgb(162 237 255);
    padding: 6px 10px;
    font-size: 15px;
    cursor: pointer;
    border-radius: 5px;
}

    .btn-edit:hover {
        background: #18aacc;
        color: #fff;
        border: 1px solid rgb(162 237 255);
    }

.section-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: #16414c;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chip-count {
    background: var(--primary);
    color: #fff;
    border-radius: 20px;
    font-size: .72rem;
    padding: 2px 10px;
    font-weight: 700;
}
/******pagimnation*****/
.paginationPanel {
    float: right;
    padding: 8px 8px;
    /* border: solid thin #ccc; */
    border-radius: 5px;
    margin-bottom: 7px;
    box-shadow: 0 1px 15px 1px rgba(69, 65, 78, .08);
    border: 1px solid rgba(0, 0, 0, .07);
    font-size: 13px;
}

    .paginationPanel a {
        margin: 0px 1px;
        cursor: pointer;
        background: #f1f1f1;
        width: 18px;
        height: 18px;
        display: inline-block;
        border-radius: 50%;
        text-align: center;
        color: #757575;
        font-size: 11px;
        line-height: 20px;
        font-weight: bold;
    }

        .paginationPanel a:hover, .paginationPanel a.active {
            background: #18AACC;
            color: #fff;
        }

    .paginationPanel .paginationpage {
        max-width: 32px;
        text-align: center;
        height: 21px;
        border: solid thin #ccc;
    }

    .paginationPanel select {
        max-width: 48px;
        text-align: center;
        height: 21px;
        border: solid thin #ccc;
    }

    .paginationPanel a i {
        display: contents;
        line-height: 18px;
    }

    .paginationPanel button {
        background: #18AACC;
        color: #fff;
        border: none;
        border-radius: 3px;
        cursor: pointer;
        font-size: 11px;
        line-height: 19px;
        font-weight: bold;
    }

    .paginationPanel .borderleft {
        border-left: solid thin #dadada;
    }
/******pagimnation*****/
.footerFixed {
    position: fixed;
    background: #fff;
    right: 0px;
    left: 50px;
    bottom: 0px;
    z-index: 999;
    padding: 5px 10px;
    border-top: solid thin #ccc;
}

.btn-outline-glass {
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(24,170,204,0.35);
    color: var(--primary-dark);
    font-weight: 600;
    border-radius: 12px;
    padding: 10px 22px;
    backdrop-filter: blur(10px);
    transition: all .3s ease;
}

    .btn-outline-glass:hover {
        background: var(--primary-light);
        border-color: var(--primary);
        color: var(--primary-dark);
    }

.btn-primary-glass {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 12px;
    padding: 10px 22px;
    box-shadow: 0 6px 18px rgba(24,170,204,0.35);
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}

    .btn-primary-glass:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 26px rgba(24,170,204,0.45);
        color: #fff;
    }

    .btn-primary-glass:active {
        transform: translateY(0);
    }

.btn-outline-glass {
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(24,170,204,0.35);
    color: var(--primary-dark);
    font-weight: 600;
    border-radius: 12px;
    padding: 10px 22px;
    backdrop-filter: blur(10px);
    transition: all .3s ease;
}

table input[type=checkbox] {
    margin: 1px 0px 0px 0px;
    border: solid thin #606060;
}

.modal-content.glass-modal {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(24px) saturate(180%);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #7a8b90;
}

    .empty-state i {
        font-size: 2.6rem;
        color: rgba(24,170,204,0.35);
        margin-bottom: 14px;
    }

.empty-state-mini {
    text-align: center;
    padding: 30px 10px;
    color: #93a2a6;
}

    .empty-state-mini i {
        font-size: 1.8rem;
        color: rgba(24,170,204,0.3);
        margin-bottom: 8px;
        display: block;
    }

footer.app-footer {
    color: #93a2a6;
    font-size: .8rem;
}

.chip-count {
    background: var(--primary);
    color: #fff;
    border-radius: 20px;
    font-size: .72rem;
    padding: 2px 10px;
    font-weight: 700;
}

#TOPtblDocsLogs {
    max-height: 66vh;
}

    #TOPtblDocsLogs thead th {
        position: sticky;
        top: 0px;
    }

#TOPtblMilestone {
    max-height: 59vh;
}

    #TOPtblMilestone thead th {
        position: sticky;
        top: 0px;
    }
