/* ===========================
   Simple CSS for Login Page
   =========================== */

@font-face {
  font-family: "MyFont";
  src: url("../font/Vazir.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

*{
}
/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "MyFont";

}
html, body {
    height: 100%;
    background: linear-gradient(to bottom right, #ffffff, #f0e7ff);
    color: #333;
    direction: rtl;
}

/* Main Container */
main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 20px;
}

/* Glass Card */
.glass {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(124,58,237,0.2);
}

/* Header */
header {
    text-align: center;
    margin-bottom: 20px;
}
header img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    margin-bottom: 10px;
}
header h2 {
    font-size: 24px;
    margin-bottom: 5px;
}
header p {
    font-size: 14px;
    opacity: 0.8;
}

/* Form Fields */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 15px;
    border: 1px solid #ccc;
    text-align: center;
    font-size: 14px;
}
input:focus {
    outline: none;
    border-color: #7C3AED;
    box-shadow: 0 0 5px rgba(124,58,237,0.3);
}

/* Password Toggle Button */
#password-toggle {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    cursor: pointer;
}

/* Submit Button */
button[type="submit"] {
    padding: 12px;
    border-radius: 15px;
    border: none;
    background-color: #7C3AED;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}
button[type="submit"]:hover {
    background-color: #6825c6;
}

/* Version Info */
p.text-xs {
    text-align: center;
    font-size: 12px;
    margin-top: 10px;
    opacity: 0.7;
}

/* Notifications */
#django-messages {
    display: none;
}

a{
    color: #7C3AED;
    text-decoration: none;
}

a:hover{
    color: red;
}