/* login.css */

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    direction: rtl;
    background-image: url('login-bg.png');
    background-size: cover; /* Ensures the image covers the whole page */
    background-position: center center; /* Centers the image */
    background-attachment: fixed; /* Keeps the background fixed during scrolling */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #fff;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 400px;
    background: #25262b;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.6);
    text-align: center;
}

.container h1 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: bold;
    color: #e27c22;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: right;
}

.form-group label {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #ddd;
}

.form-group input {
    width: 100%;
    padding: 10px 15px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    background: #3a3d40;
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus {
    background: #494d54;
    box-shadow: 0 0 8px #e27c22;
}

.button {
    width: 100%;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: bold;
    background: #e27c22;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
      font-family: "Vazirmatn", serif;
}

.button:hover {
    background: #d16f1d;
    box-shadow: 0px 4px 12px rgba(226, 124, 34, 0.6);
}

.footer {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #999;
}

/* Custom Form Container for Login */
form {
    margin: 0 auto;
    background: #25262b;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.6);
}

form label {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #ddd;
}

form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 1rem;
    border: none;
    border-radius: 8px;
    background: #006bff;
    color: white;
    font-size: 1rem;
    outline: none;
}

form input:focus {
    outline: 2px solid #e27c22;
    background: #494d54;
}

form button {
      font-family: "Vazirmatn", serif;
    width: 100%;
    padding: 12px;
    font-size: 1.2rem;
    font-weight: bold;
    background: #e27c22;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

form button:hover {
    background: #d16f1d;
    box-shadow: 0px 4px 12px rgba(226, 124, 34, 0.6);
}
