/* Common Styles */
body {
  background-color: #0E1629;
  color: #fff;
  font-family: 'Inter', sans-serif;
}

/* Navbar Styles */
.navbar {
  background: linear-gradient(to bottom, #16223d 70%, #0f1629 100%);
}

.navbar .nav-item {
  padding: 0 .5em;
}

.navbar .nav-link.active {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
}

.navbar .nav-link {
  color: #fff;
  font-weight: 300;
}

.navbar .header-btn {
  background: #E7E7E7;
  height: 30px;
  width: 30px;
  display: flex;
  padding: 6px;
  border-radius: 1rem;
}

.container {
  max-width: 100% !important;
  padding: 1em 3em;
}

.profile-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #eee;
}

/* Card Styles */
.card {
  background: #14243b;
  border: none;
  border-radius: 1.5em;
  color: #fff;
}

/* Button Styles */
.btn-primary {
  background: #1560FB;
  color: #fff;
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(to right, #4058c7, #4b77c9);
}

.login-card .btn-primary {
  border-radius: 2em;
  padding: 10px 40px;
  font-size: 1.25rem;
}

.btn-register {
  border-radius: 2em;
  background: #90949d;

  font-style: italic;
  padding: 10px 40px;
  border: none;
}

/* Form Styles */
.form-control {
  /* background: #152447; */
  /* border: none; */
  color: #fff;
}

.form-control:focus {
  /* background: #1c2f57; */
  color: #fff;
  box-shadow: none;
}

/* Package Card Styles */
.package-card {
  background-color: #192444;
  border-radius: 1.5em;
  padding: 1em;
  color: #fff;
}

.package-card .nav-tabs {
  border: 0;
}

.package-card .nav-tabs .nav-item.show .nav-link,
.package-card .nav-tabs .nav-link.active {
  background: transparent;
  border: transparent;
  color: #fff;
  font-weight: 600;
}

.package-card .nav-tabs .nav-link {
  color: #ffffffb3;
}

.package-card .nav-tabs .nav-link:hover {
  border: 0;
}

.package-card .card {
  background-color: #fff;
  padding: 1em;
  color: #002682;
}

.package-card .card h6 {
  font-weight: 600;
  font: 14px;

}

.package-card .card p {
  color: #002782db;
  font-weight: 300;
}

.package-card .package-icon {
  height: 50px;
  width: 50px;
  border: 1px solid #C2C2C2;
  background-color: #c2c2c269;
  border-radius: 50%;
}

.package-card .card-header-section span {
  background-color: #c2c2c269;
  color: #002682;
  padding: .5em;
  border-radius: .5em;
  font-size: 14px;
}

.package-card .card b {
  font-weight: 600;
  color: #002682;
}

.package-option {
  border-radius: 12px;
  padding: 20px;
  background: #fff;
  color: #000;
  /* width: 100%; */
}

.package-option.active {
  background: #1560FB;
  color: #fff;
}

.package-option p {
  line-height: 1.35rem;
  font-size: 1.125rem;
}

.package-option span {
  opacity: .7;
  font-size: 16px;
  margin-bottom: .45em;
  display: block;
}

.package-option ul {
  padding-left: 1em;
  margin-bottom: 0;
}

.package-option.active ul li {
  color: #fff;
}

.package-option ul li {
  font-size: 14px;
  color: #3C3C3C;
}

.package-option p small {
  font-size: .875rem;
}

.spin-card .timer {
  position: absolute;
  background: #fff;
  color: #1560fb;
  padding: .25em .5em;
  border-radius: 6px;
  top: 1em;
  left: 2em;
}

/* checkout box */
.checkout-box h6 {
  font-size: 1.25rem;
}

.checkout-box .text-success {
  color: #00B109 !important;
}

.checkout-box .btn {
  font-size: 16px;
  border-radius: .5em;
}

/* KYC Styles */
.kyc-box {
  background: #14223D;
  padding: 60px;
  border-radius: 15px;
  position: relative;
}

.kyc-box .alert-top {
  position: absolute;
  top: -15px;
  background: #2C2C2C;
  width: 90%;
  padding: 1rem 2rem;
  text-align: center;
  font-weight: 300;
  font-size: 12px;
}

.kyc-box label {
  font-weight: 300;
}

.upload-box {
  border: 2px solid;
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  color: #aaa;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #ffffff0a;
  border-color: #ffffff1a;
}

/* Login Styles */
.login-card {
  border-radius: 2em;
  padding: 10px 60px 30px;
  /* width: 100%; */
  /* max-width: 700px; */
  width: 600px;
  border: 1px solid #66666680;
}

.login-card h5 {
  font-size: 2rem;
}

.login-card .form-label {
  font-weight: 300;
}

.login-card .form-control {
  font-size: 1rem;
  padding: 1em;
  border: 1px solid #66666680;
  background-color: transparent;
  border-radius: .5em;
}

.login-card .form-control::placeholder {
  color: #ffffff8a;
}

.login-card .btn-password {
  color: #fff;
  background: none;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.875rem;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.login-card .btn-password:hover {
  opacity: 1;
}

.login-card .btn-password .password-icon {
  font-size: 1.1em;
}

.login-card .btn-password .password-text {
  text-transform: lowercase;
}

.register-card {
  width: 90%!important;
  max-width: 900px;
}

.register-card .text-muted {
  color: #ffffff8a !important;
}

.register-body{
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 50px 0 50px 0;
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  font-size: 1.25rem;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #444;
}

.divider:not(:empty)::before {
  margin-right: .75em;
}

.divider:not(:empty)::after {
  margin-left: .75em;
}

/* Payment History Styles */
.stat-card {
  padding: 26px;
}

.stat-card h6,
.stat-card h3 {
  font-size: 24px;
  font-weight: 600;
}

.stat-card small {
  color: #ffffffa6;
}

.table-heading {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
}

.table {
  color: #fff;
}

.table tr:hover {
  background-color: #14223D;
}

.table th,
.table td {
  background-color: transparent;
  color: #fff;
  font-size: 18px;
  font-weight: 400;
}

.table td {
  font-weight: 300;
  border: 0;
  padding: 1em .5em;
}

.status-success {
  color: #4caf50;
  font-weight: 600;
}

.status-failed {
  color: #f44336;
  font-weight: 600;
}

.action-btn {
  color: #5152FB;
  cursor: pointer;
}

/* KYC Completion Styles */
.kyc-complete {
  text-align: center;
  margin-top: 80px;
}

.kyc-box .form-control {
  background-color: #ffffff0a;
  border-color: #ffffff1a;
}

.circle-icon {
  width: 200px;
  height: 200px;
  background: #2563eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
}

.circle-icon svg {
  width: 100px;
  height: 100px;
  color: #fff;
}

.dashboard-section h2 {
  font-size: 4rem;
  font-weight: 300;
  color: #BCBCBC;
}

/* payment history section */
.payment-history-section .payment-history-content h5 {
  font-size: 24px;
}

.payment-history-section .payment-history-content p {
  font-weight: 300;
  font-size: 20px;
}

.payment-history-section .payment-history-image img {
  position: absolute;
  right: 1em;
  top: 50%;
  width: 300px;
  transform: translateY(-50%);
}

.redirection-primary-btn-icon {
  background: #1560FB;
  border-radius: 100%;
  margin-right: .5rem;
}

.redirection-white-btn-icon {
  background: #fff;
  border-radius: 100%;
  margin-right: .5rem;
}

@media (max-width: 800px) {
  .payment-history-section .payment-history-image img {
    position: static !important;
    transform: none;
    width: 100%;
    margin-top: 2em;
  }
}

@media (max-width: 600px) {
  .payment-history-section .payment-history-image img {
    display: none;
  }
}

/* Spinner Modal Styles */
.modal-content {
  background: linear-gradient(to top, #114EDE, #092A78);
  border: none;
  border-radius: 16px;
  color: #fff;
}

.modal-header {
  padding: 1.5rem;
}

.spinner-wheel {
  position: relative;
  width: 300px;
  margin: 0 auto;
  transform-origin: center;
}

.spinner-image {
  transform-origin: center;
  transition: transform 5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.spinner-stopper {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  z-index: 1;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.modal-header .btn-close {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  padding: 0.75rem;
  margin: 0;
  filter: invert(1);
}

.modal-title {
  font-weight: 600;
  font-size: 1.5rem;
}

.spinner-wheel {
  max-width: 300px;
  margin: 0 auto;
  transition: transform 8s cubic-bezier(0.1, 0.7, 0.1, 1);
}

.spinner-wheel.spinning {
  transform: rotate(3600deg);
}

.spinner-stopper {
  position: absolute;
  height: 50px;
  left: 50%;
  transform: translateX(-50%);
}

/* CSS for responsive */

.common-btn-primary{
    background: #0d6efd;
    color: white;
    border-color: #0d6efd;
    border: 1px solid;
}

.common-btn-primary:hover{
    border: 1px solid;
    background: #0d6efd4b;
}

.fit-content-width {
  width: fit-content!important;
}

/* Mobile Menu update */

/* Sidebar Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040; /* Just below the sidebar */
    display: none; /* Hidden by default */
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    display: block;
}

/* --- Mobile Sidebar Styles --- */

/* This media query targets screens smaller than the 'lg' breakpoint (992px) */
@media (max-width: 991.98px) {
.navbar-collapse {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 280px; /* Adjust width as needed */
        height: 100vh; /* Full screen height */
        padding: 2rem;
        background-color: #0d6efd;
        z-index: 1050; /* Make sure it's on top of everything */
        
        /* Slide-in animation */
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }
    
    .navbar-collapse.show {
        transform: translateX(0); /* Slide it into view */
    }
    
    /* Style the nav items for vertical layout */
    .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav-item {
        width: 100%;
        margin-bottom: 0.5rem;
        padding:0px;
    }
    
    /* Position the close button */
    .navbar-collapse .btn-close {
        position: absolute;
        top: 15px;
        right: 20px;
        font-size: 1.2rem;
    }

    /* Hide the desktop profile section in the mobile sidebar if desired */
    /* If you want to keep it, just remove this block */
    /* .navbar-collapse .ms-auto {
        display: none !important;
    } */
}

/* ------------------------media query------------------ */

@media (max-width: 575.98px) {
  .dashboard-section h2{
    font-size: 3rem;
  }
  .kyc-box{
    padding: 60px 0px;
  }
  .kyc-complete {
    margin-top: 20px;
  }
}

@media (min-width:1921px) and (max-width: 2561px) {}


@media (min-width:1536px) and (max-width: 1920px) {}


@media (max-width: 1399.98px) {}
 
@media (max-width: 1282.98px) {}

@media (max-width: 1199.98px) {}

@media (max-width: 1032.98px) {}

@media (max-width: 1024.98px) {
}

@media (max-width: 991.98px) {}

@media (max-width: 800.98px) {}


@media (max-width: 767.98px) {}

@media (max-width: 630.98px) {
  .login-card{
    width: auto;
  }
}




@media (max-width: 548.98px) {}

@media (max-width: 516.98px) {}

@media (max-width: 483.98px) {}


@media (max-width: 440.98px) {}

@media (max-width:410.98px) {}

@media (max-width:390.98px) {}

@media (max-width: 380.98px) {}
