/* Base Styles */
:root {
  --primary-color: #4361ee;
  --secondary-color: #3f37c9;
  --accent-color: #4895ef;
  --dark-color: #1a1a2e;
  --light-color: #f8f9fa;
  --danger-color: #f72585;
  --success-color: #4cc9f0;
  --gray-color: #adb5bd;
  --border-radius: 12px;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--light-color);
}
/*header section*/
 /* Header Container */
        .header-container {
            background-color: white;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        
        /* Top Info Bar */
        .top-info-bar {
            background-color: var(--primary-color);
            color: white;
            padding: 8px 0;
            font-size: 14px;
        }
        
        .info-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .contact-info {
            display: flex;
            gap: 20px;
        }
        
        .contact-info a {
            color: white;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: opacity 0.3s;
        }
        
        .contact-info a:hover {
            opacity: 0.8;
        }
        
        .user-info {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .user-info span {
            font-weight: 500;
        }
        
        .logout-btn {
            background: none;
            border: none;
            color: white;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 14px;
        }
        
        /* Main Navigation */
        .main-nav {
            max-width: 1200px;
            margin: 0 auto;
            padding: 15px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
        }
        
        .logo-icon {
            color: var(--accent-color);
            font-size: 28px;
        }
        
        .logo-text {
            font-size: 24px;
            font-weight: 700;
            color: var(--primary-color);
        }
        
        .nav-links {
            display: flex;
            gap: 25px;
            align-items: center;
        }
        
        .nav-link {
            text-decoration: none;
            color: var(--text-color);
            font-weight: 500;
            position: relative;
            padding: 5px 0;
            transition: color 0.3s;
        }
        
        .nav-link:hover {
            color: var(--primary-color);
        }
        
        .nav-link.active {
            color: var(--primary-color);
        }
        
        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: var(--accent-color);
        }
        
        /* Mobile Menu Toggle */
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 24px;
            color: var(--primary-color);
            cursor: pointer;
        }
        
        /* Responsive Styles */
        @media (max-width: 768px) {
            .info-container {
                flex-direction: column;
                gap: 10px;
                text-align: center;
            }
            
            .contact-info {
                flex-direction: column;
                gap: 8px;
            }
            
            .main-nav {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .nav-links {
                display: none;
                flex-direction: column;
                width: 100%;
                gap: 15px;
                margin-top: 20px;
            }
            
            .nav-links.active {
                display: flex;
            }
            
            .mobile-menu-btn {
                display: block;
                position: absolute;
                right: 20px;
                top: 20px;
            }
        }
/* Login Section */
.login-main-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.login-main-section .login-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.login-main-section .background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 46, 0.7);
  backdrop-filter: blur(2px);
}

/* Login Card */
.login-main-section .login-card {
  width: 100%;
  max-width: 1000px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-main-section .card-body {
  padding: 0;
}

.login-main-section .login-content {
  display: flex;
  flex-direction: column;
}

.login-main-section .login-header {
  padding: 2rem;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
}

.login-main-section .login-header h2 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.login-main-section .login-header p {
  opacity: 0.9;
}

/* Login Form Container */
.login-main-section .login-form-container {
  display: flex;
}

.login-main-section .login-graphic {
  flex: 1;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(67, 97, 238, 0.1), rgba(63, 55, 201, 0.1));
  border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.login-main-section .graphic-content {
  text-align: center;
  max-width: 300px;
}

.login-main-section .login-illustration {
  width: 200px;
  margin-bottom: 1.5rem;
}

.login-main-section .login-graphic h3 {
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

.login-main-section .login-graphic p {
  color: var(--gray-color);
}

.login-main-section .login-form-wrapper {
  flex: 1;
  padding: 2rem;
}

/* Form Styles */
.login-main-section .form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--dark-color);
}

.login-main-section .input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.login-main-section .input-icon {
  position: absolute;
  left: 15px;
  color: var(--gray-color);
  z-index: 1;
}

.login-main-section .form-control {
  width: 100%;
  padding: 12px 15px 12px 45px;
  border: 1px solid #e0e0e0;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
  background-color: rgba(255, 255, 255, 0.8);
}

.login-main-section .form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}

.login-main-section .password-toggle {
  position: absolute;
  right: 15px;
  background: none;
  border: none;
  color: var(--gray-color);
  cursor: pointer;
  transition: var(--transition);
}

.login-main-section .password-toggle:hover {
  color: var(--dark-color);
}

/* Form Options */
.login-main-section .form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.login-main-section .form-check {
  display: flex;
  align-items: center;
}

.form-check-input {
  margin-right: 8px;
}

.login-main-section .forgot-password {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.login-main-section .forgot-password:hover {
  text-decoration: underline;
  color: var(--secondary-color);
}

/* Login Button */
.login-main-section .btn-login {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.login-main-section .btn-login i {
  margin-left: 8px;
  transition: var(--transition);
}

.login-main-section .btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

.login-main-section .btn-login:hover i {
  transform: translateX(3px);
}



/* Register Link */
.login-main-section .register-link {
  text-align: center;
  color: var(--gray-color);
}

.login-main-section .register-link a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.login-main-section .register-link a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .login-main-section .login-form-container {
    flex-direction: column;
  }
  
  .login-main-section .login-graphic {
    display: none;
  }
  
  .login-main-section .login-header {
    padding: 1.5rem;
  }
  
  .login-main-section .login-form-wrapper {
    padding: 1.5rem;
  }
  .top-info-bar {
    display: none;
}
}

@media (max-width: 480px) {
  .login-main-section .login-section {
    padding: 1rem;
  }
  
  .login-main-section .form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .login-main-section .forgot-password {
    margin-top: 0.5rem;
  }
}

/*user dashboard css*/

        
        .main-user-dashboard .bg-header {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
        }
        
        .main-user-dashboard .user-dashboard-section {
            padding: 20px;
        }
        
        .main-user-dashboard .dashboard-card {
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border: none;
            margin-bottom: 20px;
        }
        
        .main-user-dashboard .dashboard-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
        }
        
        .main-user-dashboard .card-header {
            background-color: white;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        }
        
        .main-user-dashboard .custom-table {
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        
        .main-user-dashboard .table-heading {
            background-color: var(--primary-color);
            color: white;
        }
        
        .main-user-dashboard .table th {
            font-weight: 500;
            text-transform: uppercase;
            font-size: 0.8rem;
            letter-spacing: 0.5px;
        }
        
        .main-user-dashboard .buy {
            background-color: rgba(40, 167, 69, 0.05);
        }
        
        .main-user-dashboard .sell {
            background-color: rgba(220, 53, 69, 0.05);
        }
        
        .main-user-dashboard .buy-btn {
            text-transform: uppercase;
            font-weight: bold;
            font-size: 0.75rem;
            position: relative;
        }
        
        .main-user-dashboard .buy-btn:after {
            content: "";
            display: inline-block;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            margin-left: 5px;
        }
        
        .main-user-dashboard tr.buy .buy-btn:after {
            background-color: var(--success-color);
        }
        
        .main-user-dashboard tr.sell .buy-btn:after {
            background-color: var(--danger-color);
        }
        
        .main-user-dashboard .chart-container {
            width: 100%;
            height: 300px;
        }
        
        .main-user-dashboard .stat-card .icon {
            font-size: 2rem;
            opacity: 0.7;
        }
        
        .main-user-dashboard .stat-card .value {
            font-size: 1.5rem;
            font-weight: 600;
        }
        
        .main-user-dashboard .stat-card .label {
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            opacity: 0.7;
        }
        
        .main-user-dashboard .border-left-primary {
            border-left: 4px solid var(--primary-color) !important;
        }
        
        .main-user-dashboard .border-left-success {
            border-left: 4px solid var(--success-color) !important;
        }
        
        .main-user-dashboard .border-left-danger {
            border-left: 4px solid var(--danger-color) !important;
        }
        
        @media (max-width: 768px) {
            .main-user-dashboard .table th, .table td {
                padding: 8px;
                font-size: 0.8rem;
            }
        }

        /*user profile css*/


.profile-page {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.profile-header {
  background-color: #4e73df;
  margin-bottom: 30px;
}

.profile-card {
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.profile-sidebar {
  background-color: #4e73df;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.profile-avatar img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.2);
}

.profile-name {
  font-weight: 600;
  margin-bottom: 5px;
}

.profile-title {
  opacity: 0.8;
  font-size: 0.9rem;
}

.profile-email {
  font-size: 0.85rem;
  word-break: break-all;
}

.section-title {
  font-weight: 600;
  color: #4e73df;
  padding-bottom: 8px;
  border-bottom: 2px solid #f8f9fa;
  margin-bottom: 20px;
}

.info-label {
  font-size: 0.8rem;
  color: #6c757d;
  margin-bottom: 5px;
}

.info-value {
  font-weight: 500;
  color: #343a40;
}

.social-list {
  margin-top: 20px;
}

.social-link {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 10px;
  color: white;
  text-decoration: none;
}

.social-link.facebook { background-color: #3b5998; }
.social-link.twitter { background-color: #1da1f2; }
.social-link.instagram { background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d); }

@media (max-width: 767.98px) {
  .profile-sidebar {
    padding: 20px 0;
  }
}


/*withdrawal*/


.main-withdrawal-section .withdrawal-page {
  font-family: 'Inter', sans-serif;
}

.main-withdrawal-section .withdrawal-header {
  background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
}

.main-withdrawal-section .withdrawal-card {
  border-radius: 12px;
  overflow: hidden;
}

.main-withdrawal-section .card-header {
  border-radius: 0 !important;
}

.main-withdrawal-section .section-title {
  color: #4e73df;
  font-weight: 600;
  position: relative;
  padding-bottom: 8px;
}

.main-withdrawal-section .section-title:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background-color: #4e73df;
}

.main-withdrawal-section .form-control-plaintext {
  padding: 0.375rem 0;
  border-bottom: 1px solid #e3e6f0;
}

.main-withdrawal-section .qr-code {
  max-width: 200px;
  margin: 0 auto;
}

.main-withdrawal-section .bank-detail-item {
  display: flex;
  margin-bottom: 10px;
}

.main-withdrawal-section .detail-label {
  font-weight: 600;
  width: 120px;
  color: #5a5c69;
}

.main-withdrawal-section .detail-value {
  color: #4e73df;
}

@media (max-width: 767.98px) {
  .main-withdrawal-section .withdrawal-header h1 {
    font-size: 2rem;
  }
  
  .main-withdrawal-section .qr-section, .bank-details-section {
    margin-bottom: 20px;
  }
}


/*add fund */
.payment-method-page {
  font-family: 'Inter', sans-serif;
  background-color: #f8f9fa;
}

.payment-method-page .payment-header {
  background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
  margin-bottom: 2rem;
}

.payment-method-page .payment-card {
  border-radius: 12px;
  overflow: hidden;
}

.payment-method-page .section-title {
  color: #4e73df;
  font-weight: 600;
  position: relative;
  padding-bottom: 8px;
}

.payment-method-page .section-title:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background-color: #4e73df;
}

.payment-method-page .bank-detail-item {
  padding: 8px 0;
}

.payment-method-page .detail-label {
  font-weight: 600;
  color: #5a5c69;
}

.payment-method-page .detail-value {
  color: #4e73df;
  word-break: break-all;
}

.payment-method-page .qr-code {
  max-width: 200px;
  margin: 0 auto;
  border: 1px solid #e3e6f0;
  padding: 10px;
  background: white;
}

.payment-method-page .wallet-icon {
  max-height: 60px;
  max-width: 100%;
}

.payment-method-page .divider-with-text {
  display: flex;
  align-items: center;
  text-align: center;
  color: #6c757d;
}

.payment-method-page .divider-with-text::before,
.payment-method-page .divider-with-text::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #dee2e6;
}

.payment-method-page .divider-text {
  padding: 0 1rem;
}

.payment-method-page .hover-shadow:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

.payment-method-page .btn-primary {
  background-color: #4e73df;
  border-color: #4e73df;
}

@media (max-width: 767.98px) {
  .payment-method-page .payment-header h1 {
    font-size: 2rem;
  }
  
  .payment-method-page .bank-detail-item {
    margin-bottom: 1rem;
  }
  
  .payment-method-page .detail-label, .detail-value {
    width: 100%;
    display: block;
  }
}


/*register page css*/
.register-section {
  font-family: 'Inter', sans-serif;
  background-color: #f8f9fa;
  min-height: 100vh;
}

.register-section .register-header {
  background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
  padding: 3rem 0;
  margin-bottom: 2rem;
}

.register-section .register-card {
  border-radius: 12px;
  overflow: hidden;
  border: none;
}

.register-section .register-visual-side {
  background: url('https://images.unsplash.com/photo-1551434678-e076c223a692?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center center;
  background-size: cover;
  position: relative;
  min-height: 500px;
}

.register-section .register-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(78, 115, 223, 0.8);
}

.register-section .register-image-content {
  position: relative;
  z-index: 1;
  color: white;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.register-section .register-image-content h2 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.register-section .register-form-title {
  color: #4e73df;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.register-section .form-floating {
  position: relative;
  margin-bottom: 1rem;
}

.register-section .form-floating label {
  color: #6c757d;
  transition: all 0.2s;
}

.register-section .form-control {
  height: calc(3.5rem + 2px);
  padding: 1rem 0.75rem;
  border-radius: 8px;
  border: 1px solid #e3e6f0;
}

.register-section .form-control:focus {
  box-shadow: 0 0 0 0.25rem rgba(78, 115, 223, 0.25);
  border-color: #4e73df;
}

.register-section .password-field {
  position: relative;
}

.register-section .password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #6c757d;
  cursor: pointer;
}

.register-section .password-strength {
  width: 100%;
  height: 4px;
  background: #e9ecef;
  border-radius: 2px;
  overflow: hidden;
}

.register-section .strength-bar {
  height: 100%;
  width: 0;
  background: #dc3545;
  transition: all 0.3s;
}

.register-section .otp-input-group {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.register-section .otp-digit {
  width: 45px;
  height: 60px;
  text-align: center;
  font-size: 1.5rem;
  border-radius: 8px;
  border: 1px solid #e3e6f0;
}

.register-section .btn-primary {
  background-color: #4e73df;
  border-color: #4e73df;
  font-weight: 500;
}

.register-section .btn-primary:hover {
  background-color: #3a56c4;
  border-color: #3a56c4;
}

@media (max-width: 991.98px) {
  .register-section .register-visual-side {
    min-height: 300px;
  }
  
  .register-section .register-image-content {
    padding: 1.5rem;
  }
}

/* Animation for OTP success */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.register-section .animate-fade-in {
  animation: fadeIn 0.3s ease-out forwards;
}

/*update profile code*/
.profile-update-page {
  font-family: 'Inter', sans-serif;
  background-color: #f8f9fa;
  min-height: 100vh;
}

.update-header {
  background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
  margin-bottom: 2rem;
}

.profile-card {
  border-radius: 12px;
  overflow: hidden;
}