/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif !important;
    background-color: #f3f3f2 !important;
    scrollbar-color: #171717 !important; /* Thumb and track color */
    scrollbar-width: thin !important; /* For Firefox */
}

/*buttons */
.btn {
  font-size: 15px !important;
  width:150px;
}
/* Custom scrollbar for WebKit browsers */
::-webkit-scrollbar {
  width: 5px;
  display: none !important;
}

::-webkit-scrollbar-track {
  display: none !important;
}

::-webkit-scrollbar-thumb {
  background-color: #171717; /* Thumb color */
  border-radius: 10px !important; /* Roundness of the thumb */
}
/* table links */
.table-links {
  text-decoration: none;
}
.table-links:hover {
  text-decoration: underline;
  color: #f0f0f0 !important;
}
/* grey links */
.grey-links {
  text-decoration: none;
}
.grey-links:hover {
  text-decoration: underline;
}
/* navbar */
#nav, footer {
    background-color: #f3f3f2 !important;
    border-bottom: 1px solid rgba(172, 172, 172, .2);
}
#nav .nav-link, .footer-links {
    color: #161616 !important;
}
#nav .nav-link:hover, .footer-links:hover {
    color:#969696 !important;
}
.logo {
    font-size: large;
    font-weight: 600 !important;
    color:#000 !important;
}

@media (max-width: 700px) {
    .logo {
        font-size: 4.5vw !important;
        font-weight: 600 !important;
    }
}


.navbar-toggler {
    box-shadow: none !important;
    border: none !important;
    font-weight: 600 !important;
    margin-right: 10px !important;
}
.navbar-toggler,
.toggle {
  padding: 0 !important;
  
}
.navbar-accounts-links {
    display: flex;
    flex-direction: row;
    gap: .5rem;
}

@media(max-width:768px) {
    .navbar-accounts-links {
        flex-direction: column;
    }
    .navbar-accounts-links a {
        margin-bottom: 10px;
        width: 100% !important; 
    }
}

.sign-in-navbar {
    display: none !important;
}

@media(max-width:991px) {
    .navbar-accounts-links {
        flex-direction: column;
    }
    .navbar-accounts-links a {
        margin-bottom: 10px;
    }
    .sign-in-navbar {
        display: block !important;
    }
}

/* banner design */
/* styles.css */

.banner {
  background-image: url('../img/world_map-removebg-preview.png'); /* Replace with your image path */
  background-size: cover;
  background-position: center;
  padding: 40px 20px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

.banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6); /* Add dark overlay */
  z-index: 1;
}

.banner-content {
  z-index: 2;
  max-width: 800px;
  background-color: #0a1128; /* Match the dark colour of the banner */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
  position: relative;
  top: -40px; /* Move slightly above */
  transform: translateY(50%); /* Overlap with banner border */
}




/* Responsive Design */
@media (max-width: 768px) {


  .banner-content {
    transform: translateY(30%); /* Adjust for smaller screens */
}

}

/*sidebar . user navigation*/
.sidebar {
  height: 100vh;
  background-color: #ffffff !important;
  color: rgb(97, 97, 97);
  padding-top: 20px;
  overflow-y: scroll !important;
  font-size: small;
}
.sidebar .nav-link, #mobile-nav .nav-link {
  color: rgb(122, 120, 120);
  text-decoration: none;
  display: block;
  
  transition: 0.3s;
  font-weight: 600;
  padding: 17px !important;
  

}
.sidebar .nav-link:hover, #mobile-nav .nav-link:hover {
  color: #ffc107;
}
.content {
  padding: 20px;
}

#user-menu {
  display: block;
}

@media (max-width:991px) {
  .content{
    margin-top: 70px !important;
    
  }
  #user-menu {
    display: none;
  }
}
/* copy trade */
.trade-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.trade-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.trade-card .card-body {
  padding: 1.2rem;
}

.trade-card .text-muted {
  font-size: 0.9rem;
}
/* table */
table {
  width: 100% !important;
}

@media (max-width:767px) {
  table {
    width: 1000px !important;
  }
}
/* form */
form {
  width: 400px !important;
}

form input[type='text'], input[type='number'], input[type='password'], input[type='file'], input[type='email'], select, textarea {
  background-color: #e0e0e0 !important;
  border:none !important;
  padding: 10px !important;
  width: 100% !important;
  color: grey !important;
  outline-color: none !important;
}

@media (max-width:767px) {
  form {
    width: 100% !important;
  }
}
/*message style*/
        .messages-container {
            max-width: 800px;
            margin: 20px auto;
            background: #fff !important;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .message-card {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px;
            border-bottom: 1px solid #eee;
            transition: background-color 0.3s ease;
        }

        .message-card:hover {
            background-color: #f5f5f5;
        }

        .message-card:last-child {
            border-bottom: none;
        }

        .message-details {
            display: flex;
            gap: 10px;
            align-items: center;
        }

        .message-icon {
            font-size: 24px;
        }

        .message-content {
            flex: 1;
        }

        .message-content h5 {
            margin: 0;
            font-size: 16px;
            font-weight: 600;
            color: #333;
        }

        .message-content p {
            margin: 5px 0 0;
            font-size: 14px;
            color: #666;
        }

        .message-date {
            font-size: 12px;
            color: #999;
        }
        /* profile */
                      .card {
    border: none;
    border-radius: 8px;
}

.step-header {
    display: flex;
    align-items: center;
}

.step-number-circle {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 1.2rem;
}

.list-unstyled .form-check-label i {
    margin-right: 8px;
    color: #ffd000;
}

.alert {
    background-color: #f8f9fa;
    border: none;
    border-radius: 8px;
}

/* home background */


.home-bg-d {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #f3f3f2 !important;
    overflow: hidden; /* Prevents animation overflow */
}

.home-bg-d::before {
    content: "NE"; /* The spinning text */
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 450px;
    font-weight: bold;
    color: rgba(201, 201, 201, 0.2); /* Light gray for subtle effect */
    transform: translate(-50%, -50%);
    animation: spinTR 10s infinite linear;
    z-index: 0;
}

@keyframes spinTR {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.home-bg-d center {
    position: relative;
    z-index: 1; /* Ensures text appears above animation */
}





/* flexbox-2 */
.flexbox-2 {
  display: flex;
  gap:1rem;
  flex-direction: row;
  justify-content: center;
}

@media (max-width:735px) {
  .flexbox-2 {
    flex-direction: column;
  }
}

/* grid container */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .grid-container {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .grid-container {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (max-width: 480px) {
  .grid-container {
    grid-template-columns: 1fr;
  }
}

/* Cards */
/* From Uiverse.io by alexruix */ 
.card {
  width: 100%;
  height: 254px;
  border-radius: 20px;
  background: rgb(231, 231, 231) !important;
  position: relative;
  padding: 1.8rem;
  border: 2px solid #c3c6ce;
  transition: 0.5s ease-out;
  overflow: visible;
 }
 
 .card-details {
  color: black;
  height: 100%;
  gap: .5em;
  display: grid;
  place-content: center;
 }
 
 .card-button {
  transform: translate(-50%, 125%);
  width: 60%;
  border-radius: 1rem;
  border: none;
  background-color: #ffc107;
  color: #000;
  font-weight: 600;
  font-size: 1rem;
  padding: .5rem 1rem;
  position: absolute;
  left: 50%;
  bottom: 0;
  opacity: 0;
  transition: 0.3s ease-out;
 }
 

 
 /*Text*/
 .text-title {
  font-size: 1em;
  font-weight: 600;
 }
 
 /*Hover*/
 .card:hover {
  border-color: #e7af06;
  box-shadow: 0 4px 18px 0 rgba(0, 0, 0, 0.25);
 }
 
 .card:hover .card-button {
  transform: translate(-50%, 50%);
  opacity: 1;
 }
/* navbar toggle span bars */
#checkbox {
    display: none;
  }
  
  .toggle {
    position: relative;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition-duration: .5s;
  }
  
  .bars {
    width: 100%;
    height: 4px;
    background-color: #000;
    border-radius: 4px;
  }
  
  #bar2 {
    transition-duration: .8s;
  }
  
  #bar1, #bar2, #bar3 {
    width: 70%;
  }
  
  #checkbox:checked + .toggle .bars {
    position: absolute;
    transition-duration: .5s;
  }
  
  #checkbox:checked + .toggle #bar2 {
    transform: scaleX(0);
    transition-duration: .5s;
  }
  
  #checkbox:checked + .toggle #bar1 {
    width: 100%;
    transform: rotate(45deg);
    transition-duration: .5s;
  }
  
  #checkbox:checked + .toggle #bar3 {
    width: 100%;
    transform: rotate(-45deg);
    transition-duration: .5s;
  }
  
  #checkbox:checked + .toggle {
    transition-duration: .5s;
    transform: rotate(180deg);
  }

/* flexbox container */
.flexbox-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem; 
    justify-content: space-between;
}
.flexbox-item {
    flex: 1 1 calc(33.33% - 1rem); 
    min-width: 250px;
    padding: 1rem;
    box-sizing: border-box;
}
  