@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800&display=swap');

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Tajawal", sans-serif;
  background: linear-gradient(135deg, #f7f9fb, #eef3f6);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 50px 20px;
  color: #1f2d3d;
}
.company-logo{
    position: absolute;
    top: 25px;
    left: 25px;
    z-index: 100;
}

.company-logo img{
    width: 200px; /* غير الحجم حسب الحاجة */
    height: auto;
}
.card {
  width: 100%;
  max-width: 1200px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.hero {
  width: 100%;
  height: 230px;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* المحتوى */
.content {
  text-align: center;
  padding: 35px 55px 55px;
}

.content h1 {
  margin: 0;
  color: #159447;
  font-size: 30px;
  font-weight: 800;
}

.subtitle {
  margin: 18px 0 35px;
  font-size: 17px;
  color: #4d5968;
}

.instructions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.item {
  background: linear-gradient(to left, #f7faf8, #f1f4f2);
  border-right: 5px solid #27a844;
  border-radius: 12px;
  padding: 20px 28px;
  text-align: right;
  font-size: 19px;
  color: #243447;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.btn {
  margin-top: 500px;
  background: linear-gradient(135deg, #41b95a, #21933c);
  color: #fff;
  border: none;
  border-radius: 13px;
  padding: 18px 55px;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(33, 147, 60, 0.3);
  transition: 0.3s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(33, 147, 60, 0.38);
}

.btn span {
  margin-right: 8px;
}

/* للجوال */
@media (max-width: 768px) {
  body {
    padding: 20px 12px;
  }

  .hero {
    height: 170px;
  }

  .content {
    padding: 28px 20px 40px;
  }

  .content h1 {
    font-size: 24px;
  }

  .subtitle {
    font-size: 15px;
  }

  .item {
    font-size: 16px;
    padding: 17px 18px;
  }

  .btn {
    width: 100%;
    font-size: 18px;
  }
}
.logo {
  position: absolute;
  top: 15px;
  left: 20px;
  width: 170px;
  z-index: 999;
}

.form-box {
  max-width: 700px;
  margin: 35px auto 0;
  text-align: right;
}

.form-box label {
  display: block;
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 700;
  color: #243447;
}

.form-box input {
  width: 100%;
  height: 58px;
  border: 2px solid #e5e9ec;
  border-radius: 12px;
  padding: 0 20px;
  font-size: 20px;
  font-family: inherit;
  outline: none;
  text-align: center;
  direction: ltr;
  background: #f7faf8;
}

.form-box input:focus {
  border-color: #26a847;
  box-shadow: 0 0 0 4px rgba(38, 168, 71, 0.12);
}

.result {
  margin-top: 25px;
  padding: 20px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  display: none;
  text-align: center;
}

.result.success {
  display: block;
  color: #12853a;
  background: #eaf8ef;
  border: 1px solid #bde7c9;
}

.result.error {
  display: block;
  color: #b42318;
  background: #fff0ee;
  border: 1px solid #ffc9c3;
}

.employee-info {
  margin-top: 20px;
  background: #ffffff;
  padding: 20px;
  border-radius: 15px;
  text-align: right;
  line-height: 2.2;
  border-right: 5px solid #28a745;
}

.employee-info p {
  margin: 0;
  font-size: 18px;
  color: #243447;
}

.employee-info strong {
  color: #14853b;
}