html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

.is-invalid {
    border: 2px solid red;
    background-color: #fef2f2; /* Light red background */
}

#toast-container > div {
    width: 800px;

}
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 4px solid #3498db;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

.spinner-text {
    margin-top: 10px;
    color: #fff;
    font-size: 14px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.btn-primary {
    background-color: #3498db;
    border: none;
    padding: 0.75rem;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
    transition: background-color 0.3s;
}

    .btn-primary:hover {
        background-color: #2980b9;
    }

/*.toast-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 400px;
    pointer-events: none;
    opacity: 0; 
    visibility: hidden; 
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out; 
}

.toast-container.show {
    opacity: 1;
    visibility: visible; 
}

.toast {
    background-color: #333;
    color: #fff;
    padding: 16px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
    */

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.w-full px-4 py-3.5 bg-white-100 border-2 border-gray-300 rounded-xl text-blue-900 placeholder-gray-400 focus:outline-none focus:border-blue-800 transition-all {
    width: 100%;
    padding: 8px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.btn-login {
    background-color: #3498db;
    border: none;
    padding: 12px;
    color: white;
    border-radius: 4px;
    cursor: pointer;
}

    .btn-login:hover {
        background-color: #2980b9;
    }

.btn-register {
    background-color: #3498db;
    border: none;
    padding: 12px;
    color: white;
    border-radius: 4px;
    cursor: pointer;
}

    .btn-register:hover {
        background-color: #2980b9;
    }

.error-message {
    color: red;
    font-size: 12px;
}