* {
  font-family: vazir, Arial;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  direction: rtl;
}
::-webkit-scrollbar-track {
  background-color: #84aeee1a;
}

::-webkit-scrollbar {
  scrollbar-width: thin;
  background-color: #f5f5f5;
}

::-webkit-scrollbar-thumb {
  border: 1px solid #957e5b;
  border-radius: 0.5rem;
  background-color: #30431d;
  background-image: -webkit-linear-gradient(
    45deg,
    #eed1a4 25%,
    transparent 25%,
    transparent 50%,
    #eed1a4 50%,
    #eed1a4 75%,
    transparent 75%,
    transparent
  );
}
body {
  background-color: #f4efea;
}
.main {
  text-align: right;
  margin: 20px;
}
h1 {
  color: #30431d;
  /*margin-bottom: 15px;*/
}
.job-section {
  margin-bottom: 20px;
  padding: 20px;
  background-color: #eed1a4;
  border: 2px solid #957e5b;
  border-radius: 0.5rem;
}
label {
  display: block;
  margin-bottom: 10px;
  color: #30431d;
}

select,
input[type="text"],
input[type="number"],
textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #fcf4e8;

  box-sizing: border-box;
}
input[type="number"]:invalid,
textarea:invalid {
  border: 2px solid red;
}
textarea {
  min-height: 100px;
}
.submit-button {
  display: block;
  padding: 15px 20px;
  background-color: #ccc;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: not-allowed;
  transition: background-color 0.3s;
  margin-top: 20px;
  text-align: center;
}
.submit-button.enabled {
  background-color: #957e5b;
  cursor: pointer;
}
.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fffeca;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}
.popup h3 {
  margin-top: 0;
  color: #333;
}
.popup p {
  color: #666;
}
.popup button {
  padding: 10px 20px;
  background-color: #957e5b;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}
@font-face {
  font-family: vazir;
  src: url(../fonts/Vazir.ttf);
}
