/* Tagoldalak – illeszkedik a főoldal színeihez */
.member-wrap {
  min-height: 100vh;
  padding-top: 90px;
  padding-bottom: 48px;
  background: linear-gradient(180deg, #f0f7ff 0%, #fff 40%);
}

.member-wrap .container {
  max-width: 720px;
}

.member-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(30, 58, 138, 0.12);
  padding: 28px 32px;
  margin-bottom: 24px;
}

.member-card h1,
.member-card h2 {
  font-family: 'Playfair Display', serif;
  color: #1e3a8a;
  margin-bottom: 16px;
  font-size: 1.75rem;
}

.member-card h2 {
  font-size: 1.35rem;
  margin-top: 24px;
}

.member-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.member-nav a {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
}

.member-nav a:hover {
  text-decoration: underline;
}

.member-form label {
  display: block;
  margin-top: 14px;
  margin-bottom: 6px;
  font-weight: 600;
  color: #334155;
}

.member-form input[type='text'],
.member-form input[type='email'],
.member-form input[type='password'],
.member-form input[type='date'],
.member-form input[type='file'],
.member-form select,
.member-form textarea {
  width: 100%;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
}

.member-form textarea {
  min-height: 88px;
  resize: vertical;
}

.member-form .btn-row {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.member-btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  font-family: inherit;
}

.member-btn-primary {
  background: #3b82f6;
  color: #fff;
}

.member-btn-primary:hover {
  background: #2563eb;
}

.member-btn-ghost {
  background: #e2e8f0;
  color: #1e293b;
}

.member-msg {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.95rem;
}

.member-msg.error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.member-msg.ok {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.member-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.member-list li {
  padding: 12px 0;
  border-bottom: 1px solid #e2e8f0;
}

.member-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-top: 12px;
}

.member-cal-head {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  padding: 4px;
}

.member-cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
  background: #f1f5f9;
  border: 2px solid transparent;
  user-select: none;
}

.member-cal-day:hover {
  background: #e2e8f0;
}

.member-cal-day.other {
  opacity: 0.35;
  cursor: default;
}

.member-cal-day.selected {
  background: #3b82f6;
  color: #fff;
  border-color: #1e3a8a;
}

.member-cal-day.today {
  font-weight: 700;
}

.member-cal-day.occupied-confirmed {
  background: #fecaca;
  color: #991b1b;
  border-color: #f87171;
  cursor: not-allowed;
  font-weight: 600;
}

.member-cal-day.occupied-confirmed:hover {
  background: #fecaca;
}

.member-cal-day.occupied-requested {
  background: #ffedd5;
  color: #9a3412;
  border-color: #fb923c;
  cursor: not-allowed;
  font-weight: 600;
}

.member-cal-day.occupied-requested:hover {
  background: #ffedd5;
}

.member-cal-legend-swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  vertical-align: -2px;
  margin: 0 3px;
}

.member-cal-legend-swatch.requested {
  background: #ffedd5;
  border: 1px solid #fb923c;
}

.member-cal-legend-swatch.confirmed {
  background: #fecaca;
  border: 1px solid #f87171;
}

.issue-row {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 10px;
}

@media (max-width: 600px) {
  .member-card {
    padding: 20px 18px;
  }
}
