:root {
    --bs-font-sans-serif: 'IBM Plex Sans', Arial, sans-serif;
    --bs-body-bg: #f8f9fa;
    /* Background color */
    --bs-body-color: #333;
    /* Text color */
    --bs-border-color: #ccc;
    /* Border color */
    --bs-primary: #007bff;
    /* Primary color */
}

/* Override specific input colors */
input.form-control {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
    border-color: var(--bs-border-color);
}

input.form-control:focus {
    background-color: white;
    border-color: var(--bs-primary);
    box-shadow: 0 0 5px var(--bs-primary);
}

.auth-market-page input.form-control.auth-input {
    width: 100%;
    max-width: 100%;
    background: rgba(8, 13, 19, .78);
    color: #f7fbff;
    border-color: rgba(153, 190, 255, 0.18);
}

.auth-market-page input.form-control.auth-input:focus {
    background: rgba(10, 16, 23, .94);
    color: #ffffff;
    border-color: rgba(125, 211, 252, .78);
    box-shadow: 0 0 0 3px rgba(125, 211, 252, .13);
}

.auth-market-page input.form-control.auth-input::placeholder {
    color: #aebed1;
}

select.form-select {
    text-align: center; /* Align text horizontally */
    text-align-last: center; /* Align selected option */
    width: fit-content;
  }

.input-group-text{
    background: transparent;
    color: white;
}

/* Base styling for Bootstrap 5 range slider */
.form-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 5px; /* Thickness of the slider */
    background: #ddd; /* Slider background */
    border-radius: 5px;
    outline: none;
  }
  
  /* Change the slider thumb (circle) to a vertical line */
  .form-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 5px; /* Line width */
    height: 18px; /* Line height */
    background: #007bff; /* Bootstrap primary color */
    border-radius: 2px;
    cursor: pointer;
  }
  
  /* For Firefox */
  .form-range::-moz-range-thumb {
    width: 5px;
    height: 18px;
    background: #007bff;
    border-radius: 2px;
    cursor: pointer;
  }

.bi-info-circle:hover{
    color:  rgb(31, 188, 131);
    cursor: pointer;
  }

.alert{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    color: #f7faff;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.45;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 14px 28px rgba(6, 12, 28, 0.26);
    backdrop-filter: blur(14px);
}

.alert strong{
    font-weight: 700;
}

.alert .btn-close{
    flex: 0 0 auto;
    opacity: 0.9;
    filter: brightness(0) invert(1);
    box-shadow: none;
}

.alert-primary{
    background: linear-gradient(135deg, rgba(45, 95, 255, 0.94) 0%, rgba(72, 148, 255, 0.88) 100%);
    border-color: rgba(145, 190, 255, 0.35);
}

.alert-success{
    background: linear-gradient(135deg, rgba(24, 140, 94, 0.94) 0%, rgba(35, 200, 144, 0.88) 100%);
    border-color: rgba(145, 255, 214, 0.32);
}

.alert-warning{
    background: linear-gradient(135deg, rgba(153, 105, 31, 0.96) 0%, rgba(232, 173, 59, 0.9) 100%);
    border-color: rgba(255, 227, 159, 0.32);
}

.alert-danger{
    background: linear-gradient(135deg, rgba(173, 49, 68, 0.96) 0%, rgba(231, 92, 110, 0.9) 100%);
    border-color: rgba(255, 178, 190, 0.32);
}

.alert-info{
    background: linear-gradient(135deg, rgba(41, 102, 167, 0.96) 0%, rgba(73, 165, 255, 0.9) 100%);
    border-color: rgba(168, 217, 255, 0.32);
}

.toastify{
    border-radius: 16px !important;
    padding: 14px 16px !important;
    font-family: 'Inter', Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;
    line-height: 1.35 !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    color: #f7fbff !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.12);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 18px 34px rgba(4, 9, 22, 0.32) !important;
    backdrop-filter: blur(16px);
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)) !important;
}
