/* ==================================================
   ENHANCED ADVOKASI FORM CSS
   Modern, Clean & Fully Responsive Design
   ================================================== */

:root {
  /* Modern Color Palette */
  --primary: #6366f1;
  --primary-light: #818cf8;
  --primary-dark: #4f46e5;
  --secondary: #14b8a6;
  --accent: #f59e0b;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #06b6d4;
  
  /* Neutral Colors */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 0.75rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  
  /* Typography */
  --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display: 'Poppins', var(--font-sans);
}

/* Global Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--gray-900);
  background: var(--gray-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Advokasi Page Background */
.advokasi-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow-x: hidden;
}

/* Enhanced Animated Background */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.bg-animation::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.bg-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  animation: float 25s infinite ease-in-out;
  backdrop-filter: blur(1px);
}

.bg-shape:nth-child(1) {
  width: 400px;
  height: 400px;
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.bg-shape:nth-child(2) {
  width: 300px;
  height: 300px;
  bottom: -150px;
  left: -150px;
  animation-delay: 8s;
  animation-duration: 30s;
}

.bg-shape:nth-child(3) {
  width: 200px;
  height: 200px;
  top: 40%;
  left: 30%;
  animation-delay: 16s;
  animation-duration: 35s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
    opacity: 0.08;
  }
  25% {
    transform: translate(40px, -60px) rotate(90deg) scale(1.1);
    opacity: 0.1;
  }
  50% {
    transform: translate(-30px, 40px) rotate(180deg) scale(0.95);
    opacity: 0.06;
  }
  75% {
    transform: translate(50px, 20px) rotate(270deg) scale(1.05);
    opacity: 0.09;
  }
}

/* Container Enhancement */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  position: relative;
  z-index: 1;
}

/* Enhanced Form Card */
.form-card {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
  overflow: hidden;
  margin-bottom: var(--spacing-xl);
  animation: slideUp 0.6s ease-out;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -15px rgb(0 0 0 / 0.3);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced Step Icon */
.step-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-lg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
  margin-bottom: var(--spacing-lg);
}

.step-icon::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Enhanced Form Header */
.form-header {
  text-align: center;
  padding: var(--spacing-2xl) 0;
  animation: fadeIn 0.8s ease-out;
}

.header-badge {
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-lg);
  font-size: 3rem;
  color: white;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  50% {
    box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
  }
}

.header-title {
  color: black;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  font-family: var(--font-display);
  margin-bottom: var(--spacing-md);
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  letter-spacing: -0.02em;
}

.header-meta {
  margin-top: var(--spacing-lg);
}

.badge-number {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--radius-full);
  color: white;
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all var(--transition);
}

.badge-number:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

/* Enhanced Status Card */
.status-card {
  padding: 0;
  overflow: hidden;
}

.status-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  padding: var(--spacing-xl);
  background: linear-gradient(135deg, var(--gray-50), white);
  border-bottom: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
}

.status-header::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: var(--status-color, var(--primary));
}

.status-icon-wrapper {
  width: 70px;
  height: 70px;
  background: var(--status-color, var(--primary));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(var(--status-color-rgb, 99, 102, 241), 0.4);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(var(--status-color-rgb, 99, 102, 241), 0);
  }
}

.status-info {
  flex: 1;
}

.status-label {
  display: block;
  font-size: 0.875rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.status-text {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-900);
  font-family: var(--font-display);
}

/* Enhanced Detail Grid */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  padding: var(--spacing-xl);
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
}

.detail-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.detail-item:hover {
  background: white;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--primary-light);
}

.detail-item:hover::before {
  transform: scaleX(1);
}

.detail-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
  box-shadow: var(--shadow-md);
}

.detail-content {
  flex: 1;
  min-width: 0;
}

.detail-label {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.detail-value {
  display: block;
  font-weight: 700;
  color: var(--gray-900);
  font-size: 1.125rem;
  word-wrap: break-word;
}

.detail-time {
  display: inline-block;
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: var(--spacing-xs);
}

/* Enhanced Section Headers */
.section-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
  padding-bottom: var(--spacing-md);
  border-bottom: 2px solid var(--gray-100);
  position: relative;
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
}

.section-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.section-title h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gray-900);
  font-family: var(--font-display);
  margin: 0;
}

.section-title p {
  color: var(--gray-500);
  font-size: 0.9375rem;
  margin-top: var(--spacing-xs);
}

/* Enhanced Notes Section */
.notes-card {
  padding: var(--spacing-xl);
}

.notes-container {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.note-item {
  background: linear-gradient(135deg, var(--gray-50), white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  position: relative;
  transition: all var(--transition);
  border: 1px solid var(--gray-100);
}

.note-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: var(--primary-light);
}

.note-latest {
  border: 2px solid var(--primary-light);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.03), rgba(129, 140, 248, 0.03));
}

.note-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-md);
}

.note-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-lg);
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.note-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-md);
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 700;
  color: var(--gray-900);
  font-size: 1.0625rem;
}

.author-role {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.note-date {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--gray-500);
  font-size: 0.875rem;
}

.note-content {
  color: var(--gray-700);
  line-height: 1.8;
  font-size: 1.0625rem;
  background: var(--gray-50);
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--primary);
  font-style: italic;
}

/* Enhanced Timeline */
.timeline-card {
  padding: var(--spacing-xl);
}

.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--primary-light), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--spacing-2xl);
  animation: slideInLeft 0.6s ease-out backwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.timeline-marker {
  position: absolute;
  left: -28px;
  top: 0;
  width: 36px;
  height: 36px;
  background: white;
  border: 3px solid var(--marker-color, var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--marker-color, var(--primary));
  font-size: 0.875rem;
  box-shadow: var(--shadow-md);
  z-index: 1;
}

.timeline-latest .timeline-marker {
  width: 42px;
  height: 42px;
  left: -31px;
  animation: timelinePulse 2s infinite;
}

@keyframes timelinePulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(99, 102, 241, 0);
  }
}

.timeline-content {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  border: 1px solid var(--gray-100);
}

.timeline-content:hover {
  box-shadow: var(--shadow-xl);
  transform: translateX(4px);
  border-color: var(--primary-light);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--spacing-md);
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.timeline-header h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0;
}

.timeline-date {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--gray-500);
  font-size: 0.875rem;
  white-space: nowrap;
}

.timeline-description {
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 0;
  font-size: 1.0625rem;
}

.timeline-response {
  margin-top: var(--spacing-lg);
  padding: var(--spacing-lg);
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--primary);
}

.response-label {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: var(--spacing-sm);
}

.timeline-response p {
  color: var(--gray-700);
  font-style: italic;
  margin: 0;
  line-height: 1.7;
}

/* Enhanced Donation Card */
.donation-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  margin: var(--spacing-2xl) 0;
  box-shadow: var(--shadow-2xl);
  position: relative;
  overflow: hidden;
  animation: slideUp 0.8s ease-out;
}

.donation-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: rotate 30s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.donation-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
  flex-wrap: wrap;
}

.donation-icon {
  width: 90px;
  height: 90px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  box-shadow: var(--shadow-xl);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.donation-text {
  flex: 1;
  color: white;
  min-width: 250px;
}

.donation-text h4 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: var(--spacing-sm);
  font-family: var(--font-display);
}

.donation-text p {
  opacity: 0.95;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.btn-donate {
  background: white;
  color: var(--primary);
  border: none;
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1.0625rem;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  transition: all var(--transition);
  cursor: pointer;
  box-shadow: var(--shadow-lg);
}

.btn-donate:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
  background: var(--gray-50);
}

/* Enhanced Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width var(--transition), height var(--transition);
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-success {
  background: linear-gradient(135deg, var(--success), #059669);
  color: white;
}

/* Form Input Enhancements */
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--spacing-md) var(--spacing-lg);
  font-size: 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: white;
  color: var(--gray-900);
  transition: all var(--transition);
  font-family: var(--font-sans);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
  transform: translateY(-1px);
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  border-color: var(--gray-300);
}

.form-label {
  display: block;
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--gray-700);
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.form-label.required::after {
  content: ' *';
  color: var(--danger);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

/* Enhanced Modal */
.modal-content {
  border: none;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
}

.modal-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border: none;
  padding: var(--spacing-xl);
}

.modal-title {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  font-weight: 700;
  font-size: 1.5rem;
  font-family: var(--font-display);
}

.modal-body {
  padding: var(--spacing-2xl);
}

.qr-container {
  text-align: center;
}

.qr-image {
  max-width: 300px;
  width: 100%;
  height: auto;
  border: 3px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  margin: 0 auto var(--spacing-xl);
  background: white;
  box-shadow: var(--shadow-lg);
}

.bank-info {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  border: 1px solid var(--gray-200);
}

.bank-info h6 {
  color: var(--gray-700);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  font-size: 1.125rem;
}

.account-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: var(--spacing-sm);
  letter-spacing: 2px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: 'Courier New', monospace;
}

.account-number:hover {
  color: var(--primary-dark);
  transform: scale(1.05);
}

.account-name {
  color: var(--gray-600);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Action Section Enhancement */
.action-section {
  text-align: center;
  padding: var(--spacing-2xl) 0;
}

/* Empty State Enhancement */
.empty-state {
  text-align: center;
  padding: var(--spacing-2xl);
  color: var(--gray-400);
}

.empty-state i {
  font-size: 4rem;
  margin-bottom: var(--spacing-lg);
  opacity: 0.5;
}

.empty-state p {
  font-size: 1.25rem;
  font-weight: 500;
}

/* Alert Styles */
.alert {
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-lg);
  border: 1px solid;
  font-weight: 500;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.alert-danger {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  border-color: var(--danger);
  color: #991b1b;
}

.alert-success {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  border-color: var(--success);
  color: #14532d;
}

/* Status Color Variables with RGB values */
.status-pending {
  --status-color: #f59e0b;
  --status-color-rgb: 245, 158, 11;
}

.status-dibaca {
  --status-color: #3b82f6;
  --status-color-rgb: 59, 130, 246;
}

.status-proses {
  --status-color: #8b5cf6;
  --status-color-rgb: 139, 92, 246;
}

.status-selesai {
  --status-color: #10b981;
  --status-color-rgb: 16, 185, 129;
}

.status-ditolak {
  --status-color: #ef4444;
  --status-color-rgb: 239, 68, 68;
}

/* Print Styles */
@media print {
  .advokasi-page {
    background: white;
  }

  .bg-animation,
  .donation-card,
  .action-section,
  .modal,
  .btn-donate,
  .print-button {
    display: none !important;
  }

  .form-card {
    box-shadow: none;
    border: 1px solid var(--gray-300);
    page-break-inside: avoid;
  }

  .header-badge {
    background: var(--gray-100);
    color: var(--gray-700);
  }

  .header-title,
  .badge-number {
    color: var(--gray-900);
  }

  .timeline::before {
    background: var(--gray-300);
  }
}

/* Responsive Design - Tablet */
@media (max-width: 1024px) {
  .container {
    padding: 0 var(--spacing-md);
  }

  .form-card {
    margin-bottom: var(--spacing-lg);
  }

  .detail-grid {
    padding: var(--spacing-lg);
  }

  .donation-content {
    flex-direction: column;
    text-align: center;
  }

  .donation-icon {
    margin: 0 auto;
  }
}

/* Responsive Design - Mobile Large */
@media (max-width: 768px) {
  :root {
    --spacing-xs: 0.375rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 0.75rem;
    --spacing-lg: 1rem;
    --spacing-xl: 1.5rem;
    --spacing-2xl: 2rem;
  }

  .container {
    padding: 0 var(--spacing-sm);
  }

  .header-title {
    font-size: 2rem;
  }

  .header-badge {
    width: 80px;
    height: 80px;
    font-size: 2.5rem;
  }

  .form-card {
    padding: 0;
    border-radius: var(--radius-lg);
  }

  .status-header {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-md);
  }

  .status-text {
    font-size: 1.5rem;
  }

  .detail-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
  }

  .detail-item {
    padding: var(--spacing-md);
  }

  .section-header {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .section-title h3 {
    font-size: 1.5rem;
    text-align: center;
    margin-top: 0;
  }

  .note-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline {
    padding-left: 30px;
  }

  .timeline::before {
    left: 15px;
  }

  .timeline-marker {
    left: -21px;
    width: 32px;
    height: 32px;
  }

  .timeline-latest .timeline-marker {
    width: 36px;
    height: 36px;
    left: -23px;
  }

  .timeline-content {
    padding: var(--spacing-lg);
  }

  .timeline-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .donation-card {
    padding: var(--spacing-xl);
    margin: var(--spacing-xl) 0;
  }

  .donation-text h4 {
    font-size: 1.5rem;
  }

  .btn-donate {
    width: 100%;
    justify-content: center;
  }

  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .modal-body {
    padding: var(--spacing-lg);
  }

  .qr-image {
    max-width: 250px;
  }

  .account-number {
    font-size: 1.5rem;
  }
}

/* Responsive Design - Mobile Small */
@media (max-width: 480px) {
  .header-badge {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }

  .header-title {
    font-size: 1.75rem;
  }

  .badge-number {
    font-size: 0.9375rem;
    padding: var(--spacing-xs) var(--spacing-md);
  }

  .form-card {
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
  }

  .status-icon-wrapper {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .status-text {
    font-size: 1.25rem;
  }

  .detail-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .detail-value {
    font-size: 1rem;
  }

  .section-icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }

  .section-title h3 {
    font-size: 1.25rem;
  }

  .note-item {
    padding: var(--spacing-md);
  }

  .author-avatar {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .timeline-item {
    margin-bottom: var(--spacing-xl);
  }

  .timeline-content {
    padding: var(--spacing-md);
  }

  .timeline-header h4 {
    font-size: 1.125rem;
  }

  .donation-card {
    padding: var(--spacing-lg);
  }

  .donation-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }

  .donation-text h4 {
    font-size: 1.25rem;
  }

  .donation-text p {
    font-size: 0.9375rem;
  }

  .btn {
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: 0.9375rem;
  }

  .qr-image {
    max-width: 200px;
    padding: var(--spacing-md);
  }

  .account-number {
    font-size: 1.25rem;
    letter-spacing: 1px;
  }
}

/* Accessibility Improvements */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus Styles for Keyboard Navigation */
*:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

/* Loading State */
.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border: 4px solid var(--gray-200);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
  border-radius: var(--radius-md);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-md);
  border: 2px solid var(--gray-100);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Performance Optimizations */
@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;
  }
}

/* Dark Mode Support (Optional - Uncomment if needed) */
/*
@media (prefers-color-scheme: dark) {
  :root {
    --gray-50: #1f2937;
    --gray-100: #374151;
    --gray-200: #4b5563;
    --gray-300: #6b7280;
    --gray-400: #9ca3af;
    --gray-500: #d1d5db;
    --gray-600: #e5e7eb;
    --gray-700: #f3f4f6;
    --gray-800: #f9fafb;
    --gray-900: #ffffff;
  }
  
  .form-card {
    background: #1f2937;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .status-header {
    background: linear-gradient(135deg, #374151, #1f2937);
  }
}
*/

.fa-file-alt:before,
.fa-file-lines:before,
.fa-file-text:before {
  content: "\f15c";
  color: black;
}