.custom-navbar {
    background: linear-gradient(to right, #002f86, #00c3ff, #00c853, #002f86);
    padding: 5px 20px;
}
.custom-navbar .nav-link {
    color: white !important;
    font-weight: bold;
}
.custom-navbar .nav-link:hover {
    text-decoration: underline;
}
.custom-navbar .fa-home {
    margin-right: 8px;
}

@media (max-width: 575.98px) {
    .h-sm-100-custom {
        height: 100% !important;
    }
}


/*Dashboard Css*/
.gradient-border {
    border: 2px solid transparent;
    border-radius: 10px;
    background: linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, #1a237e, #4caf50, #2196f3) border-box;
}

.gradient-underline {
    border-bottom: 2px solid transparent;
    background: linear-gradient(90deg, #1a237e, #4caf50, #2196f3) bottom no-repeat;
    background-size: 100% 2px;
}

.item-row-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.item-label-custom {
    display: flex;
    flex-direction: column;
}
.item-label-custom small {
    color: #0d47a1;
    font-weight: 500;
}

.form-control-custom, .form-select-custom {
    border-radius: 20px;
    border: 1px solid #0d47a1;
}

.btn-search {
    background-color: #0c2782;
    color: white;
    border-radius: 20px;
}
.btn-search:hover {
    background-color: #09135a;
    color: white;
}

.form-wrapper-1 {
    flex-grow: 1;
}

.exclamation-icon{
    font-size: 30px ;
    color: #0c2782;
}


/*Billing Page Css*/
.section-bar {
    background: linear-gradient(90deg,#0b3d91 0%, #00b894 60%, #0b3d91 100%);
}

.invoice-card .card-header-22 {
    background: #0b3d91;
}

.invoice-table thead th {
    background:#e9f0ff;
    color:#0b3d91;
    font-weight:600;
    font-size:.85rem;
    border-bottom:2px solid #d6e3ff;
}

.panel-summary {
    width: 180px;
    border:1px solid #0b3d91;
    border-radius:10px;
}
.panel-summary .head {
    background:#0b3d91;
    color:#fff;
    padding:.35rem .6rem;
    border-radius:10px 10px 0 0;
    text-align:center;
    font-weight:600;
}
.panel-summary .body { padding:.45rem .6rem; font-size:.9rem; color:#0b3d1a; }
.small-muted-box-11 { background:#eef6ff; padding:.15rem .45rem; border-radius:6px; display:inline-block; font-weight:600; color:#0b3d91; }

.btn-primary-rounded-custom { border-radius:18px; padding:.35rem 1.35rem; }

.table-responsive-sm-custom { overflow-x:auto; }

.section-title-num { font-weight:600; color:#fff; margin-right:.6rem; }

.gradient-border-billing {
    border: 2px solid transparent;
    background: linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, #1a237e, #4caf50, #2196f3) border-box;
}
.btn-submit:hover {
    background-color: #09135a;
    color: white;
}
.help-icon,.customer-icon{
    color: #0c2782;
}

/*Place Order Page Css*/
.section-header {
    background: linear-gradient(to right, #00c853, #0d47a1);
    color: white;
    font-weight: bold;
    padding: 6px 12px;
}
.table-custom thead th {
    background-color: #f2f2f2;
}
.table-custom tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}
.btn-custom {
    background-color: #0d47a1;
    color: white;
}
.btn-custom:hover {
    background-color: #093170;
}
.border-none td {
    border: none;
    height: 35px;
}
.place-order-table-div{
    border: 2px solid transparent;
    background: linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, #1a237e, #4caf50, #2196f3) border-box;
}

/*Transaction Page Css*/
.bg-navy {
    background-color: #0c2782 !important;
}
.table-selected {
    background-color: #e6f0ff !important;
}

.bg-navy {
    background-color: #0c2782;
}
.table-custom{
    background: #ececec !important;
}

.table-selected {
    background-color: #e3f2fd !important;
}


.icon-btn {
    border: 1px solid transparent;
    background: transparent;
    padding: 4px 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-right: 6px;
}
.icon-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.table thead {
    --bs-table-bg: transparent;
    --bs-table-color: inherit;
    background-color: #dee8ff;
    color: white;
}
.table thead th {
    color: #0c2782;
}
.padding-custom{
    padding: 0px 55px 0px 60px;
}

/*See Orders Page Css*/

.bg-navy {
    background-color: #0c2782 !important;
}
.table-selected {
    background-color: #e6f0ff !important;
}

/*.gradient-border {*/
/*    border: 1px solid;*/
/*    border-image: linear-gradient(to right, #007bff, #00c4ff) 1;*/
/*}*/

.bg-navy {
    background-color: #001f3f;
}
.table-custom{
    background: #ececec !important;
}

.table-selected {
    background-color: #e3f2fd !important;
}

.icon-btn {
    border: 1px solid transparent;
    background: transparent;
    padding: 4px 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-right: 6px;
}
.icon-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
.divider {
    border-left: 1px solid #fff;
    margin: 0 8px;
    height: 24px;
}

.section-header {
    background: linear-gradient(to right, #00c853, #0d47a1);
    color: white;
    font-weight: bold;
    padding: 6px 12px;
}
.table-custom thead th {
    background-color: #dee8ff;
    /*text-align: center;*/
}
.table-custom tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}
.btn-custom {
    background-color: #0d47a1;
    color: white;
}
.btn-custom:hover {
    background-color: #093170;
}
.border-none td {
    border: none;
    height: 35px;
}
.place-order-table-div{
    border: 2px solid transparent;
    background: linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, #1a237e, #4caf50, #2196f3) border-box;
}

/*List Price Page*/

.bg-navy {
    background-color: #0c2782 !important;
}
.table-selected {
    background-color: #e6f0ff !important;
}

/*.gradient-border {*/
/*    border: 1px solid;*/
/*    border-image: linear-gradient(to right, #007bff, #00c4ff) 1;*/
/*}*/

.bg-navy {
    background-color: #001f3f;
}
.table-custom{
    background: #ececec !important;
}

.table-selected {
    background-color: #e3f2fd !important;
}


.icon-btn {
    border: 1px solid transparent;
    background: transparent;
    padding: 4px 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-right: 6px;
}
.icon-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}


/*Address Information Page Css*/


.side-menu a.active {
    font-weight: 700;
}
.info-icon {
    border: 1px solid #003b7a;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #003b7a;
    font-size: 14px;
}
.form-check-label {
    font-size: 0.9rem;
}

/*Payment Info Page*/

.side-menu a {
    display: block;
    padding: 0.4rem 0;
    color: #000;
    font-weight: 500;
    text-decoration: none;
}
.side-menu a.active {
    color: #002881;
    font-weight: bold;
}
.card-icons img {
    height: 32px;
    margin-left: 0.5rem;
}
.form-check-label {
    font-size: 0.9rem;
}
.info-text {
    font-size: 0.85rem;
    color: #555;
}

/*Login Page Css*/

.login-form .login-input {
    display: block;
    border-radius: 6px;
    border: 1px solid #ccc;
    padding: 0.6rem;
    outline: none;
    transition: all 0.3s ease;
}

.login-form .login-input:focus {
    border: 2px solid transparent;
    background-image: linear-gradient(#fff, #fff),
    linear-gradient(90deg, #0c2782, #0056D2);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.login-form .form-check-input:checked {
    background-color: #0c2782;
    border-color: #0c2782;
}
.extra-links a{
    color: #0c2782;
}

.btn-login {
    background-color: #0c2782;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    padding: 0.6rem;
    transition: background-color 0.3s ease;
}

.btn-login:hover {
    background-color: #013080;
}

.login-header{
    background: #0c2782;
    color: white;
    font-size: 22px;
}

/*Forgot Pass Page Css*/

.forgot-pass-form .forgot-input {
    display: block;
    border-radius: 6px;
    border: 1px solid #ccc;
    padding: 0.6rem;
    outline: none;
    transition: all 0.3s ease;
}

.forgot-pass-form .forgot-input:focus {
    border: 2px solid transparent;
    background-image: linear-gradient(#fff, #fff),
    linear-gradient(90deg, #0c2782, #0056D2);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.forgot-pass-form .form-check-input:checked {
    background-color: #0c2782;
    border-color: #0c2782;
}
.extra-links a{
    color: #0c2782;
}

.btn-forgot {
    background-color: #0c2782;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    padding: 0.6rem;
    transition: background-color 0.3s ease;
}

.btn-forgot:hover {
    background-color: #013080;
}

.forgot-pass-header{
    background: #0c2782;
    color: white;
    font-size: 22px;
}


/*Register Page Css*/

.register-form .register-input {
    display: block;
    border-radius: 6px;
    border: 1px solid #ccc;
    padding: 0.6rem;
    outline: none;
    transition: all 0.3s ease;
}

.register-form .register-input:focus {
    border: 2px solid transparent;
    background-image: linear-gradient(#fff, #fff),
    linear-gradient(90deg, #0c2782, #0056D2);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.register-form .form-check-input:checked {
    background-color: #0c2782;
    border-color: #0c2782;
}
.extra-links a{
    color: #0c2782;
}

.btn-register {
    background-color: #0c2782;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    padding: 0.6rem;
    transition: background-color 0.3s ease;
}

.btn-register:hover {
    background-color: #013080;
}

.register-header{
    background: #0c2782;
    color: white;
    font-size: 22px;
}


/*Reset Pass Page Css*/

.rest-form .reset-input {
    display: block;
    border-radius: 6px;
    border: 1px solid #ccc;
    padding: 0.6rem;
    outline: none;
    transition: all 0.3s ease;
}

.rest-form .reset-input:focus {
    border: 2px solid transparent;
    background-image: linear-gradient(#fff, #fff),
    linear-gradient(90deg, #0c2782, #0056D2);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.rest-form .reset-input:checked {
    background-color: #0c2782;
    border-color: #0c2782;
}
.extra-links a{
    color: #0c2782;
}

.btn-reset {
    background-color: #0c2782;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    padding: 0.6rem;
    transition: background-color 0.3s ease;
}

.btn-reset:hover {
    background-color: #013080;
}

.reset-pass-header{
    background: #0c2782;
    color: white;
    font-size: 22px;
}

/* Invoice Table Css */
@media (max-width: 767.98px) {
    .invoice-table thead {
        display: none;
    }

    .invoice-table tr {
        display: block;
        margin-bottom: 1rem;
        border: 2px solid transparent;
        border-radius: 10px;
        background: linear-gradient(#fff, #fff) padding-box,
        linear-gradient(90deg, #1a237e, #4caf50, #2196f3) border-box;
        box-shadow: 0 1px 2px rgba(0,0,0,0.05);
        padding: 0.5rem;
    }

    .invoice-table td {
        display: flex;
        flex-direction: row;
        /* justify-content: space-between; */
        align-items: center;
        text-align: center;
        border: none !important;
        padding: 0.5rem;
        gap: 10px;
    }

    .invoice-table td::before {
        content: attr(data-label);
        font-weight: 600;
        margin-bottom: 0.25rem;
        /* flex-basis: 50%; */
        display: block;
        text-align: center;
    }


    .invoice-table td:last-child {
        border-bottom: none;
    }
}

/* Loader Css */
.invoice-btn-loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #000;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    animation: spin 2s linear infinite;
    display: none;
    margin: auto;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* Account Receviable Css */

h2 {
    color: #1a237e;
    margin-bottom: 20px;
  }

  .filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #eaf1ff;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 20px;
    /* background: linear-gradient(#fff, #fff) padding-box,
                linear-gradient(90deg, #1a237e, #4caf50, #2196f3) border-box; */
  }

  .filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .filter-group label {
    font-size: 14px;
    /* font-weight: bold; */
    color: #1a237e;
  }

  .filter-group .cus-date,
  .filter-group .from-date,
  .filter-group .from-date,
  .filter-group .to-date,
  .filter-group .sort {
    padding: 4px 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    min-width: 120px;
  }

  .balance-info {
    font-weight: bold;
    color: #1a237e;
  }

  .table-wrapper {
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(#fff, #fff) padding-box,
                linear-gradient(90deg, #1a237e, #4caf50, #2196f3) border-box;
  }

  .account-receviable-table {
    width: 100%;
    border-collapse: collapse;
  }

  .account-receviable-table th, .account-receviable-table td {
    border: 1px solid #ccc;
    padding: 6px 8px;
    vertical-align: top;
  }

  .account-receviable-table th {
    background: #eaf1ff;
    color: #1a237e;
    font-weight: bold;
    text-align: left;
  }

  .sub-header th {
    font-weight: normal;
    font-size: 12px;
    background: #f5f7ff;
    color: #555;
  }

  .account-receviable-table-body tr.main-row {
    background: #e0e0e0;
    /* font-weight: bold; */
  }

  .account-receviable-table-body tr.sub-row td {
    font-size: 12px;
    color: #555;
    background: #f9f9f9;
  }

/*Subscriptions Page Css*/
.page-title {
    font-weight: 700;
    color: #1a237e;
    margin-bottom: 20px;
}

.section-header-subs {
    background: #eaf1ff;
    color: #1a237e;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.form-label-custom {
    font-weight: 600;
    color: #1a237e;
}

.form-check-label-custom {
    color: #1a237e;
    font-size: 14px;
}

.category-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 30px;
    margin-left: 25px;
    margin-top: 10px;
}

.btn-submit-subs {
    background: linear-gradient(90deg, #1a237e, #4caf50, #2196f3);
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    padding: 8px 18px;
    transition: 0.3s;
}

.btn-submit-subs:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .category-group {
        flex-direction: column;
        margin-left: 10px;
    }
}

/*Payment Page Css*/

.gradient-border-payment {
    border: 2px solid transparent;
    border-radius: 10px;
    background: linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, #1a237e, #4caf50, #2196f3) border-box;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    padding: 15px 20px;
    margin-bottom: 20px;
}

.section-header {
    background: #eaf1ff;
    color: #1a237e;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.label-text {
    font-size: 13px;
    font-weight: 600;
    color: #1a237e;
}

.value-text {
    font-size: 14px;
    color: #333;
}

.summary-card {
    background: #eaf1ff;
    border-radius: 8px;
    padding: 10px 15px;
}

.summary-card h6 {
    font-weight: bold;
    color: #1a237e;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-weight: 500;
    color: #1a237e;
    font-size: 14px;
    margin-bottom: 6px;
}

.applied-table th, .applied-table td {
    border: 1px solid #ccc;
    padding: 6px 8px;
}

.applied-table th {
    background: #eaf1ff;
    color: #1a237e;
}

.applied-table td {
    font-size: 14px;
    color: #333;
}

@media (max-width: 768px) {
    .summary-section {
        order: -1;
        margin-bottom: 20px;
    }
}
.submitInvoicePayments.loading {
    position: relative;
    opacity: 0.8;
    cursor: not-allowed;
}

/* Spinner style */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
    animation: spinner 0.8s linear infinite;
}

/* Animation keyframes */
@keyframes spinner {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.invoice-link{
    text-decoration: none;
    color: black;
}
.make-payment-btn{
        padding: 10px 65px;
        background: linear-gradient(90deg, #1a237e, #4caf50, #2196f3);
        color: #fff;
        font-weight: 600;
        border: none;
        border-radius: 6px;
        transition: 0.3s;
}
.make-payment-btn:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .make-payment-btn{
        padding: 10px 100px;
    }
}
