/* assets/css/style-qr.css */
body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #fafafa;
  color: #1c1c1c;
  direction: rtl;
  line-height: 1.6;
}

main {
  max-width: 800px;
    margin: 2rem auto 3rem;
    padding: 0 0.2rem;
    background: #ffffff;
    border: 2px solid #3a997a;
    border-radius: 8px;
}

h1 {
      text-align: center;
    font-size: 2.4rem;
    margin-bottom: 2rem;
    border-bottom: 3px solid #3a997a;
    padding-bottom: 0.3rem;
    color: #000000;
    font-weight: 700;
    margin-top: unset;
}

.qr-type-buttons {
  display: none;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-bottom: 1rem;
}
.qr-type-button i {
  margin-left: 6px; /* المسافة بين الأيقونة والنص */
  font-size: 1.1rem;
  vertical-align: middle;
  color: #20603f;
  transition: color 0.3s ease;
}

.qr-type-button.active i,
.qr-type-button:hover i {
  color: white;
}

.qr-type-button {
  background-color: #d6f0e7;
  border: 1.5px solid #3a997a;
  border-radius: 6px;
  color: #20603f;
  font-weight: 600;
  padding: 0.4rem 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.qr-type-button.active,
.qr-type-button:hover {
  background-color: #3a997a;
  color: white;
  border-color: #2a735b;
}

form {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 3px 9px rgba(58, 153, 122, 0.15);
  padding: 1rem 1.5rem 2rem 1.5rem;
}

section {
  margin-bottom: 1rem;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
  cursor: pointer;
}

input[type="text"],
input[type="url"],
input[type="tel"],
input[type="email"],
textarea,
select {
  width: 100%;
  padding: 7px 12px;
  font-size: 1rem;
  border: 1px solid #bcd8d2;
  border-radius: 6px;
  transition: border-color 0.3s ease;
  font-family: inherit;
  direction: rtl;
}

input[type="checkbox"] {
  margin-left: 6px;
  vertical-align: middle;
  cursor: pointer;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #3a997a;
  outline: none;
}

.form-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

button {
  background-color: #3a997a;
  border: none;
  color: white;
  padding: 0.55rem 1.6rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 7px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:disabled {
  background-color: #9bcfbd;
  cursor: not-allowed;
}

button:hover:not(:disabled) {
  background-color: #2a735b;
}

#qrcode {
  margin: 2rem auto 1rem auto;
  width: 240px;
  height: 240px;
  display: none;
  box-shadow: 0 4px 8px rgba(58, 153, 122, 0.15);
  border-radius: 12px;
}

.info-section {
  max-width: 700px;
  margin: 2rem auto;
  background: #ffffff;
  border-radius: 8px;
  padding: 1rem 1.2rem;
  color: #000000;
}
.info-section h2 {
  margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    border-bottom: 2px solid #3a997a;
    padding-bottom: 0.2rem;
}

.info-section ul {
  margin-top: 0.6rem;
  list-style: inside disc;
  padding-right: 1.3rem;
}

.info-section dl dt {
  font-weight: 700;
  margin-top: 1rem;
}

.info-section dl dd {
  margin-right: 1rem;
  margin-left: 0;
  font-style: normal;
}

/* assets/css/style-qr.css - add this */

.form-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

#resetBtn {
  background-color: #f44336; /* أحمري */
  color: white;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(244, 67, 54, 0.4);
  transition: background-color 0.3s ease;
  border-radius: 10px;
  padding: 0.7rem 1.4rem;
  font-size: 1.1rem;
  user-select: none;
  width: 120px;
}

#resetBtn:hover {
  background-color: #ba000d;
}

.qrcode-bg {
  background-color: white !important;
  padding: 0.7rem;
  border-radius: 12px;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(58, 153, 122, 0.3);
}

/* Responsive */
@media (max-width: 480px) {
  .qr-type-buttons {
    justify-content: center;
  }
}