@import url('https://fonts.googleapis.com/css2?family=Vazirmatn&display=swap');

.alert {
  padding: 1rem;
  margin: 1rem auto;
  max-width: 600px;
  text-align: center;
  border-radius: 12px;
  font-family: Vazirmatn, Tahoma, sans-serif;
  font-size: 1.1rem;
  direction: rtl;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

@font-face {
  font-family: 'Badr';
  src: url('/assets/fonts/BadrB.ttf') format('ttf'),
       url('/assets/fonts/BBadr.ttf') format('ttf'),
       url('/assets/fonts/BBadrBd.ttf') format('ttf');
  font-weight: normal;
  font-style: normal;}

h1, h2, h3 {
  font-family: 'Badr', sans-serif;
}


body {
    font-family: 'Vazirmatn', sans-serif;
    background: linear-gradient(to left, #00c6ff, #0072ff);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    direction: rtl;
}

.form-container {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    width: 400px;
}

h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 6px;
    color: #444;
    font-weight: bold;
}

input[type="text"],
input[type="date"],
input[type="email"],
select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 15px;
    box-sizing: border-box;
    transition: 0.3s;
}

input:focus,
select:focus {
    border-color: #0072ff;
    outline: none;
}

button {
    width: 100%;
    background-color: #0072ff;
    color: white;
    border: none;
    padding: 14px;
    font-size: 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background-color: #005fc1;
}

.result {
    margin-top: 30px;
    background-color: #f0f8ff;
    border-radius: 15px;
    padding: 20px;
    line-height: 1.8;
}
