.admin-header {
  background: #064e3b;
  padding: 20px 0;
  color: white;
}

.admin-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-header h1 {
  font-size: 1.5rem;
}

.admin-header a {
  color: #34d399;
  text-decoration: none;
  font-weight: 600;
}

.admin-header a:hover {
  color: #6ee7b7;
}

.admin-header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.admin-section {
  padding: 40px 0;
}

.admin-card {
  background: white;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 6px 18px rgba(6, 78, 59, 0.08);
  margin-bottom: 28px;
  border-left: 4px solid #34d399;
}

.admin-card h2 {
  color: #064e3b;
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.admin-card h3 {
  color: #047857;
  margin: 16px 0 8px;
  font-size: 1.05rem;
}

.admin-hint {
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #064e3b;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  background: #f0fdf4;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid #34d399;
  border-color: transparent;
}

.form-group textarea {
  min-height: 80px;
  resize: vertical;
}

.admin-btn {
  background: #059669;
  color: white;
  padding: 10px 24px;
  border: none;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
  transition: 0.2s;
}

.admin-btn:hover {
  background: #047857;
}

.admin-btn.danger {
  background: #dc2626;
}

.admin-btn.danger:hover {
  background: #b91c1c;
}

.admin-btn.secondary {
  background: #e5e7eb;
  color: #064e3b;
}

.admin-btn.secondary:hover {
  background: #d1d5db;
}

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

.member-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
  padding: 16px;
  background: #f0fdf4;
  border-radius: 12px;
  margin-bottom: 12px;
}

.member-row.vacant {
  background: #fef3c7;
  border: 1px solid #f59e0b;
}

@media (max-width: 768px) {
  .member-row {
    grid-template-columns: 1fr;
  }
}

.status-msg {
  padding: 12px 16px;
  border-radius: 10px;
  margin-top: 16px;
  font-weight: 500;
  display: none;
}

.status-msg.success {
  background: #d1fae5;
  color: #065f46;
  display: block;
}

.status-msg.error {
  background: #fee2e2;
  color: #991b1b;
  display: block;
}

.login-box {
  max-width: 400px;
  margin: 80px auto;
  background: white;
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 12px 36px rgba(6, 78, 59, 0.15);
  text-align: center;
}

.login-box i {
  font-size: 3rem;
  color: #34d399;
  margin-bottom: 16px;
}

.login-box h2 {
  color: #064e3b;
  margin-bottom: 24px;
}

.hidden {
  display: none !important;
}

.admin-list-item {
  background: #f0fdf4;
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 8px;
}

.admin-list-item strong {
  color: #064e3b;
}

.admin-list-date {
  color: #64748b;
  font-size: 0.85rem;
}

.admin-list-item p {
  font-size: 0.9rem;
  margin-top: 4px;
}

.admin-list-delete {
  margin-top: 8px;
  font-size: 0.8rem;
  padding: 6px 14px;
}
.filter-count {
  display: inline-block;
  min-width: 22px;
  padding: 1px 7px;
  margin-left: 4px;
  border-radius: 20px;
  background: #d1fae5;
  color: #065f46;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
}

.filter-btn.active .filter-count {
  background: #fff;
  color: #059669;
}

.member-row {
  grid-template-columns: 70px 1fr 1fr 1fr 1fr auto;
}

.member-photo-cell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.member-photo-preview {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #34d399;
}

.photo-upload-label {
  position: absolute;
  bottom: 12px;
  right: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #059669;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  cursor: pointer;
  border: 2px solid #fff;
  transition: 0.2s;
}

.photo-upload-label:hover {
  background: #047857;
}

.photo-upload-input {
  display: none;
}

.admin-list-item a {
  color: #059669;
  font-weight: 600;
  text-decoration: none;
}

.admin-list-item a:hover {
  text-decoration: underline;
}
