/* ===== ACCESSIBILITY UTILITIES ===== */

/* Screen Reader Only Content */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Skip Links for Keyboard Navigation */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #fff100;
    color: #000;
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    z-index: 9999;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.skip-link:focus {
    transform: translateY(0%);
    outline: 2px solid #000;
    outline-offset: 2px;
}

/* Improved Focus States */
.focus-visible:focus,
.nav-link:focus-visible,
.menu-item:focus-visible {
    outline: 2px solid #fff100 !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 4px rgba(255, 241, 0, 0.2) !important;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .nav-link,
    .menu-item {
        border: 1px solid currentColor;
    }
    
    .nav-link.active,
    .menu-item.active {
        border: 2px solid currentColor;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===== END ACCESSIBILITY UTILITIES ===== */

:root {
  /* ========= CORE BRAND COLORS ========= */
  --blue: #1b75bb;
  --yellow: #fff100;
  --yellow2: #ffcc00;
  --black: #000;
  --white: #ffffff;
  --base: #f8f9fa;
  --gray: #5c626a;
  --gray2: #e5e5e5;
  --gray3: #a1a2a3;
  --red: #ed1c24;
  --orange: #ff8a00;
  --green: #007a0c;
  --purple: #a04adf;
  --pink: #f388ac;
  --primary-gold: #FFD700;
  --accent-coral: #FF6B6B;

  --dark-blue: #1e3a8a;
  --light-gray: #f8fafc;
  --border-gray: #e2e8f0;
  --text-gray: #64748b;
  --gold: #fbbf24;
  --slate-300: #cbd5e1;
  --slate-500: #64748b;
  --slate-600: #475569;
  --red-500: #ef4444;
  --amber-500: #f59e0b;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --emerald-400: #34d399;
  --violet-500: #8b5cf6;
  --violet-400: #a78bfa;
  --blue-600: #2563eb;
  --blue-800: #1e40af;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;

  /* ========= BUTTON COLORS ========= */
  --btn-black: #000;
  --btn-black2: #404040;
  --btn-gray: #e5e5e5;
  --btn-gray2: #c8cbcf;
  --btn-gray3: #e1e5eb;
  --btn-white: #ffffff;
  --btn-white2: #f9faff;
  --btn-blue: #1b75bb;
  --btn-blue2: #7a8cea;
  --btn-blue3: #508df2;
  --btn-blue4: #e3f9f9;
  --btn-red: #ed1c24;
  --btn-pink: #ff6364;
  --btn-pink2: rgb(255, 234, 239);
  --btn-yellow: #fff100;
  --btn-yellow2: #fff98a;
  --btn-yellow3: #ffcc00;
  --btn-green: #1eb940;
  --btn-green2: #5ffb8b;
  --btn-green3: #28a745;
  --btn-green4: rgb(214, 255, 222);
  --btn-orange: #ff8a00;
  --btn-orange2: #fe9f1f;
  --btn-orange3: #ff975c;
  --btn-purple: #a04adf;
  --btn-purple2: #442561;
  --btn-purple3: #fedbbf;
  
    /* Z-index layers */
    --z-navbar: 1100;
    --z-dropdown: 1060;
    --z-sticky: 1200;
    --z-modal: 99999;

    /* Additional colors */
    --bg-light: #f8f9fa;
    --bg-gray: #e5e7eb;
    --bg-hover: #f3f4f6;
    --text-dark: #1f2937;

  /* ========= ALERT COLORS ========= */
  --alert-danger: rgba(255, 151, 92, 0.85);
  --alert-warning: rgba(252, 197, 4, 0.85);
  --alert-success: rgba(95, 251, 139, 0.85);
  --alert-info: rgba(227, 242, 253, 1);

  /* ========= SHADOWS ========= */
  --shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  --shadow-light: rgba(0, 0, 0, 0.1);
  --shadow-medium: rgba(0, 0, 0, 0.15);
  --shadow-sm: rgba(0, 0, 0, 0.04);
  --shadow-md: rgba(0, 0, 0, 0.08);
  --shadow-lg: rgba(0, 0, 0, 0.1);
  --shadow-xl: rgba(0, 0, 0, 0.15);
  --shadow-focus: rgba(59, 130, 246, 0.1);

  /* ========= SIDEBAR COLORS ========= */
  --sidebar-bg-start: #fff100;
  --sidebar-bg-end: #ffe600;
  --sidebar-text: #222;
  --sidebar-text-muted: #7a701b;
  --sidebar-scroll-thumb: #ffe066;
  --sidebar-hover-bg: #111;
  --sidebar-hover-text: #fff;
  --sidebar-shadow: rgba(0, 0, 0, 0.08);
  --sidebar-shadow-mobile: rgba(0, 0, 0, 0.18);

  --overlay-bg: rgba(0, 0, 0, 0.5);
  --border-light: #eee;
  --border-medium: #e0e0e0;
  --border-dark: #ddd;
  --background-light: #f8f9fa;
  --background-medium: #e9ecef;
  --text-dark: #1a1a1a;
  --yellow-hover: #E6D700;
  --yellow-gold: #FFD700;
  --scroll-track: #f8f9fa;
  --scroll-thumb: #ddd;
  --scroll-thumb-hover: #bbb;
  --border-focus: #f0f0f0;
  --text-placeholder: #999;
  --shadow-modal: 0 20px 40px rgba(0, 0, 0, 0.15);
  --yellow-shadow: 0 2px 8px rgba(255, 241, 0, 0.3);
  --yellow-focus-shadow: 0 0 0 3px rgba(255, 241, 0, 0.15);
  --yellow-apply-shadow: 0 4px 12px rgba(255, 241, 0, 0.4);

  /* ========= TYPOGRAPHY ========= */
  --font-family-primary: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  --font-family-secondary: "Inter", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, sans-serif;

  /* ========= STATUS COLORS ========= */
  --primary-blue-modern: #3b82f6;
  --success-color: #22c55e;
  --success-bg: #d1e7dd;
  --success-border: #badbcc;
  --success-green: #198754;

  --warning-color: #f59e0b;
  --warning-bg: #fff3cd;
  --warning-border: #ffecb5;

  --danger-color: #dc3545;
  --danger-bg: #f8d7da;
  --danger-border: #f5c6cb;

  --info-color: #0d6efd;
  --info-bg: #cfe2ff;
  --info-border: #b8daff;

  /* ========= NEUTRAL COLORS ========= */
  --gray-50: #f9fafb;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #d1d5db;
  --gray-500: #6b7280;
  --gray-600: #6c757d;
  --gray-700: #374151;
  --gray-800: #1a1a1a;
  --gray-900: #1e293b;

  /* ========= TEXT COLORS ========= */
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --text-lighter: #64748b;

  /* ========= BACKGROUND COLORS ========= */
  --bg-card: #f8fafc;
  --bg-overlay: rgba(0, 0, 0, 0.7);
  --overlay-bg: rgba(0, 0, 0, 0.5);

  /* ========= BORDER COLORS ========= */
  --border-light: #f1f3f4;
  --border-medium: #d1d5db;
  --border-focus: #3b82f6;

  /* ========= BRAND SPECIFIC ========= */
  --brand-link: #006dbf;
  --brand-link-hover: #004c8f;
  --brand-link-bg: #f0f9ff;

  /* ========= ACTIVITY TIMELINE ========= */
  --timeline-bg: #e5e7eb;
  --timeline-dot: #fbbf24;
  --timeline-content-bg: #f8fafc;
  --timeline-border: #fbbf24;

  /* ========= PROFILE SPECIFIC COLORS ========= */
  --profile-card-bg: #ffffff;
  --profile-card-border: #e9ecef;
  --profile-header-bg-start: #fefefe;
  --profile-header-bg-end: #f8f9fa;
  --profile-avatar-bg-start: #e9ecef;
  --profile-avatar-bg-end: #dee2e6;
  --photo-upload-bg: #f9fafb;
  --photo-upload-border: #d1d5db;
  --photo-upload-border-hover: #1b75bb;
  --border-radius: 12px;
  --border-radius-sm: 8px;

  /* ========= MISSING PK VARIABLES ========= */
  --pk-white: #ffffff;
  --pk-gray-50: #f9fafb;
  --pk-gray-100: #f1f5f9;
  --pk-gray-200: #e2e8f0;
  --pk-gray-300: #cbd5e1;
  --pk-gray-400: #94a3b8;
  --pk-gray-500: #64748b;
  --pk-gray-600: #475569;
  --pk-gray-700: #334155;
  --pk-gray-800: #1e293b;
  --pk-gray-900: #0f172a;
  --photo-upload-border-hover: #3b82f6;
  --photo-notes-bg: #f8f9fa;

  /* ========= ADDITIONAL MISSING VARIABLES ========= */
  --additional-options-section-bg: #f8fafc;
  --account-container-bg: #ffffff;
  --account-page-bg: #f1f5f9;
  --option-item-bg: #ffffff;
  --option-item-border: #e5e7eb;
  --option-item-hover-bg: #f9fafb;
  --option-text-color: #374151;
  --option-arrow-color: #6b7280;

  /* ========= FORM & DROPDOWN COLORS ========= */
  --form-border: #d1d5db;
  --form-border-hover: #3b82f6;
  --form-border-focus: #3b82f6;
  --form-bg: #ffffff;
  --form-bg-disabled: #f9fafb;
  --form-text: #1f2937;
  --form-text-placeholder: #9ca3af;
  --form-shadow-focus: rgba(59, 130, 246, 0.1);

  /* ========= DROPDOWN SPECIFIC ========= */
  --dropdown-option-bg: #ffffff;
  --dropdown-option-bg-hover: #f9fafb;
  --dropdown-option-text: #1f2937;
  --dropdown-placeholder-text: #9ca3af;

  /* ========= TAB COLORS ========= */
  --tab-active: #ff385c;
  --tab-inactive: #dddddd;
  --tag-bg: #f5f5f5;

  /* ========= NAVBAR ========= */
  --navbar-height: 4rem;

  /* Gradient */
  --gradient-primary: linear-gradient(135deg, #FFF100 0%, #FFD700 100%);
  --gradient-secondary: linear-gradient(135deg, #0158AD 0%, #1976D2 100%);
  
  /* ========= PENGHUNI COMPONENTS ========= */
  /* Layout specific for penghuni pages */
  --sidebar-width: 240px;
  --topbar-height: 65px;
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --border-radius-lg: 16px;
  --transition: all 0.3s ease;
  --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Additional colors for penghuni */
  --yellow-alpha: rgba(255, 242, 0, 0.493);
  --shadow-soft: 0 2px 8px rgba(27, 117, 187, 0.06);
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #eeeeee;
  --gray-300: #e0e0e0;
  --gray-500: #9e9e9e;
  --gray-600: #757575;
  --gray-700: #616161;
  --gray-800: #343a40;
  --gray-900: #212121;
  --success: #28a745;
  --warning: #ffc107;
  --danger: #dc3545;
}

.status-progress {
  background: var(--btn-yellow2);
  color: var(--btn-orange);
  font-weight: 700;
}
.status-success {
  background: var(--btn-green4);
  color: var(--btn-green);
  font-weight: 700;
}
.status-done {
  background: #e0e7ff;
  color: var(--btn-blue);
  font-weight: 700;
}
.status-reject {
  background: var(--btn-pink2);
  color: var(--btn-pink);
  font-weight: 700;
}
.button-white2 {
  color: var(--black) !important;
  border: 1px solid var(--gray2);
  background-color: var(--btn-white2);
}
.button-yellow {
  color: var(--black) !important;
  border: 1px solid var(--yellow) !important;
  background-color: var(--btn-yellow);
}
.button-white2:hover,
.button-white2:focus,
.button-yellow:hover,
.button-yellow:focus {
  text-decoration: none;
  color: var(--black);
}

.message-response-card {
  margin: 0;
  padding: 0.5em 1em;
  background: var(--btn-yellow2);
  border-radius: 0.5rem;
  border: 0;
  text-align: center;
}
.message-response-detail {
  font-size: 0.7rem;
  padding-left: 5px;
  font-weight: 800;
  text-align: left;
  color: var(--black);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  width: 100%;
}
html {
    scroll-behavior: smooth;
}
body {
  margin: 0;
  color: #333;
  font-family: var(--font-family-primary);
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-800);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 10px 0;
  font-family: var(--font-family-primary);
}
* {
  outline: none !important;
}
b {
  font-weight: 600;
}
button {
  outline: none !important;
}

/****** Start Notification Alert System ******/
.alert-notif-danger {
  background: linear-gradient(to right, var(--alert-danger), #fff2f2);
  border-left: 8px solid var(--btn-red);
}
.alert-notif-warning {
  background: linear-gradient(to right, var(--alert-warning), #fffbf0);
  border-left: 8px solid var(--btn-orange2);
}
.alert-notif-success {
  background: linear-gradient(to right, var(--alert-success), #f0fff4);
  border-left: 8px solid var(--btn-green);
}
.alert-notif-info {
  background: linear-gradient(to right, var(--alert-info, #e3f2fd), #f5faff);
  border-left: 8px solid var(--btn-blue, #2196f3);
}
.notif-alert {
  color: var(--black);
  padding: 20px 40px 20px 20px;
  min-width: 400px;
  max-width: 450px;
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 203000;
  border-radius: 6px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, opacity 0.3s ease;
  /* Ensure it's hidden by default */
  visibility: hidden;
}
.notif-alert::before {
  font-family: "Font Awesome 5 Free", FontAwesome, sans-serif;
  font-weight: 900;
  position: absolute;
  left: 20px;
  top: 20px;
  font-size: 24px;
  opacity: 0.2;
}
.alert-notif-success::before {
  content: "\f00c"; /* Check mark */
  color: var(--btn-green);
}
.alert-notif-warning::before {
  content: "\f071"; /* Warning */
  color: var(--btn-orange2);
}
.alert-notif-danger::before {
  content: "\f00d"; /* X mark */
  color: var(--btn-red);
}
.alert-notif-info::before {
  content: "\f129"; /* Info */
  color: var(--btn-blue, #2196f3);
}
.notif-alert.top-right {
  top: 20px;
  bottom: auto;
}
.notif-alert.top-left {
  top: 20px;
  left: 20px;
  right: auto;
  bottom: auto;
}
.notif-alert.bottom-left {
  bottom: 20px;
  left: 20px;
  right: auto;
}
.notif-alert.showAlert {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}
.notif-alert.show {
  animation: show_slide_fade 0.7s ease forwards; /* Slightly slower show animation */
}
.notif-alert.hide {
  animation: hide_slide_fade 0.7s ease forwards; /* Slightly slower hide animation */
}
.notif-alert .msg-head {
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0 0 8px 0;
  display: block;
  margin-left: 30px;
}
.notif-alert .msg {
  font-size: 0.9rem;
  padding: 0;
  display: block;
  line-height: 1.4;
  margin-left: 30px;
}
.notif-alert .close-btn {
  position: absolute;
  right: 0px;
  top: 0px;
  padding: 12px 15px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  border-radius: 0 6px 0 6px;
}
.notif-alert .close-btn .close {
  font-size: 22px;
  line-height: 20px;
}
.notif-alert.alert-notif-danger .close-btn:hover {
  background: var(--btn-red);
  color: white;
}
.notif-alert.alert-notif-warning .close-btn:hover {
  background: var(--btn-orange2);
  color: white;
}
.notif-alert.alert-notif-success .close-btn:hover {
  background: var(--btn-green);
  color: white;
}
.notif-alert.alert-notif-info .close-btn:hover {
  background: var(--btn-blue, #2196f3);
  color: white;
}

/* For stacked notifications */
.notif-alert + .notif-alert {
  margin-bottom: 10px;
}

@keyframes show_slide_fade {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  40% {
    transform: translateX(-5%);
    opacity: 0.8;
  }
  80% {
    transform: translateX(0%);
    opacity: 1;
  }
  100% {
    transform: translateX(0px);
    opacity: 1;
  }
}
@keyframes hide_slide_fade {
  0% {
    transform: translateX(0px);
    opacity: 1;
  }
  40% {
    transform: translateX(0%);
    opacity: 0.8;
  }
  80% {
    transform: translateX(-5%);
    opacity: 0.2;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .notif-alert {
    max-width: 300px;
    min-width: 300px;
    right: 10px;
    bottom: 10px;
    padding: 15px 35px 15px 15px;
  }
  .notif-alert::before {
    left: 15px;
    top: 15px;
    font-size: 20px;
  }
  .notif-alert.top-right {
    top: 10px;
  }
  .notif-alert.top-left {
    top: 10px;
    left: 10px;
  }
  .notif-alert.bottom-left {
    bottom: 10px;
    left: 10px;
  }
  .notif-alert .msg-head {
    font-size: 1rem;
    margin-left: 25px;
  }
  .notif-alert .msg {
    font-size: 0.8rem;
    margin-left: 25px;
  }
  .notif-alert .close-btn {
    padding: 10px 12px;
  }
}

/* Status Badge Utilities */
.status-verified-modern {
  color: var(--success-green);
  background: var(--success-bg);
  border-color: var(--success-border);
}

.status-pending-modern {
  color: var(--info-color);
  background: var(--info-bg);
  border-color: var(--info-border);
}

.status-rejected-modern {
  color: var(--danger-color);
  background: var(--danger-bg);
  border-color: var(--danger-border);
}

.status-warning-modern {
  color: var(--warning-color);
  background: var(--warning-bg);
  border-color: var(--warning-border);
}

/* Additional profile utilities */
.text-success {
  color: var(--success-color);
}
.text-warning {
  color: var(--warning-color);
}
.text-danger {
  color: var(--danger-color);
}
.text-info {
  color: var(--info-color);
}

/* Icon utility classes */
.icon-visible {
  opacity: 1 !important;
  filter: none !important;
}

/* Button */
.btn-sign {
  width: 150px;
  background: linear-gradient(135deg, #fff100 0%, #ffe600 100%);
  border: none;
  outline: none;
  height: 35px;
  border-radius: 49px;
  color: var(--black);
  font-weight: 600;
  margin: 10px 0;
  cursor: pointer;
  transition: 0.5s;
  box-shadow: 0 4px 8px rgb(0 0 0 / 8%), 0 -1px 4px rgb(0 0 0 / 4%);
}
.btn-sign:hover {
  box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%);
}
.btn-not-rdy {
  width: 150px;
  background-color: var(--btn-yellow);
  border: none;
  outline: none;
  height: 35px;
  border-radius: 49px;
  color: var(--gray);
  opacity: 0.7;
  font-weight: 600;
  margin: 10px 0;
  cursor: not-allowed !important;
  transition: 0.5s;
  box-shadow: 0 2px 6px -1px rgba(0, 0, 0, 0.2);
}

.btn-sign.loading {
  opacity: 0.7;
  pointer-events: none;
  position: relative;
}
.btn-sign.loading::after {
  content: "";
  border: 2px solid #fff;
  border-top: 2px solid #3498db;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  animation: spin 0.7s linear infinite;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}
@keyframes spin {
  0% {
    transform: translateY(-50%) rotate(0deg);
  }
  100% {
    transform: translateY(-50%) rotate(360deg);
  }
}

.section-description {
  color: #666666;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 32px;
  text-align: center;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.papi-recommendations .section-description {
  margin-bottom: 40px;
}

/* Responsive styling */
@media (max-width: 768px) {
  .section-description {
    font-size: 15px;
    margin-bottom: 28px;
    padding: 0 20px;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .section-description {
    font-size: 14px;
    margin-bottom: 24px;
    padding: 0 16px;
  }
}

/* ========= AUTH LOADING OVERLAY - Global Component ========= */
.auth-loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.auth-loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.auth-loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--gray2);
  border-top: 3px solid var(--blue);
  border-radius: 50%;
  animation: authSpinner 1s linear infinite;
  margin-bottom: 16px;
}

.auth-loading-text {
  font-size: 14px;
  color: var(--gray);
  font-weight: 500;
  margin: 0;
}

@keyframes authSpinner {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Fade out animation for loading overlay */
.auth-loading-overlay.fade-out {
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .auth-loading-spinner {
    width: 36px;
    height: 36px;
    border-width: 2px;
  }
  
  .auth-loading-text {
    font-size: 13px;
  }
}

/* Base improvements untuk buttons yang sudah ada */
.btn-apply {
    width: clamp(140px, 20vw, 180px);
    padding: clamp(0.75rem, 1.5vw, 0.875rem) clamp(1rem, 2vw, 1.25rem); /* Increased padding */
    background: linear-gradient(135deg, #fff100 0%, #ffe600 100%);
    border: none;
    border-radius: clamp(8px, 1.5vw, 10px); /* Slightly larger radius */
    font-weight: 600;
    font-size: clamp(0.875rem, 2vw, 1rem); /* Increased font size */
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: clamp(44px, 5vw, 48px); /* Increased height */
    box-shadow: 0 2px 6px rgba(255, 241, 0, 0.2);
    letter-spacing: 0.25px;
    line-height: 1.4; /* Added line height */
}

.btn-apply:hover {
    transform: translateY(-0.5px);
    box-shadow: 0 3px 12px rgba(255, 230, 0, 0.35);
    color: #333;
    text-decoration: none;
}

.btn-reset {
    width: clamp(140px, 20vw, 180px);
    padding: clamp(0.75rem, 1.5vw, 0.875rem) clamp(1rem, 2vw, 1.25rem); /* Increased padding */
    background: var(--white);
    border: 1.5px solid var(--border-medium);
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem; /* Increased from 15px */
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1.4; /* Added line height */
    min-height: clamp(44px, 5vw, 48px); /* Added consistent height */
}

/* ========================================
   CUSTOM ICON SYSTEM FOR PENGHUNI PROFIL
======================================== */
.custom-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
  flex-shrink: 0;
}

/* User Icons */
.custom-icon.icon-user {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23374151'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
}

.custom-icon.icon-camera {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23374151'%3E%3Cpath d='M20 4h-3.17L15 2H9L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-8 13c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z'/%3E%3C/svg%3E");
}

.custom-icon.icon-cog {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23374151'%3E%3Cpath d='M19.14,12.94c0.04-0.3,0.06-0.61,0.06-0.94c0-0.32-0.02-0.64-0.07-0.94l2.03-1.58c0.18-0.14,0.23-0.41,0.12-0.61 l-1.92-3.32c-0.12-0.22-0.37-0.29-0.59-0.22l-2.39,0.96c-0.5-0.38-1.03-0.7-1.62-0.94L14.4,2.81c-0.04-0.24-0.24-0.41-0.48-0.41 h-3.84c-0.24,0-0.43,0.17-0.47,0.41L9.25,5.35C8.66,5.59,8.12,5.92,7.63,6.29L5.24,5.33c-0.22-0.08-0.47,0-0.59,0.22L2.74,8.87 C2.62,9.08,2.66,9.34,2.86,9.48l2.03,1.58C4.84,11.36,4.8,11.69,4.8,12s0.02,0.64,0.07,0.94l-2.03,1.58 c-0.18,0.14-0.23,0.41-0.12,0.61l1.92,3.32c0.12,0.22,0.37,0.29,0.59,0.22l2.39-0.96c0.5,0.38,1.03,0.7,1.62,0.94l0.36,2.54 c0.05,0.24,0.24,0.41,0.48,0.41h3.84c0.24,0,0.44-0.17,0.47-0.41l0.36-2.54c0.59-0.24,1.13-0.56,1.62-0.94l2.39,0.96 c0.22,0.08,0.47,0,0.59-0.22l1.92-3.32c0.12-0.22,0.07-0.47-0.12-0.61L19.14,12.94z M12,15.6c-1.98,0-3.6-1.62-3.6-3.6 s1.62-3.6,3.6-3.6s3.6,1.62,3.6,3.6S13.98,15.6,12,15.6z'/%3E%3C/svg%3E");
}

.custom-icon.icon-clock {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23374151'%3E%3Cpath d='M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z'/%3E%3C/svg%3E");
}

.custom-icon.icon-check {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2322c55e'%3E%3Cpath d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z'/%3E%3C/svg%3E");
}

.custom-icon.icon-times {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23dc3545'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E");
}

.custom-icon.icon-exclamation {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f59e0b'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/%3E%3C/svg%3E");
}

.custom-icon.icon-calendar {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23374151'%3E%3Cpath d='M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z'/%3E%3C/svg%3E");
}

.custom-icon.icon-envelope {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f59e0b'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}

.custom-icon.icon-phone {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233b82f6'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
}

.custom-icon.icon-info {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23006DBF'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z'/%3E%3C/svg%3E");
}

.custom-icon.verified-check {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2322c55e'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
  width: 20px;
  height: 20px;
}

.custom-icon.icon-visible {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
}


/* ========================================
  PROPERTY CARD
======================================== */
.papi-badge {
  background: #e0e7ff;
  color: #3b82f6;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.papi-gender-badge {
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.papi-gender-badge--pria {
  background: #e0e7ff;
  color: #3b82f6;
}

.papi-gender-badge--wanita {
    background: #fce7f3;
    color: #ec4899;
}

.papi-gender-badge--campur {
  background: #dcfce7;
  color: #16a34a;
}