.form-container {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 600px
}

h2 {
  text-align: center;
  /* margin-bottom: 25px; */
  color: var(--primary-color)
}

.form-group {
  margin-bottom: 15px
}

.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px
}

.form-row>div {
  flex: 1
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  font-size: .9rem
}

input,
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--mou_border_color);
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 1rem
}

input:focus,
textarea:focus {
  outline: 0;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .1)
}

.btn-container {
  margin-top: 25px;
  display: flex;
  gap: 10px
}

button {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  transition: background .3s
}

button:hover {
  background-color: #1d4ed8
}

.btn-cancel {
  flex: 1;
  background-color: #ef4444;
  text-align: center;
  text-decoration: none;
  color: #fff;
  padding: 12px;
  border-radius: 6px;
  font-size: .9rem
}

@media (max-width:480px) {
  .form-row {
    flex-direction: column;
    gap: 0
  }
}

.app-header {
  background-color: var(--elmnt_back);
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 0;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 2px 2px, rgba(0, 0, 0, 0.23) 0px 2px 2px;
  top: 0;
  z-index: 1000;
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
  height: 70px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  /* انيميشن ناعم */
  will-change: transform;
  /* GPU Optimization */
}

/* فئة الإخفاء عند السكرول */
.app-header.header-hidden {
  transform: translateY(-100%);
}

.header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 1rem;
  padding: 0 20px;
  background-color: var(--elmnt_back);
  border-bottom: 1px solid var(--mou_border_color);
  box-shadow: rgba(0, 0, 0, 0.16) 0px 2px 2px, rgba(0, 0, 0, 0.23) 0px 2px 2px;
  position: sticky;
  top: 0;
  z-index: 100;
  height: 70px;
  box-sizing: border-box;
  overflow-x: auto;
  white-space: nowrap;
  flex-wrap: nowrap !important;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.header::-webkit-scrollbar {
  display: none;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.main-actions-group {
  display: flex;
  gap: 8px;
}

@media (max-width: 576px) {
  .main-actions-group {
    gap: 4px;
  }
}

.actions button {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  padding: 0;
}

.actions button:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.header .title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-right: auto;
}

@media (max-width: 900px) {
  .header {
    padding: 5px 10px;
  }
}