@font-face {
  font-family: 'IRANSans';
  src: url('/fonts/IRANSansX-Regular.woff2') format('woff2'),
       url('/fonts/IRANSansX-Regular.woff') format('woff'),
       url('/fonts/IRANSans.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'IRANSans';
  src: url('/fonts/IRANSansX-Bold.woff2') format('woff2'),
       url('/fonts/IRANSansX-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}

body, html {
    height: 100%;
    margin: 0;
    font-family: 'IRANSans', Tahoma, sans-serif;
}

body {
    position: relative;
    background: url('../img/background5.jpg') no-repeat center center fixed;
    background-size: cover;
    margin: 0;
    padding: 0;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Adjust the 0.5 for more/less darkness */
    z-index: 0;
    pointer-events: none;
}

.container {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-form {
    background: rgba(255, 255, 255, 0.1); /* Reduced transparency */
    backdrop-filter: blur(10px); /* Reduced blur */
    border-radius: 5px;
    padding: 40px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    color: white;
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.login-form h2 {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    margin-bottom: 10px;
    text-align: left;
}

.login-form input {
    width: calc(100% - 20px); /* Make input widths consistent with padding */
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    box-sizing: border-box; /* Ensures padding is included in width calculation */
}

.login-form button {
    width: calc(100% - 20px); /* Make button widths consistent with padding */
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #4CAF50;
    color: white;
    font-size: 16px;
    cursor: pointer;
    box-sizing: border-box; /* Ensures padding is included in width calculation */
}

.login-form button:hover {
    background-color: #45a049;
}
