/* ========================================
   ULTRA MODERN COMPLAINT SUCCESS PAGE
   Glassmorphism | Gradients | Animations
   ======================================== */

:root {
  --primary: #ff4757;
  --primary-light: #ff6b7a;
  --primary-dark: #ee5a6f;
  --success: #2ed573;
  --success-light: #26de81;
  --warning: #ffa502;
  --text: #0f172a;
  --text-light: #64748b;
  --surface: #f0f2f5;
  --glass: rgba(255, 255, 255, 0.08);
  --radius: 20px;
  --shadow-sm: 0 5px 15px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.15);
  --shadow-xl: 0 40px 100px rgba(15, 23, 42, 0.2);
  --glass-border: 1px solid rgba(255, 255, 255, 0.2);
}

html, body {
  height: 100%;
}

body {
  background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 50%, #eef2f7 100%);
  font-family: 'Inter', 'Poppins', system-ui, -apple-system, sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Container */
.custom-container {
  max-width: 900px;

}

/* ========================================
   HERO SUCCESS SECTION - PREMIUM
   ======================================== */

.hero-success {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding:20px;
  background: linear-gradient(135deg, rgba(46, 213, 115, 0.12), rgba(255, 71, 87, 0.08));
  border-radius: var(--radius) ;
  border: 2px solid rgba(46, 213, 115, 0.25);
  backdrop-filter: blur(20px);
  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  overflow: hidden;
  animation: slideUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin-bottom: 20px;
}

.hero-success::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(46, 213, 115, 0.25), transparent 70%);
  border-radius: 50%;
  animation: float 12s ease-in-out infinite;
  z-index: 0;
  filter: blur(40px);
}

.hero-success::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 71, 87, 0.15), transparent 70%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
  z-index: 0;
  filter: blur(40px);
}

.hero-success > * {
  position: relative;
  z-index: 1;
}

.hero-icon {
  font-size: 48px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #2ed573 0%, #26de81 100%);
  border-radius: 50%;
  box-shadow: 0 20px 50px rgba(46, 213, 115, 0.3), inset 0 1px 20px rgba(255, 255, 255, 0.3);
  animation: popIn 0.7s cubic-bezier(0.68, -0.55, 0.27, 1.55) 0.2s both;
  flex-shrink: 0;
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.hero-success h5 {
  background: linear-gradient(135deg, #ff4757 0%, #2ed573 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1rem;
  font-weight: 900;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.8px;
  line-height: 1.2;
}

.hero-success p {
  color: var(--text-light);
  font-size: .8rem;
  margin: 0;
  max-width: 600px;
  line-height: 1.6;
  font-weight: 500;
}

@media (max-width: 768px) {
  .hero-success {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 1.5rem;
    gap: 1.5rem;
  }
  
  .hero-icon {
    width: 70px;
    height: 70px;
    font-size: 36px;
  }
  
  .hero-success h3 {
    font-size: 1.8rem;
  }
}

/* ========================================
   CARD STYLES WITH GLASSMORPHISM
   ======================================== */

.card {
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  border-radius: var(--radius) !important;
  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: slideUp 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  overflow: hidden;
  margin-bottom: 1rem;
}

.card:nth-child(1) { animation-delay: 0s; }
.card:nth-child(2) { animation-delay: 0.1s; }
.card:nth-child(3) { animation-delay: 0.2s; }
.card:nth-child(4) { animation-delay: 0.3s; }
.card:nth-child(5) { animation-delay: 0.4s; }
.card:nth-child(6) { animation-delay: 0.5s; }
.card:nth-child(7) { animation-delay: 0.6s; }

.card:hover {
  box-shadow: 0 40px 100px rgba(15, 23, 42, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transform: translateY(-15px);
  border-color: rgba(255, 71, 87, 0.4);
}

.card-header-modern {
  background: linear-gradient(135deg, rgba(255, 71, 87, 0.12), rgba(46, 213, 115, 0.08));
  border: none;
  border-bottom: 2.5px solid rgba(255, 71, 87, 0.3);
  padding: 1.8rem 2rem;
  border-radius: var(--radius) var(--radius) 0 0;
}

.card-header-modern h5 {
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.5px;
  font-size: 1.2rem;
  margin: 0;
}

.card-header-modern i {
  color: #ff4757;
  font-size: 1.1rem;
  margin-right: 0.8rem;
}

.card-body {
  padding: 1rem;
}

/* ========================================
   REFERENCE CARD - PREMIUM GLASS
   ======================================== */

.reference-card {
  background: linear-gradient(135deg, rgba(255, 71, 87, 0.12), rgba(255, 107, 122, 0.06));
  border: 2.5px solid rgba(255, 71, 87, 0.25);
  border-radius: 16px;
  padding: 2.5rem;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
  animation: slideUp 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s both;
}

.reference-card:hover {
  border-color: #ff4757;
  box-shadow: 0 20px 50px rgba(255, 71, 87, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  background: linear-gradient(135deg, rgba(255, 71, 87, 0.18), rgba(255, 107, 122, 0.1));
}

.ref-number {
  font-size: 1.5rem;
  font-weight: 950;
  color: #ff4757;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0.8rem 0;
  background: linear-gradient(135deg, #ff4757, #ff6b7a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========================================
   BUTTON STYLES - ULTRA MODERN
   ======================================== */

.btn-modern {
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 0.9rem 1.8rem;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: none;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
}

.btn-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.4s ease;
  z-index: 0;
}

.btn-modern:hover::before {
  left: 100%;
}

.btn-danger.btn-modern {
  background: linear-gradient(135deg, #ff4757 0%, #ff6b7a 100%);
  color: white;
  box-shadow: 0 15px 50px rgba(255, 71, 87, 0.35);
  position: relative;
  z-index: 1;
}

.btn-danger.btn-modern:hover {
  background: linear-gradient(135deg, #ff3838 0%, #ff4757 100%);
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 25px 70px rgba(255, 71, 87, 0.45);
  color: white;
}

.btn-danger.btn-modern:active {
  transform: scale(0.98) translateY(-1px);
}

.btn-outline-danger.btn-outline-modern {
  color: #ff4757;
  border: 2.5px solid #ff4757;
  background: transparent;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.btn-outline-danger.btn-outline-modern::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 71, 87, 0.1);
  border-radius: 12px;
  transition: all 0.4s ease;
  z-index: -1;
}

.btn-outline-danger.btn-outline-modern:hover {
  background: rgba(255, 71, 87, 0.1);
  color: #ff4757;
  border-color: #ff4757;
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 71, 87, 0.2);
}

.btn-outline-danger.btn-outline-modern:active {
  transform: scale(0.98) translateY(-1px);
}

.btn-success {
  background: linear-gradient(135deg, #2ed573 0%, #26de81 100%) !important;
  box-shadow: 0 15px 50px rgba(46, 213, 115, 0.35) !important;
  border: none !important;
  color: white !important;
  position: relative;
  z-index: 1;
}

.btn-success:hover {
  background: linear-gradient(135deg, #1dd1a1 0%, #0be881 100%) !important;
  transform: scale(1.08) translateY(-3px) !important;
}

/* ========================================
   BADGE STYLING
   ======================================== */

.badge {
  padding: 0.7rem 1.2rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.4px !important;
  border-radius: 50px !important;
  font-size: 0.85rem !important;
  text-transform: uppercase;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes popIn {
  0% {
    transform: scale(0) rotate(-30deg);
    opacity: 0;
  }
  60% {
    transform: scale(1.15) rotate(5deg);
  }
  100% {
    transform: scale(1) rotate(0);
    opacity: 1;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-40px) scale(1.15);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
  .btn-modern {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .reference-card {
    padding: 1.5rem;
  }
  
  .ref-number {
    font-size: 2.2rem;
  }
  
  .card-header-modern h5 {
    font-size: 1rem;
  }
}
