﻿/* ALIGN */
.table > tbody > tr > td,
.table > thead > tr > th {
    /*    vertical-align: middle;*/
}

/* PAGER */
.grid-pager {
    padding: 12px;
    text-align: center;
    background: #fff;
}

    .grid-pager table {
        margin: auto;
    }

    .grid-pager td {
        padding: 0 3px;
    }

    .grid-pager a,
    .grid-pager span {
        display: inline-block;
        min-width: 34px;
        height: 34px;
        line-height: 34px;
        text-decoration: none;
        border-radius: 8px;
        font-weight: 600;
        border: 1px solid #dee2e6;
        font-size: 12px;
    }

    .grid-pager a {
        color: #198754;
        background: #fff;
        text-align: center;
    }

        .grid-pager a:hover {
            background: #198754;
            color: white;
            border-color: #198754;
        }

    .grid-pager span {
        background: #198754;
        color: white;
        border-color: #198754;
        text-align: center;
    }

/* MODAL */
.customWhatsappModal {
    position: fixed !important;
    top: 70px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 420px;
    max-width: 95vw;
    z-index: 9999;
}

.modalBackground {
    background-color: black;
    opacity: 0.4;
}

/* GRID WRAPPER */
.custom-grid {
    width: 98%;
    margin: 0 auto;
    border-collapse: collapse !important;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

    /* HEADER */
    .custom-grid thead th {
        background: #edf3ef !important;
        color: #333;
        font-size: 12px;
        font-weight: 600;
        padding: 9px 10px !important;
        border-bottom: 1px solid #e5e5e5 !important;
        /* text-align: center;*/
    }

    /* BODY */
    .custom-grid tbody td {
        padding: 6px 10px !important;
        vertical-align: middle !important;
        border-top: 1px solid #f3f3f3 !important;
        font-size: 12px;
        /*   text-align: center;*/
        height: 72px;
    }

    /* REMOVE GREEN LOOK */
    .custom-grid tbody tr {
        background: #fff !important;
    }

        .custom-grid tbody tr:nth-child(even) {
            background: #fbfbfb !important;
        }

        .custom-grid tbody tr:hover {
            background: #f7f7f7 !important;
        }

    /* IMAGE + VIDEO */
    .custom-grid video,
    .custom-grid img {
        width: 100px !important;
        height: 58px !important;
        object-fit: cover;
        border-radius: 5px;
        display: block;
        /*  margin: auto;*/
    }

.tbody, td, tfoot, th, thead, tr {
    border-color: inherit;
    border-style: solid;
    border-color: #1e1818;
    border-width: 1px;
}

/* STATUS */
.status-badge {
    background: #f1f3f5;
    color: #495057;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
}

/* DELETE */
.delete-btn {
    color: #dc3545;
    font-size: 12px;
    text-decoration: none;
    font-weight: 500;
}

    .delete-btn:hover {
        text-decoration: underline;
    }

/* PAGE TITLE */
.page-title {
    /*   text-align: center;*/
    font-size: 30px;
    font-weight: 600;
    margin: 10px 0 18px;
}

/* BUTTON */
.add-btn {
    float: right;
    margin-right: 4%;
    margin-bottom: 12px;
}

.navbar {
    background: linear-gradient(90deg, #043b1b, #043b1b) !important;
    padding-top: 12px;
    padding-bottom: 12px;
}

    .navbar .nav-link {
        position: relative;
        color: #ffffff !important;
        font-weight: 500;
        padding: 10px 16px !important;
        margin-left: 8px;
        border-radius: 8px;
        transition: all 0.25s ease;
    }

        .navbar .nav-link:hover {
            background: rgba(255, 255, 255, 0.12);
            transform: translateY(-1px);
        }

        .navbar .nav-link.active {
            background: rgba(0, 0, 0, 0.18);
            font-weight: 600;
            box-shadow: inset 0 -3px 0 #ffc107;
        }

        .navbar .nav-link::after {
            content: "";
            position: absolute;
            left: 12px;
            bottom: 6px;
            width: 0%;
            height: 2px;
            background: #ffc107;
            transition: width 0.25s ease;
        }

        .navbar .nav-link:hover::after,
        .navbar .nav-link.active::after {
            width: calc(100% - 24px);
        }

label {
    color: #000 !important;
}
