html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #bfdbfe;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}










@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');
/* ==========================================================================
   1. GLOBAL, LAYOUT & SHARED (Shared Files)
   ========================================================================== */



:root {
    --primary-purple: var(--vg-hero-bg, #534ab7);
    --primary-hover: var(--vg-accent, #f26522);
    --bg-main: #f0f2f8;
    --bg-soft: #f9faff;
    --text-dark: #2c3e50;
    --text-muted: #8e9cad;
    --border-color: #eaedf1;
    --card-shadow: 0 4px 25px rgba(0,0,0,0.05);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-main) !important;
    color: var(--text-dark);
}

/* Sidebar & Navbar Styling */

.sidebar {
    padding-top: 10px;
}

.main-sidebar {
    background-color: #ffffff !important;
    box-shadow: 10px 0 30px rgba(0,0,0,0.03) !important;
    border-right: 1px solid var(--border-color);
}

.brand-link {
    border-bottom: 1px solid #f4f4f4 !important;
    color: var(--text-dark) !important;
}

.brand-text {
    font-weight: 700 !important;
    color: var(--primary-purple);
    letter-spacing: 1px;
}

.brand-link .vg-brand-logo {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    object-fit: contain !important;
    background: #ffffff !important;
    padding: 2px !important;
    border-radius: 14px !important;
    opacity: 1 !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12) !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
}

.brand-link .vg-brand-mini-logo {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    object-fit: contain !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    padding: 2px !important;
    margin-right: 8px !important;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12) !important;
}

.nav-sidebar .nav-link {
    color: #505050 !important;
    border-radius: 8px;
    margin: 4px 12px;
    transition: 0.3s ease;
    font-weight: 500;
}

    .nav-sidebar .nav-link:hover {
        background: #f4f6fd;
        color: var(--primary-purple) !important;
    }

    .nav-sidebar .nav-link.active {
        background-color: var(--primary-purple) !important;
        color: #ffffff !important;
        box-shadow: 0 4px 15px rgba(98, 89, 202, 0.3);
    }

.nav-icon {
    font-size: 0.9rem;
    margin-right: 10px;
}

.main-header {
    border-bottom: none !important;
/*    box-shadow: 0 2px 10px rgba(0,0,0,0.02);*/
}


.main-footer {
    background: transparent;
    border-top: none;
    color: #adb5bd;
    font-size: 0.85rem;
}

/* ==========================================================================
   2. FORM COMPONENTS (Create & Edit Forms)
   ========================================================================== */


.form-group-custom {
    margin-bottom: 1.8rem !important;
}

label {
    font-weight: 600;
    color: #505050;
    margin-bottom: 8px;
    font-size: 0.9rem;
    display: block;
}

/*.form-control-custom {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 15px;
    height: auto;
    background-color: var(--bg-soft);
    width: 100%;
    transition: all 0.3s ease;
}*/

.form-control-custom:focus {
    border-color: var(--primary-purple);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(98, 89, 202, 0.1);
    outline: none;
}

/* Buttons */


.btn-cancel {
    background-color: #f4f6fd;
    color: var(--text-muted);
    padding: 12px 35px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    text-decoration: none;
    display: inline-block;
}

/* ==========================================================================
   3. TABLE & LIST COMPONENTS (View/Index Pages)
   ========================================================================== */
.table-yoha {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 10px !important;
}

    .table-yoha thead th {
        background-color: #f8f9fb !important;
        color: var(--text-muted) !important;
        font-weight: 700;
        text-transform: uppercase;
        font-size: 0.75rem;
        letter-spacing: 1px;
        border: none !important;
        padding: 15px 20px !important;
    }

    .table-yoha tbody tr {
        background-color: #fff;
        box-shadow: 0 2px 10px rgba(0,0,0,0.02);
        border-radius: 10px;
        transition: transform 0.2s;
    }

        .table-yoha tbody tr:hover {
            transform: scale(1.002);
            background-color: #fdfdff;
        }

    .table-yoha td {
        border: none !important;
        padding: 15px 20px !important;
        vertical-align: middle !important;
    }

/* Action Buttons (Edit/Delete) */
.action-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    color: white !important;
    margin: 0 5px;
}

.btn-yoha-edit {
    background-color: #fbbc0b; /* Yellow */
    box-shadow: 0 4px 10px rgba(251, 188, 11, 0.2);
}

.btn-yoha-delete {
    background-color: #ff5b5b; /* Red */
    box-shadow: 0 4px 10px rgba(255, 91, 91, 0.2);
}

/* Badges */
.badge-soft-success {
    background: #e6f7ed;
    color: #22c55e;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
}

/* DataTables Specific */
.dataTables_filter input {
    border-radius: 30px !important;
    padding: 8px 20px !important;
    border: 1px solid var(--border-color) !important;
    background: var(--bg-soft) !important;
    width: 250px !important;
}

.content-wrapper {
    background-color: #f0f2f8 !important;
}


/* ==========================================================================
   MASTER UI KIT - REBATE & SUBSCRIPTION STYLING
   ========================================================================== */


/* Page Layout */
.content-container {
    padding: 25px;
    background-color: var(--bg-main);
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
}



/* Form & Table Wrappers */
.form-card {
    background: #ffffff !important;
    border: none;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    padding: 30px;
}



/* Circular Action Buttons */
.action-btn {
    width: 38px;
    height: 38px;
    border-radius: 50% !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    color: white !important;
    border: none !important;
}

.btn-yoha-edit {
    background-color: #fbbc0b !important; /* Admin Yellow */
    box-shadow: 0 4px 10px rgba(251, 188, 11, 0.2);
}

.btn-yoha-delete {
    background-color: #ff5b5b !important; /* Admin Red */
    box-shadow: 0 4px 10px rgba(255, 91, 91, 0.2);
}

    .btn-yoha-edit:hover, .btn-yoha-delete:hover {
        transform: scale(1.1);
        filter: brightness(0.9);
    }

/* Modern Status Badges */
.badge-soft-success {
    background: #e6f7ed !important;
    color: #22c55e !important;
}

.badge-soft-secondary {
    background: #f1f3f7 !important;
    color: #6c757d !important;
}



/* Specific Action Button Styling from screenshot image_a74202.png */
.action-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e3e6f0;
    background: white;
    transition: all 0.2s ease;
}

.btn-yoha-edit {
    color: #f6c23e !important; /* Yellow Pen */
}

    .btn-yoha-edit:hover {
        background: #f6c23e;
        color: white !important;
    }

.btn-yoha-delete {
    color: #e74a3b !important; /* Red Trash */
}

    .btn-yoha-delete:hover {
        background: #e74a3b;
        color: white !important;
    }









.table-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 24px;
    border: 1px solid #eef0f2;
}

*/
/* ===== DATATABLE HEADER ===== */
table.dataTable thead th {
    color: #8e98a8;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.8px;
    border-bottom: 2px solid #f1f2f4 !important;
    padding: 15px !important;
}

/* ===== SEARCH BAR ===== */
.dataTables_filter input {
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    padding: 8px 12px;
    outline: none;
}

/* ===== PAGINATION ===== */
.dataTables_paginate .paginate_button.current {
    background: #6B5BFF !important;
    color: white !important;
    border-radius: 6px;
    border: none;
}

/* ===== ACTION BUTTONS ===== */
.action-group {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.btn-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dee2e6;
    transition: all 0.2s ease;
    background: white;
}

.btn-edit {
    color: #fcc419;
}

    .btn-edit:hover {
        background-color: #fff9db;
        border-color: #fcc419;
    }

.btn-delete {
    color: #ff6b6b;
}

    .btn-delete:hover {
        background-color: #fff5f5;
        border-color: #ff6b6b;
    }

/* ===== BADGES ===== */
.badge-soft-success {
    background: #e6fcf5;
    color: #0ca678;
    border: 1px solid #c3fae8;
}

.badge-soft-warning {
    background: #fff4e5;
    color: #ffa117;
}

.badge-soft-danger {
    background: #fff5f5;
    color: #e03131;
}

/* Customizing Search Bar and Pagination to match your screenshot */
.dataTables_filter input {
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    padding: 8px 12px;
    margin-left: 10px;
    outline: none;
}

.dataTables_paginate .paginate_button.current {
    background: #7C6EFF !important;
    color: white !important;
    border-radius: 6px;
    border: none;
}




.header-title {
    color: #ffffff !important; /* Pure white text */
    font-weight: 800 !important; /* Extra bold */
    font-size: 22px; /* Large and clear */
    margin: 0;
    letter-spacing: 0.02em;
}




/*


rebate form */





.page-header {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 25px;
    font-size: 1.5rem;
    padding-left: 5px;
    text-align:left;
}

.form-group-custom {
    margin-bottom: 1.8rem !important;
}


.form-control-custom:focus {
    border-color: var(--vg-hero-bg, #534ab7);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(var(--vg-hero-rgb, 83, 74, 183), 0.1);
    outline: none;
}

label {
    font-weight: 600;
    color: #505050;
    margin-bottom: 8px;
    font-size: 0.9rem;
    display: block;
}

.btn-cancel {
    background-color: #f4f6fd;
    border: none;
    color: #8e9cad;
    padding: 12px 35px;
    border-radius: 8px;
    font-weight: 600;
}

.sidebar-search .form-control {
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background: #f8f9ff;
    padding: 6px 10px;
}

.sidebar-search .btn {
    border-radius: 8px;
    background: var(--vg-hero-bg, #534ab7);
    color: #fff;
    border: none;
}

    .sidebar-search .btn:hover {
        background: var(--vg-accent, #f26522);
    }


.content-container {
    padding: 25px;
}




.form-group-custom {
    margin-bottom: 1.8rem !important;
}

.form-control-custom {
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    padding: 12px 15px;
    height: auto;
    background-color: #f9faff;
    width: 100%;
    transition: all 0.3s;
}

    .form-control-custom:focus {
        border-color: var(--vg-hero-bg, #534ab7);
        background-color: #fff;
        box-shadow: 0 0 0 3px rgba(var(--vg-hero-rgb, 83, 74, 183), 0.1);
        outline: none;
    }

label {
    font-weight: 600;
    color: #505050;
    margin-bottom: 8px;
    font-size: 0.9rem;
    display: block;
}

/* Yoha Style Purple Button */
.btn-save {
    background-color: var(--vg-hero-bg, #534ab7);
    border: none;
    color: white;
    padding: 12px 35px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(var(--vg-hero-rgb, 83, 74, 183), 0.2);
}

    .btn-save:hover {
        background-color: var(--vg-accent, #f26522);
        color: white;
    }

.btn-cancel {
    background-color: #f4f6fd;
    border: none;
    color: #8e9cad;
    padding: 12px 35px;
    border-radius: 8px;
    font-weight: 600;
}

/* Custom Switch for Active Status */
.custom-switch .custom-control-input:checked ~ .custom-control-label::before {
    background-color: var(--vg-hero-bg, #534ab7);
    border-color: var(--vg-hero-bg, #534ab7);
}














/*ViewSubscription page */

.dataTables_filter input {
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    padding: 8px 12px;
    margin-left: 10px;
    outline: none;
}

.dataTables_paginate {
    margin-top: 16px;
}

    .dataTables_paginate .paginate_button.current {
        background: var(--vg-hero-bg, #534ab7) !important;
        color: white !important;
        border-radius: 6px;
        border: none;
    }

    /* Pagination numbers text color */
    .dataTables_paginate .paginate_button {
        color: white !important;
        padding: 6px 12px !important;
        margin: 0 4px;
        border-radius: 6px;
    }

        /* Current page button */
        .dataTables_paginate .paginate_button.current {
            background: var(--vg-hero-bg, #534ab7) !important;
            color: white !important;
            border-radius: 6px;
            border: none;
        }

        /* Hover state */
        .dataTables_paginate .paginate_button:hover {
            background: var(--vg-accent, #f26522) !important;
            color: white !important;
            border: none;
        }

.content-container {
    padding: 25px;
    background-color: #f8f9fa;
    min-height: 100vh;
}

.page-header-card {
    /*    background: linear-gradient(135deg, #4e73df, #6f42c1);*/
    background-color: var(--vg-hero-bg, #534ab7);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
/*    align-items: flex-start;*/
    border: 1px solid #eef0f2;
    height: 60px;
}

.table-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 24px;
    border: 1px solid #eef0f2;
}

/* Customizing the DataTable Header (The Arrows) */
table.dataTable thead th {
    color: #8e98a8;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.8px;
    border-bottom: 2px solid #f1f2f4 !important;
    padding: 15px !important;
}

/* Action Buttons - Modern Circular Style */
.action-group {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.btn-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dee2e6;
    transition: all 0.2s;
}

.btn-edit {
    color: #fcc419;
    background: white;
}

    .btn-edit:hover {
        background-color: #fff9db;
        border-color: #fcc419;
    }

.btn-delete {
    color: #ff6b6b;
    background: white;
}

    .btn-delete:hover {
        background-color: #fff5f5;
        border-color: #ff6b6b;
    }



/*    Navbar Serarch*/


/* Navbar Search Box */
.form-control-navbar {
    width: 350px;
    border-radius: 20px;
    border: 1px solid #d1d5db;
    padding: 6px 14px;
    font-size: 14px;
    transition: all 0.25s ease-in-out;
    background-color: #ffffff;
}


@keyframes bellShake {
    0% {
        transform: rotate(0);
    }

    25% {
        transform: rotate(-15deg);
    }

    50% {
        transform: rotate(15deg);
    }

    75% {
        transform: rotate(-10deg);
    }

    100% {
        transform: rotate(0);
    }
}

.shake {
    animation: bellShake 1s infinite;
}
