@font-face {
  font-family: vazir;
  font-style: normal;
  font-weight: 100;
  src: url("fonts/Vazir-Thin.eot");
  src: url("fonts/Vazir-Thin.woff") format("woff"),
    url("fonts/Vazir-Thin.ttf") format("ttf"),
    url("fonts/Vazir-Thin.woff2") format("woff2");
}
@font-face {
  font-family: vazir;
  font-style: normal;
  font-weight: 300;
  src: url("fonts/Vazir-Light.eot");
  src: url("fonts/Vazir-Light.woff") format("woff"),
    url("fonts/Vazir-Light.ttf") format("ttf"),
    url("fonts/Vazir-Light.woff2") format("woff2");
}

@font-face {
  font-family: vazir;
  font-style: normal;
  font-weight: 400;
  src: url("fonts/Vazir-Regular.eot");
  src: url("fonts/Vazir-Regular.woff") format("woff"),
    url("fonts/Vazir-Regular.ttf") format("ttf"),
    url("fonts/Vazir-Regular.woff2") format("woff2");
}
@font-face {
  font-family: vazir;
  font-style: normal;
  font-weight: 950;
  src: url("fonts/Vazir-Black.eot");
  src: url("fonts/Vazir-Black.woff") format("woff"),
    url("fonts/Vazir-Black.ttf") format("ttf"),
    url("fonts/Vazir-Black.woff2") format("woff2");
}


body {
    font-family: vazir;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    background-color: #F8F8F8;
}
h1 {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin: 30px 0;
    font-family: vazir;
}
form {
    background-color: #FFFFFF;
    border: 1px solid #DDDDDD;
    border-radius: 4px;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
    width: 400px;
    margin: 0 auto;
    padding: 30px;
    direction: rtl;
    font-family: vazir;
}
label {
    display: block;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    font-family: vazir;
}
input[type="text"],
input[type="password"] {
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    box-sizing: border-box;
    display: block;
    font-size: 16px;
    padding: 10px;
    width: 100%;
    margin-bottom: 20px;
    font-family: vazir;
}
button[type="submit"] {
    background-color: #4CAF50;
    border: none;
    border-radius: 4px;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 20px;
    cursor: pointer;
    font-family: vazir;
}
button[type="submit"]:hover {
    background-color: #3E8E41;
}
p.error {
    color: #FF0000;
    font-size: 14px;
    font-weight: bold;
    margin: 10px 0 0;
    padding: 0;
    font-family: vazir;
}