@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap');
html,
body {
  font-family: "JetBrains Mono", monospace, Arial, sans-serif;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  text-rendering: optimizelegibility;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
  color: #ffff;
  background: #192429;

  lline-height: 1.3;
}

a{
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.hide{
    display: none;
}


.logo{
    max-width: 100px;
}

.links-section{
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 10px;
    background: #192429;
    min-width: 20%;
}

.links-section a { 
    padding: 5px 0px;
    white-space: nowrap;
    color:rgb(163, 163, 163);
}

.sign-out{
    margin-top: auto;
}

.sign-out button{
    padding: 10px 15px;
    color: white;
    border: none;
    width: 100%;
    font-size: 14px;
    border-radius: 6px;
    font-weight: bold;
}
.sign-out button:hover {
    cursor: pointer;
}

.w-fit{
    width: fit-content;
}

.links-section a:hover, .nav a:hover{
    cursor: pointer;
    color: white;
    font-weight: bold;
}

.message-section {
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    font-weight: bold;
}
.login-card{
    display: flex;
    flex-direction: column;
}
.card-content{
    display: flex;
    margin-top: 50px;
    gap:20px;
    min-height: 550px;
}

.block-content p{
    font-size: 14px;
}
.active{
    color: white !important;
    font-weight: bold;
}
.trade-btn {
    padding: 5px 10px;
    background-color: transparent;
    border: 1px solid white;
    border-radius: 3px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}

.trade-btn:hover{
    background-color: white;
    cursor: pointer;
    color: black !important;
}

.login-container form{
    width: 100%;
}

.input-container{
    border-bottom: 1px solid rgb(163, 163, 163);
}

.input-container input{
    all: unset;
    background: transparent;
    padding: 5px 10px;
    color: white;
    width: 100%;
    box-sizing: border-box;
}
.password-container{
    display: flex;
    align-items: center;
    padding-right: 5px;
}
.password-container .toggle-password{
    cursor: pointer;
}
.select-wrap{
    display: flex;
    align-items: center;
    gap: 10px;
}
.select-wrap > label{
    padding-left:10px ;
    color: #ffffff50;
}
#id_country{
    padding: 5px 10px;
    margin-block: 5px;
    border: 0px;
    background-color: transparent;
    width: calc(100% - 50px);
    outline: none;
    flex: 1;
}
.country-select-flag{
    height: 20px;
    margin: auto 10px !important;
}
.dash-form .input-container{
    max-width: 400px;
}

.signup-text{
    font-size: 14px;
    margin-top: 10px;
    display: flex;
    justify-content: end;
}
.signup-link{
    font-weight: bold;
}

.signup-link:hover{
    text-decoration: underline;
}

.social-btn .icon-text-container {
    display: flex;
    align-items: center;
    gap:10px;    
}

.icon-text-container img{
    max-width: 25px;
}
.login-social{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.login-social .social-btn {
    border: none;
}

.login-social .icon-text-container .text{
    display: none;
}

.sign-in-btn{
    width: 100%;
    padding: 10px 5px;
}
.short-field{
    width: fit-content;
}
table,th,td{
    font-size: 12px;
    text-align: center;
    border: 1px solid rgb(163, 163, 163);
    border-collapse: collapse;
}
.totp-qr{
    background-color: white;
    width: fit-content;
}
.divider{
    margin: 20px 0px;
    display: flex;
    width: 100%;
}
.divider hr{
    width: 100%;
    border: none;
    background-color: white;
    height: 1px;
}
.divider span{
    margin: 0px 5px;
    font-size: 12px;
}
.login{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-container{
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 20px;
}

.login-wrapper{
    width: 100%;
    justify-content: center;
    align-items: center;
}

.title { 
    margin-bottom: 50px;
}


/* Material UI Dark Mode Button Styles */
.btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background-color: #2196f3; /* Blue 500 - Material UI's signature blue */
    border-color: #2196f3;
    color: #ffffff;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #42a5f5; /* Blue 400 */
    border-color: #42a5f5;
}

.btn-secondary {
    background-color: #78909c; /* Blue Grey 400 */
    border-color: #78909c;
    color: #ffffff;
}

.btn-secondary:hover, .btn-secondary:focus {
    background-color: #90a4ae; /* Blue Grey 300 */
    border-color: #90a4ae;
}

.btn-success {
    background-color: #4caf50; /* Green 500 */
    border-color: #4caf50;
    color: #ffffff;
}

.btn-success:hover, .btn-success:focus {
    background-color: #66bb6a; /* Green 400 */
    border-color: #66bb6a;
}

.btn-danger {
    background-color: #f44336; /* Red 500 */
    border-color: #f44336;
    color: #ffffff;
}

.btn-danger:hover, .btn-danger:focus {
    background-color: #ef5350; /* Red 400 */
    border-color: #ef5350;
}

.btn-warning {
    background-color: #ff9800; /* Orange 500 */
    border-color: #ff9800;
    color: #ffffff;
}

.btn-warning:hover, .btn-warning:focus {
    background-color: #ffa726; /* Orange 400 */
    border-color: #ffa726;
}

.btn-info {
    background-color: #00acc1; /* Cyan 600 */
    border-color: #00acc1;
    color: #ffffff;
}

.btn-info:hover, .btn-info:focus {
    background-color: #26c6da; /* Cyan 400 */
    border-color: #26c6da;
}

.btn-light {
    background-color: #e0e0e0; /* Grey 300 */
    color: #212121; /* Very dark grey for text */
}

.btn-light:hover, .btn-light:focus {
    background-color: #f5f5f5; /* Grey 100 */
}

.btn-dark {
    background-color: #424242; /* Grey 800 */
    border-color: #424242;
    color: #ffffff;
}

.btn-dark:hover, .btn-dark:focus {
    background-color: #616161; /* Grey 700 */
    border-color: #616161;
}

/* Optional: Add a subtle transition for smooth color changes */
.btn {
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.social-btn{
    border: 1px solid white;
}

.message-banner {
    overflow: hidden;
  }
  
  .message-banner-content {
    display: flex;
    align-items: center;
    animation: scroll-left 20s linear infinite;
    white-space: nowrap;
  }
  
  .message-item {
    padding: 10px 20px;
    font-size: 16px;
  }
  
  .message-separator {
    width: 1px;
    height: 20px;
    margin: 0 10px;
  }

  
  
  @keyframes scroll-left {
    0% {
      transform: translateX(100%);
    }
    100% {
      transform: translateX(-100%);
    }
  }
  
  @media (max-width: 768px) {
    .message-banner-content {
      flex-direction: column;
      animation: none;
      white-space: normal;
    }
  
    .message-separator {
      width: 80%;
      height: 1px;
      margin: 5px auto;
    }
  }

  @media (min-width:1024px){
    .login-container form{
        width: 700px;
    }
  }