/* ================================
   PHARMACY UPLOAD PORTAL STYLES
   RapidMed Logistics (Blue + Teal)
================================ */

/* Page header */
.client-header {
  background: linear-gradient(90deg, #0056ff, #00b8d4);
  color: #fff;
  padding: 40px 0;
  text-align: center;
}

.client-header h1 {
  font-size: 2rem;
  font-weight: 700;
}

.client-header p {
  font-size: 1rem;
  opacity: 0.9;
}

/* Container */
.container.narrow {
  max-width: 800px;
  margin: 40px auto;
  padding: 10px;
}

/* Card */
.card {
  background: #fff;
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border-top: 4px solid #00b8d4;
}

.card h2 {
  color: #0056ff;
  margin-bottom: 8px;
}

.subtext {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 20px;
}

/* Form Layout */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 5px;
}

input,
textarea,
select {
  padding: 12px;
  border: 1px solid #d3dbe6;
  border-radius: 8px;
  font-size: 15px;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #00b8d4;
  outline: none;
  box-shadow: 0 0 3px rgba(0, 184, 212, 0.6);
}

/* Notes text */
.tiny-text {
  font-size: 12px;
  color: #777;
  margin-top: 3px;
}

/* Buttons */
.btn-primary {
  width: 100%;
  background: linear-gradient(90deg, #0056ff, #00b8d4);
  border: none;
  color: #fff !important;
  padding: 12px 0;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
  font-size: 16px;
  margin-top: 15px;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Error Message */
.form-error {
  color: #d32f2f;
  font-size: 14px;
  font-weight: 600;
  margin-top: 8px;
}

/* ========== Thank You Overlay (Modal) ========== */
.modal {
position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.65);
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 100;}

.modal-content {
   background-color: #ffffff;
    border-radius: 1rem;
    padding: 1.75rem 1.5rem;
    max-width: 360px;
    width: 90%;
    text-align: center;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
}

@keyframes popup {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal.is-visible {
  display: flex !important;
}
