﻿html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.toast-container {
    z-index: 1800 !important;
}

.shadow-sm {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
}

.shadow-md {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

.shadow-lg {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3) !important;
}

.border {
    border-color: rgba(0, 0, 0, 0.5) !important;
}

.card{
    border-color: #fff !important;
}

.btn-bd-primary:focus {
    outline: none !important;
    box-shadow: none !important;
}

.btn-success {
    color: white !important;
}

    .btn-success:hover {
        color: #198754 !important;
        background-color: white !important;
        border-color: #198754 !important;
    }

.bd-mode-toggle {
    background-color: #0d6efd;
}

    .bd-mode-toggle .btn-bd-primary {
        background-color: #0d6efd;
        color: white;
    }

.bd-mode-toggle {
    z-index: 1500;
}

    .bd-mode-toggle .dropdown-menu .active .bi {
        display: block !important;
    }

.form-control {
    border: none !important;
    border-bottom: 1px solid #fff !important;
    background-color: transparent !important;
    border-radius: 0 !important;
}

    .form-control:focus {
        outline: none !important;
        border-color: transparent !important;
        box-shadow: none !important;
        border-bottom: 1px solid #fff !important;
    }

    .form-control:not(:placeholder-shown) {
        background-color: transparent;
        border-color: #fff !important;
    }

    .form-control:focus + .form-floating-label-disabled-color {
        background-color: transparent !important;
    }

    .form-control:hover {
        background-color: transparent !important;
    }

input[type="number"] {
    -moz-appearance: textfield;
}

    input[type="number"]::-webkit-inner-spin-button,
    input[type="number"]::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

.code-squares {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.code-digit {
    width: 100%;
    height: 50px;
    text-align: center;
    font-size: 1.5rem;
    outline: none;
}


[data-bs-theme="dark"] .btn-success {
    color: white !important;
}

    [data-bs-theme="dark"] .btn-success:hover {
        color: #d1ccbd !important;
        background-color: #333 !important;
        border-color: #198754 !important;
    }

[data-bs-theme="dark"] .border {
    border-color: #ffffff !important;
}

[data-bs-theme="dark"] .shadow-md {
    box-shadow: none !important;
}

[data-bs-theme="dark"] .bd-mode-toggle {
    background-color: #0d6efd !important;
}

[data-bs-theme="dark"] .btn-bd-primary:focus {
    outline: none !important;
    box-shadow: none !important;
}

[data-bs-theme="dark"] #floatingUser {
    color: white !important;
}

[data-bs-theme="dark"] .form-control {
    color: white !important;
}

[data-bs-theme="dark"] {
    background-color: #333;
    color: #fff;
}

[data-bs-theme="dark"] body {
    background-color: #333;
    color: #fff;
}

   [data-bs-theme="dark"] body {
       color: #fff; 
   }

[data-bs-theme="dark"] main {
    background-color: #333;
    color: #fff;
}

   [data-bs-theme="dark"] main {
       color: #fff;
   }
