body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #000000;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    
}

.wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70%;
    background: linear-gradient(135deg, #000000, #000000);
    padding: 10px;
    margin-top: 2.5rem; 

}

.auth-container {
    background: #000000;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgb(170, 185, 255);
    padding: 1rem;
    width: 100%;
    max-width: 400px;
    transition: transform 0.3s ease;
}


.brand-logo {
    text-align: center;
    margin-bottom: 1rem;
}

.brand-logo img {
    width: 70px;
    height: auto;
    object-fit: cover;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h2 {
    color: #00ffd5;
    font-weight: bold;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1.px;
    margin-bottom: 10px;
}

.auth-header p {
    font-size: 1rem;
    color: #ffffff;
}

.form-control {
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    background: #f9f9f9;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.forms-controller {
    width: 100%;
    padding: 7px 16px;
    margin-bottom: 15px;
    border: 1px solid #ced4da;
    border-radius: 10px;
    font-size: 1rem;
    background: #f9f9f9;
    color: #fffffff4;
    appearance: none;
    /* Removes default browser styles */
}

.forms-controller:focus {
    border-color: #0aff02;
    background: #ffffff;
    box-shadow: 0 0 8px rgba(0, 121, 107, 0.2);
}

.forms-controller option {
    padding: 10px;
    background-color: #fff;
    color: #15130f;
}

.form-control:focus {
    border-color: #00796b;
    background: #ffffff;
    box-shadow: 0 0 8px rgba(0, 121, 107, 0.2);
}



.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.btn-auth {
    background: #00796b;
    color: white;
    font-weight: bold;
    padding: 0.75rem;
    border-radius: 10px;
    border: none;
    width: 100%;
    transition: all 0.3s ease;
    font-size: 1rem;
    margin-top: 1rem;
}

.btn-auth:hover {
    background: #005a4f;
    box-shadow: 0 4px 15px rgba(0, 121, 107, 0.3);
}

.auth-switch {
    text-align: center;
    margin: 1.5rem 0;
    font-size: 1rem;
    color: #d7d7d7;
}

.auth-switch a {
    color: #00796b;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-switch a:hover {
    color: #005a4f;
    text-decoration: underline;
}

.social-login {
    margin-top: 2rem;
    text-align: center;
    position: relative;
}

.social-login::before {
    content: "OR";
    position: absolute;
    top: -26px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0);
    padding: 0 1rem;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: bold;
}

.terms-text {
    font-size: 0.98rem;
    color: #ffffff;
    text-align: center;
    margin-top: 2rem;
}

.terms-text a {
    color: #4267B2;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.terms-text a:hover {
    color: #4267B2;
}

.texts-primary {
    color: #c8c8c8;
}

.custom-control-label {
    color: #969696;
}


.loaders-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.926);
    /* Semi-transparent overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    /* Ensure it overrides all other elements */
    display: none;
    /* Hidden by default */
}

/* Lodaer and spinner */
.spinner-container {
display: none;
/* Initially hidden */
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.845);
/* Semi-transparent black */
z-index: 9999;
/* Ensure it is on top of other elements */
justify-content: center;
align-items: center;
}

.spinner {
font-size: 45px;
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;
}
}


.toast {
  visibility: hidden;
  min-width: 100px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 10px;
  padding: 16px;
  position: fixed;
  z-index: 1;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 15px;
  font-weight: bold;
}

.toast.show {
  visibility: visible;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

.toast.success {
  background-color: #00a005;
}

.toast.error {
  background-color: #ff1100;
}

.toast.info {
  background-color: #0075d5;
}

@keyframes fadein {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fadeout {
  from {opacity: 1;}
  to {opacity: 0;}
}

@media (max-width: 768px) {
  .toast {
    width: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

.support-contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  color: #626262;
  cursor: pointer;
}

.support-icon, .contact-item {
  display: flex;
  align-items: center;
  margin-right: 20px; /* Adjust the spacing as needed */
}

.support-contact-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    color: #626262;
    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;
}









/* General Modal Styling */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 3rem;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.973); /* Black w/ opacity */
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #2b2963fe;
    margin: auto;
    padding: 20px;
    border: 1px solid #ffffff;
    width: 400px;
    border-radius: 8px;
    text-align: center;
}

/* Modal Header */
.modal-header {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.modal-header h2 {
    margin: 0;
    font-size: 20px;
    color: rgb(255, 255, 255);
}

.modal-header .close {
    color: #ffffff;
    float: right;
    font-size: 30px;
    font-weight: bold;
    margin-top: -30px;
}

.modal-header .close:hover,
.modal-header .close:focus {
    color: rgb(225, 24, 24);
    text-decoration: none;
    cursor: pointer;
}

/* Modal Body */
.modal-body {
    padding: 20px;
}

/* Styling for the Verification Code Inputs */
.verification-inputs {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 40px;
}

.code-input {
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 18px;
    border: 2px solid #ffffff;
    border-radius: 4px;
    outline: none;
    box-shadow: inset 0px 2px 4px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s;
}

.code-input:focus {
    border-color: #04ff00;
}

/* Verify Button */
#verifyButton {
    background-color: #0512ff;
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    font-weight: 600;
    font-size: 19px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#verifyButton:hover {
    background-color: #039aff;
}

/* Responsive Modal */
@media (max-width: 600px) {
    .modal-content {
        width: 95%;
    }
}


/* Support Contact Styling */
.support-contact-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 1em 0.2rem 0 0.66rem;
    padding: 0;
    width: 100%;
}


.contact-item {
    transition: transform 0.2s ease;
    position: relative;
    flex: 0 1 auto;
    text-align: center;
}

.contact-item:hover {
    transform: translateY(-7px);
}

.contact-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #fff;
    padding: 0.8rem;
    transition: all 0.3s ease;
    position: relative;
}

/* Icon specific styling */
.contact-item i {
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
    transition: all 0.3s ease;
}

/* Email icon styling */
.contact-item a i.fa-envelope {
    color: #EA4335;
    text-shadow: 0 0 10px rgba(234, 67, 53, 0.3);
}

.contact-item:hover a i.fa-envelope {
    color: #FF6B6B;
}

/* Telegram icon styling */
.contact-item a i.fa-telegram-plane {
    color: #0088cc;
    text-shadow: 0 0 10px rgba(0, 136, 204, 0.3);
}

.contact-item:hover a i.fa-telegram-plane {
    color: #00A8FF;
}

/* Live Chat icon styling */
.contact-item a i.fa-comments {
    color: #00E676;
    text-shadow: 0 0 10px rgba(0, 230, 118, 0.3);
}

.contact-item:hover a i.fa-comments {
    color: #69F0AE;
}

.contact-item span {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.2rem;
    color: #ffffffb1;
}

.contact-item:hover span {
    color: #fff;
}

/* Remove the underline effect */
.contact-item a::after {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .support-contact-column {
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .contact-item i {
        font-size: 1.5rem;
    }
    
    .contact-item span {
        font-size: 12px;
    }
}

.app-download {
    text-align: center;
    margin: 2rem 0;
}

.download-title {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 0.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.store-btn:hover {
    background: rgba(255, 255, 255, 0.453);
    transform: translateY(-2px);
    text-decoration: none;
    color: #fff;
}

.store-btn i {
    font-size: 1.5rem;
}

.store-btn i.fa-google-play {
    color: #00f5e1;
}

.store-btn i.fa-apple {
    color: #ffffff;
}

@media (max-width: 768px) {
    .store-buttons {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }

    .store-btn {
        width: 160px;
        justify-content: center;
    }
}

/* Update the pin modal styles */
.pin-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow: hidden;
    /* Add these properties to prevent scrolling */
    position: fixed;
    touch-action: none;
    -webkit-overflow-scrolling: none;
}
.pin-modal h3 {
    color: #9c9c9c;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}


.pin-container {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    max-width: 90%;
    width: 400px;
    /* Add these properties for better mobile handling */
    position: fixed;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 400px;
    overflow: hidden;
}

/* Add this style to prevent body scrolling when modal is open */
body.pin-modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

.pin-message {
    color: #b1b1b1;
    margin-bottom: 1.5rem;
}

.pin-input-wrapper {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.pin-digit {
    width: 45px;
    height: 45px;
    border: 2px solid #444;
    border-radius: 8px;
    text-align: center;
    font-size: 1.2rem;
    background: #2a2a2a;
    color: #fff;
}

.pin-digit:focus {
    border-color: #00ff0d;
    outline: none;
}

.pin-error {
    color: #dc3545;
    margin-bottom: 1rem;
}

.pin-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}


/* Add these styles for the PIN alert */
.pin-alert {
    color: #fff;
    padding: 8px;
    border-radius: 4px;
    margin: 10px 0;
    font-size: 0.9rem;
    display: none;
}

.pin-alert.error {
    background-color: rgba(220, 53, 69, 0.2);
    border: 1px solid #dc3545;
}

.pin-alert.success {
    background-color: rgba(40, 167, 69, 0.2);
    border: 1px solid #28a745;
}



.pin-input-wrapper {
    display: flex;
    justify-content: center;
}
.pin-digit {
    width: 160px; /* Adjust the width of the input field as needed */
    text-align: center;
    font-size: 24px; /* Adjust the font size as needed */
}