body {
  background-color: #000000;
  color: #ffffff;
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding-bottom: 20px;
  /* Space for bottom navbar */
}



/* Header Section */
.profile-header {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.profile-header .profile-info {
  display: flex;
  align-items: center;

}

.profile-header img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-header .profile-info h5 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}

.profile-header .profile-info small {
  color: #a9a9a9;
  font-size: 14px;
}

/* Balance Section */
.balance-card {
  background: linear-gradient(145deg, #222222, #1c1c1c);
  border-radius: 15px;
  padding: 25px;
  margin: 20px 15px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);

}

.balance-card .balance-text {
  color: #a9a9a9;
  font-size: 14px;
  margin-top: 13px;
}

.balance-card .balance-amount {
  font-size: 35px;
  font-weight: 700;
  margin-bottom: 1.5rem;
}


.balance-card .actions {
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
}

.balance-card .btn-custom {
  margin-right: 30px;
  flex: 1;
  margin: 10px 3px;
  background-color: #333333;
  border: none;
  border-radius: 20px;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
}


.balance-card .link-custom {
  position: relative;
  left: 8rem;
  top: -20px;
  text-decoration: none;
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;

}

.balance-card .link-custom:hover {
  color: #f7941d;
}


.balance-card .btn-custom:hover {
  background-color: #f7941d;
  color: #000000;
}

/* Install button styles */
.install-btn {
  background-color: #0072b0;
  color: #ffffff;
  border: none;
  border-radius: 20px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin: 10px 3px;
  flex: 1;
}

.install-btn:hover {
  background-color: #005fa3;
}

.install-btn:active {
  background-color: #004d8a;
  transform: scale(0.98);
}

.link-custom i {
  margin-right: 3px;
  font-size: 15px;
}

.link-custom {
    text-decoration: none;
    color: inherit;
    margin-right: 10px;
}


/* Refer Section */
.refer-card {
  background-color: #252525;
  border-radius: 15px;
  margin: 20px 20px;
  padding: 20px;
  text-align: center;
}

.refer-card h6 {
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 20px;

}

.refer-card p {
  font-size: 17px;
  color: #d8d8d8;
  margin: 0;
}




.container {
  max-width: var(--container-max-width);
  width: var(--container-width);
  padding: var(--container-padding);
  margin: 0 auto;
}

/* Desktop Adjustments */
@media (min-width: 768px) {
  .container {
    max-width: 960px;
    margin: auto;
  }

  .balance-card .link-custom {
    position: relative;
    left: 22em;
    top: -15px;
  }
}






/* Qrcode styling */


/* Modal Container */

.modal-container {
  position: fixed;
  bottom: -110%;
  left: 0;
  width: 100%;
  height: auto;
  background-color: rgba(0, 0, 0, 0);
  /* Dark transparent background */
  display: flex;
  justify-content: center;
  align-items: center;
  transition: bottom 2s ease;
  z-index: 9999;
}

.wallet-modal {
  background: #000;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  max-width: 410px;
  animation: fadeIn 1s ease;
  position: relative;
  font-size: 15px;
}

/* X Close Button */
.close-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 35px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  line-height: 1;
}

.close-btn:hover {
  color: #fd0000;
}

#walletQRCode {
  max-width: 250px;
  height: auto;
  margin: 20px 0;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#walletAddress {
  word-break: break-all;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 26px;
  font-weight: 600;
  
}


#walletAddress.text-muted {
  color: rgb(255, 255, 255) !important;
  font-size: 14px;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 26px;
  font-weight: 600;
}


/* Copy button styles */
.copy-btn {
  background: #0072b0;
  color: #ffffff;
  margin-bottom: 10px;
  margin-top: 10px;
  font-size: 15px;
  border: none;
  padding: 9px 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-weight: 500;
}

.copy-btn:hover {
  background: #0072b0;
  color: white;
}

.copy-btn.copied {
  background: #55ff00;
  color: #000000;
}



/* Add this CSS to your stylesheet */
.no-scroll {
  overflow: hidden;
}

/* Warning message styling */
.warning-message {
  color: yellow;
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  font-size: 14px;
  background-color: #000000;
}

.warning-message::before {
  content: "\26A0";
  /* Unicode for caution icon */
  margin-right: 8px;
  font-size: 2rem;
  color: yellow;
}

.usdt-icon {
  position: absolute;
  top: 48%;
  left: 51%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 40px;
}

h4 {
  margin-bottom: 20px;
  
}

label {
  margin-bottom: 10px;
}

input {
  margin-bottom: 20px;
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
}


/* Slide-in and slide-out animations */
.slide-in {
  bottom: 0;
}

.slide-out {
  bottom: -100%;
}

.toast {
  visibility: hidden;
  width: 300px;
  margin-left: -150px;
  background-color: #03b800;
  color: #ffffff;
  text-align: center;
  border-radius: 20px;
  padding: 10px 0;
  position: fixed;
  z-index: 1;
  left: 50%;
  top: 90px;
  font-size: 16px;
  font-weight: 500;
  transition: visibility 0.5s, opacity 0.5s ease-in-out;
  opacity: 0;
}

.toast.show {
  visibility: visible;
  opacity: 1;
}

@media (max-width: 600px) {
  .toast {
    font-size: 20px;
    /* Adjust font size for smaller screens */
    padding: 12px;
    /* Adjust padding for smaller screens */
    top: 40px;
    /* Adjust top position for smaller screens */
  }
}



/* General container for transaction history */

#transaction-container {
  width: 100%;
  max-width: 600px;
  margin: 50px auto;
  background-color: #1a1a1a;
  border-radius: 8px;
  padding: 20px;
  color: #fff;
}

/* Date label for each day of transactions */
.transaction-date {
  font-size: 14px;
  font-weight: bold;
  color: #999;
  margin: 10px 0;
  text-align: left;
}

/* Transaction row structure */
.transaction-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #333;
  cursor: pointer;
}

/* Arrow direction icons */
.direction-icon {
  font-size: 25px;
  color: #afaeae;
  margin-right: 10px;
}

/* Transaction details layout */
.icon-and-details {
  display: flex;
  align-items: center;
}

.transaction-details {
  font-size: 14px;
}

.transaction-time {
  font-size: 12px;
  color: #777;
}

/* Amount style */
.transaction-amount {
  font-size: 16px;
  font-weight: bold;
}

/* Income (received) and outcome (sent) color coding */
.income .transaction-amount span {
  color: #00ff00;
  /* Green for income */
}

.outcome .transaction-amount span {
  color: #ff4d4d;
  /* Red for outcome */
}

/* Additional styles for cleaner appearance */
.transaction-row:last-child {
  border-bottom: none;
}


/* Full-page modal overlay */
/* Modal Overlay */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* Semi-transparent black background */
  display: none;
  /* Initially hidden */
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Modal Content */
.modal-content {
  background-color: #000000;
  width: 90%;
  max-width: 500px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  animation: fadeIn 0.3s ease-in-out;
}

/* Full-screen modal for mobile */
@media (max-width: 768px) {
  .modal-content {
    width: 100%;
    height: 100%;
    border-radius: 0;
    /* Remove rounded corners for full-screen display */
    max-width: none;
    /* Disable max width */
  }

}

/* Modal Header */
.modal-header {
  padding: 16px;
  background-color: #000000;
  /* Blue header */
  color: #ffffff;
  /* White text */
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Space between elements */
  border-bottom: 2px solid #ccc;
  /* Separator line */
}

.modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
}

/* Close Button */
.close-modal {
  background: none;
  border: none;
  font-size: 2.6rem;
  color: #fff;
  cursor: pointer;
  transition: color 0.3s ease;
  margin-right: -10px;
}


@media (max-width: 768px) {
  .close-modal {
    background: none;
    border: none;
    font-size: 2.6rem;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s ease;
    margin-right: -40px;
  }
}


.close-modal:hover {
  color: #ff0000;
  /* Light red on hover */
}

/* Modal Body */

.modal-body {
  padding: 20px;
  font-size: 1rem;
  color: #ffffff;
  /* Darker text color */
  line-height: 1.6;
  word-wrap: break-word;
  /* Ensure long text wraps to fit within the container */
  overflow-wrap: break-word;
  /* Break text if needed */
}

.modal-body strong {
  color: #febc06;
  /* Darker text color */
  line-height: 1.6;
  word-wrap: break-word;
  /* Ensure long text wraps to fit within the container */
  overflow-wrap: break-word;
  /* Break text if needed */
}

/* Fade-in Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Lodaer and spinner */
.spinner-container {
  display: none;
  /* Initially hidden */
  position: fixed;
  top: 0;
  left: 0; 
  width: 100%;
  height: 100%;
  background: rgb(0, 0, 0);
  /* Semi-transparent black */
  z-index: 9999;
  /* Ensure it is on top of other elements */
  justify-content: center;
  align-items: center;
}

.spinner {
  font-size: 60px;
  position: relative;
  display: inline-block;
  width: 1em;
  height: 1em;
}

.spinner.center {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;

}

.spinner .spinner-blade {
  position: absolute;
  left: 0.4629em;
  bottom: 0;
  width: 0.074em;
  height: 0.2777em;
  border-radius: 0.0555em;
  background-color: transparent;
  -webkit-transform-origin: center -0.2222em;
  -ms-transform-origin: center -0.2222em;
  transform-origin: center -0.2222em;
  animation: spinner-fade9234 1s infinite linear;
}

.spinner .spinner-blade:nth-child(1) {
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  -webkit-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);
}

.spinner .spinner-blade:nth-child(2) {
  -webkit-animation-delay: 0.083s;
  animation-delay: 0.083s;
  -webkit-transform: rotate(30deg);
  -ms-transform: rotate(30deg);
  transform: rotate(30deg);
}

.spinner .spinner-blade:nth-child(3) {
  -webkit-animation-delay: 0.166s;
  animation-delay: 0.166s;
  -webkit-transform: rotate(60deg);
  -ms-transform: rotate(60deg);
  transform: rotate(60deg);
}

.spinner .spinner-blade:nth-child(4) {
  -webkit-animation-delay: 0.249s;
  animation-delay: 0.249s;
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
}

.spinner .spinner-blade:nth-child(5) {
  -webkit-animation-delay: 0.332s;
  animation-delay: 0.332s;
  -webkit-transform: rotate(120deg);
  -ms-transform: rotate(120deg);
  transform: rotate(120deg);
}

.spinner .spinner-blade:nth-child(6) {
  -webkit-animation-delay: 0.415s;
  animation-delay: 0.415s;
  -webkit-transform: rotate(150deg);
  -ms-transform: rotate(150deg);
  transform: rotate(150deg);
}

.spinner .spinner-blade:nth-child(7) {
  -webkit-animation-delay: 0.498s;
  animation-delay: 0.498s;
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.spinner .spinner-blade:nth-child(8) {
  -webkit-animation-delay: 0.581s;
  animation-delay: 0.581s;
  -webkit-transform: rotate(210deg);
  -ms-transform: rotate(210deg);
  transform: rotate(210deg);
}

.spinner .spinner-blade:nth-child(9) {
  -webkit-animation-delay: 0.664s;
  animation-delay: 0.664s;
  -webkit-transform: rotate(240deg);
  -ms-transform: rotate(240deg);
  transform: rotate(240deg);
}

.spinner .spinner-blade:nth-child(10) {
  -webkit-animation-delay: 0.747s;
  animation-delay: 0.747s;
  -webkit-transform: rotate(270deg);
  -ms-transform: rotate(270deg);
  transform: rotate(270deg);
}

.spinner .spinner-blade:nth-child(11) {
  -webkit-animation-delay: 0.83s;
  animation-delay: 0.83s;
  -webkit-transform: rotate(300deg);
  -ms-transform: rotate(300deg);
  transform: rotate(300deg);
}

.spinner .spinner-blade:nth-child(12) {
  -webkit-animation-delay: 0.913s;
  animation-delay: 0.913s;
  -webkit-transform: rotate(330deg);
  -ms-transform: rotate(330deg);
  transform: rotate(330deg);
}

@keyframes spinner-fade9234 {
  0% {
    background-color: #ffffff;
  }

  100% {
    background-color: transparent;
  }
}



.back-arrow {
  position: absolute;
  top: 20px;
  left: 20em;
  font-size: 1.3rem;
  color: #ffffff;
  cursor: pointer;

}

.containers {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  padding: 0rem;
}

.content {
  width: 100%;
  max-width: 500px;
  background-color: #000000;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  font-family: Arial, Helvetica, sans-serif;
}

h1 {
  font-size: 1.8rem;
  color: #ffffff;
  text-align: center;
  margin-bottom: 1rem;
}

.settings-card {
  background: #2b2b2b;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
  margin-bottom: 1rem;
}

.settings-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.settings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  color: #ffffff;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.settings-header i {
  transition: transform 0.3s ease;
}

.settings-header.collapsed i {
  transform: rotate(180deg);
}

.settings-content {
  display: none;
  transition: max-height 0.3s ease;
  color: rgb(179, 179, 179);
}

.settings-content.open {
  display: block;
}

.setting-item {
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked+.toggle-slider {
  background-color: #31f100;
}

input:checked+.toggle-slider:before {
  transform: translateX(26px);
}

button {
  padding: 0.5rem 1rem;
  background: #6b46c1;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

button:hover {
  background: #4a90e2;
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.5rem;
  }

  .settings-card {
    margin-top: 20px;
    padding: 1rem;
  }

  .settings-header {
    font-size: 1rem;
  }

  .back-arrow {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 1.5rem;
    color: #ffffff;
    cursor: pointer;
  }
}



.password-form {
  max-width: 400px;
  margin: 10px 0;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #f9f9f900;
}

.password-form h2 {
  text-align: center;
  margin-bottom: 20px;
}

.password-form div {
  position: relative;
  margin-bottom: 15px;
}

.password-form input {
  width: 350px;
  padding: 10px;
  padding-right: 40px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #888;
}


#savePasswordButton {
  width: 30%;
  padding: 10px;
  border: none;
  border-radius: 5px;
  background-color: #007bff;
  color: white;
  font-size: 16px;
  cursor: pointer;
  margin-right: 60px;
}

#cancelPasswordButton {
  width: 30%;
  padding: 10px;
  border: none;
  border-radius: 5px;
  background-color: #ff0000;
  color: white;
  font-size: 16px;
  cursor: pointer;
  margin-left: 70px;
}

#savePasswordButton:hover {
  background-color: #0056b3;
}

#cancelPasswordButton:hover {
  background-color: #97000f;
}


@media (max-width: 768px) {
  .password-form input {
    width: 302px;
    padding: 10px;
    padding-right: 40px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
  }

  #savePasswordButton {
    width: 35%;
    margin-right: 40px;
  }

  #cancelPasswordButton {
    width: 35%;
    margin-left: 40px;
    background-color: red;
  }

}



.chart-container {
  height: 100vh;
  width: 100%;
  background-color: rgb(10, 0, 0);
  /* Black background for the chart container */
  margin-top: 3rem;
}


.trading-container {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
}

.crypto-card {
  background-color: rgba(255, 255, 255, 0);
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 20px;
  
}
.crypto-card input {
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #0105ff;
  border-radius: 5px;
  font-size: 19px;
  width: 100%;
  box-sizing: border-box;
}
.crypto-card input:focus {
    outline: none;
    border: 3px solid rgb(0, 146, 17);
    
}

.form-control {
  width: auto;
  padding: 20px;
}


.button-container {
  display: flex;
  justify-content: space-between;
  
}

#submitBtn {
  background-color: green;
  color: white;
  flex: 1;
  margin-right: 10px;
  
}

#sellBtn {
  background-color: red;
  color: white;
  flex: 1;
}

.button-container {
  display: flex;
  gap: 10px; /* Optional: Adds space between buttons */
}

.button-container .btn {
  flex: 1; /* Optional: Makes buttons take equal space */
}


/* History styling */
h4 {
  text-align: center;
  margin-top: 0;
}

/* Full-screen modal styles */
.history-modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.history-modal.slide-in {
  animation: slideIn 0.6s forwards;
}

.history-modal.slide-out-right {
  animation: slideOutRight 0.6s backwards
}


@keyframes slideOutRight {
  from {
    right: 0;
    opacity: 1;
  }
  to {
    right: -100%;
    opacity: 0;
  }
}

.modal-content {
  background-color: #000000;
  margin: auto;
  padding: 20px;
  width: auto;
  height: 100vh;
  overflow: auto;
}

.closes-btn {
  color: #ffffff;
  float: right;
  font-size: 25px;
  font-weight: bold;
  cursor: pointer;
}

.closes-btn:hover,
.closes-btn:focus {
  color: rgb(255, 42, 42);
  text-decoration: none;
}

/* Order history table styles */
#orderHistoryTable {
  width: 100%;
  margin: 20px -12px;
  border-collapse: collapse;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  background-color: #ffffff00;
}

#orderHistoryTable th,
#orderHistoryTable td {
  padding: 12px 15px;
  text-align: center;
  border-bottom: 1px solid #ffffff;
}

#orderHistoryTable th {
  background-color: #606060;
  font-weight: bold;
}

#orderHistoryTable tr:nth-child(even) {
  background-color: #626262;
}
/* Disable background scrolling */
.no-scroll {
  overflow: hidden;
}

#tradingCodeContainer {
  background-color: #9d9d9d00;
  padding: 10px;
  border: 2px solid #00796b;
  text-align: left;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  font-size: 20px;
  color: #01c3a2;
  font-family: Arial, sans-serif;
  margin-left: 0;
  margin-bottom: 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#tradingCodeContainer .copy-icon {
  font-size: 16px;
  color: #00d0b8;
  cursor: pointer;
  transition: color 0.3s;
  margin-left: 10rem;
}

#tradingCodeContainer .copy-icon:hover {
  color: #00b395;
}

 
#tradingCodeContainer .copy-icon {
  font-size: 16px;
  color: #00d0b8;
  cursor: pointer;
  transition: color 0.3s;
  margin-left: 7.3rem;
}


@media (min-width: 768px) {
#tradingCodeContainer .copy-icon {
  font-size: 16px;
  color: #00d0b8;
  cursor: pointer;
  transition: color 0.3s;
  margin-left: 35rem;
}
}


/*sweetalert styling*/
.swal2-popup {
  font-size: 1rem;
}

.swal2-confirm {
  background-color: #3085d6;
  color: white;
  border: none;
  padding: 10px 30px;
  font-size: 1rem;
  cursor: pointer;
}

.swal2-confirm:hover {
  background-color: #00385d;
}



/* Transaction styles */
#transactionDetails {
  max-width: 800px;
  margin: 20px auto;
  background: #000000;
  border-radius: 10px;
  padding: 15px;
}

.transaction {
  padding: 15px;
  margin-bottom: 8px;
  background: #000000;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.773);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-bottom: 3px solid #ffffff;
  font-size: 17px;

}

.transaction p {
  margin: 20px 0;
  display: flex;
  align-items: center;
}

.transaction strong {
  min-width: 150px;
  /* Ensures consistent spacing */
  color: #00e5ff;
  font-weight: 600;
}

.transaction span {
  color: #ffffff;
  font-weight: 500;
  word-wrap: break-word;
  /* Breaks long words */
  word-break: break-word;
  /* Ensures long words break */
  overflow-wrap: break-word;
  /* Prevents overflow */
}

.transaction-status {
  display: inline-block;
  padding: 5px 10px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 5px;
  text-transform: capitalize;
}

.transaction-status.completed {
  background: #007933;
  color: #ffffff;
  font-weight: 600;
}

.transaction-status.pending {
  background: #dac100;
  color: #ffffff;
  font-weight: 600;
}

.transaction-status.failed {
  background: #ff0000;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
}

.copy-icon {
  cursor: pointer;
  margin-left: 2rem;
  color: #ffffff;
}

.copied {
  color: rgb(255, 255, 255);
  cursor: default;
}



/* CSS for Report Transaction Issue Form */
#reportFormContainer {
  max-width: 500px;
  margin: 20px auto;
  padding: 30px;
  background-color: #f9f9f900;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#reportFormContainer h2 {
  text-align: center;
  color: #ffffff;
  margin-bottom: 25px;
  font-weight: 600;
}

#reportForm {
  display: flex;
  flex-direction: column;
}

#reportForm label {
  margin-bottom: 8px;
  color: #ffffff;
  font-weight: 500;
}

#reportForm input,
#reportForm select,
#reportForm textarea {
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

#reportForm input:focus,
#reportForm select:focus,
#reportForm textarea:focus {
  outline: none;
  border-color: #4a90e2;
  box-shadow: 0 0 5px rgba(74, 144, 226, 0.3);
}

#reportForm button {
  background-color: #4a90e2;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

#reportForm button:hover {
  background-color: #357abd;
}

#otherProblemDiv textarea {
  min-height: 100px;
  resize: vertical;
}

@media (max-width: 600px) {
  #reportFormContainer {
    width: 100%;
    padding: 20px;
  }
}

/* Add this CSS to your styles.css file or within a <style> tag in your HTML file */

/* Add this CSS to your styles.css file */

.button-container {
  display: flex;
  /* Use flexbox for centering */
  justify-content: center;
  /* Center horizontally */
  align-items: center;
  /* Center vertically */
  height: 50px;
  /* Full viewport height */
}

#toggleFormButton {
  background-color: #0e87ff;
  /* Blue background */
  color: rgb(255, 255, 255);
  /* White text */
  border: none;
  /* Remove border */
  padding: 10px 20px;
  /* Padding */
  font-size: 16px;
  /* Font size */
  border-radius: 5px;
  /* Rounded corners */
  cursor: pointer;
  /* Pointer cursor on hover */
  transition: background-color 0.3s ease;
  /* Smooth transition for background color */
  font-weight: 600;
}

#toggleFormButton:hover {
  background-color: #0056b3;
  /* Darker blue on hover */
}






.containa {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.warning {
  color: #ff0000;  /* Red color for warning text */
  margin-top: 15px;
  font-size: 13px;
  font-weight: bold;
}

#walletAddress {
  font-size: 16px; /* Minimum font size to prevent zoom */
  padding: 10px; /* Add padding for usability */
  color: #333;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}

#walletAddress:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}
.btn-primary {
  border: none;
  color: #ffffff;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 1rem 2px;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.disabled {
  pointer-events: none;
  opacity: 0.6;
  cursor: not-allowed;
}


/* Copy Icon Styles */
#userUID {
  font-size: 16px;
  color: #ffffff;
  border-radius: 5px;
  display: flex;
  justify-content: space-between; /* Pushes the icon to the right */
  align-items: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Copy Icon Styles */
#copyIcon {
  cursor: pointer;
  color: #ffffff;
  font-size: 18px;
  transition: color 0.2s ease-in-out;
}



/* Style for the referred users container */
#referredUsers {
  margin: -5px;
  margin-top: 20px;
  padding: 10px;
  border: 1px solid #cccccc00;
  border-radius: 5px;
  background-color: #ffffff00;
}

/* Style for each user item */
.user-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #eee;
}

/* Style for the user name */
.user-name {
  font-weight: bold;
  color: #ffffff;
}

/* Style for the claim text */
.claim-text {
  cursor: pointer;
  color: #ffb908;
  text-decoration: underline;
  font-size: 18px;
  font-weight: bold;
}

/* Style for the claimed text */
.claim-text.claimed {
  color: #00ff3c;
  text-decoration: none;
  cursor: default;

}

#notification {
  padding: 10px;
  margin-top: 10px;
  border-radius: 5px;
}

#notification.error {
  background-color: #f8d7da;
  color: #721c24;
}

#notification.info {
  background-color: #d1ecf1;
  color: #0c5460;
}


/* Add this CSS to your stylesheet */
.btn .btn-secondary {
  background-color: #e25a0c;
  color: #ce0000;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}




.heading {
  text-align: center;
}
/* Add this CSS to your stylesheet */
.pwd-container {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(255, 255, 255, 0);
  border-radius: 10px;
}

.form-label {
  margin-bottom: 5px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--input-border-color);
  border-radius: 5px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--input-focus-color);
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.code-input {
  width: 45px;
  height: 45px;
  text-align: center;
  margin: 0 5px;
  font-size: 20px;
}

.code-input:focus {
  outline: none;
  border-color: var(--input-focus-color);
  box-shadow: 0 0 0 2px rgba(21, 255, 0, 0.25);
}

.form-text {
  font-size: 0.87rem !important;
  color: #ffb907 !important;
}

.red-border {
  border-color: red !important;
  border: 3px solid rgb(255, 0, 0) !important;
}

.red-background:focus {
  background-color: rgb(254, 145, 145) !important;
}







.dialog-container {
  display: none;
  position: fixed;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 20px;
  margin-top: -30px;
  padding-top: 4rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  max-height: 800px;
  overflow-y: auto;
  width: 400px;
  height: 790px;
}
.dialog-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}
.no-scroll {
  overflow: hidden;
}

h1 {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.step {
    margin-bottom: 30px;
}

.step-title {
    color: green;
    font-size: 20px;
    font-weight: bold;
}

.step p {
    font-size: 16px;
    color: #333;
}

.step-image {
    width: 100%;
    max-width: 400px;
    border-radius: 5px;
    margin-top: 10px;
}
@media (min-width: 768px) {
  .dialog-container, .dialog-overlay {
      display: none !important;
  }
}


@keyframes fadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

@keyframes fadeOut {
  from {
      opacity: 1;
  }
  to {
      opacity: 0;
  }
}

.welcome-screen {
  background-color: #00000000;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 1.2s ease-in;
}

.welcome-screen.fade-out {
  animation: fadeOut 1.3s ease-out forwards;
}

.main-content {
  display: none; /* Initially hide the main content */
}

.welcome-content {
  text-align: center;
}

.welcome-text {
  font-size: 3em;
  color: #ffffff;
  font-family: 'Arial', sans-serif;
  animation: fadeIn 1.2s ease-in;
}

.welcome-gif {
  animation: fadeIn 1.2s ease-in;
}


/* Bottom nav styles */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #49494a, #2e2e2e);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
}

.nav-item {
  text-align: center;
  color: #ffffff;
  text-decoration: none;
  font-size: 12px;
  transition: color 0.3s;
}

.nav-item i {
  display: block;
  font-size: 20px;
  margin-bottom: 8px;
}

.nav-item:hover {
  color: #f7ad00;
}

.nav-item span {
  display: block;
}

/* Desktop version */
@media (min-width: 768px) {
  .bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #49494a, #2e2e2e);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    width: 63%;
    margin: 0 auto; /* Center horizontally */
  }
  .nav-item {
    text-align: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s;
  }
  
  .nav-item i {
    display: block;
    font-size: 20px;
    margin-bottom: 8px;
  }
}




/* Base styles for the modal */
.notification-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0, 0, 0);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(8px);
}

/* Modal content container */
.modal-contents {
  position: relative;
  border-radius: 20px;
  width: 90%; /* Adjusted for mobile */
  max-width: 600px; /* Maximum width for larger screens */
  height: 90%; /* Set to 90% of the viewport height */
  max-height: 90%; /* Prevent overflow on mobile */
  padding: 20px 30px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  overflow-y: auto; /* Enable scrolling if content exceeds height */
  animation: slideIn 0.3s ease-in-out;
  border: 2px solid #ffffff; /* Added border */
}

/* Close button */
.close {
  position: absolute;
  top: 0;
  right: 15px;
  color: #fff;
  font-size: 34px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s ease-in-out;
}

.close:hover {
  color: #ff0000; /* Change color on hover */
}

.notification-item .message {
  margin: 10px 0;
  font-size: 18px;
}

.notification-item small {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: #bdbdbd;
  align-items: right;
  text-align: right;
  
}
.notification-item h4 {
  margin: 0;
  font-size: 15px;

}

/* Modal title */
.modal-contents h2 {
  margin: 0 0 20px;
  font-size: 26px;
  color: #fff;
  text-align: center;
}

/* Notifications list container */
#notificationsList {
  max-height: calc(100% - 90px); /* Adjust height to fit within modal */
  overflow-y: auto;
}

/* Notification item styling */
.notification-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 25px;
  color: #fff;
  font-size: 15px;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  border-left: 1px solid #ffffff;
  position: relative; /* Needed for the pseudo-element */
  border-right: 1px solid #ffffff;
  cursor: pointer;

}

.notification-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%; /* Start at the center */
  transform: translateX(-50%); /* Center it horizontally */
  width: 90%; /* Half the screen width */
  height: 2px; /* Tiny border height */
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0) 100%
  ); /* Fading effect */
  border-radius: 1px; /* Smooth the edges */
}


.notification-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(77, 77, 77, 0.988);
}


/* Responsive styles */
@media (max-width: 600px) {
  .modal-contents {
      width: 100%; /* Full width on mobile */
      height: 100%; /* Full height on mobile */
      border-radius: 10px; /* Remove border radius for full screen */
      padding: 10px; /* Adjust padding for mobile */
  }

  .modal-contents h2 {
      font-size: 20px; /* Adjust title size for mobile */
  }

  .notification-item {
      font-size: 16px; /* Adjust font size for mobile */
  }
}

/* Add this CSS to your stylesheet */
.modal-open {
  overflow: hidden;
}

.notification-item.unread   {
  background-color: #001831;
  color: #ffffff;
}

.notification-item.read {
  background-color: #000000;
  color: #d5d5d5;
}


#notificationCount {
  margin-left: 1px;
  font-size: 12px;
  color: #fff;
  background-color: red;
  border-radius: 50%;
  padding: 2px 5px;
}

.modal-contents .back {
  color: #aaa;
  float: left;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  margin-top: -4px;
}


.message-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0, 0, 0);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(8px);
  line-height: 2;
  font-size: 18px;
  
}

.message-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 17px;
}

#deleteIcon {
  cursor: pointer;
  color: red;
  font-size: 18px;
}

/* Slide-in and Slide-out Animations */
@keyframes slideIn {
  from {
      transform: translateX(100%);
  }
  to {
      transform: translateX(0);
  }
}

@keyframes slideOut {
  from {
      transform: translateX(0);
  }
  to {
      transform: translateX(100%);
  }
}

.support-contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  color: #ffffff;
  cursor: pointer;
}

.support-icon, .contact-item {
  display: flex;
  align-items: center;
  margin-right: 20px; /* Adjust the spacing as needed */
}

.support-icon i, .contact-item i {
  margin-right: 5px;
}




/* Mobile Styles */
@media (max-width: 768px) {
  .controls {
    background-color: #2c2c2c;
    padding: 20px;
    border-radius: 8px;
    margin-top: 10px;
  }
  .controls .btn {
    width: 100%;
    height: 50px;
    border-radius: 10px;
    font-size: 18px;
    margin-bottom: 10px;
  }
  .positions {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    background-color: #333;
    padding: 15px;
    border-radius: 10px;
  }
  .positions .position-item {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    margin-bottom: 10px;
  }
  .footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #333;
    padding: 10px;
    margin-top: 20px;
    border-radius: 10px;
  }
  .footer button {
    background-color: #f39c12;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 10px;
  }
}


@keyframes fadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

@keyframes fadeOut {
  from {
      opacity: 1;
  }
  to {
      opacity: 0;
  }
}

.animate__fadeIn {
  animation: fadeIn 2s forwards;
}

.animate__fadeOut {
  animation: fadeOut 2s forwards;
}


@media screen and (min-width: 724px) {
  #triggerButton {
    display: none;
  }
} 