/*============================== Global ==============================*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap');
@font-face {
    font-family: 'Gilmer-Regular';
    src: url('../webfont/Gilmer-Regular.woff');
}
@font-face {
    font-family: 'Gilmer-Medium';
    src: url('../webfont/Gilmer-Medium.woff');
}
@font-face {
    font-family: 'Gilmer-Bold';
    src: url('../webfont/Gilmer-Bold.woff');
}
@font-face {
    font-family: 'Gilmer-Heavy';
    src: url('../webfont/Gilmer-Heavy.woff');
}
* {
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
html, body {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x:hidden;
    font-family: 'Gilmer-Regular';
    background: #FFFFFF;
}
input:focus, body select:focus, body textarea:focus, body button:focus {
    outline: none;
}
body *{
    -webkit-text-size-adjust:none;
}
button {
    border: none;
}
a, button {
    display: inline-block;
    text-decoration: none;
    color: inherit;
    line-height: 1;
    transition: all 0.7s ease 0s;
    cursor: pointer;
    font-family: 'Gilmer-Regular';
}
img {
    max-width: 100%;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
::selection {
    color: #000;
    background: #dd8e2c;
}

h1, h2, h3, h4, h5, h6 {
    color: #000;
    font-family: 'Gilmer-Bold';
}
p {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 18px;
    font-weight: 300;
    color: rgba(0, 0, 0, 0.80);
    font-family: 'Gilmer-Regular';
}

ul li {
    font-size: 16px;
    line-height: 24px;
    color: rgba(0, 0, 0, 0.80);
    font-family: 'Gilmer-Regular';
}

.w-210 {
    width: 210px;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1280px;
    }
}
@media (min-width: 1500px) {
    .container {
        max-width: 1400px;
    }
}
.fixed-header {
    position: fixed !important;
    top: 0;
    z-index: 999;
    width: 100%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    animation: smoothScroll 1s forwards;
    padding: 8px 0!important;
}
.fixed-header nav .navbar-brand {
    position: relative;
    top: 0;
}
.fixed-header nav .navbar-brand img {
    width: 200px;
}
.fixed-header nav .navbar-nav li .nav-link {
    padding: 14px 38px!important;
}
   
@keyframes smoothScroll {
    0% {
        transform: translateY(-40px);
    }
    100% {
        transform: translateY(0px);
    }
}
.custom-btn {
    background: #0758F5;
    color: #fff;
    text-transform: capitalize;
    padding: 20px 38px;
    font-size: 14px;
    letter-spacing: .4px;
    font-weight: 600;
    border-radius: 16px;
}
.custom-btn:hover {
    text-decoration: none;
    background: #013aac;
    color: #fff;
}

.transparent-btn {
    background: transparent;
    color: #fff;
    text-transform: capitalize;
    padding: 20px 38px;
    font-size: 14px;
    letter-spacing: .4px;
    font-weight: 600;
}
.transparent-btn img {
    width: 30px;
    vertical-align: middle;
    margin-right: 5px;
}
.transparent-btn:hover {
    text-decoration: none;
    color: #FFA800;
}

.headline-area h1 {
    font-size: 64px;
    line-height: 72px;
    font-family: 'Gilmer-Heavy';
}
.headline-area h1 span {
    color: #0758F5;
}

.headline-area h2 {
    font-size: 48px;
    line-height: 64px;
    font-family: 'Gilmer-Heavy';
}
.headline-area h2 span {
    color: #0758F5;
}
.headline-area .sub-heading {
    font-family: 'Gilmer-Bold';
    font-size: 17px;
    line-height: 24px;
    color: #0758f5;
    margin-bottom: 10px;
    letter-spacing: .2px;
}
.headline-area .sub-heading span {
    color: #0758f5;
}
.headline-area p {
   font-size: 18px;
   line-height: 28px;
   font-family: 'Gilmer-Medium';
}

#mobile-view {
    display: none;
}
@media (max-width: 767px) {
    #desktop-view {
       display: none;
    }
    #mobile-view {
        display: block;
    }
}

/*============================ Header ============================*/
header {
    position: relative;
    width: 100%;
    float: left;
    background: #fff;
    padding: 18px 0;
    z-index: 9;
}
header nav {
    padding: 0!important;
}
header nav .navbar-brand {
    position: absolute;
    left: 0;
    margin: 0;
    top: -8px;
    z-index: 1;
}
header nav .navbar-brand img {
    width: 220px;
    margin-top: 10px;
}
header nav .navbar-nav li .nav-link {
    color: #000!important;
    padding: 16px 46px!important;
    text-transform: capitalize;
    line-height: 24px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .5px;
    margin: 0;
}
header nav .navbar-nav li .nav-link:hover {
    color: #0758F5!important;
}
header nav .navbar-nav li.active .nav-link {
    color: #0758F5!important;
}

header nav .navbar-nav .nav-item .dropdown-toggle::after {
    display: none;
}
header nav .navbar-nav li:last-child {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}
header nav .navbar-nav li:last-child .nav-link {
    background: rgba(7, 88, 245, 0.10);
    color: #0758F5 !important;
    border-radius: 16px;
}
header nav .navbar-nav li:last-child .nav-link:hover {
    color: #fff!important;
    background: #0758F5;
}
/*============================ //Header ============================*/

/* ================================ Footer ================================== */
footer {
    position: relative;
    width: 100%;
    float: left;
    background: url(../../static/images/background-patterns/footer_bg.png) no-repeat center/cover;
    padding: 0 0 40px;
}
.subscribe_block {
    position: relative;
    width: 100%;
    float: left;
    background: url(../../static/images/background-patterns/foot-dotted.png) no-repeat center/cover;
    text-align: center;
    padding: 90px 0 80px;
}
.subscribe_block .headline-area {
    max-width: 880px;
    margin: 0 auto;
}
.subscribe_block .headline-area h2 {
    color: #fff;
    margin-bottom: 60px;
}
footer .f_conBox {
    border-radius: 10px;
    background: #001947;
    padding: 60px;
    position: relative;
    width: 100%;
    float: left;
}

footer .foot_top {
    padding: 60px 0;
}
footer .foot_top .loop-text {
    max-width: 500px;
}
footer .foot_top h3 {
    font-size: 40px;
    line-height: 48px;
    margin-bottom: 20px;
}
footer .foot_top p {
    margin-bottom: 0;
}
footer .foot_top .small-text {
    font-size: 14px;
    line-height: 24px;
}
footer .foot_top .subscribe-form {
    margin-bottom: 18px;
    display: flex;
}
footer .foot_top .subscribe-form .input-col {
   font-size: 16px;
   border: none;
   height: 56px;
   background: #E8F0F1;
   border-radius: 8px;
   padding: 4px 20px;
   max-width: 500px;
    width: 100%;
}
.subscribe-form .custom-btn {
    border: none;
    padding: 18px 38px;
    cursor: pointer;
    margin-left: 10px;
}

footer .foot_mid {
    padding: 0 0 10px;
}
footer .foot_mid .footer_logo {
   padding-bottom: 60px;
   max-width: 300px;
}
footer .foot_mid .footer_logo img {
    width: 290px;
    margin-bottom: 30px;
}
footer .foot_mid .footer_logo p {
    color: #F3F3F3;
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 0;
    font-family: 'Gilmer-Medium';
}
footer .foot_mid .widget_wrap {
    margin-bottom: 50px;
}
footer .foot_mid .widget_wrap h4 {
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 32px;
    color: #fff;
}
footer .foot_mid .widget_wrap ul li {
    list-style-type: none;
    padding: 8px 0;
    color: #F3F3F3;
    font-size: 16px;
    line-height: 24px;
}
footer .foot_mid .widget_wrap ul li a {
    font-size: 16px;
    line-height: 24px;
    color: #F3F3F3;
}
footer .foot_mid .widget_wrap ul li a:hover {
    color: #8bb3ff;
    text-decoration: none;
}
footer .foot_mid .widget_wrap .social-links li {
   display: inline-block;
   width: 14%;
}
footer .foot_mid .widget_wrap .social-links li img {
    width: 28px;
}

footer .foot_bottom {
    border-top: 1px solid #43526c;
     padding: 40px 0 0;
}
footer .foot_bottom img {
    width: 160px;
}
footer .foot_bottom p {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 0;
    margin-top: 10px;
    color: #FFF;
}
.copy-right-text {
    font-family: 'Gilmer-Medium';
}
.licnc-text {
    line-height: 24px !important;
    text-align: right;
}
.licnc-text span {
    font-family: 'Gilmer-Bold';
}

footer .footer_end {
    text-align: center;
    margin-top: 80px;
    position: relative;
    width: 100%;
    float: left;
    padding-bottom: 10px;
}
footer .footer_end p {
    color: #FFF;
    font-size: 18px;
    line-height: 26px;
    margin: 0;
}
footer .footer_end p a {
    text-decoration: none;
    margin-left: 10px;
}
footer .footer_end p a img {
    width: 140px;
    vertical-align: middle ;
}
/* ================================ //Footer ================================== */

.not-selected{
    border: 1px solid red;
}

 .form_footer p {
    font-size: 14px !important;
    line-height: 14px !important;
    text-align: center;
 }
  .form_footer a{
    color: #0758f5 !important;
    font-weight: bold !important;
 }
.alert-error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}
.credit-card {
    background: linear-gradient(345deg, #cdcd8c, #7095b7); /* Gradient background */
    border-radius: 15px;
    color: white;
    padding: 20px;
    max-width: 400px;
    font-family: 'Arial', sans-serif;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    min-height: 250px;
}
.credit-card .card-logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}
.credit-card .card-info {
    margin: 20px 0;
}
.credit-card .card-info h6 {
    text-transform: uppercase;
    font-size: 0.9rem;
    opacity: 0.8;
}
.credit-card .card-info p {
    font-size: 1.2rem;
    margin: 0;
}
.credit-card .balance {
    text-align: right;
}
.credit-card .balance h6 {
    text-transform: uppercase;
    font-size: 0.9rem;
    opacity: 0.8;
}
.credit-card .balance p {
    font-size: 1.5rem;
    margin: 0;
    font-weight: bold;
}
.badge {
    display: inline-block;
    padding: .25em .4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
}
.badge-pill {
    padding-right: .6em;
    padding-left: .6em;
    border-radius: 10rem;
}
.badge-completed {
    color: #fff;
    background-color: #28a745;
}
.badge-pending {
    color: #fff;
    background-color: #6c757d;
}
.badge-timeout {
    color: #fff;
    background-color: #fc8f8f;
}
.badge-failed {
    color: #fff;
    background-color: #dc3545;
}
.badge-processing {
    color: #212529;
    background-color: #ffc107;
}
.badge-processing_outbound {
    color: #fff;
    background-color: #17a2b8;
}
.credit-card-gotoaccount{
    text-align: right;
    color: #fff;
}
.credit-card-gotoaccount a:hover{
    color: #595958;
    text-decoration: none;
}
/* Legacy dashboard header styles removed - replaced with top-avatar */
.white-border-area {
    background: white;
    margin-top: 50px;
    border: 0px solid grey;
    border-radius: 10px;
    padding: 10px;
}
.topup-row{
    background: white !important;
}
/* Legacy sidebar styles - overridden by modern sidebar in custom.css */
.footer{
    padding: 20px;
    background: black;
}
.footer p{
    text-align: center;
    color: white;
    margin-bottom: 0 !important;
}
.password_toggle{padding: 3px;
  border: 1px solid rgba(0, 0, 0, .1);font-size: 13px;height: 48px;
  background: #F5F5F5;border-top-right-radius: 10px;border-bottom-right-radius: 10px;
  border-radius: 0 10px 10px 0px;border-left: none;
  }

/*============================== Checkout Form Styles ==============================*/
.checkout-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 20px !important;
    width: 100% !important;
}

.checkout-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px 15px 0 0;
    margin-bottom: 0;
}

.checkout-header h2 {
    margin: 0 0 10px 0;
    font-size: 28px;
    font-weight: 700;
}

.checkout-header p {
    margin: 5px 0;
    opacity: 0.9;
}

.checkout-content {
    background: white !important;
    border-radius: 0 0 15px 15px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    overflow: hidden !important;
    padding: 0 !important;
}

.checkout-form {
    padding: 40px !important;
}

.checkout-summary {
    background: #f8f9fa !important;
    padding: 40px 30px !important;
    border-left: 1px solid #e9ecef !important;
    min-height: 100% !important;
}

.form-section {
    margin-bottom: 30px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.form-section:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.form-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
}

.form-section-title i {
    margin-right: 10px;
    color: #667eea;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
    font-size: 14px;
}

/* Bootstrap input group styling */
.input-group-prepend .input-group-text {
    background: #f8f9fa;
    border: 2px solid #e2e8f0;
    border-right: none;
    color: #667eea;
    font-size: 16px;
    padding: 0 15px;
    border-radius: 10px 0 0 10px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-group input:not([type="password"]),
.input-group select {
    border: 2px solid #e2e8f0;
    border-left: none;
    border-radius: 0 10px 10px 0;
    height: 50px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

/* Ensure all select boxes have consistent height */
select.form-control {
    height: 50px !important;
    line-height: 50px !important;
}

.input-group input:not([type="password"]):focus,
.input-group select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.input-group input:not([type="password"]):focus + .input-group-prepend .input-group-text,
.input-group select:focus + .input-group-prepend .input-group-text {
    border-color: #667eea;
}

.form-control {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    height: 50px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.fee-display {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    padding: 20px;
    margin: 15px 0;
}

.fee-display .row {
    margin: 0;
}

.fee-display label {
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
    display: block;
    font-size: 14px;
}

.fee-display span {
    font-size: 16px;
    display: block;
    margin-bottom: 10px;
}

.text-muted {
    color: #64748b !important;
}

.text-success {
    color: #10b981 !important;
    font-weight: 700;
}

.summary-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.summary-title {
    font-size: 20px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.summary-title i {
    margin-right: 10px;
    color: #667eea;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.summary-item:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 18px;
    color: #2d3748;
    margin-top: 10px;
    padding-top: 20px;
    border-top: 2px solid #e2e8f0;
}

.summary-label {
    color: #64748b;
    font-weight: 500;
}

.summary-value {
    color: #2d3748;
    font-weight: 600;
}

.btn-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 15px 40px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-submit:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.helper-text {
    font-size: 12px;
    color: #64748b;
    margin-top: 5px;
}

.bank-codes-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.bank-codes-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Bootstrap grid system styling */
.checkout-content .row {
    margin: 0 !important;
}

.checkout-content .col-md-8,
.checkout-content .col-md-4 {
    padding: 0 !important;
}

@media (max-width: 768px) {
    .checkout-content {
        flex-direction: column !important;
    }
    
    .checkout-form,
    .checkout-summary {
        padding: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
    }
}