.auth-body {
  background-color: #f4f7f5;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  font-family: 'DM Sans', sans-serif;
}
.auth-container {
  width: 100%;
  max-width: 420px;
  padding: 20px;
}
.auth-card {
  background: #ffffff;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.auth-card h2 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 8px;
  color: #123d30;
}
.auth-card p {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 24px;
}
.auth-form .form-group {
  margin-bottom: 16px;
}
.auth-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: #333;
}
.auth-form input, .auth-form select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.auth-form input:focus, .auth-form select:focus {
  border-color: #123d30;
}
.button-full {
  width: 100%;
  padding: 12px;
  background-color: #123d30;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
}
.button-full:hover {
  background-color: #1b5745;
}
.alert {
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.875rem;
  margin-bottom: 16px;
}
.alert-error {
  background-color: #fee2e2;
  color: #991b1b;
}
.alert-success {
  background-color: #d1fae5;
  color: #065f46;
}
.auth-footer-text {
  text-align: center;
  font-size: 0.875rem;
  margin-top: 20px;
  color: #666;
}
.profile-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border: 1px solid #e5e7eb;
}
.profile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.badge {
  background: #e2e8f0;
  color: #334155;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}
.badge-ikhwan { background: #dbeafe; color: #1e40af; }
.badge-akhwat { background: #fce7f3; color: #9d174d; }
.divider {
  border: 0;
  height: 1px;
  background: #e5e7eb;
  margin: 20px 0;
}
.profile-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.detail-item.full-width {
  grid-column: span 2;
}
.bio-box {
  background: #f8fafc;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #f1f5f9;
  line-height: 1.6;
  white-space: pre-line;
}
.profile-actions {
  margin-top: 25px;
  display: flex;
  gap: 15px;
  align-items: center;
}
.filter-form {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  align-items: center;
}
.filter-form input, textarea, select {
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  width: 250px;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.profile-item-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.card-top h3 {
  margin: 0;
  font-size: 1.1rem;
}
.age-info {
  font-size: 0.875rem;
  color: #64748b;
  margin: 8px 0;
}
.bio-preview {
  font-size: 0.9rem;
  color: #334155;
  margin-bottom: 15px;
  line-height: 1.4;
}
.card-action {
  margin-top: auto;
}
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  color: #64748b;
  padding: 40px 0;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background-color: #123d30; /\* Warna hijau utama \*/
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #ffffff;
}
.brand-mark {
  font-size: 1.25rem;
  color: #d4af37; /\* Aksen emas \*/
}
.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
}
.brand small {
  font-size: 0.75rem;
  opacity: 0.8;
  font-weight: 400;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.main-nav a {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.main-nav a:hover {
  color: #ffffff;
  opacity: 0.9;
}
.main-nav a.active {
  color: #ffffff;
  font-weight: 700;
  border-bottom: 2px solid #d4af37; /\* Garis emas di bawah tab aktif \*/
  padding-bottom: 2px;
}
.button.button-small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  background-color: #d4af37; /\* Warna tombol emas \*/
  color: #123d30;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  transition: background-color 0.2s ease, transform 0.1s ease;
}
.button.button-small:hover {
  background-color: #c5a028;
  color: #123d30;
  transform: translateY(-1px);
}
@media (max-width: 768px) {
  .site-header {
    padding: 0.875rem 1rem;
    flex-wrap: wrap;
  }
.main-nav {
  gap: 0.875rem;
  font-size: 0.875rem;
}
.button.button-small {
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
}
}
.section-sub-title {
  font-size: 1.1rem;
  color: #123d30;
  margin: 20px 0 10px 0;
}
.requests-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 25px;
}
.request-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.request-info strong { color: #1e293b; }
.request-date { display: block; font-size: 0.8rem; color: #94a3b8; }
.request-status-action { display: flex; gap: 8px; align-items: center; }
.badge-success { background: #d1fae5; color: #065f46; }
.badge-danger { background: #fee2e2; color: #991b1b; }
.badge-warning { background: #fef3c7; color: #92400e; }
.btn-success { background-color: #059669 !important; color: white !important; }
.btn-danger { background-color: #dc2626 !important; color: white !important; }
.chat-container {
  max-width: 750px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.chat-header {
  background: #f8fafc;
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-header h3 { margin: 0; font-size: 1.1rem; color: #123d30; }
.chat-header small { color: #64748b; }
.chat-messages {
  height: 420px;
  overflow-y: auto;
  padding: 20px;
  background: #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.chat-bubble-wrap {
  display: flex;
  flex-direction: column;
  max-width: 75%;
}
.chat-bubble-wrap.mine {
  align-self: flex-end;
  align-items: flex-end;
}
.chat-bubble-wrap.partner {
  align-self: flex-start;
  align-items: flex-start;
}
.chat-bubble {
  padding: 12px 16px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  position: relative;
}
.mine .chat-bubble {
  background: #123d30;
  color: #ffffff;
  border-color: #123d30;
}
.chat-bubble p { margin: 0; line-height: 1.4; font-size: 0.95rem; }
.chat-time {
  font-size: 0.7rem;
  opacity: 0.7;
  display: block;
  text-align: right;
  margin-top: 4px;
}
.moderation-tag {
  font-size: 0.75rem;
  margin-top: 4px;
  padding: 2px 6px;
  border-radius: 4px;
}
.moderation-tag.pending { color: #d97706; }
.moderation-tag.rejected { color: #dc2626; }
.moderation-tag.approved { color: #16a34a; }
.chat-input-form {
  padding: 15px 20px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  display: flex;
  gap: 12px;
}
.chat-input-form textarea {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  resize: none;
  outline: none;
}
.chat-input-form textarea:focus { border-color: #123d30; }
.main-nav .nav-chat-active {
  background-color: #10b981;
  color: #ffffff !important;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
  animation: pulse-badge 2s infinite;
}
@keyframes pulse-badge {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}
.chat-page-body {
  background-color: #f3f4f6;
}
.chat-main-wrap {
  max-width: 800px;
  margin: 20px auto 40px;
  padding: 0 15px;
}
.chat-container {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  height: 82vh;
  overflow: hidden;
}
.chat-room-header {
  padding: 16px 20px;
  background: #123d30;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.partner-profile-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.partner-avatar {
  width: 42px;
  height: 42px;
  background-color: #d4af37;
  color: #123d30;
  font-weight: bold;
  font-size: 1.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-details h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #ffffff;
}
.moderation-notice {
  font-size: 0.75rem;
  color: #a7f3d0;
  display: block;
  margin-top: 2px;
}
.button-back {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.875rem;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  transition: *background* 0.2s;
}
.button-back:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}
.adab-info-banner {
  background: #fefce8;
  color: #713f12;
  border-bottom: 1px solid #fef08a;
  padding: 8px 16px;
  font-size: 0.8rem;
  text-align: center;
}
.chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background-color: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.chat-row {
  display: flex;
  width: 100%;
}
.row-mine {
  justify-content: flex-end;
}
.row-partner {
  justify-content: flex-start;
}
.chat-bubble-container {
  max-width: 70%;
  display: flex;
  flex-direction: column;
}
.row-mine .chat-bubble-container {
  align-items: flex-end;
}
.row-partner .chat-bubble-container {
  align-items: flex-start;
}
.chat-bubble {
  padding: 12px 16px;
  border-radius: 14px;
  line-height: 1.5;
  font-size: 0.95rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  word-wrap: break-word;
}
.row-mine .chat-bubble {
  background-color: #123d30;
  color: #ffffff;
  border-bottom-right-radius: 2px;
}
.row-partner .chat-bubble {
  background-color: #ffffff;
  color: #1f2937;
  border: 1px solid #e5e7eb;
  border-bottom-left-radius: 2px;
}
.chat-meta {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}
.chat-time {
  font-size: 0.7rem;
  opacity: 0.75;
}
.status-badge {
  font-size: 0.725rem;
  margin-top: 4px;
  font-weight: 500;
}
.status-pending { color: #d97706; }
.status-rejected { color: #dc2626; }
.status-approved { color: #059669; }
.empty-chat-state {
  margin: auto;
  text-align: center;
  color: #9ca3af;
}
.empty-chat-state .empty-icon {
  font-size: 2.5rem;
  margin-bottom: 8px;
}
.chat-input-form {
  padding: 12px 16px;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
}
.input-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f3f4f6;
  border-radius: 24px;
  padding: 6px 12px 6px 16px;
  border: 1px solid #e5e7eb;
}
.input-wrapper:focus-within {
  border-color: #123d30;
  background: #ffffff;
}
.input-wrapper textarea {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  resize: none;
  font-family: inherit;
  font-size: 0.95rem;
  max-height: 120px;
  padding: 6px 0;
}
.btn-send {
  background: #123d30;
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: *background* 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}
.btn-send:hover {
  background: #1b5745;
}
.requests-page-container {
  padding-top: 30px;
  padding-bottom: 60px;
  max-width: 1000px;
  margin: 0 auto;
}
.requests-grid-layout {
  display: flex;
  flex-direction: column;
  gap: 35px;
  margin-top: 25px;
}
.requests-section {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}
.section-sub-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f3f4f6;
}
.section-sub-header .sub-icon {
  font-size: 1.25rem;
}
.section-sub-header h3 {
  margin: 0;
  font-size: 1.15rem;
  color: #123d30;
  font-weight: 700;
}
.requests-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.request-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.request-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.request-user-details {
  display: flex;
  align-items: center;
  gap: 14px;
}
.user-avatar-small {
  width: 44px;
  height: 44px;
  background-color: #123d30;
  color: #ffffff;
  font-weight: bold;
  font-size: 1.1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.user-meta h4 {
  margin: 0 0 4px 0;
  font-size: 1.05rem;
  color: #1f2937;
}
.location-tag {
  display: inline-block;
  font-size: 0.825rem;
  color: #4b5563;
  margin-right: 12px;
}
.request-date {
  display: inline-block;
  font-size: 0.8rem;
  color: #9ca3af;
}
.request-status-action {
  display: flex;
  align-items: center;
  gap: 10px;
}
.action-buttons-group {
  display: flex;
  gap: 8px;
}
.btn-action {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.1s ease;
}
.btn-action:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.btn-accept {
  background-color: #059669;
  color: #ffffff;
}
.btn-decline {
  background-color: #dc2626;
  color: #ffffff;
}
.btn-open-chat {
  background-color: #123d30;
  color: #ffffff !important;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s;
}
.btn-open-chat:hover {
  background-color: #1b5745;
}
.badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}
.badge-warning {
  background-color: #fef3c7;
  color: #92400e;
}
.badge-success {
  background-color: #d1fae5;
  color: #065f46;
}
.badge-danger {
  background-color: #fee2e2;
  color: #991b1b;
}
.empty-state-card {
  text-align: center;
  padding: 30px 20px;
  background: #f9fafb;
  border: 1px dashed #d1d5db;
  border-radius: 8px;
  color: #6b7280;
}
.empty-state-card .empty-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 6px;
}
.empty-state-card p {
  margin: 0;
  font-size: 0.925rem;
}
@media (max-width: 640px) {
  .request-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
.request-status-action {
  width: 100%;
  justify-content: flex-end;
}
}
.btn-withdraw {
  background-color: #7f1d1d !important; /\* Warna merah marun tegas \*/
  color: #ffffff !important;
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}
.btn-withdraw:hover {
  background-color: #991b1b !important;
}
.btn-cancel-sm {
  background-color: #6b7280 !important; /\* Abu-abu netral \*/
  color: #ffffff !important;
  font-size: 0.775rem;
  padding: 4px 10px;
  border-radius: 4px;
}
.btn-cancel-sm:hover {
  background-color: #4b5563 !important;
}
.button-back {
  /* properti sebelumnya ... */
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

