:root {
    --primary-color: white;
    --secondary-color: #f0f0f0;
    --text-color: black;
    --indigo-text: #4b0082;
}

.darkmode {
    --primary-color: black;
    --secondary-color: rgb(22, 22, 22);
    --text-color: white;
    --indigo-text: #6800b3;
}

html {
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    display: none;
}

a {
    text-decoration: none;
}

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Urbanist', serif !important;
    /* Default font for English */
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

body[dir="rtl"] {
    font-family: 'Noto Naskh Arabic', serif !important;
    /* Font for Arabic */
}

.coloring {
    background: var(--secondary-color);
    color: var(--text-color);
}

.indigoDarkMode {
    color: var(--indigo-text);
}

/* Login Form Container */
.login-container {
    background: var(--primary-color);
    width: 450px;
    padding: 2rem;
    border-radius: 15px;
}

.login-container h1 {
    font-weight: bold;
    color: var(--indigo-text);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 0.5rem;
    font-weight: bold;
}

#loginForm input {
    margin-bottom: 0.5rem;
    padding: 0.50rem;
    border: 2px solid transparent;
    border-radius: 5px;
    font-size: 1rem;
    width: 100%;
    transition: ease-in-out 0.3s border-color;
    background: var(--secondary-color);
    caret-color: var(--text-color);
}

#loginForm input:focus {
    border-color: var(--indigo-text);
    outline: none;
}

#loginForm input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px var(--secondary-color) inset !important;
    -webkit-text-fill-color: var(--text-color) !important;
    /* Adjust text color */
    border-color: var(--indigo-text);
}

/* Login Button */
.login-button {
    background: #4b0082;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 0.75rem;
    font-size: 1rem;
    cursor: pointer;
    transition: ease-in-out 0.3s all;
}

.login-button:hover {
    background: #6800b3;
}

/* Notification Styling */
.notification {
    position: fixed;
    top: 80%;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
    max-width: 300px;
    z-index: 1000;
    animation: fade-in 0.2s ease-in-out;
}

.notification.error {
    background-color: #e74c3c;
    color: white;
}

.notification.success {
    background-color: #2ecc71;
    color: black;
}

.notification a.link {
    color: var(--indigo-text);
    text-decoration: none;
    cursor: pointer;
}

.rstpss {
    color: var(--indigo-text);
    text-decoration: none;
    cursor: pointer;
    margin-bottom: 16px;
}

.login-container .signUpReg {
    margin-top: 16px;
}

.login-container .signUpReglink {
    text-decoration: none;
    cursor: pointer;
    color: var(--indigo-text);
    font-weight: bold;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}