/* App (user garden) specific overrides */
.app-body { background: var(--color-bg); font-family: var(--font-body); }

/* Reuse base styles */
.btn { display: inline-block; padding: 0.45rem 1rem; border-radius: var(--radius); font-size: 0.875rem; font-weight: 500; text-decoration: none; border: none; cursor: pointer; }
.btn--primary { background: #2d6e2d; color: #fff; }
.btn--primary:hover { background: #235523; }
.btn--secondary { background: #e8e6e0; color: #333; }
.btn--secondary:hover { background: #d8d5ce; }
.btn-link { background: none; border: none; cursor: pointer; color: #2d6e2d; font-size: inherit; padding: 0; text-decoration: underline; }
.btn-link--danger { color: #c0392b; }

.form-group { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 1rem; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: #444; }
.form-group input { padding: 0.45rem 0.6rem; border: 1px solid #ccc; border-radius: var(--radius); font-size: 0.9rem; }
.form-actions { display: flex; gap: 0.75rem; margin-top: 1rem; }
.inline-form { display: flex; gap: 0.5rem; align-items: center; }

.page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.page-header h1 { font-size: 1.5rem; }



.admin-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.admin-table th { background: #eee; text-align: left; padding: 0.6rem 0.75rem; font-weight: 600; }
.admin-table td { padding: 0.5rem 0.75rem; border-bottom: 1px solid #e8e8e8; vertical-align: middle; }
.admin-table tr:hover td { background: #fafaf8; }

.notes-input { width: 100%; min-width: 8rem; padding: 0.3rem 0.5rem; border: 1px solid #ccc; border-radius: var(--radius); font-size: 0.8rem; }

.alert { padding: 0.6rem 1rem; border-radius: var(--radius); margin-bottom: 1rem; font-size: 0.875rem; }
.alert--error { background: #fdecea; color: #b71c1c; border: 1px solid #f5c6c6; }

.auth-card { max-width: 22rem; margin: 3rem auto; background: #fff; border: 1px solid #ddd; border-radius: 0.5rem; padding: 2rem; }
.auth-card h1 { margin-bottom: 1.5rem; font-size: 1.4rem; }
.auth-card__footer { margin-top: 1rem; font-size: 0.875rem; text-align: center; }

.quick-links { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }

.my-locations{
  max-width:var(--default-width);
  margin:auto;
}

/* Calendar subscription page */
.cal-token-page { max-width: 38rem; margin: 0 auto; }
.cal-token-page h1 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.cal-token-page > p { color: #555; margin-bottom: 1.25rem; font-size: 0.9rem; }
.cal-token-block { margin-bottom: 1.25rem; }
.cal-token-label { display: block; font-size: 0.8rem; font-weight: 600; color: #444; margin-bottom: 0.4rem; }
.cal-token-row { display: flex; gap: 0.5rem; }
.cal-token-input { flex: 1; padding: 0.45rem 0.6rem; border: 1px solid #ccc; border-radius: var(--radius); font-size: 0.8rem; font-family: monospace; color: #333; background: #fafaf8; min-width: 0; }
.cal-token-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.btn--danger-outline { background: none; border: 1px solid #c0392b; color: #c0392b; }
.btn--danger-outline:hover { background: #fdecea; }
.cal-token-note { font-size: 0.8rem; color: #888; margin-bottom: 1.5rem; }
.cal-token-divider { border: none; border-top: 1px solid #e0e0e0; margin-bottom: 1.5rem; }
.alert--success { background: #e8f5e9; color: #1b5e20; border: 1px solid #a5d6a7; }

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  align-items: center;
  justify-content: center;
}
.modal.is-active { display: flex; }
.modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 0.5rem;
  width: 100%;
  max-width: 28rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  animation: modal-in 0.2s ease-out;
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal-header { margin-bottom: 1.5rem; }
.modal-header h2 { font-size: 1.25rem; margin: 0; }
.modal-body { margin-bottom: 1.5rem; }
.modal-footer { display: flex; justify-content: flex-end; gap: 0.75rem; }

