﻿/*-------------------------*/
:root {
    --default-color: #013954;
    --default-light: #e6f0f4; /* light background */
    --default-hover: #012c40;
}

body[data-sidebar=dark].vertical-collpsed {
    min-height: auto;
}

body {
    font-family: Inter, sans-serif;
}
/* Floating input wrapper */
.floating-group {
    position: relative;
}

.modal-content p {
    color: #000;
}
/* Input */
.floating-input {
    padding: 10px 0 10px 40px !important; /* 🔥 left space increased */
}

span.requred {
    color: #df2f2f;
}
/* Label */
.floating-label {
    position: absolute;
    top: 50%;
    left: 30px; /* icon ke baad align */
    font-size: 14px;
    color: #6c757d;
    pointer-events: none;
    transform: translateY(-50%) scale(1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* 🔥 smooth */
    background: #fff;
    padding: 0 6px;
}

/* On focus / value */
.floating-input:focus + .floating-label,
.floating-input:not(:placeholder-shown) + .floating-label {
    top: -8px;
    font-size: 12px;
    transform: translateY(0) scale(0.95); /* 🔥 soft movement */
    color: var(--default-color);
}

/* Icons */
.input-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--default-color);
}

.login-bg {
    height: 100vh; /* full screen height */
    width: 100%;
    overflow: hidden; /* crop extra part */
}

.login-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ⭐ KEY LINE */
    object-position: center;
}

a.logo_img {
    display: flex;
    /* justify-content: center; */
    align-items: center;
    width: 100px;
    margin: auto;
    /* margin-top: 10px; */
}

    a.logo_img img {
        width: 100%;
    }

.login_head {
    text-align: center;
    margin: 50px 0 0;
}

    .login_head p {
        margin-bottom: 0px;
    }

.login_part {
    display: flex;
    padding: 10px 20px 10px 0;
    align-items: center;
    /*    background: #cdd3d1;*/
    justify-content: end;
}

.page-content .container-fluid {
    margin-bottom: 20px !important;
    padding: 0 !important;
}

.page-content.page-footer {
    padding: 5px;
}

.page-footer {
    position: fixed;
    background: var(--default-color);
    width: -webkit-fill-available;
    bottom: 0;
    padding: 5px 0;
}

    .page-footer p {
        margin-bottom: 0;
        padding: 10px;
        text-align: center;
    }

    .page-footer .txt-color-white {
        color: #fff;
    }

ul.top_list li a:hover {
    color: var(--default-color);
}
/*.login_side {
    height: 100vh;
}*/
.login_head h4 {
    font-size: 26px;
    font-weight: 600;
    color: var(--default-color);
}

.login_head p {
    color: var(--default-color);
}

.btn_login {
    width: 50%;
    border-radius: 50px;
}

.waves-effect .fa-power-off {
    color: #f03f37;
}

body[data-sidebar=dark].vertical-collpsed .vertical-menu #sidebar-menu ul li.mm-active .active {
    color: #c9cbcf !important;
}

/*-------------------header---------*/
.collapse_btn {
    margin: 0 8px;
    border: none;
    font-size: 24px;
    background: transparent;
    font-weight: 600;
    color: #505d69;
}

.btn.focus, .btn:focus {
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

a.waves-effect.contat_detail {
    border-color: #e94545;
    /*margin-top: 5px !important;*/
}

.contat_detail {
    position: relative;
    cursor: pointer;
    border: 1px solid var(--default-color);
    padding: 3px 6px;
    font-size: 12px;
    border-radius: 20px;
}
/*ul.top_list li a.waves-effect {
    margin-top: 7px;
}*/
.navbar-header {
    height: 50px;
}

.header-item {
    height: 60px;
}

span.logo-lg {
    width: 100px;
    display: inline-block;
    padding: 5px 0 0;
    /* height: 100px; */
}

    span.logo-lg img {
        width: 100%;
    }

.logo {
    line-height: 50px;
}

.page-content {
    padding: calc(50px + 24px) calc(24px / 2) 0px calc(24px / 2);
}

.vertical-menu {
    top: 50px;
}
/*---------------------------------dashboard-1------------------------*/

.dashboard_part .tabbable-responsive {
    padding-bottom: 0;
    padding-left: 0;
    padding-top: 0;
}

.dashboard_part .nav-tabs .nav-link:hover, .dashboard_part .nav-tabs .nav-link {
    border: 1px solid #4a66764a;
    font-weight: 600;
    margin: 0 5px;
    color: var(--default-color);
    margin-left: 0;
}

    .dashboard_part .nav-tabs .nav-link.active {
        border-color: #ced4da #ced4da #fff;
        background: #3b8dbc;
        color: #fff;
    }

.dashboard_part .nav-tabs #first-tab {
    margin-left: 0;
}

.dashboard_part .right-side-card {
    margin-left: 10px;
}

.dashboard_part a:hover {
    color: #505d69;
}
/* Top Navbar */
.dashboard_part ul.navbar-nav {
    flex-direction: row;
    /* margin-left: auto !important; */
    float: right;
}

    .dashboard_part ul.navbar-nav li.nav-item {
        padding: 0 10px;
    }

    .dashboard_part ul.navbar-nav li a {
        padding: 0;
    }
/* Section Tabs */
.dashboard_part .section-tabs .nav-link {
    color: #666;
    font-weight: 500;
}

    .dashboard_part .section-tabs .nav-link.active {
        background: #3b8dbc;
        color: #fff;
        border-radius: 6px;
    }

/* Card Style */
.dashboard_part .dashboard-card {
    background: #fff;
    border-radius: 12px;
    border: none;
    padding: 15px 10px 10px;
    height: 100%;
    box-shadow: 0 10px 25px rgb(0 0 0 / 17%);
    transition: all .3s ease;
    display: flex;
    /* justify-content: space-between; */
    align-items: start;
}

    .dashboard_part .dashboard-card:hover {
        transform: translateY(-5px);
    }

/* Icon Circle */
.dashboard_part .icon-box {
    width: 35px;
    height: 35px;
    border-radius: .25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
}

.dashboard_part .icon-green {
    background: #28c76f;
}

.dashboard_part .icon-blue {
    background: #00cfe8;
}

.dashboard_part .icon-orange {
    background: #ff9f43;
}

.dashboard_part .icon-purple {
    background: #7367f0;
}

/* Titles */
.dashboard_part .card-title {
    font-size: 16px;
    font-weight: 600;
    margin-top: 0px;
    margin-bottom: 0;
}

.dashboard_part .card-text {
    font-size: 13px;
    color: #013954;
}

/* Phone Side Panel */
.dashboard_part .phone-panel {
    /*background: linear-gradient(180deg, #ff7a7a, #ffb199);
    border-radius: 18px;*/
    /*height: 100%;*/
    /*display: flex;
    align-items: center;
    justify-content: center;*/
    width: 100%;
    height: auto;
}

    .dashboard_part .phone-panel img {
        width: 100%;
        border-radius: 15px;
        height: 100%;
    }



/* Spacing helpers */
.dashboard_part .mt-30 {
    margin-top: 30px;
}


/*-------------------------------dashboard------------*/
.back_login {
    font-size: 14px;
    background: #e94545;
    padding: 3px 6px;
    border-radius: 6px;
    color: #fff;
    border: none;
}
/* TOP SECTION */
.btn-grid {
    flex: 1 0 0%;
    width: 100%;
    /* max-width: 100%; */
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    display: inline-block;
    display: flex;
    flex-wrap: wrap;
}

    .btn-grid a {
        flex: 1 0 0%;
    }

.btn-item {
    text-decoration: none;
    white-space: nowrap; /* Content wrap nahi hoga */
    transition: 0.25s ease;
    border: none;
    color: #fff;
    display: inline-block;
    border-radius: 10px;
    padding: 6px 10px;
    font-size: 14px;
    font-weight: 600;
    width: 100%;
}

a:hover {
    color: #fff;
}
/* Color Variants */
.btn-blue {
    background: #4b93ff;
}

.btn-green {
    background: #32c671;
}

.btn-orange {
    background: #ff8c42;
}

.btn-red {
    background: #e94545;
}

.btn-purple {
    background: #8b5cf6;
}

/* Hover Effects */
.btn-item:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}


.dashboard-top h1 {
    font-size: 36px;
    font-weight: 800;
    color: #1e293b;
    margin-top: 0px;
    margin-bottom: 5px;
}

.dashboard-top p {
    font-size: 16px;
    color: #475569;
    margin-bottom: 0;
}

/* LOGO */
.dashboard-logo {
    width: 120px;
    margin-bottom: 0px;
}

/* BANNER */
.dashboard-banner {
    width: 100%;
    height: 450px;
}

    .dashboard-banner img {
        width: 100%;
        height: 100%;
        border-radius: 18px;
        box-shadow: 0 15px 35px rgba(0,0,0,0.15);
        animation: fadeUp 0.6s ease-in-out;
    }

/* ANIMATION */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vertical-collpsed .vertical-menu #sidebar-menu > ul > li:hover > ul {
    width: auto;
}


/* MODAL BASE */
.sim-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    font-family: "Segoe UI", system-ui, sans-serif;
}

    .sim-modal.hidden {
        display: none;
    }

.sim-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    animation: fadeIn 0.25s ease-in-out;
}

/* CONTAINER */
.sim-modal-container {
    position: relative;
    min-width: 500px;
    max-width: 800px;
    width: auto;
    margin: 8% auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
    animation: slideUp 0.35s ease;
    display: flex;
    flex-direction: column;
}
/*.check_status .info-box {
   
}*/

/* HEADER */
.sim-modal-header {
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #dbd7d7;
}

    .sim-modal-header h3 {
        margin: 0;
        font-size: 16px;
        font-weight: 600;
    }

.sim-modal-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #6b7280;
}

/* SUBTITLE */
.sim-modal-subtitle {
    padding: 8px 16px;
    font-size: 14px;
    color: #6b7280;
}

/* BODY */
.sim-modal-body {
    padding: 0 24px 16px;
    overflow-y: auto;
    max-height: 60vh;
}

/* TABLE */
.table-scroll td a:hover {
    color: #1717d9;
}

.sim-table {
    width: 100%;
    border-collapse: collapse;
}

    .sim-table th {
        background: #f7f7f7;
        text-align: left;
        padding: 10px;
        font-size: 13px;
        color: #374151;
        border-bottom: 1px solid #e5e7eb;
    }

    .sim-table td {
        padding: 8px;
        font-size: 13px;
        border-bottom: 1px solid #f1f5f9;
    }

/* STATUS BADGES */
.status-badge {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.status-invalid {
    background: #fee2e2;
    color: #991b1b;
}

.status-failed {
    background: #fff7ed;
    color: #9a3412;
}

.status-rejected {
    background: #fef3c7;
    color: #92400e;
}

/* FOOTER */
.sim-modal-footer {
    padding: 16px 0px;
    border-top: 1px solid #e5e7eb;
    text-align: right;
}

.btn-secondary {
    background: #374151;
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 6px;
    cursor: pointer;
}

/* ANIMATIONS */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/*----------------------------------table-responsive----------------------*/
.table-scroll {
    max-height: calc(100vh - 360px);
    /*height: 400px;*/
    height: auto;
    -webkit-overflow-scrolling: touch;
}

div#tblSimlist .table-scroll {
    max-height: calc(100vh - 410px);
}

.modal-content {
    border: none;
}

div#bulk_recharge_tbl {
    max-width: 40rem;
    max-height: 20rem;
}

#divSimPreview .table-scroll {
    max-height: 18rem;
}

h6.sim_total {
    background: var(--default-light);
    display: inline-block;
    padding: 5px;
    border-radius: 5px;
    font-weight: 600;
    color: var(--default-color);
}

div#divDistributorDetails .table-scroll, div#divUploadedDistributorDetails .table-scroll {
    max-height: 350px;
}

.wifi_activation .table-scroll {
    max-height: 430px;
}

.full-table-scroll {
    max-height: calc(100vh - 35vh);
    -webkit-overflow-scrolling: touch;
}

    .full-table-scroll .btn {
        padding: 4px 11px;
        font-weight: 500;
    }

.table-bordered td, .table-bordered th {
    text-align: center;
    padding: .50rem .20rem;
    font-size: 13px;
}
/* Fixed header */
.table-scroll thead th, .full-table-scroll thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background-color: var(--default-color);
    color: #fff;
    white-space: nowrap;
    /* border: none; */
    border-radius: .25rem;
    border-top: none;
}

/* Improve row readability */
.table-scroll td, .full-table-scroll td {
    white-space: nowrap;
}

/* Optional hover effect */
.table tbody tr:hover {
    background-color: #f1f5f9;
}

.expiredatelable {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    color: var(--default-color);
    background: var(--default-light);
    padding: 4px 10px;
    border-radius: 999px;
    display: inline-block;
    margin-bottom: 6px;
    transition: all 0.25s ease-in-out;
}
/*----------------Pagination sim-list---------*/
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 5px;
}

div#tblSimlist .pagination-container {
    margin-top: 5px;
    position: absolute;
    margin-top: 30px;
    width: -webkit-fill-available;
}


.pg-btn, .page-number {
    min-width: 25px;
    height: 25px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    background: #f1f3f5;
    color: #333;
    font-weight: 600;
    transition: all .25s ease;
}

    .pg-btn:hover, .page-number:hover {
        background: #0d6efd;
        color: #fff;
        transform: translateY(-1px);
    }

    .page-number.active {
        background: var(--default-color);
        color: #fff;
        box-shadow: 0 4px 10px rgba(13,110,253,.35);
    }

    .pg-btn:disabled {
        opacity: 1.4;
        cursor: not-allowed;
    }

/*----------------popup-contact detail---------*/
.btn-wrapper {
    margin-top: 30px; /* perfect alignment with inputs */
    display: flex;
    gap: 10px;
}

.contact-popup {
    position: absolute;
    top: 120%;
    right: 0;
    /*background: #fff;*/
    /*padding: 8px 12px;*/
    /*transform: translateX(-50%);*/
    background: linear-gradient(145deg, #fff, #f0f0f5);
    /*border: 1px solid #ccc;*/
    border-radius: 5px;
    white-space: nowrap;
    padding: 12px 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 999;
}

    .contact-popup .popup-item:hover {
        background: var(--default-color);
        color: #fff;
    }

        .contact-popup .popup-item:hover .popup-text, .contact-popup .popup-item:hover i {
            color: #fff;
        }
/* Individual popup item */
.popup-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    border-radius: 5px;
    font-size: 14px;
    padding: 0px 3px 0 5px;
}

    /* Last item no margin */
    .popup-item:last-child {
        margin-bottom: 0;
    }

    /* Icons in popup */
    .popup-item i {
        margin-right: 8px;
        color: var(--default-color); /* icon color */
        font-size: 16px;
    }

    /* Headings bold + color */
    .popup-item strong {
        font-weight: bold;
        margin-right: 4px;
        /*color: #333;*/ /* heading color */
    }

/* Text color different */
.popup-text {
    color: #555;
    font-weight: normal;
}

/* eye icon */
.toggle-eye {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #777;
}

    /* icon change via class */
    .toggle-eye.show {
        color: var(--default-color);
    }

.auth-form-group-custom .form-control:focus {
    border-color: var(--default-color);
    /*    box-shadow: 0 0 0 0.1rem rgba(1, 57, 84, 0.25);*/
}

.form-group label {
    color: #555;
    transition: color 0.3s ease;
}

/* when input focused, change label color */
.form-group:focus-within label {
    color: var(--default-color);
    font-weight: 500;
}

/*------------------------mainmaster-------------*/
.top_head {
    display: flex;
    width: 100%;
    align-items: center;
}

.logout_btn {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0px;
}

ul.top_list {
    margin-bottom: 0px !important;
    display: flex;
    align-items: end;
    gap: 0px;
    list-style: none;
    margin: 0;
    padding: 0;
}

    ul.top_list li {
        list-style: none;
        padding: 0 10px 0 0;
        display: flex;
        align-items: center;
    }



#sidebar-menu ul li a, .user_id li a {
    display: block;
    padding: 10px 18px;
    margin: 6px;
    color: #cfd5e1;
    font-size: 13.5px;
    font-family: Inter, sans-serif;
    font-weight: 500;
    background: linear-gradient(135deg, #2b3142, #252b3b);
    border-radius: 6px;
    transition: all 0.35s ease;
}

    #sidebar-menu ul li a:hover {
        background: linear-gradient( 135deg, #3a4258, #2d3446 );
        color: #ffffff;
        transform: translateX(5px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
    }

#sidebar-menu ul li.active > a {
    background: #2f3750;
    color: #ffffff;
    box-shadow: inset 3px 0 0 #3f8cff;
}


#sidebar-menu {
    padding: 0 0 0 0;
    position: relative;
    overflow-y: scroll;
    -webkit-overflow-scrolling: inherit;
    height: 100%;
    height: calc(100% - 70px);
}

.metismenu {
    padding-left: 0;
    list-style: none;
    position: relative;
    /*overflow-y: scroll;*/
    height: 100%;
}

#sidebar-menu .metismenu::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
    background-color: #F5F5F5;
}

#sidebar-menu .metismenu::-webkit-scrollbar-track-piece {
    width: 6px;
    background-color: #F5F5F5;
}

#sidebar-menu .metismenu::-webkit-scrollbar-track-piece {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #001722;
}

#sidebar-menu .metismenu::-webkit-scrollbar-thumb, .metismenu::-webkit-scrollbar {
    height: 5px;
    width: 5px !important;
    background: #6f788c !important;
}

.user_id li a #spnDealerName_Mobile {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    display: block;
}



.user_id {
    /* text-align: center; */
    padding: 0px 0 0;
    /* background: #2f3750; */
    margin: 10px 0 20px;
}

    .user_id a {
        color: #fff;
    }

.navbar-brand-box {
    text-align: center;
}

#page-topbar {
    box-shadow: 0 2px 4px rgb(0 0 0 / 23%);
    z-index: 980;
}

body[data-sidebar=dark].vertical-collpsed .vertical-menu #sidebar-menu ul li.mm-active .active i {
    color: #ffffff !important;
}
/*-------------------single-activation-tabs--------*/
.mode-toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; /* IMPORTANT */
    gap: 10px;
    background: #f8f9fa;
    padding: 6px 15px;
    border-radius: 8px;
}

    .mode-toggle-wrapper .btn-group {
        gap: 20px;
    }

input.btn-check {
    visibility: hidden;
    position: absolute;
    /*background: green;*/
}


/* Button group styling */
.mode-toggle-wrapper .btn-group .btn {
    /*border-radius: 20px;*/
    padding: 4px 14px;
    font-weight: 500;
    transition: 0.3s ease;
    margin-bottom: 0;
}

    .mode-toggle-wrapper .btn-group .btn:hover {
        transform: translateY(-1px);
    }

label.btn.dflt {
    background: rgb(205 205 205 / 55%);
}

span#modeBadge {
    color: #741010;
    background-color: transparent;
    font-weight: 600;
    line-height: 1.5;
    transition: all 0.3s ease;
    animation: highlightBlink 1.2s infinite;
    font-size: 15px;
}
/* Active styles */
#rdoActivation:checked + label {
    background: transparent;
    color: #1cbb9a;
    position: relative;
    border: 1px solid #1cbb8c;
    cursor: auto;
}

#rdoPortIn:checked + label {
    background: transparent;
    color: #1cbb9a;
    position: relative;
    border: 1px solid #1cbb8c;
    cursor: auto;
}

/* Badge styling */
.mode-badge {
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 20px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: 0.3s ease;
}

.show-summary #portinSection {
    flex: 0 0 100%;
    max-width: 100%;
}
/*----------------------checkstatus--------------*/
.btn_download {
    float: right;
    color: white;
    padding: 1px 5px;
    border-radius: .25rem;
    border: 1px solid white;
    /* margin-right: 20px; */
    font-weight: bold;
    background-color: transparent;
}

    .btn_download:hover {
        color: white;
    }

/* CARDS */
.card-header {
    padding: 0.40rem 1.25rem;
}

.check_status .card {
    /*border-radius: 12px;*/
    border: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

/* SEARCH CARD */
.check_status .search-card .form-control {
    height: 42px;
    border-radius: 6px;
}


/* SECTION HEADER */
.check_status .section-header, .portin_check_Staus .section-header {
    background: #d1d5dc;
    padding: 4px 14px;
    border-radius: 8px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1f2937;
    font-size: 14px;
    display: inline-block;
}

/* INFO BOX */
.check_status .info-box {
    background: #093154fa;
    padding: 0px 14px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    min-height: 50px;
    align-items: center;
}

    .check_status .info-box:hover {
        background: #454242;
    }

/* LABEL & VALUE */
.check_status .label {
    display: block;
    font-size: 14px;
    color: #e3e3e3;
    letter-spacing: .04em;
    text-transform: capitalize
}

.check_status .value {
    font-size: 14px;
    font-weight: 600;
    color: #d6ffd8;
    text-align: end;
}

.check_status .section-title, .portin_check_Staus .section-title {
    font-weight: 600;
    font-size: 18px;
    color: #370606;
    font-family: sans-serif;
    margin: 8px 0 0;
    letter-spacing: 2px;
    text-transform: capitalize;
    text-decoration: underline;
}
/* BADGES */
.check_status .badge {
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.check_status .badge-success {
    background: #22c55e;
    color: #fff;
}

.check_status .badge-active {
    background: #3b82f6;
    color: #fff;
}

.check_status .badge-notactive {
    background: #818181;
    color: #fff;
}

.check_status .badge-failed {
    background: #ef4444;
    color: #fff;
}

.btn-success {
    margin-right: 4px;
}
/*----------------------checkportinstatus--------------*/
.portin_check_Staus .badge {
    color: #856404;
    padding: 6px 10px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
}

.badge-success {
    background: #d4edda;
}

.badge-failed {
    background: #f8d7da;
}

.badge-active {
    background: #d4edda;
}

.badge-pending {
    background: #fff3cd;
}

.badge-notactive {
    background: #f8d7da;
}

.portin_check_Staus .flex-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
}

.portin_check_Staus .flex-item {
    flex: 1 1 220px; /* auto responsive */
    min-width: 220px;
}

.portin_check_Staus .btn-group-flex {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

    .portin_check_Staus .btn-group-flex .btn {
        flex: 1;
    }

/* Info Section */
.portin_check_Staus .info-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.portin_check_Staus .info-box {
    flex: 1 1 220px;
    /*min-width: 220px;*/
    background: #fff;
    padding: 12px 12px 0;
    border-radius: 8px;
    border: 1px solid #eee;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

    .portin_check_Staus .info-box:hover {
        transform: translateY(-4px); /* thoda kam karo */
        box-shadow: 0 10px 22px rgba(0,0,0,0.12);
        border-color: #e0e0e0;
    }

.portin_check_Staus p.value {
    font-size: 18px;
    color: #181818;
    font-weight: 600;
}

.portin_check_Staus .info-box, .btn, .badge {
    transition: all 0.3s ease;
}

/*-------------loader overlay---------------------*/
.loader-overlay {
    position: fixed;
    inset: 0;
    background: #000000db;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}



.loader {
    position: relative;
    width: 200px;
    height: 200px;
}

/* outer ring */

.ring1 {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 4px solid transparent;
    border-top: 4px solid #38bdf8;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* inner ring */

.ring2 {
    position: absolute;
    width: 150px;
    height: 150px;
    top: 15px;
    left: 15px;
    border: 4px solid transparent;
    border-bottom: 4px solid #22c55e;
    border-radius: 50%;
    animation: spinReverse 1.2s linear infinite;
}

.enk {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 35px;
    color: white;
    font-family: serif;
}

/* normal rotation */

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* reverse rotation */

@keyframes spinReverse {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

/*----------------------forms-------------------*/

.control-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    color: var(--default-color);
    background: var(--default-light);
    padding: 4px 10px;
    border-radius: .25rem .25rem;
    display: inline-block;
    margin-bottom: 6px;
    transition: all 0.25s ease-in-out;
}

/* Label hover interaction */
/*.col-md-2:hover .control-label,
.col-md-3:hover .control-label {
    background: var(--default-color);
    color: #fff;
}*/

/* ================================
   INPUT / TEXTBOX
================================ */
.form-control {
    height: 38px;
    padding: 10px 14px;
    font-size: 14px;
    border-radius: .25rem;
    border: 1px solid #d0d5dd;
    background-color: #ffffff;
    transition: all 0.25s ease-in-out;
}

textarea.form-control {
    height: 38px;
}

/* Focus effect */
.form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    outline: none;
}

/* Readonly */
.form-control[readonly] {
    background-color: #f8fafc;
    color: #475467;
    cursor: not-allowed;
}

/* Placeholder */
.form-control::placeholder {
    color: #98a2b3;
    font-size: 13px;
}

/* ================================
   DROPDOWN (SELECT)
================================ */
.dropdown,
select.form-control,
select.dropdown {
    height: 38px;
    padding: 10px 14px;
    font-size: 14px;
    border-radius: .25rem .25rem;
    border: 1px solid #d0d5dd;
    background-color: #ffffff;
    transition: all 0.25s ease-in-out;
    margin-bottom: 5px;
}

    .dropdown:focus,
    select:focus {
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
        outline: none;
    }

/* ================================
   INPUT GROUP
================================ */
.input-group .form-control {
    border-radius: .25rem .25rem;
    margin-bottom: 5px;
}

/* ================================
   FILE INPUT
================================ */
.mt-4 {
    margin-top: 1.8rem !important;
}

input[type="file"].form-control {
    padding: 8px 12px;
    height: 38px;
    font-size: 13px;
}
/* ================================
   BUTTONS
================================ */
.btn {
    border-radius: .25rem;
    padding: 7px 10px;
    font-size: 14px;
    font-weight: 500;
}

.btn-success {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border: none;
    /*box-shadow: rgb(35 170 85 / 25%) 0px 54px 55px, #23aa5540 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;*/
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border: none;
}

.btn:hover {
    opacity: 0.92;
}

/* ================================
   CARD POLISH
================================ */
.card {
    border-radius: 14px;
    border: 1px solid #eaecf0;
}

.card-header {
    border-radius: 14px 14px 0 0;
}

/*.card-body {
    padding: 10px 24px;
}*/
/*------------------------------wifi activation--------------*/
.wifi_activation .bor {
    border: 2px solid var(--default-color);
    border-radius: 24px;
    box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px, rgba(0, 0, 0, 0.07) 0px 2px 4px, rgba(0, 0, 0, 0.07) 0px 4px 8px, rgba(0, 0, 0, 0.07) 0px 8px 16px, rgba(0, 0, 0, 0.07) 0px 16px 32px, rgba(0, 0, 0, 0.07) 0px 32px 64px;
    padding: 12px 15px 17px !important;
    min-height: 320px;
    max-height: 350px;
    margin: 20px 0;
}

.file-text {
    color: var(--default-color);
}

.upload_file_format {
    border: 2px dashed var(--default-color);
    border-radius: 20px;
    /*margin: 20px 0px 0;*/
    text-align: center;
    max-height: 200px;
    min-height: 190px;
    padding: 20px;
}

.file-upload input {
    width: auto;
    display: inline-block;
    /* background: #efefef; */
    border: 1px solid #252b3b;
    padding: 5px;
    /* border-radius: 5px; */
    box-shadow: 0px 2px 0 0 rgb(56 65 116);
    transition: box-shadow 0.3s ease-in-out;
}

.butn_flx {
    display: flex;
    justify-content: center;
    align-items: center;
    /*margin-top: 20px;*/
    width: 100%;
}
/*---------------------bulk-activation------------*/
#streetContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

#street1Div, #street2Div {
    width: 100%;
}

.activation_bulk_modal .card-body {
    padding: 0;
    min-height: 4rem;
}

    .activation_bulk_modal .card-body .text-muted {
        font-size: 12px;
    }

.wifi-check-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    background: #f0f7ff;
    border: 1.5px solid #b8d4f8;
    border-radius: .25rem;
    cursor: default;
    user-select: none;
    min-width: 0;
    height: 35px;
    padding: 10px 14px;
    font-size: 14px;
}

    .wifi-check-wrap input[type="checkbox"] {
        width: 17px;
        height: 17px;
        accent-color: #4e73df;
        cursor: default;
        flex-shrink: 0;
    }

    .wifi-check-wrap label {
        margin: 0;
        font-size: 13.5px;
        font-weight: 600;
        color: #2e59d9;
        white-space: nowrap;
        cursor: default;
    }

.esim-qty-wrapper {
    display: flex;
    align-items: center;
    border: 1.5px solid #ced4da;
    border-radius: 10px;
    overflow: hidden;
    height: 34px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
    transition: border-color 0.2s;
}

    .esim-qty-wrapper:focus-within {
        border-color: #4e73df;
        box-shadow: 0 0 0 3px rgba(78,115,223,0.13);
    }

.esim-qty-btn {
    width: 36px;
    min-width: 36px;
    height: 100%;
    border: none;
    background: #f4f6fb;
    color: #4e73df;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
    user-select: none;
    line-height: 1;
}

    .esim-qty-btn:hover {
        background: #4e73df;
        color: #fff;
    }

    .esim-qty-btn:active {
        background: #2e59d9;
        color: #fff;
    }

.esim-qty-input {
    flex: 1;
    border: none;
    outline: none;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #222;
    background: transparent;
    width: 100%;
    min-width: 0;
    padding: 0 2px;
}

    .esim-qty-input::-webkit-inner-spin-button,
    .esim-qty-input::-webkit-outer-spin-button {
        -webkit-appearance: none;
    }

.price_tag {
    border: 1px solid #d0d5dd;
    border-radius: 12px;
    /* justify-content: center; */
    align-items: center;
    margin-top: 30px;
    padding: 15px 0 0;
    text-align: center;
    background: #ffcdd621;
}

label.price_lavel {
    background: #f0f7ff;
    width: 100%;
    padding: 5px;
    margin: 10px 0 0;
    border-radius: 0 0 12px 12px;
    color: #2e59d9;
}

.esim-price-label {
    font-size: 18px;
    margin-bottom: 0;
    font-weight: 600;
    color: #013954;
    text-transform: uppercase;
}
/*}-----------------tabform-bulk-recharg-summary-----------------*/
.ps-card {
    background: #fff;
    border: 0.5px solid #e0e0e0;
    border-radius: 10px;
}

.ps-header {
    font-size: 12px;
    font-weight: 500;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: .05em;
    border-bottom: 0.5px solid #eee;
    padding: 10px;
    background: #013954;
    border-radius: 10px 10px 0 0;
}

.ps-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    padding: 4px 0;
    color: #333;
}

.ps-body hr {
    margin: 0;
}

h2.head_dealer {
    font-size: 16px;
    font-weight: 600;
    color: var(--default-color);
}

.ps-row .muted {
    color: var(--default-color);
    font-weight: 600;
}

.ps-row.total {
    font-size: 14px;
    font-weight: 600;
    padding-top: 8px;
}

.ps-qty {
    font-size: 11px;
    color: #333;
    margin-left: 4px;
}

.ps-badge {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 6px;
    background: #e8f4fd;
    color: #1565c0;
    text-transform: none;
    margin-left: 6px;
}

    .ps-badge.esim {
        background: #e8f5e9;
        color: #2e7d32;
    }

#formSection {
    transition: all 0.3s ease;
}


.grid-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    transition: all 0.4s ease-in-out;
}

    /* When summary active */
    .grid-container.show-summary {
        grid-template-columns: 1fr 1fr;
    }

#summarySection {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.4s ease;
    pointer-events: none;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    padding: 10px;
    border-radius: 20px;
}

/* Active state */
.grid-container.show-summary #summarySection {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

/* Form smooth resize */
#formSection {
    transition: all 0.4s ease;
}

/* Form items smooth resize */
.form-item {
    transition: all 0.3s ease;
}

.ps-body {
    padding: 10px;
}

.detail_sumry {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 1rem 0;
    position: relative;
}

    .detail_sumry::before {
        content: "";
        position: absolute;
        top: calc(18% + 8px); /* 👈 perfect position */
        left: 50%;
        transform: translate(-50%, -50%);
        width: 24px;
        height: 24px;
        background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 2l12 12M14 2L2 14" stroke="%231a7a4a" stroke-width="2"/></svg>') no-repeat center;
        background-size: contain;
    }
/* Make Total Dealer Cost take full width */
.ps-metric-card.center-card {
    grid-column: span 2; /* next row me aayega */
    justify-self: center; /* center align */
    width: 60%; /* medium size (adjust 50–70%) */
}

/* Card UI */
.ps-metric-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 0.8rem 1rem;
    text-align: center;
}

/* Label */
.ps-metric-label {
    font-size: 14px;
    color: #252b3b;
    font-weight: 600;
    text-transform: uppercase;
}

/* Value */
.ps-metric-val {
    font-size: 18px;
    font-weight: 500;
    margin-top: 4px;
    color: #1a7a4a;
}


/*-------------------------pagination or search reporting-------------*/
/* Search */
.sim-search-wrapper {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.pagination-wrapper {
    flex-shrink: 0;
}
/* Left side (search) */
.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .search-box input {
        width: 230px;
        padding: 6px 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

/* Right side (count) */
#recordCount {
    font-size: 13px;
    color: #1a3c5e;
    font-weight: 500;
    white-space: nowrap;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .sim-search-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    #recordCount {
        margin-left: 0;
    }
}
/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 5px;
    flex-wrap: wrap;
}

.page-btn {
    min-width: 25px;
    height: 25px;
    border: 1px solid #dee2e6;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 12px;
    padding: 5px;
}

    .page-btn:hover {
        background: #f1f3f5;
    }

    .page-btn.active {
        background: #1a3c5e;
        color: #fff;
        border-color: #1a3c5e;
        font-weight: 600;
    }

    .page-btn.disabled {
        opacity: .5;
        pointer-events: none;
    }

/*------------------btn-access-network----------------*/
.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quick-tabs {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #406d82;
    border-radius: .25rem;
    padding: 3px 0px 3px 6px;
}

    .quick-tabs .label {
        font-size: 12px;
        color: #effaff;
        font-weight: 500;
    }

    .quick-tabs .tab-switch {
        display: flex;
        background: rgb(255 255 255);
        padding: 1px 2px;
        border-radius: .25rem;
    }

@keyframes highlightBlink {
    0% {
        color: #100c0c;
        text-shadow: none;
    }

    50% {
        color: #e50000;
        text-shadow: 0 0 5px rgb(76 255 73 / 34%);
    }

    100% {
        color: #100c0c;
        text-shadow: none;
    }
}

.quick-tabs .tab {
    padding: 0px 5px;
    border-radius: .25rem;
    font-size: 13px;
    color: #100c0c;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    animation: highlightBlink 1.2s infinite;
}

    .quick-tabs .tab:nth-child(2) {
        animation-delay: 0.5s;
    }

    .quick-tabs .tab:hover {
        animation: none !important;
        color: #284550; /* normal hover color */
    }

    .quick-tabs .tab.active {
        color: #284550;
        font-weight: 500;
        background: #e6f0f4;
    }

.quick-tabs a:hover {
    color: #284550;
    background: #e6f0f4;
}

.right_side_head {
    display: flex;
    justify-content: flex-start;
    align-items: end;
}
.recharge-toggle{
    display:flex;
    width:100%;
    border:1px solid #d6d6d6;
    border-radius:4px;
    overflow:hidden;
}

.recharge-toggle .radio-card{
    flex:1;              /* Important */
    display:flex;
}

.recharge-toggle .radio-card input{
    display:none;
}

.recharge-toggle .radio-card label{
    width:100%;
    margin:0;
    padding:8px 15px;
    text-align:center;
    cursor:pointer;
    background:#fff;
    border-right:1px solid #d6d6d6;
    transition:.3s;
}

.recharge-toggle .radio-card:last-child label{
    border-right:none;
}

.recharge-toggle .radio-card input:checked + label{
        background: var(--default-color);
    color: #fff;
}





/*------------------responsiveness------------*/
@media (min-width: 320px) and (max-width: 767px) {
    .dashboard-banner {
        height: auto;
    }

    .sim-modal-container {
        max-width: 100%;
        width: auto;
        margin: 8% 25px;
    }

    a.btn {
        padding: 10px 0;
        width: 100%;
        margin-bottom: 5px;
    }

    .login_head {
        margin: 0 0 0;
    }

    .btn_download {
        float: none
    }

    select option {
        font-size: 10px;
    }

    .file-upload input {
        width: 100%;
    }

    .back_login {
        font-size: 12px;
        padding: 3px 5px;
        text-align: center;
    }

    ul.top_list li {
        text-align: center;
    }

    .collapse_btn {
        margin: 0 0;
    }

    .page-footer {
        position: relative;
    }

    .dashboard_part .tabbable-responsive ul li a {
        padding: 8px;
    }

    .dashboard_part .phone-panel {
        display: none;
    }

    .grid-container {
        display: block !important;
    }

    .portin_check_Staus .flex-item,
    .portin_check_Staus .info-box {
        flex: 1 1 100%;
    }
}
/* tablet*/
@media (max-width: 1023px) and (min-width: 767px) {
    .dashboard-top h1 {
        font-size: 26px;
    }

    .dashboard-logo {
        width: 90px;
    }

    .login_head {
        margin: 0 0 0;
    }

    .dashboard-banner {
        height: 100%;
    }

    a.btn {
        padding: 10px 0;
        width: 160px;
        margin-bottom: 5px;
    }

    .dashboard_part .phone-panel {
        display: none;
    }
}
/*small laptop screen */
@media (max-width: 1400px) and (min-width: 1024px) {
    a.btn, .btn {
        padding: 5px 8px;
        width: auto;
        font-size: 12px;
    }

    .dashboard-banner {
        height: 330px;
    }

    .dropdown, select.form-control, select.dropdown, input[type="file"].form-control, .form-control {
        height: 34px;
        padding: 6px 12px;
        font-size: 12px;
        line-height: 12px;
    }

    .dashboard_part .card-title {
        font-size: 12px;
    }

    .dashboard_part .card-text {
        font-size: 10px;
    }

    span.logo-lg {
        width: 70px;
        padding: 5px 0;
    }

    .dashboard_part .dashbaord-card {
        padding: 10px 10px 10px;
    }

    .dashboard_part .phone-panel {
        height: auto;
    }

    .nav-link {
        padding: .2rem 1rem;
    }

    .dashbaord_part dashboard-card {
        padding: 10px 10px 10px;
    }

    .dashboard_part .icon-box {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .dashboard_part .right-side-card {
        margin-left: 3px;
    }

    .logo {
        line-height: 40px;
    }

    .vertical-menu {
        top: 40px;
    }

    .user_id {
        margin: 10px 0 0px;
    }

    #sidebar-menu {
        height: calc(100% - 50px)
    }

        #sidebar-menu ul li a, .user_id li a {
            padding: 7px 18px;
            font-size: 13px;
        }

            #sidebar-menu ul li a i {
                font-size: 0.90rem;
            }

    .page-content {
        padding: calc(35px + 24px) calc(24px / 2) 0px calc(24px / 2);
    }

        .page-content.page-footer {
            padding: 3px;
        }

    .card {
        margin-bottom: 0;
    }

    .card-body {
        padding: 0.50rem;
    }

    .card-header {
        padding: 0.40rem 1.25rem;
    }

        .card-header h5 {
            font-size: 14px;
            line-height: 1.5
        }

    .vertical-collpsed .vertical-menu #sidebar-menu > ul > li > a {
        padding: 10px 20px;
        min-height: 40px;
    }

    .page-content .container-fluid {
        padding: 0px;
    }

    .control-label, .expiredatelable {
        font-size: 10px;
    }

    .table-bordered td, table-bordered th {
        font-size: 12px;
    }

    .table-scroll {
        max-height: calc(100vh - 250px);
    }
    #searchWrapper .table-scroll
{
    max-height: calc(100vh - 300px);
    height: auto;
}

div#tblSimlist .table-scroll {
    max-height: 230px;
}

.wifi_activation .table-scroll {
    max-height: 350px;
}

.pagination-container {
    position: fixed !important;
    width: -webkit-fill-available;
    bottom: auto;
}

select.dropdown, .form-control::placeholder, .form-control {
    font-size: 12px;
}

.check_status .section-title {
    font-size: 15px;
    margin: 2px;
}

.check_status .value, .check_status .label, .check_status .badge {
    font-size: 12px;
}

.check_status .info-box {
    min-height: 45px;
}

.btn_download {
    font-weight: 500;
}

.esim-price-label {
    font-size: 14px;
}

.wifi-check-wrap {
    font-size: 14px;
    height: 34px;
    margin-top: 0px;
}

.form-item {
    margin-bottom: 0.50rem !important;
    /*margin-top:0.20rem !important;*/
}

.check_status .section-header {
    font-size: 14px;
}

div#divDistributorDetails .table-scroll, div#divUploadedDistributorDetails .table-scroll {
    max-height: 250px;
}

.full-table-scroll {
    max-height: 380px;
}

.detail_sumry {
    margin: 1rem 0;
}

div#bulk_recharge_tbl {
    max-height: 15rem !important;
}


.check_status .section-title {
    margin-bottom: 0px !important;
    font-size: 0.70rem !important;
}

.receipt .table {
    margin-bottom: .50rem !important;
}

.receipt_button {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
}

.portin_check_Staus p.value {
    font-size: 12px;
}

.check_status .section-header, .portin_check_Staus .section-header {
    font-size: 14px;
}

.portin_check_Staus .info-flex {
    gap: 10px;
}
.portin_check_Staus .section-title {
font-size:18px; !important;}
.portin_check_Staus .info-box {
flex: 1 1 190px;
min-width: 190px;}
.mode-toggle-wrapper {
background: #e8eaec;
}
span#modeBadge {
font-size:12px;}
.table-bordered th {
font-size:12px;}
.quick-tabs .tab {
font-size:10px;}
}
