
/* ============================================
   🌐 Global Styles — Fonts, Colors, Alignment
=============================================== */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f7f9;
  color: #333;
  margin: 0;
  padding: 20px;
  text-align: center;
}

/* Headings */
h2 {
  color: Black;
  margin-bottom: 20px;
}
h3 {
  color: #333;
  margin-bottom: 12px;
}

* {
  box-sizing: border-box;
}
html, body {
  width: 100%;
  overflow-x: hidden;
}

/* ============================================
   🔗 Link Styling
=============================================== */
a {
  background: none;
  color: inherit;
  padding: 0;
  font: inherit;
  border: none;
  text-decoration: underline;
}
a.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #00796b;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}
a.btn:hover {
  background-color: #004d40;
}
.inline-link {
  color: #00796b;
  text-decoration: underline;
  font-size: 0.95rem;
  background: none;
  padding: 0;
  margin-top: 4px;
  display: inline-block;
}

.email-btn {
  width: 100%;
  box-sizing: border-box;
  background-color: #636363;
  padding: 13px;
  color: white;
  font-size: 15px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.2s ease-in-out;
}

.email-btn:hover {
  background-color: #474747;
}

.whatsapp-btn {
  width: 100%;
  box-sizing: border-box;
  background-color: #50b22b;
  padding: 13px;
  color: white;
  font-size: 15px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.2s ease-in-out;
}

.whatsapp-btn:hover {
  background-color: #3d8720;
}

.btn.support-btn {
  width: 100%;
  padding: 13px;
  font-weight: bold;
  font-size: 15px;
  border: none;
  border-radius: 8px;
  color: white;
  background-color: #0056b3;
  margin-top: 12px;
}

.btn.support-btn:hover {
  background-color: #02366e;
}

.btn.download-btn {
  width: 100%;
  padding: 13px;
  box-sizing: border-box;
  background-color: #0056b3;
  margin-top: 1px;
}

.btn.download-btn:hover {
  background-color: #02366e;
}

.btn.copy-btn {
  width: 100%;
  padding: 13px;
  box-sizing: border-box;
  background-color: #00796b;
  margin-top: 1px;
}

.btn.copy-btn:hover {
  background-color: #004d40;
}
/* ============================================
   🧾 Form Layout & Inputs
=============================================== */
form.form-box {
  max-width: 400px;
  margin: 0 auto;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.1);
  text-align: left;
}
label {
  font-weight: bold;
}
input[type="text"],
input[type="password"],
input[type="email"],
select {
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  margin: 8px 0 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
input[type="submit"] {
  background-color: #00695c;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}
input[type="submit"]:hover {
  background-color: #004d40;
}

.setup-container .card,
.setup-container .form-box {
  padding-top: 1px;
  max-width: 400px;
  width: 100%;
}


/* ============================================
   📦 Dashboard Cards
=============================================== */
.card {
  background: white;
  max-width: 650px;
  margin: 30px auto;
  padding: 30px;
  border-radius: 5px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
  text-align: left;
  width: 95%;
  box-sizing: border-box;
}

/* ============================================
   📋 Info Grid
=============================================== */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
  word-break: break-word;
}
.info-grid .full-width {
  grid-column: span 2;
}
.info-grid div {
  padding: 8px;
  background: #f9f9f9;
  border-radius: 6px;
}
.days-row {
  display: flex;
  justify-content: space-between;
  font-weight: normal;
  background-color: #f9f9f9;
  padding: 12px;
  border-radius: 6px;
}

/* ============================================
   ✅ Button Groups
=============================================== */
.button-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  margin-top: 20px;
}
.button-group form {
  display: contents;
}
.btn {
  background-color: #00796b;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.2s ease-in-out;
}
.btn:hover {
  background-color: #004d40;
}
.btn.reset {
  width: 100%;
  margin-top: 12px;
  padding: 13px;
  background-color: #e74c3c;
  font-weight: bold;
  font-size: 15px;
  border: none;
  border-radius: 8px;
}
.btn.reset:hover {
  background-color: #c0392b;
}
.btn.secondary {
  width: 100%;
  font-size: 15px;
  padding: 13px;
  font-weight: bold;
  box-sizing: border-box;
  border-radius: 8px;
  background-color: #e74c3c;
}
.btn.secondary:hover {
  background-color: #c0392b;
}

/* Uniform button sizing */
.button-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn.full-width {
  width: 100%;
  font-weight: bold;
  padding: 13px;
  font-size: 15px;
  border: none;
  border-radius: 8px;
  display: block;
  text-align: center;
}

/* ============================================
   ⚠️ Warning Card
=============================================== */
.card.warning {
  border-left: 5px solid #e74c3c;
  background-color: #fff3f3;
  padding: 16px;
  margin-top: 20px;
  text-align: center;
}

/* ============================================
   👥 User List
=============================================== */
.user-list {
  list-style: none;
  padding: 0;
}
.user-list li {
  padding: 8px 0;
}

/* ============================================
   📱 Responsive Mobile Layout
=============================================== */
  @media (max-width: 768px) {
    .card {
    width: 95%;
    padding: 1rem;
    margin: 1rem auto;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .info-grid > div {
    padding: 0.75rem;
    font-size: 1rem;
  }
  .btn {
    font-size: 0.9rem;
    padding: 10px;
  }
  .button-group {
    gap: 10px;
  }
  .info-grid div {
    padding: 6px;
    font-size: 0.95rem;
  }
  .card h3 {
    font-size: 1.1rem;
  }
  .user-list li {
    font-size: 0.95rem;
  }

/* ============================================
   🔧 Normalize Inputs and Selects for iOS (iPad/iPhone) 
=============================================== */
select,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="submit"],
button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-size: 16px;
  padding: 12px;
  border-radius: 6px;
}

input,
select,
textarea {
  font-size: 16px;
}

/* ============================================
   Ensure full width buttons on iOS 
=============================================== */

input[type="submit"],
.btn,
a.btn {
  font-size: 1rem;
  padding: 12px 24px;
}

/* ============================================ 
Tighter spacing between input field and submit button
=============================================== */

.add-user-form input[type="text"] {
  margin-bottom: 0px; /* reduce from 16px default */
}

.add-user-form input[type="submit"] {
  margin-top: 12px; /* add just a little breathing room */
}
