body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

/* Toast Component Styles */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 320px;
    max-width: 500px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 10000;
    cursor: pointer;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.toast-visible {
    transform: translateX(0);
    opacity: 1;
}

.toast-exit {
    transform: translateX(400px);
    opacity: 0;
}

.toast-content {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    gap: 12px;
    position: relative;
}

.toast-icon {
    font-size: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.1);
}

.toast-message {
    flex: 1 1;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.toast-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #374151;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.toast-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
    width: 100%;
    transform-origin: left;
    animation: toastProgress linear forwards;
}

@keyframes toastProgress {
    from {
        transform: scaleX(1);
    }

    to {
        transform: scaleX(0);
    }
}

/* Toast Type Variations */
.toast-success {
    border-left: 4px solid #22c55e;
}

.toast-success .toast-icon {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.toast-success .toast-progress-bar {
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
}

.toast-error {
    border-left: 4px solid #ef4444;
}

.toast-error .toast-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.toast-error .toast-progress-bar {
    background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
}

.toast-warning {
    border-left: 4px solid #f59e0b;
}

.toast-warning .toast-icon {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.toast-warning .toast-progress-bar {
    background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
}

.toast-info {
    border-left: 4px solid #3b82f6;
}

.toast-info .toast-icon {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.toast-info .toast-progress-bar {
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .toast {
        top: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
        transform: translateY(-100px);
    }

    .toast-visible {
        transform: translateY(0);
    }

    .toast-exit {
        transform: translateY(-100px);
    }

    .toast-content {
        padding: 14px 16px;
    }

    .toast-message {
        font-size: 13px;
    }
}

/* Multiple Toast Stacking */
.toast:nth-child(2) {
    top: 90px;
}

.toast:nth-child(3) {
    top: 160px;
}

.toast:nth-child(4) {
    top: 230px;
}

@media (max-width: 768px) {
    .toast:nth-child(2) {
        top: 80px;
    }

    .toast:nth-child(3) {
        top: 150px;
    }

    .toast:nth-child(4) {
        top: 220px;
    }
}
.navbar {
  background: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.navbar-logo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(22, 163, 74, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 12px;
}

.navbar-logo:hover::before {
  opacity: 1;
}

.logo-icon {
  font-size: 28px;
  animation: logoSpin 3s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(34, 197, 94, 0.3));
  transition: transform 0.3s ease;
}

.navbar-logo:hover .logo-icon {
  transform: scale(1.1) rotate(10deg);
  filter: drop-shadow(0 4px 8px rgba(34, 197, 94, 0.5));
}

@keyframes logoSpin {

  0%,
  100% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(5deg);
  }
}

.logo-text {
  font-size: 26px;
  font-weight: 800;
  background: linear-gradient(135deg, #1f2937 0%, #22c55e 50%, #16a34a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 1;
}

.navbar-logo:hover .logo-text {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #15803d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.language-selector {
  display: flex;
  align-items: center;
}

.lang-toggle {
  position: relative;
  display: flex;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 2px solid rgba(34, 197, 94, 0.1);
  border-radius: 25px;
  padding: 4px;
  overflow: hidden;
}

.lang-btn {
  background: none;
  border: none;
  padding: 8px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 2;
  min-width: 50px;
  justify-content: center;
}

.lang-flag {
  font-size: 14px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.lang-code {
  font-size: 11px;
  letter-spacing: 0.5px;
}

.lang-btn.active {
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.lang-btn:not(.active) {
  color: #6b7280;
}

.lang-btn:hover:not(.active) {
  color: #374151;
  transform: translateY(-1px);
}

.lang-slider {
  position: absolute;
  top: 4px;
  bottom: 4px;
  width: calc(50% - 4px);
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  border-radius: 18px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.lang-slider.slide-left {
  transform: translateX(0);
}

.lang-slider.slide-right {
  transform: translateX(100%);
}

.lang-toggle:hover {
  border-color: rgba(34, 197, 94, 0.2);
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.1);
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #007bff;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #007bff;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.auth-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.user-name {
  color: #666;
  font-size: 14px;
}

.auth-link {
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.auth-link.login {
  color: #007bff;
  border: 1px solid #007bff;
}

.auth-link.login:hover {
  background: #007bff;
  color: white;
}

.auth-link.signup {
  background: #007bff;
  color: white;
  border: 1px solid #007bff;
}

.auth-link.signup:hover {
  background: #0056b3;
  border-color: #0056b3;
}

.logout-btn {
  background: #dc3545;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.logout-btn:hover {
  background: #c82333;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 3px 0;
  transition: 0.3s;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .navbar-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
    gap: 20px;
  }

  .navbar-menu.active {
    left: 0;
  }

  .navbar-toggle {
    display: flex;
  }

  .auth-section {
    flex-direction: column;
    gap: 10px;
  }

  .language-selector {
    order: -1;
    margin-bottom: 20px;
  }
}

.user-dropdown {
  position: relative;
}

.user-btn-icon {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 2px solid rgba(34, 197, 94, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: #22c55e;
  transition: all 0.3s ease;
  position: relative;
}

.user-btn-icon:hover {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
  border-color: #22c55e;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.user-btn-icon:active {
  transform: translateY(0);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0;
  z-index: 1000;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: dropdownFadeIn 0.2s ease-out;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-header {
  padding: 16px 20px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.user-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.user-info {
  flex: 1 1;
  min-width: 0;
}

.user-email {
  font-weight: 600;
  color: #1f2937;
  font-size: 14px;
  margin-bottom: 2px;
  word-break: break-all;
}

.user-status {
  font-size: 12px;
  color: #6b7280;
  font-weight: 500;
}

.dropdown-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.06);
  margin: 0;
}

.dropdown-item {
  padding: 12px 20px;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
  position: relative;
}

.dropdown-item:hover {
  background: #f9fafb;
  color: #22c55e;
}

.dropdown-item.logout {
  color: #ef4444;
}

.dropdown-item.logout:hover {
  background: #fef2f2;
  color: #dc2626;
}

.dropdown-item svg {
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.dropdown-item:hover svg {
  opacity: 1;
}

.navbar-auth .auth-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* 
Member Type Badge */
.member-type-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.member-type-badge.user {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(22, 163, 74, 0.1) 100%);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.member-type-badge.company {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
  color: #2563eb;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.member-type-badge.branch {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.1) 100%);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-icon {
  font-size: 12px;
  line-height: 1;
}

.badge-text {
  font-size: 10px;
  font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
  .member-type-badge {
    font-size: 10px;
    padding: 3px 6px;
  }

  .badge-icon {
    font-size: 11px;
  }

  .badge-text {
    font-size: 9px;
  }
}

/ * User Button MemberType Colors */ .user-btn-icon.user:hover {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  border-color: #22c55e;
}

.user-btn-icon.company {
  border-color: rgba(59, 130, 246, 0.2);
}

.user-btn-icon.company:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border-color: #3b82f6;
}

.user-btn-icon.branch {
  border-color: rgba(245, 158, 11, 0.2);
}

.user-btn-icon.branch:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-color: #f59e0b;
}
.layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1 1;
  padding-top: 0;
  transition: padding-top 0.3s ease;
}

.main-content.with-navbar {
  padding-top: 70px; /* Height of navbar */
}

/* Ensure content doesn't get hidden behind fixed navbar */
.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .main-content.with-navbar {
    padding-top: 70px;
  }
  
  .page-container {
    padding: 15px;
  }
}

/* Clover Theme Homepage Styles */
.homepage {
  min-height: 100vh;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  min-height: 85vh;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
  color: white;
  padding: 0 20px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(21, 128, 61, 0.05) 100%);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.hero::after {
  content: '🍀';
  position: absolute;
  top: 10%;
  right: 10%;
  font-size: 8rem;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.hero-content {
  flex: 1 1;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 0%, #22c55e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

/* Removed decorative clover icon */

.hero-subtitle {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  opacity: 0.95;
  font-weight: 500;
  color: #e5e7eb;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.85;
  line-height: 1.7;
  color: #d1d5db;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: inline-block;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.hero-cta:hover {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(34, 197, 94, 0.6);
}

.hero-cta:hover::before {
  left: 100%;
}

.hero-image {
  flex: 1 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-placeholder {
  width: 350px;
  height: 350px;
  background: rgba(34, 197, 94, 0.1);
  border: 3px solid rgba(34, 197, 94, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10rem;
  -webkit-backdrop-filter: blur(15px);
          backdrop-filter: blur(15px);
  position: relative;
  animation: rotate 20s linear infinite;
}

.hero-placeholder::before {
  content: '🍀';
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 3rem;
  animation: bounce 2s ease-in-out infinite;
}

.hero-placeholder::after {
  content: '🍀';
  position: absolute;
  bottom: -20px;
  left: -20px;
  font-size: 2rem;
  animation: bounce 2s ease-in-out infinite 1s;
}

/* Features Section */
.features {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #22c55e 0%, #16a34a 50%, #22c55e 100%);
}

.features-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 4rem;
  color: #1f2937;
  font-weight: 800;
  position: relative;
  display: inline-block;
  width: 100%;
}

.features-title::before {
  content: '🍀';
  position: absolute;
  left: 50%;
  top: -60px;
  transform: translateX(-50%);
  font-size: 4rem;
  color: #22c55e;
  animation: pulse 3s ease-in-out infinite;
}

.features-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  border-radius: 2px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-gap: 40px;
  gap: 40px;
  margin-top: 4rem;
}

.feature-card {
  background: white;
  padding: 50px 35px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.2);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.feature-card:nth-child(1) .feature-icon::after {
  content: '🍀';
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 1.5rem;
  color: #22c55e;
}

.feature-card:nth-child(2) .feature-icon::after {
  content: '🍀';
  position: absolute;
  bottom: -10px;
  left: -10px;
  font-size: 1.5rem;
  color: #22c55e;
}

.feature-card:nth-child(3) .feature-icon::after {
  content: '🍀';
  position: absolute;
  top: -10px;
  left: -10px;
  font-size: 1.5rem;
  color: #22c55e;
}

.feature-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #1f2937;
  font-weight: 700;
}

.feature-card p {
  color: #6b7280;
  line-height: 1.7;
  font-size: 1.1rem;
  font-weight: 500;
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.05) 0%, rgba(21, 128, 61, 0.02) 100%);
}

.cta-section::after {
  content: '🍀';
  position: absolute;
  bottom: 10%;
  left: 10%;
  font-size: 6rem;
  opacity: 0.1;
  animation: float 8s ease-in-out infinite reverse;
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 3.2rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #22c55e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.cta-content h2::before {
  content: '🍀';
  position: absolute;
  left: 50%;
  top: -50px;
  transform: translateX(-50%);
  font-size: 2.5rem;
  color: #22c55e;
  animation: pulse 2s ease-in-out infinite;
}

.cta-content p {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  color: #e5e7eb;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.cta-btn.primary {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
}

.cta-btn.primary:hover {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(34, 197, 94, 0.6);
}

.cta-btn.secondary {
  background: transparent;
  color: white;
  border: 3px solid #22c55e;
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.2);
}

.cta-btn.secondary:hover {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(34, 197, 94, 0.4);
}

.cta-btn:hover::before {
  left: 100%;
}

/* Animations */
@keyframes float {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 5px rgba(34, 197, 94, 0.5));
  }

  50% {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px rgba(34, 197, 94, 0.8));
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 60px 20px;
    min-height: 70vh;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-title::before {
    left: 50%;
    top: -50px;
    transform: translateX(-50%);
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .hero-description {
    font-size: 1.1rem;
  }

  .hero-placeholder {
    width: 250px;
    height: 250px;
    font-size: 6rem;
    margin-top: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .features-title {
    font-size: 2.5rem;
  }

  .cta-content h2 {
    font-size: 2.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .features-title {
    font-size: 2rem;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .feature-card {
    padding: 35px 25px;
  }
}
.page {
  min-height: 100vh;
  background: #f8f9fa;
}

.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 40px 0;
}

.page-header h1 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.page-content {
  background: white;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.placeholder-content h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 1rem;
  text-align: center;
}

.placeholder-content > p {
  font-size: 1.1rem;
  color: #666;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
}

.placeholder-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 30px;
  gap: 30px;
}

.placeholder-section {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 10px;
  border-left: 4px solid #667eea;
}

.placeholder-section h3 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 1rem;
}

.placeholder-section p {
  color: #666;
  line-height: 1.6;
}

.success-message {
  text-align: center;
  padding: 40px 20px;
}

.success-message h2 {
  color: #28a745;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.success-message p {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.btn-primary {
  background: #667eea;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background: #5a6fd8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-header {
    padding: 30px 0;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .page-header p {
    font-size: 1.1rem;
  }

  .page-content {
    padding: 30px 20px;
  }

  .placeholder-sections {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .placeholder-section {
    padding: 20px;
  }
}

/* Clover Theme About Styles */
.about-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.about-header h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1f2937 0%, #22c55e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-header p {
    font-size: 1.3rem;
    color: #6b7280;
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.about-container {
    display: flex;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e5e7eb;
    min-height: 600px;
    position: relative;
}

.about-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 50%, #22c55e 100%);
    border-radius: 20px 20px 0 0;
}

/* Tabs Sidebar */
.about-tabs {
    width: 280px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.about-tabs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05) 0%, rgba(21, 128, 61, 0.02) 100%);
}

.tab-button {
    position: relative;
    z-index: 1;
    background: rgba(34, 197, 94, 0.1);
    border: none;
    padding: 18px 24px;
    text-align: left;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: white;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tab-button:hover {
    background: rgba(34, 197, 94, 0.2);
    border-left-color: rgba(34, 197, 94, 0.5);
    padding-left: 28px;
}

.tab-button.active {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-left-color: #22c55e;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
}

/* Content Area */
.about-content {
    flex: 1 1;
    padding: 40px;
    background: linear-gradient(135deg, #fafbfc 0%, #ffffff 100%);
    overflow-y: auto;
    max-height: 80vh;
}

.document-content {
    max-width: 800px;
    animation: fadeIn 0.5s ease-out;
}

.document-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f3f4f6;
    position: relative;
}

/* Removed decorative clover icon from document headers */

.document-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 15px;
    line-height: 1.2;
}

.document-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.9rem;
    color: #6b7280;
}

.effective-date,
.company-name {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
}

.coming-soon {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
}

/* Document Sections */
.document-sections {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.document-section {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border-left: 4px solid #22c55e;
    transition: all 0.3s ease;
}

.document-section:hover {
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.1);
    transform: translateX(4px);
}

.document-section h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Removed decorative clover icon from section headings */

.document-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 10px;
    margin-top: 15px;
}

.document-section p {
    color: #4b5563;
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 15px;
}

.document-section ul {
    color: #4b5563;
    line-height: 1.7;
    padding-left: 20px;
}

.document-section li {
    margin-bottom: 8px;
    position: relative;
}

/* Removed decorative clover icon from list markers */

/* Cookie Types */
.cookie-types {
    display: grid;
    grid-gap: 20px;
    gap: 20px;
    margin-top: 20px;
}

.cookie-type {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.cookie-type:hover {
    border-color: rgba(34, 197, 94, 0.3);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.1);
}

.cookie-type h4 {
    color: #22c55e;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-type h4::before {
    content: '🍪';
    font-size: 0.9rem;
}

/* About Sections */
.about-sections {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-section {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.about-section:hover {
    border-color: rgba(34, 197, 94, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.15);
}

.about-section:hover::before {
    transform: scaleX(1);
}

.about-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Removed decorative clover icon from about section headings */

.about-section p {
    color: #4b5563;
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 15px;
}

.about-section ul {
    color: #4b5563;
    line-height: 1.7;
    padding-left: 0;
    list-style: none;
}

.about-section li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

/* Removed decorative clover icon from about section list items */

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-header h1 {
        font-size: 2.5rem;
    }

    .about-header p {
        font-size: 1.1rem;
    }

    .about-container {
        flex-direction: column;
        border-radius: 16px;
    }

    .about-tabs {
        width: 100%;
        flex-direction: row;
        padding: 20px;
        gap: 10px;
        overflow-x: auto;
    }

    .tab-button {
        white-space: nowrap;
        min-width: 140px;
        justify-content: center;
        padding: 12px 16px;
        font-size: 14px;
    }

    .tab-button:hover {
        padding-left: 16px;
    }

    .about-content {
        padding: 30px 20px;
        max-height: none;
    }

    .document-header h2 {
        font-size: 2rem;
    }

    .document-meta {
        flex-direction: column;
        gap: 10px;
    }

    .document-section {
        padding: 20px;
    }

    .about-section {
        padding: 25px 20px;
    }
}

@media (max-width: 480px) {
    .about-header h1 {
        font-size: 2rem;
    }

    .about-tabs {
        padding: 15px;
        gap: 8px;
    }

    .tab-button {
        min-width: 120px;
        padding: 10px 12px;
        font-size: 13px;
    }

    .about-content {
        padding: 20px 15px;
    }

    .document-header h2 {
        font-size: 1.8rem;
    }

    .document-section {
        padding: 15px;
    }

    .about-section {
        padding: 20px 15px;
    }
}

/*
 Purpose Sections */
.purpose-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 25px;
    gap: 25px;
    margin-top: 20px;
}

.purpose-section {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.purpose-section:hover {
    border-color: rgba(34, 197, 94, 0.3);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.1);
    transform: translateY(-2px);
}

.purpose-section h4 {
    color: #22c55e;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Removed decorative clover icon from purpose section headings */

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 25px;
    gap: 25px;
    margin-top: 20px;
}

.feature-item {
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    border-color: rgba(34, 197, 94, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.15);
}

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.feature-item h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
}

.feature-item p {
    color: #6b7280;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Account Types */
.account-types {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.account-type {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #22c55e;
    transition: all 0.3s ease;
    position: relative;
}

.account-type:hover {
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.1);
    transform: translateX(4px);
}

.account-type h4 {
    color: #1f2937;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.account-type h4::before {
    content: '👤';
    font-size: 1rem;
}

.account-type:nth-child(2) h4::before {
    content: '🏢';
}

.account-type:nth-child(3) h4::before {
    content: '🏛️';
}

.account-type p {
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design for New Components */
@media (max-width: 768px) {
    .purpose-sections {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-item {
        padding: 20px;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .purpose-section {
        padding: 20px;
    }

    .account-type {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .purpose-section {
        padding: 15px;
    }

    .feature-item {
        padding: 15px;
    }

    .feature-icon {
        font-size: 2rem;
    }

    .account-type {
        padding: 15px;
    }
}
/* Clover Theme FAQ Styles */
.faq-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.faq-header h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1f2937 0%, #22c55e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-header p {
    font-size: 1.3rem;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.faq-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.stat-card {
    background: white;
    padding: 25px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 150px;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    border-color: rgba(34, 197, 94, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.15);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #22c55e;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.faq-content {
    margin-top: 40px;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 2px solid transparent;
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.faq-item:hover {
    border-color: rgba(34, 197, 94, 0.2);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.1);
}

.faq-item:hover::before {
    transform: scaleX(1);
}

.faq-item.expanded {
    border-color: rgba(34, 197, 94, 0.3);
    box-shadow: 0 12px 35px rgba(34, 197, 94, 0.15);
}

.faq-item.expanded::before {
    transform: scaleX(1);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question:hover {
    background: rgba(34, 197, 94, 0.02);
}

.question-content {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1 1;
}

.question-number {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    min-width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.question-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    line-height: 1.4;
}

.expand-icon {
    font-size: 1.5rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-item.expanded .expand-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.faq-item.expanded .faq-answer {
    max-height: 500px;
    border-top: 1px solid #f3f4f6;
}

.answer-content {
    padding: 25px 30px;
    position: relative;
}

/* Removed decorative clover icon from answer content */

.answer-content p {
    color: #374151;
    line-height: 1.7;
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    padding-left: 20px;
}

/* Loading State */
.faq-loading {
    text-align: center;
    padding: 100px 20px;
}

.loading-spinner {
    font-size: 4rem;
    animation: spin 2s linear infinite;
    margin-bottom: 20px;
}

.faq-loading p {
    font-size: 1.2rem;
    color: #6b7280;
    font-weight: 500;
}

/* Error State */
.faq-error {
    text-align: center;
    padding: 100px 20px;
}

.error-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

.faq-error h2 {
    font-size: 2rem;
    color: #ef4444;
    margin-bottom: 15px;
    font-weight: 700;
}

.faq-error p {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 30px;
}

.retry-btn {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.retry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.4);
}

/* No FAQs State */
.no-faqs {
    text-align: center;
    padding: 100px 20px;
}

.no-faqs-icon {
    font-size: 5rem;
    margin-bottom: 25px;
    animation: pulse 3s ease-in-out infinite;
}

.no-faqs h2 {
    font-size: 2.2rem;
    color: #1f2937;
    margin-bottom: 15px;
    font-weight: 700;
}

.no-faqs p {
    font-size: 1.2rem;
    color: #6b7280;
    font-weight: 500;
}

/* Animations */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(34, 197, 94, 0.5));
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 15px rgba(34, 197, 94, 0.8));
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item {
    animation: fadeIn 0.6s ease-out;
}

.faq-item:nth-child(1) {
    animation-delay: 0.1s;
}

.faq-item:nth-child(2) {
    animation-delay: 0.2s;
}

.faq-item:nth-child(3) {
    animation-delay: 0.3s;
}

.faq-item:nth-child(4) {
    animation-delay: 0.4s;
}

.faq-item:nth-child(5) {
    animation-delay: 0.5s;
}

.faq-item:nth-child(6) {
    animation-delay: 0.6s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .faq-header h1 {
        font-size: 2.5rem;
    }

    .faq-header p {
        font-size: 1.1rem;
    }

    .faq-stats {
        gap: 20px;
    }

    .stat-card {
        padding: 20px 25px;
        min-width: 120px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .faq-list {
        gap: 15px;
        margin: 0 20px;
    }

    .faq-question {
        padding: 20px 25px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .question-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .question-content h3 {
        font-size: 1.1rem;
    }

    .answer-content {
        padding: 20px 25px;
    }

    .expand-icon {
        align-self: flex-end;
        margin-top: -30px;
    }
}

@media (max-width: 480px) {
    .faq-header h1 {
        font-size: 2rem;
    }

    .faq-stats {
        flex-direction: column;
        align-items: center;
    }

    .stat-card {
        width: 100%;
        max-width: 200px;
    }

    .faq-list {
        margin: 0 15px;
    }

    .faq-question {
        padding: 15px 20px;
    }

    .question-content h3 {
        font-size: 1rem;
    }

    .answer-content {
        padding: 15px 20px;
    }
}
/* Clover Theme Contact Styles */
.contact-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.contact-header h1 {
  font-size: 3.2rem;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #1f2937 0%, #22c55e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-header p {
  font-size: 1.3rem;
  color: #6b7280;
  font-weight: 500;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.contact-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.contact-form-container {
  width: 100%;
  max-width: 700px;
  background: white;
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(34, 197, 94, 0.1);
}

.contact-form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #22c55e 0%, #16a34a 50%, #22c55e 100%);
  border-radius: 20px 20px 0 0;
}

.contact-form-container::after {
  content: '🍀';
  position: absolute;
  bottom: 30px;
  right: 30px;
  font-size: 2.5rem;
  opacity: 0.1;
  animation: pulse 3s ease-in-out infinite;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-row .form-group {
  flex: 1 1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group label {
  font-weight: 700;
  color: #374151;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Removed decorative clover icon from form labels */

.form-group input,
.form-group textarea {
  padding: 16px 20px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  background-color: #ffffff;
  color: #374151;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
  transform: translateY(-1px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

.form-group input.error,
.form-group textarea.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.form-group textarea {
  min-height: 150px;
  font-family: inherit;
  line-height: 1.6;
}

.error-message {
  color: #ef4444;
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
}

.error-message::before {
  content: '⚠️';
  font-size: 0.8rem;
}

.contact-submit {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
  border: none;
  padding: 18px 40px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
  margin-top: 10px;
}

.contact-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.contact-submit:hover:not(:disabled) {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(34, 197, 94, 0.5);
}

.contact-submit:hover:not(:disabled)::before {
  left: 100%;
}

.contact-submit:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.contact-submit:disabled::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Success State */
.contact-success {
  text-align: center;
  padding: 100px 20px;
  max-width: 600px;
  margin: 0 auto;
}

.success-icon {
  font-size: 6rem;
  margin-bottom: 30px;
  animation: bounce 2s ease-in-out infinite;
}

.contact-success h2 {
  font-size: 2.5rem;
  color: #22c55e;
  margin-bottom: 20px;
  font-weight: 800;
}

.contact-success p {
  font-size: 1.2rem;
  color: #6b7280;
  margin-bottom: 40px;
  line-height: 1.6;
  font-weight: 500;
}

.btn-primary {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(34, 197, 94, 0.5);
}

/* Animations */
@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 5px rgba(34, 197, 94, 0.5));
  }

  50% {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(34, 197, 94, 0.8));
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

@keyframes spin {
  from {
    transform: translateY(-50%) rotate(0deg);
  }

  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-form-container {
  animation: fadeIn 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-header h1 {
    font-size: 2.5rem;
  }

  .contact-header p {
    font-size: 1.1rem;
  }

  .contact-form-container {
    padding: 40px 30px;
    margin: 0 20px;
  }

  .form-row {
    flex-direction: column;
    gap: 25px;
  }

  .contact-submit {
    padding: 16px 32px;
    font-size: 1rem;
  }

  .contact-success {
    padding: 80px 20px;
  }

  .success-icon {
    font-size: 4rem;
  }

  .contact-success h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .contact-header h1 {
    font-size: 2rem;
  }

  .contact-form-container {
    padding: 30px 20px;
    margin: 0 15px;
  }

  .form-group input,
  .form-group textarea {
    padding: 14px 16px;
  }

  .contact-submit {
    padding: 14px 28px;
  }
}

/* Se
lect Dropdown Styles */
.contact-form select {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  background-color: white;
  color: #374151;
  transition: all 0.3s ease;
  -webkit-appearance: none;
          appearance: none;
  background-image: none;
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 48px;
}

.contact-form select:focus {
  outline: none;
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.contact-form select.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Submit Error Message */
.submit-error {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  text-align: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .contact-form select {
    padding: 14px 16px;
    padding-right: 44px;
    font-size: 0.95rem;
  }
}
/* Clover Theme Companies Styles */
.companies-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.companies-header h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1f2937 0%, #22c55e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.companies-header p {
    font-size: 1.3rem;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.companies-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.stat-card {
    background: white;
    padding: 25px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 150px;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    border-color: rgba(34, 197, 94, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.15);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #22c55e;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.companies-content {
    margin-top: 40px;
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    grid-gap: 30px;
    gap: 30px;
    margin-top: 30px;
}

.company-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.company-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.company-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.2);
}

.company-card:hover::before {
    transform: scaleX(1);
}

.company-card.expired {
    border-color: rgba(239, 68, 68, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, #fef2f2 100%);
}

.company-card.expired::before {
    background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
}

.company-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f3f4f6;
    position: relative;
}

.company-header::after {
    content: '🍀';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 0 10px;
    font-size: 1rem;
    color: #22c55e;
}

.company-name {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

.company-name h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    line-height: 1.3;
    flex: 1 1;
}

.company-status {
    flex-shrink: 0;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.active {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #166534;
    border: 1px solid #22c55e;
}

.status-badge.inactive {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    color: #374151;
    border: 1px solid #9ca3af;
}

.company-details {
    margin-bottom: 25px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 15px;
}

.detail-label {
    font-weight: 600;
    color: #6b7280;
    font-size: 0.9rem;
    flex-shrink: 0;
    min-width: 100px;
}

.detail-value {
    color: #374151;
    font-weight: 500;
    text-align: right;
    flex: 1 1;
    word-break: break-word;
}

.detail-value.expired-text {
    color: #ef4444;
    font-weight: 700;
}

.days-left {
    display: block;
    font-size: 0.8rem;
    color: #22c55e;
    font-weight: 600;
    margin-top: 2px;
}

.company-footer {
    padding-top: 20px;
    border-top: 2px solid #f3f4f6;
    text-align: center;
}

.subscription-status {
    font-weight: 600;
    font-size: 0.9rem;
}

.subscription-active {
    color: #22c55e;
}

.subscription-expired {
    color: #ef4444;
}

/* Loading State */
.companies-loading {
    text-align: center;
    padding: 100px 20px;
}

.loading-spinner {
    font-size: 4rem;
    animation: spin 2s linear infinite;
    margin-bottom: 20px;
}

.companies-loading p {
    font-size: 1.2rem;
    color: #6b7280;
    font-weight: 500;
}

/* Error State */
.companies-error {
    text-align: center;
    padding: 100px 20px;
}

.error-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

.companies-error h2 {
    font-size: 2rem;
    color: #ef4444;
    margin-bottom: 15px;
    font-weight: 700;
}

.companies-error p {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 30px;
}

.retry-btn {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.retry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.4);
}

/* No Companies State */
.no-companies {
    text-align: center;
    padding: 100px 20px;
}

.no-companies-icon {
    font-size: 5rem;
    margin-bottom: 25px;
    animation: pulse 3s ease-in-out infinite;
}

.no-companies h2 {
    font-size: 2.2rem;
    color: #1f2937;
    margin-bottom: 15px;
    font-weight: 700;
}

.no-companies p {
    font-size: 1.2rem;
    color: #6b7280;
    font-weight: 500;
}

/* Animations */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(34, 197, 94, 0.5));
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 15px rgba(34, 197, 94, 0.8));
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.company-card {
    animation: fadeIn 0.6s ease-out;
}

.company-card:nth-child(1) {
    animation-delay: 0.1s;
}

.company-card:nth-child(2) {
    animation-delay: 0.2s;
}

.company-card:nth-child(3) {
    animation-delay: 0.3s;
}

.company-card:nth-child(4) {
    animation-delay: 0.4s;
}

.company-card:nth-child(5) {
    animation-delay: 0.5s;
}

.company-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .companies-header h1 {
        font-size: 2.5rem;
    }

    .companies-header p {
        font-size: 1.1rem;
    }

    .companies-stats {
        gap: 20px;
    }

    .stat-card {
        padding: 20px 25px;
        min-width: 120px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .companies-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .company-card {
        padding: 25px 20px;
    }

    .company-name {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .detail-row {
        flex-direction: column;
        gap: 5px;
    }

    .detail-value {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .companies-header h1 {
        font-size: 2rem;
    }

    .companies-stats {
        flex-direction: column;
        align-items: center;
    }

    .stat-card {
        width: 100%;
        max-width: 200px;
    }

    .company-card {
        padding: 20px 15px;
    }

    .company-name h3 {
        font-size: 1.2rem;
    }
}

/* New 
Status Badge Styles */
.status-badge.new {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border: 1px solid #f59e0b;
}



/* Days Ago Styling */
.days-ago {
    display: block;
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
    margin-top: 2px;
}

/* Partnership Status */
.partnership-status {
    font-weight: 600;
    font-size: 0.9rem;
}

.partnership-new {
    color: #f59e0b;
}
/* Clover Theme Auth Styles */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.auth-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.05) 0%, rgba(21, 128, 61, 0.02) 100%);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.auth-page::after {
  content: '🍀';
  position: absolute;
  top: 15%;
  right: 15%;
  font-size: 8rem;
  opacity: 0.08;
  animation: float 8s ease-in-out infinite;
}

.auth-container {
  width: 100%;
  max-width: 450px;
  position: relative;
  z-index: 2;
}

.auth-card {
  background: white;
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(34, 197, 94, 0.1);
}

.auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #22c55e 0%, #16a34a 50%, #22c55e 100%);
  border-radius: 20px 20px 0 0;
}

.auth-card::after {
  content: '🍀';
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 2rem;
  opacity: 0.1;
  animation: pulse 3s ease-in-out infinite;
}

.auth-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.auth-header h1 {
  font-size: 2.5rem;
  color: #1f2937;
  margin-bottom: 15px;
  font-weight: 800;
  position: relative;
  display: inline-block;
}

.auth-header h1::before {
  content: '🍀';
  position: absolute;
  left: -50px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: #22c55e;
  animation: pulse 2s ease-in-out infinite;
}

.auth-header p {
  color: #6b7280;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.5;
}

.auth-form {
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  color: #374151;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-sizing: border-box;
  background-color: #ffffff;
  color: #374151;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
  transform: translateY(-1px);
}

.form-group input::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

.form-group input.error,
.form-group select.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.form-group select {
  cursor: pointer;
  -webkit-appearance: none;
          appearance: none;
  background-image: none;
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 40px;
}

.error-message {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 8px;
  display: block;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}

.error-message::before {
  content: '⚠️';
  font-size: 0.8rem;
}

.error-message.general {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  color: #dc2626;
  padding: 15px 20px;
  border-radius: 12px;
  margin-bottom: 25px;
  text-align: center;
  border: 1px solid #fecaca;
  font-weight: 600;
}

.error-message.general::before {
  content: '🚨';
  margin-right: 8px;
}

.auth-submit {
  width: 100%;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
  border: none;
  padding: 18px 20px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
}

.auth-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.auth-submit:hover:not(:disabled) {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(34, 197, 94, 0.5);
}

.auth-submit:hover:not(:disabled)::before {
  left: 100%;
}

.auth-submit:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.auth-footer {
  text-align: center;
  padding-top: 30px;
  border-top: 2px solid #f3f4f6;
  position: relative;
}

.auth-footer::before {
  content: '🍀';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 0 15px;
  font-size: 1.2rem;
  color: #22c55e;
}

.auth-footer p {
  color: #6b7280;
  margin-bottom: 15px;
  font-weight: 500;
  line-height: 1.6;
}

.auth-link {
  color: #22c55e;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  position: relative;
}

.auth-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  transition: width 0.3s ease;
}

.auth-link:hover {
  color: #16a34a;
  text-decoration: none;
}

.auth-link:hover::after {
  width: 100%;
}

.forgot-password {
  color: #6b7280;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.forgot-password::before {
  content: '🔒';
  font-size: 0.8rem;
}

.forgot-password:hover {
  color: #22c55e;
  text-decoration: none;
}

/* Loading Animation */
.auth-submit:disabled {
  position: relative;
}

.auth-submit:disabled::after {
  content: '🍀';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2rem;
  animation: spin 1s linear infinite;
}

/* Animations */
@keyframes float {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 5px rgba(34, 197, 94, 0.5));
  }

  50% {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(34, 197, 94, 0.8));
  }
}

@keyframes spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-card {
  animation: slideIn 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 480px) {
  .auth-page {
    padding: 15px;
  }

  .auth-card {
    padding: 40px 30px;
  }

  .auth-header h1 {
    font-size: 2rem;
  }

  .auth-header h1::before {
    left: -40px;
    font-size: 1.5rem;
  }

  .form-group input,
  .form-group select {
    padding: 14px 16px;
  }

  .auth-submit {
    padding: 16px 20px;
    font-size: 1rem;
  }
}

@media (max-width: 360px) {
  .auth-card {
    padding: 30px 20px;
  }

  .auth-header h1 {
    font-size: 1.8rem;
  }

  .auth-header h1::before {
    display: none;
  }
}

/* Sig
nup Buttons */
.signup-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.auth-submit.user-signup {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  border: 2px solid #22c55e;
  color: white;
}

.auth-submit.user-signup:hover {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  border-color: #16a34a;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
}

.auth-submit.corporate-signup {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  border: 2px solid #374151;
  color: white;
}

.auth-submit.corporate-signup:hover {
  background: linear-gradient(135deg, #374151 0%, #4b5563 100%);
  border-color: #4b5563;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(55, 65, 81, 0.4);
}

.auth-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Responsive */
@media (max-width: 768px) {
  .signup-buttons {
    gap: 12px;
  }

  .auth-submit {
    font-size: 14px;
    padding: 12px 20px;
  }
}

/*
 Account Type Selection Styles */
.account-type-section {
  margin-bottom: 24px;
}

.section-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.account-type-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.account-type-option {
  position: relative;
  display: block;
  cursor: pointer;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
  transition: all 0.3s ease;
  overflow: hidden;
}

.account-type-option::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.1), transparent);
  transition: left 0.5s ease;
}

.account-type-option:hover {
  border-color: #22c55e;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.15);
}

.account-type-option:hover::before {
  left: 100%;
}

.account-type-option.selected {
  border-color: #22c55e;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.2);
}

.account-type-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.option-content {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.option-icon {
  font-size: 2rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.account-type-option.selected .option-icon {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
  transform: scale(1.1);
}

.option-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1;
}

.option-title {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  transition: color 0.3s ease;
}

.account-type-option.selected .option-title {
  color: #166534;
}

.option-description {
  font-size: 14px;
  color: #6b7280;
  font-weight: 400;
  transition: color 0.3s ease;
}

.account-type-option.selected .option-description {
  color: #15803d;
}

/* Custom Radio Button Indicator */
.account-type-option::after {
  content: '';
  position: absolute;
  top: 16px;
  right: 20px;
  width: 20px;
  height: 20px;
  border: 2px solid #d1d5db;
  border-radius: 50%;
  background: white;
  transition: all 0.3s ease;
}

.account-type-option.selected::after {
  border-color: #22c55e;
  background: #22c55e;
  box-shadow: inset 0 0 0 4px white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .account-type-option {
    padding: 14px 16px;
  }

  .option-content {
    gap: 12px;
  }

  .option-icon {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .option-title {
    font-size: 15px;
  }

  .option-description {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .account-type-options {
    gap: 10px;
  }

  .account-type-option {
    padding: 12px 14px;
  }
}
/* Corporate Green Theme Profile Styles */
.profile-container {
  display: flex;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  border: 1px solid #e5e7eb;
  min-height: 600px;
}

/* Sidebar Styling */
.profile-sidebar {
  width: 280px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.profile-sidebar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(21, 128, 61, 0.05) 100%);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.profile-sidebar button {
  position: relative;
  z-index: 1;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 16px 20px;
  text-align: left;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 12px;
  border-radius: 12px;
  color: #ffffff;
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Removed decorative clover icon from sidebar buttons */

.profile-sidebar button:hover {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.5);
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.2);
}

.profile-sidebar button.active {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  border-color: #22c55e;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4);
}

/* Removed decorative clover icon filter */

/* Content Area */
.profile-content {
  flex-grow: 1;
  padding: 48px;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
}

.profile-form-container {
  max-width: 800px;
}

.profile-form-container h3 {
  margin-bottom: 32px;
  color: #1f2937;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.025em;
  position: relative;
  padding-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Removed decorative clover icon from headings */

.profile-form-container h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  border-radius: 2px;
}

/* Form Styling */
.profile-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: white;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid #e5e7eb;
  position: relative;
}

.profile-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #22c55e 0%, #16a34a 50%, #22c55e 100%);
  border-radius: 16px 16px 0 0;
}

.form-row {
  display: flex;
  gap: 20px;
  align-items: end;
}

.form-row input,
.form-row select,
.form-row .date-input-wrapper {
  flex: 1 1;
}

.form-row select {
  height: 52px;
  box-sizing: border-box;
  /* Same height as date input */
}

/* Input Styling */
.profile-form input,
.profile-form select {
  padding: 16px 20px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  background-color: #ffffff;
  color: #374151;
  box-sizing: border-box;
  min-height: 52px;
}

.profile-form input:focus,
.profile-form select:focus {
  outline: none;
  border-color: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
  transform: translateY(-1px);
}

.profile-form input::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

/* Notification Switch */
.notification-switch {
  display: flex;
  align-items: center;
  background: white;
  padding: 20px;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  margin-top: 8px;
  transition: all 0.3s ease;
}

.notification-switch:hover {
  border-color: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.05);
}

.notification-switch label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  width: 100%;
}

.notification-switch label span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.notification-switch input[type="checkbox"] {
  width: 24px;
  height: 24px;
  accent-color: #22c55e;
  cursor: pointer;
  transform: scale(1.2);
}

/* Button Styling */
.btn-primary {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.4);
}

.btn-primary:hover:not(:disabled)::before {
  left: 100%;
}

.btn-primary:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Password Section */
.password-section {
  margin-top: 32px;
  text-align: center;
  background: white;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid #e5e7eb;
  position: relative;
}

.password-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1f2937 0%, #374151 50%, #1f2937 100%);
  border-radius: 16px 16px 0 0;
}

.password-section button {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(31, 41, 55, 0.3);
  position: relative;
  overflow: hidden;
}

.password-section button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s;
}

.password-section button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(31, 41, 55, 0.4);
}

.password-section button:hover::before {
  left: 100%;
}

.password-fields {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.password-fields input {
  padding: 16px 20px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.password-fields input:focus {
  outline: none;
  border-color: #1f2937;
  box-shadow: 0 0 0 4px rgba(31, 41, 55, 0.1);
}

/* Loading Indicator */
.loading-indicator {
  font-size: 18px;
  color: #6b7280;
  text-align: center;
  padding: 48px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.loading-indicator::before {
  content: '🍀';
  font-size: 24px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Branch Management Styles */
.branch-list-section {
  margin-top: 40px;
}

.branch-list-section h4 {
  margin-bottom: 24px;
  color: #1f2937;
  font-size: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Removed decorative clover icon from branch section heading */

.branch-table {
  overflow-x: auto;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid #e5e7eb;
  position: relative;
}

.branch-table::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #22c55e 0%, #16a34a 50%, #22c55e 100%);
  border-radius: 16px 16px 0 0;
}

.branch-table table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
}

.branch-table th {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  color: #374151;
  font-weight: 600;
  padding: 20px 16px;
  text-align: left;
  border-bottom: 2px solid #e5e7eb;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.branch-table td {
  padding: 20px 16px;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
  font-size: 14px;
  font-weight: 500;
}

.branch-table tr:hover {
  background-color: rgba(34, 197, 94, 0.02);
}

.branch-table tr:last-child td {
  border-bottom: none;
}

/* Action Buttons */
.btn-small {
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  margin-right: 8px;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-small:last-child {
  margin-right: 0;
}

.btn-secondary {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
}

.btn-danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
  .profile-container {
    flex-direction: column;
    border-radius: 0;
  }

  .profile-sidebar {
    width: 100%;
    padding: 20px;
  }

  .profile-sidebar button {
    margin-bottom: 8px;
  }

  .profile-content {
    padding: 24px;
  }

  .form-row {
    flex-direction: column;
    gap: 16px;
  }

  .profile-form-container h3 {
    font-size: 24px;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.profile-form-container {
  animation: fadeIn 0.6s ease-out;
}

.password-fields {
  animation: fadeIn 0.4s ease-out;
}

.profile-sidebar button {
  animation: slideIn 0.3s ease-out;
}

.profile-sidebar button:nth-child(1) {
  animation-delay: 0.1s;
}

.profile-sidebar button:nth-child(2) {
  animation-delay: 0.2s;
}

/* Custom Clover Icon Animation */
@keyframes cloverGlow {

  0%,
  100% {
    filter: drop-shadow(0 0 5px rgba(34, 197, 94, 0.5));
  }

  50% {
    filter: drop-shadow(0 0 15px rgba(34, 197, 94, 0.8));
  }
}

.profile-sidebar button.active::before {
  animation: cloverGlow 2s ease-in-out infinite;
}

/ * Date Input Wrapper Styling */ .date-input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1;
}

.date-input-wrapper label {
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.date-input-wrapper input[type="date"] {
  padding: 16px 20px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  color: #374151;
  background: #ffffff;
  transition: all 0.3s ease;
  cursor: pointer;
  height: 52px;
  box-sizing: border-box;
}

.date-input-wrapper input[type="date"]:focus {
  outline: none;
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
  background: #f9fafb;
}

.date-input-wrapper input[type="date"]:hover {
  border-color: #22c55e;
  background: #f9fafb;
}

/* Date input calendar icon styling */
.date-input-wrapper input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(86deg) brightness(118%) contrast(119%);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.date-input-wrapper input[type="date"]::-webkit-calendar-picker-indicator:hover {
  background-color: rgba(34, 197, 94, 0.1);
}

/* 
Raffle Form Styles */
.raffle-form {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 2px solid rgba(34, 197, 94, 0.1);
}

.raffle-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1;
}

.raffle-form .form-group label {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.raffle-form input[type="date"],
.raffle-form input[type="number"] {
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  background: #ffffff;
  transition: all 0.3s ease;
}

.raffle-form input:focus {
  outline: none;
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.raffle-create-btn {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.raffle-create-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
}

.raffle-create-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Raffle Info */
.raffle-info {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  margin-top: 30px;
}

.raffle-info h4 {
  color: #1f2937;
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 700;
}

.raffle-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.raffle-info li {
  padding: 8px 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.5;
  border-bottom: 1px solid #f3f4f6;
}

.raffle-info li:last-child {
  border-bottom: none;
}

/* Responsive */
@media (max-width: 768px) {
  .raffle-form .form-row {
    flex-direction: column;
  }

  .raffle-create-btn {
    font-size: 14px;
    padding: 14px 24px;
  }
}

/ * Branch Management Styles */ .load-branches-btn {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 30px;
}

.load-branches-btn:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.branches-list {
  margin-top: 20px;
}

.branches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 20px;
  gap: 20px;
  margin-top: 20px;
}

.branch-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.branch-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.branch-card:hover {
  border-color: #3b82f6;
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.branch-card:hover::before {
  transform: scaleX(1);
}

.branch-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.branch-header h4 {
  color: #1f2937;
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  flex: 1 1;
}

.branch-date {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  color: #6b7280;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.branch-location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
}

.location-icon {
  font-size: 16px;
}

/* Loading State */
.loading-indicator {
  text-align: center;
  padding: 60px 20px;
}

.loading-spinner {
  font-size: 3rem;
  animation: spin 2s linear infinite;
  margin-bottom: 15px;
}

.loading-indicator p {
  color: #6b7280;
  font-size: 16px;
  font-weight: 500;
}

/* No Branches State */
.no-branches {
  text-align: center;
  padding: 60px 20px;
  background: #f9fafb;
  border-radius: 12px;
  border: 2px dashed #d1d5db;
}

.no-branches-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0.6;
}

.no-branches h4 {
  color: #374151;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.no-branches p {
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .branches-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .branch-card {
    padding: 15px;
  }

  .branch-header {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}

/* 
Branch Table Styles */
.branch-table table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.branch-table th {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  color: white;
  padding: 12px 15px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
}

.branch-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
  color: #374151;
}

.branch-table tr:last-child td {
  border-bottom: none;
}

.branch-table tr:hover {
  background: #f9fafb;
}

.btn-small {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  margin-right: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-small.btn-secondary {
  background: #6b7280;
  color: white;
}

.btn-small.btn-secondary:hover {
  background: #4b5563;
}

.btn-small.btn-danger {
  background: #ef4444;
  color: white;
}

.btn-small.btn-danger:hover {
  background: #dc2626;
}

.no-branches-table {
  text-align: center;
  padding: 40px 20px;
  background: #f9fafb;
  border-radius: 8px;
  border: 2px dashed #d1d5db;
}

.no-branches-table p {
  color: #6b7280;
  font-size: 14px;
  margin: 0;
}

/* Responsive Table */
@media (max-width: 768px) {
  .branch-table {
    overflow-x: auto;
  }

  .branch-table table {
    min-width: 600px;
  }

  .btn-small {
    padding: 4px 8px;
    font-size: 11px;
    margin-right: 4px;
  }
}

/* Raff
les List Styles */
.raffles-list {
  margin-top: 20px;
}

.raffles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  grid-gap: 20px;
  gap: 20px;
  margin-top: 20px;
}

.raffle-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.raffle-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.raffle-card:hover {
  border-color: #22c55e;
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.15);
}

.raffle-card:hover::before {
  transform: scaleX(1);
}

.raffle-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f3f4f6;
}

.raffle-header h4 {
  color: #1f2937;
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  flex: 1 1;
  line-height: 1.3;
}

.raffle-status {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.raffle-status.aktif,
.raffle-status.active {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  color: #166534;
  border: 1px solid #22c55e;
}

.raffle-status.pasif,
.raffle-status.inactive {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  color: #374151;
  border: 1px solid #9ca3af;
}

.raffle-details {
  margin-bottom: 20px;
}

.raffle-details .detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding: 8px 0;
}

.raffle-details .detail-label {
  font-weight: 600;
  color: #6b7280;
  font-size: 13px;
  flex-shrink: 0;
}

.raffle-details .detail-value {
  color: #374151;
  font-weight: 500;
  font-size: 13px;
  text-align: right;
  flex: 1 1;
  margin-left: 10px;
}

.raffle-actions {
  display: flex;
  gap: 10px;
  padding-top: 15px;
  border-top: 2px solid #f3f4f6;
}

.raffle-actions .btn-small {
  flex: 1 1;
  text-align: center;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
}

.btn-small.btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  border: none;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.btn-small.btn-primary:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* No Raffles State */
.no-raffles {
  text-align: center;
  padding: 60px 20px;
  background: #f9fafb;
  border-radius: 16px;
  border: 2px dashed #d1d5db;
}

.no-raffles-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0.6;
}

.no-raffles h4 {
  color: #374151;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.no-raffles p {
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .raffles-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .raffle-card {
    padding: 20px;
  }

  .raffle-header {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .raffle-actions {
    flex-direction: column;
    gap: 8px;
  }
}

/* Raffl
e Dropdown Styles */
.dropdown-wrapper {
  position: relative;
  flex: 1 1;
  z-index: 10;
  min-width: 120px;
}

.dropdown-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.raffle-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: -20px;
  background: white !important;
  border: 3px solid #22c55e;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  z-index: 1000 !important;
  overflow: hidden;
  animation: dropdownSlideIn 0.3s ease-out;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  min-width: 200px;
  width: 200px;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

@keyframes dropdownSlideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.raffle-dropdown .dropdown-item {
  width: 100%;
  padding: 14px 18px;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  white-space: nowrap;
}

.raffle-dropdown .dropdown-item:hover {
  background: #f3f4f6;
  transform: translateX(4px);
  font-weight: 600;
}

/* Özel hover efektleri */
.raffle-dropdown .dropdown-item:nth-child(1):hover {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

.raffle-dropdown .dropdown-item:nth-child(2):hover {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

.raffle-dropdown .dropdown-item:nth-child(3):hover {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
}

.raffle-dropdown .dropdown-item:not(:last-child) {
  border-bottom: 1px solid #e5e7eb;
}

/* Click outside to close dropdown */
.raffle-actions {
  position: relative;
}

/* Responsive Dropdown */
@media (max-width: 768px) {
  .raffle-dropdown {
    position: fixed;
    top: auto;
    bottom: 20px;
    left: 20px;
    right: 20px;
    border-radius: 12px;
  }

  .raffle-dropdown .dropdown-item {
    padding: 12px 20px;
    font-size: 14px;
  }
}

/*
 Alternative dropdown style - if needed */
.raffle-dropdown-large {
  position: fixed;
  background: white;
  border: 3px solid #22c55e;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  min-width: 200px;
  width: 200px;
  padding: 8px 0;
}

.raffle-dropdown-large .dropdown-item {
  width: 100%;
  padding: 16px 20px;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: #374151;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
}

.raffle-dropdown-large .dropdown-item:hover {
  background: #f3f4f6;
  transform: translateX(4px);
  font-weight: 600;
}

/* QR Man
agement Buttons Styles */
.raffle-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 15px;
  border-top: 2px solid #f3f4f6;
}

.qr-show-main {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.qr-show-main:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.qr-management-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 8px;
  gap: 8px;
  width: 100%;
}

.btn-success {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
  border: none;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(34, 197, 94, 0.3);
  text-align: center;
}

.btn-success:hover {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(34, 197, 94, 0.4);
}

.btn-danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  border: none;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
  text-align: center;
}

.btn-danger:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(239, 68, 68, 0.4);
}

.btn-info {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  color: white;
  border: none;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(6, 182, 212, 0.3);
  text-align: center;
}

.btn-info:hover {
  background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(6, 182, 212, 0.4);
}

/* Responsive design for management buttons */
@media (max-width: 768px) {
  .qr-management-buttons {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .btn-success,
  .btn-danger,
  .btn-info {
    padding: 12px 16px;
    font-size: 13px;
  }
}

/* Animation for button group */
.qr-management-buttons {
  animation: slideInUp 0.4s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/ * Corporate QR Management Styles - Override */ .raffle-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  padding: 24px !important;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
  border-radius: 12px !important;
  border: 1px solid #e2e8f0 !important;
  margin-top: 20px !important;
}

.qr-show-main {
  width: 100% !important;
  padding: 16px 24px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
  color: white !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 12px rgba(30, 41, 59, 0.2) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  position: relative !important;
  overflow: hidden !important;
}

.qr-show-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s;
}

.qr-show-main:hover {
  background: linear-gradient(135deg, #334155 0%, #475569 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(30, 41, 59, 0.3) !important;
}

.qr-show-main:hover::before {
  left: 100%;
}

.qr-management-buttons {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  grid-gap: 12px !important;
  gap: 12px !important;
  width: 100% !important;
}

.btn-success {
  background: #ffffff !important;
  color: #059669 !important;
  border: 2px solid #059669 !important;
  padding: 12px 16px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  transition: all 0.3s ease !important;
  text-align: center !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
  position: relative !important;
  overflow: hidden !important;
}

.btn-success::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #059669;
  transition: left 0.3s;
  z-index: -1;
}

.btn-success:hover {
  color: white !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3) !important;
}

.btn-success:hover::before {
  left: 0;
}

.btn-danger {
  background: #ffffff !important;
  color: #dc2626 !important;
  border: 2px solid #dc2626 !important;
  padding: 12px 16px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  transition: all 0.3s ease !important;
  text-align: center !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
  position: relative !important;
  overflow: hidden !important;
}

.btn-danger::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #dc2626;
  transition: left 0.3s;
  z-index: -1;
}

.btn-danger:hover {
  color: white !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3) !important;
}

.btn-danger:hover::before {
  left: 0;
}

.btn-info {
  background: #ffffff !important;
  color: #0369a1 !important;
  border: 2px solid #0369a1 !important;
  padding: 12px 16px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  transition: all 0.3s ease !important;
  text-align: center !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
  position: relative !important;
  overflow: hidden !important;
}

.btn-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #0369a1;
  transition: left 0.3s;
  z-index: -1;
}

.btn-info:hover {
  color: white !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(3, 105, 161, 0.3) !important;
}

.btn-info:hover::before {
  left: 0;
}

/* Cor
porate Raffle Card Redesign */
.raffle-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 28px !important;
  transition: all 0.4s ease !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
}

.raffle-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1e293b 0%, #334155 50%, #1e293b 100%) !important;
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.raffle-card:hover {
  border-color: #1e293b !important;
  transform: translateY(-6px) !important;
  box-shadow: 0 12px 32px rgba(30, 41, 59, 0.15) !important;
}

.raffle-card:hover::before {
  transform: scaleX(1);
}

.raffle-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  margin-bottom: 24px !important;
  padding-bottom: 20px !important;
  border-bottom: 2px solid #f1f5f9 !important;
}

.raffle-header h4 {
  color: #1e293b !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  margin: 0 !important;
  flex: 1 1 !important;
  line-height: 1.3 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.raffle-status {
  padding: 6px 16px !important;
  border-radius: 20px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  border: 2px solid !important;
}

.raffle-status.aktif,
.raffle-status.active {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%) !important;
  color: #065f46 !important;
  border-color: #059669 !important;
}

.raffle-status.pasif,
.raffle-status.inactive {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
  color: #475569 !important;
  border-color: #64748b !important;
}

.raffle-details {
  margin-bottom: 24px !important;
  background: #f8fafc !important;
  padding: 20px !important;
  border-radius: 12px !important;
  border: 1px solid #e2e8f0 !important;
}

.raffle-details .detail-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 12px !important;
  padding: 10px 0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.raffle-details .detail-row:last-child {
  border-bottom: none !important;
  margin-bottom: 0 !important;
}

.raffle-details .detail-label {
  font-weight: 600 !important;
  color: #475569 !important;
  font-size: 13px !important;
  flex-shrink: 0 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
}

.raffle-details .detail-value {
  color: #1e293b !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  text-align: right !important;
  flex: 1 1 !important;
  margin-left: 16px !important;
}

/* Compact Corporate Grid Layout */
.raffles-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  grid-gap: 16px !important;
  gap: 16px !important;
  margin-top: 20px !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .raffles-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .raffle-card {
    padding: 20px !important;
  }

  .qr-management-buttons {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
}

/* Co
mpact Raffle Card Override */
.raffle-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 16px !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  max-width: 320px !important;
}

.raffle-card:hover {
  border-color: #1e293b !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 16px rgba(30, 41, 59, 0.12) !important;
}

.raffle-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  margin-bottom: 12px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

.raffle-header h4 {
  color: #1e293b !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  margin: 0 !important;
  flex: 1 1 !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
}

.raffle-status {
  padding: 4px 10px !important;
  border-radius: 12px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border: 1px solid !important;
}

.raffle-details {
  margin-bottom: 16px !important;
  background: #f8fafc !important;
  padding: 12px !important;
  border-radius: 8px !important;
  border: 1px solid #e2e8f0 !important;
}

.raffle-details .detail-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 6px !important;
  padding: 4px 0 !important;
}

.raffle-details .detail-row:last-child {
  margin-bottom: 0 !important;
}

.raffle-details .detail-label {
  font-weight: 600 !important;
  color: #475569 !important;
  font-size: 11px !important;
  flex-shrink: 0 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.2px !important;
}

.raffle-details .detail-value {
  color: #1e293b !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  text-align: right !important;
  flex: 1 1 !important;
  margin-left: 8px !important;
}

/* Compact Actions */
.raffle-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  padding: 12px !important;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
  border-radius: 8px !important;
  border: 1px solid #e2e8f0 !important;
  margin-top: 12px !important;
}

.qr-show-main {
  width: 100% !important;
  padding: 10px 16px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
  color: white !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 6px rgba(30, 41, 59, 0.2) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
}

.qr-show-main:hover {
  background: linear-gradient(135deg, #334155 0%, #475569 100%) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 10px rgba(30, 41, 59, 0.3) !important;
}

.qr-management-buttons {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  grid-gap: 6px !important;
  gap: 6px !important;
  width: 100% !important;
}

.btn-success,
.btn-danger,
.btn-info {
  padding: 8px 10px !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  border-radius: 4px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.2px !important;
  transition: all 0.2s ease !important;
}

/* Ultra Compact Grid for Many Items */
@media (min-width: 1200px) {
  .raffles-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 12px !important;
  }
}

@media (min-width: 1600px) {
  .raffles-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    gap: 10px !important;
  }
}

/ * Prize Card Styles for Earnings Tab */ .prizes-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  grid-gap: 20px;
  gap: 20px;
  margin-top: 20px;
}

.prize-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.prize-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.prize-card:hover {
  border-color: #22c55e;
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.15);
}

.prize-card:hover::before {
  transform: scaleX(1);
}

.prize-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f3f4f6;
}

.prize-code {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-family: 'Courier New', monospace;
  letter-spacing: 1px;
}

.prize-status {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid;
}

.prize-status.active {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  color: #166534;
  border-color: #22c55e;
}

.prize-status.inactive {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  color: #374151;
  border-color: #9ca3af;
}

.prize-details {
  background: #f8fafc;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.prize-details .detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding: 8px 0;
}

.prize-details .detail-row:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

.prize-details .detail-label {
  font-weight: 600;
  color: #6b7280;
  font-size: 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.prize-details .detail-value {
  color: #374151;
  font-weight: 500;
  font-size: 14px;
  text-align: right;
  flex: 1 1;
  margin-left: 16px;
}

/* Error Message Styles */
.error-message {
  text-align: center;
  padding: 40px 20px;
  background: #fef2f2;
  border: 2px solid #fecaca;
  border-radius: 16px;
  margin-top: 20px;
}

.error-message p {
  color: #dc2626;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 20px;
}

.error-message .btn-secondary {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.error-message .btn-secondary:hover {
  background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* No Prizes State */
.no-prizes {
  text-align: center;
  padding: 60px 20px;
  background: #f9fafb;
  border-radius: 16px;
  border: 2px dashed #d1d5db;
  margin-top: 20px;
}

.no-prizes-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0.6;
}

.no-prizes h4 {
  color: #374151;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.no-prizes p {
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
}

/* Loading Spinner for Prizes */
.loading-indicator .loading-spinner {
  font-size: 3rem;
  animation: spin 2s linear infinite;
  margin-bottom: 15px;
}

/* Responsive Design for Prizes */
@media (max-width: 768px) {
  .prizes-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .prize-card {
    padding: 20px;
  }

  .prize-header {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .prize-code {
    font-size: 16px;
    padding: 6px 12px;
  }

  .prize-details .detail-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .prize-details .detail-value {
    text-align: left;
    margin-left: 0;
  }
}

/* Animation for Prize Cards */
.prize-card {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.prize-card:nth-child(1) {
  animation-delay: 0.1s;
}

.prize-card:nth-child(2) {
  animation-delay: 0.2s;
}

.prize-card:nth-child(3) {
  animation-delay: 0.3s;
}

.prize-card:nth-child(4) {
  animation-delay: 0.4s;
}

/ * Missing Information Style */ .missing-info {
  color: #9ca3af;
  font-style: italic;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Branch Table Improvements */
.branch-table table td .missing-info {
  background-color: #f3f4f6;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  display: inline-block;
  min-width: 80px;
  text-align: center;
}

/* Hover effect for missing info */
.branch-table table td .missing-info:hover {
  background-color: #e5e7eb;
  color: #6b7280;
}

/* 
Reset Password Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 24px 0 24px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 24px;
}

.modal-header h3 {
  margin: 0;
  color: #1f2937;
  font-size: 1.5rem;
  font-weight: 600;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #6b7280;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background-color: #f3f4f6;
  color: #374151;
}

.modal-body {
  padding: 0 24px 24px 24px;
}

.branch-info {
  background-color: #f9fafb;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #e5e7eb;
}

.branch-info p {
  margin: 8px 0;
  color: #374151;
}

.branch-info strong {
  color: #1f2937;
}

.modal-body .form-group {
  margin-bottom: 0;
}

.modal-body .form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #374151;
}

.modal-body .form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.modal-body .form-group input:focus {
  outline: none;
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 24px;
  border-top: 1px solid #e5e7eb;
  background-color: #f9fafb;
  border-radius: 0 0 16px 16px;
}

.modal-footer .btn-secondary,
.modal-footer .btn-primary {
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.modal-footer .btn-secondary {
  background-color: #f3f4f6;
  color: #374151;
}

.modal-footer .btn-secondary:hover:not(:disabled) {
  background-color: #e5e7eb;
}

.modal-footer .btn-primary {
  background-color: #22c55e;
  color: white;
}

.modal-footer .btn-primary:hover:not(:disabled) {
  background-color: #16a34a;
}

.modal-footer .btn-primary:disabled,
.modal-footer .btn-secondary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* B
ranch Action Buttons */
.branch-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-action {
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 120px;
  justify-content: center;
}

.btn-reset {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.btn-reset:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.btn-delete {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.btn-delete:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.btn-action:active {
  transform: translateY(0);
}

/* Delete Confirmation Modal */
.delete-modal .modal-header h3 {
  color: #dc2626;
}

.warning-message {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  padding: 20px;
  border-radius: 12px;
  border: 2px solid #fecaca;
  margin-bottom: 20px;
}

.warning-icon {
  font-size: 2rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

.warning-message p {
  margin: 0;
  color: #991b1b;
  font-weight: 500;
  font-size: 1.1rem;
}

.delete-modal .branch-info {
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  border: 2px solid #e5e7eb;
}

.delete-modal .branch-info p:first-child {
  color: #dc2626;
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.modal-footer .btn-danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  font-weight: 600;
}

.modal-footer .btn-danger:hover:not(:disabled) {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

/* Branch Table Improvements */
.branch-table table {
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.branch-table table th {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  color: white;
  padding: 16px 12px;
  font-weight: 600;
  text-align: left;
  border-bottom: 2px solid #4b5563;
}

.branch-table table td {
  padding: 16px 12px;
  border-bottom: 1px solid #e5e7eb;
  background: white;
  vertical-align: middle;
}

.branch-table table tr:hover td {
  background: #f9fafb;
}

.branch-table table tr:last-child td {
  border-bottom: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .branch-actions {
    flex-direction: column;
    gap: 6px;
  }

  .btn-action {
    min-width: 100px;
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  .branch-table {
    overflow-x: auto;
  }

  .branch-table table {
    min-width: 600px;
  }
}

/*
 Company QR Observation Styles */
.section-description {
  color: #6b7280;
  font-size: 16px;
  margin-bottom: 32px;
  font-weight: 500;
  line-height: 1.6;
}

.company-raffles-overview {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.company-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 20px;
  gap: 20px;
  margin-bottom: 32px;
}

.stat-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  border-color: #22c55e;
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.15);
}

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.branches-raffles-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.branch-section {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.branch-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
  border-radius: 16px 16px 0 0;
}

.branch-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f3f4f6;
}

.branch-header h4 {
  color: #1f2937;
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.branch-info {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  font-weight: 500;
}

.branch-location {
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 4px;
}

.branch-raffles-count {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
}

.no-branch-raffles {
  text-align: center;
  padding: 40px 20px;
  background: #f9fafb;
  border-radius: 12px;
  border: 2px dashed #d1d5db;
}

.no-branch-raffles p {
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}

.branch-raffles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  grid-gap: 20px;
  gap: 20px;
}

.raffle-card.company-view {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.raffle-card.company-view::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.raffle-card.company-view:hover {
  border-color: #22c55e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.12);
}

.raffle-card.company-view:hover::before {
  transform: scaleX(1);
}

.raffle-actions.company-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 16px;
  border-top: 2px solid #f3f4f6;
  background: none;
  border-radius: 0;
  border: none;
  margin-top: 16px;
}

.company-note {
  text-align: center;
  margin-top: 8px;
}

.company-note small {
  color: #6b7280;
  font-size: 12px;
  font-weight: 500;
  font-style: italic;
}

.no-branches {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  border-radius: 16px;
  border: 2px dashed #d1d5db;
}

.no-branches-icon {
  font-size: 5rem;
  margin-bottom: 24px;
  opacity: 0.6;
}

.no-branches h4 {
  color: #374151;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.no-branches p {
  color: #6b7280;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
}

/* Responsive Design for Company QR Observation */
@media (max-width: 1024px) {
  .company-stats {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
  }

  .stat-card {
    padding: 20px;
  }

  .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .branch-section {
    padding: 24px;
  }

  .branch-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .branch-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .branch-raffles-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .company-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stat-number {
    font-size: 1.8rem;
  }
}

/* Animation for company overview */
.company-raffles-overview {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.branch-section {
  animation: slideInLeft 0.5s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.stat-card {
  animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }

  70% {
    transform: scale(0.9);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Staggered animation for stat cards */
.stat-card:nth-child(1) {
  animation-delay: 0.1s;
}

.stat-card:nth-child(2) {
  animation-delay: 0.2s;
}

.stat-card:nth-child(3) {
  animation-delay: 0.3s;
}

/* Report
s Page Styles */
.reports-container {
  max-width: 1200px;
  margin: 0 auto;
}

.coming-soon-banner {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid #e5e7eb;
  border-radius: 20px;
  padding: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.coming-soon-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 25%, #06b6d4 50%, #10b981 75%, #f59e0b 100%);
  border-radius: 20px 20px 0 0;
}

.coming-soon-content {
  position: relative;
  z-index: 1;
}

.coming-soon-icon {
  font-size: 4rem;
  margin-bottom: 24px;
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

.coming-soon-banner h2 {
  color: #1f2937;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.coming-soon-banner>p {
  color: #6b7280;
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* Features Preview Grid */
.features-preview {
  margin: 48px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 24px;
  gap: 24px;
  margin-top: 32px;
}

.feature-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  padding: 32px 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  border-color: #3b82f6;
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.15);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.feature-card h4 {
  color: #1f2937;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Timeline */
.timeline-info {
  margin: 48px 0;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border-radius: 16px;
  padding: 32px;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  padding: 16px;
  background: white;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.timeline-item:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-icon {
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.timeline-content h5 {
  color: #1f2937;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 8px 0;
}

.timeline-content p {
  color: #6b7280;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

/* Notification Signup */
.notification-signup {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 2px solid #10b981;
  border-radius: 16px;
  padding: 32px;
  margin: 32px 0;
}

.notification-signup h4 {
  color: #065f46;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.notification-signup p {
  color: #047857;
  font-size: 1rem;
  margin-bottom: 20px;
}

.notification-form {
  text-align: center;
}

.notification-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: white;
  padding: 16px 24px;
  border-radius: 12px;
  border: 2px solid #10b981;
  margin-bottom: 12px;
  font-weight: 600;
  color: #065f46;
}

.status-icon {
  font-size: 1.2rem;
}

.notification-form small {
  color: #047857;
  font-size: 0.85rem;
  font-style: italic;
}

/* Contact Info */
.contact-info {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 2px solid #f59e0b;
  border-radius: 16px;
  padding: 32px;
  margin-top: 32px;
}

.contact-info h4 {
  color: #92400e;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-info p {
  color: #b45309;
  font-size: 1rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

.contact-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-contact,
.btn-feedback {
  padding: 12px 24px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-contact {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.btn-contact:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-feedback {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.btn-feedback:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .coming-soon-banner {
    padding: 32px;
  }

  .coming-soon-banner h2 {
    font-size: 2rem;
  }

  .feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .coming-soon-banner {
    padding: 24px;
  }

  .coming-soon-banner h2 {
    font-size: 1.8rem;
  }

  .coming-soon-banner>p {
    font-size: 1rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 24px 20px;
  }

  .timeline-item {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .contact-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-contact,
  .btn-feedback {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

/* Animations */
.reports-container {
  animation: fadeInUp 0.6s ease-out;
}

.feature-card {
  animation: slideInUp 0.5s ease-out;
}

.feature-card:nth-child(1) {
  animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
  animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.3s;
}

.feature-card:nth-child(4) {
  animation-delay: 0.4s;
}

.feature-card:nth-child(5) {
  animation-delay: 0.5s;
}

.feature-card:nth-child(6) {
  animation-delay: 0.6s;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.timeline-item {
  animation: slideInLeft 0.5s ease-out;
}

.timeline-item:nth-child(1) {
  animation-delay: 0.2s;
}

.timeline-item:nth-child(2) {
  animation-delay: 0.4s;
}

.timeline-item:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Gradient Text Animation */
.coming-soon-banner h2 {
  animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {

  0%,
  100% {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  50% {
    background: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
}

/* 
Prize Management Styles */
.prize-management-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Prize Statistics */
.prize-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 20px;
  gap: 20px;
  margin-bottom: 32px;
}

.stat-card.prize-stat {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card.prize-stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6b7280 0%, #9ca3af 100%);
  transition: transform 0.3s ease;
}

.stat-card.prize-stat.pending::before {
  background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
}

.stat-card.prize-stat.delivered::before {
  background: linear-gradient(90deg, #10b981 0%, #059669 100%);
}

.stat-card.prize-stat.cancelled::before {
  background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
}

.stat-card.prize-stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-card.prize-stat:hover::before {
  transform: scaleX(1);
}

/* Filter Tabs */
.prize-filter-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  background: #f1f5f9;
  padding: 8px;
  border-radius: 12px;
  overflow-x: auto;
}

.filter-tab {
  padding: 12px 20px;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  color: #64748b;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.filter-tab:hover {
  background: rgba(255, 255, 255, 0.7);
  color: #334155;
}

.filter-tab.active {
  background: white;
  color: #1e293b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Winners List */
.winners-list {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  margin-bottom: 32px;
}

.winners-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-bottom: 2px solid #e5e7eb;
}

.winners-header h4 {
  color: #1f2937;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.search-box {
  display: flex;
  gap: 8px;
  align-items: center;
}

.search-input {
  padding: 10px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  width: 250px;
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-btn {
  padding: 10px 16px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.search-btn:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  transform: translateY(-1px);
}

/* Winners Table */
.winners-table {
  overflow-x: auto;
}

.winners-table table {
  width: 100%;
  border-collapse: collapse;
}

.winners-table th {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  color: white;
  padding: 16px 12px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.winners-table td {
  padding: 20px 12px;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: top;
}

.winners-table tr:hover {
  background: rgba(59, 130, 246, 0.02);
}

.winners-table tr:last-child td {
  border-bottom: none;
}

/* Customer Info */
.customer-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.customer-name {
  font-weight: 700;
  color: #1f2937;
  font-size: 15px;
}

.customer-contact {
  color: #6b7280;
  font-size: 13px;
}

.customer-phone {
  color: #6b7280;
  font-size: 13px;
}

/* Raffle Info */
.raffle-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.raffle-name {
  font-weight: 600;
  color: #1f2937;
  font-size: 14px;
}

.raffle-code {
  color: #6b7280;
  font-size: 12px;
  font-family: monospace;
}

/* Prize Info */
.prize-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.prize-name {
  font-weight: 600;
  color: #1f2937;
  font-size: 14px;
}

.prize-code {
  color: #6b7280;
  font-size: 12px;
  font-family: monospace;
}

/* Date Info */
.date-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.win-date {
  font-weight: 600;
  color: #1f2937;
  font-size: 14px;
}

.win-time {
  color: #6b7280;
  font-size: 12px;
}

/* Status Badges */
.status-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.status-badge.pending {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  border: 1px solid #f59e0b;
}

.status-badge.delivered {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  color: #166534;
  border: 1px solid #10b981;
}

.status-badge.cancelled {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: #991b1b;
  border: 1px solid #ef4444;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 140px;
}

.btn-action {
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.btn-action.deliver {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.btn-action.deliver:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-1px);
}

.btn-action.cancel {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
}

.btn-action.cancel:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  transform: translateY(-1px);
}

.btn-action.contact {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
}

.btn-action.contact:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  transform: translateY(-1px);
}

.btn-action.delivered {
  background: #e5e7eb;
  color: #6b7280;
  cursor: not-allowed;
}

.btn-action:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
}

.page-btn {
  padding: 10px 16px;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  color: #374151;
  transition: all 0.3s ease;
}

.page-btn:hover:not(:disabled) {
  border-color: #3b82f6;
  color: #3b82f6;
}

.page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.page-numbers {
  display: flex;
  gap: 8px;
}

.page-number {
  width: 40px;
  height: 40px;
  border: 2px solid #e5e7eb;
  background: white;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  color: #374151;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-number:hover {
  border-color: #3b82f6;
  color: #3b82f6;
}

.page-number.active {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border-color: #3b82f6;
  color: white;
}

/* Quick Actions */
.quick-actions {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
}

.quick-actions h4 {
  color: #1f2937;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.quick-action-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.quick-btn {
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.quick-btn.export {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.quick-btn.export:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-2px);
}

.quick-btn.notify {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
}

.quick-btn.notify:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  transform: translateY(-2px);
}

.quick-btn.print {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
  color: white;
}

.quick-btn.print:hover {
  background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .winners-table {
    font-size: 13px;
  }

  .action-buttons {
    min-width: 120px;
  }

  .btn-action {
    font-size: 11px;
    padding: 6px 10px;
  }
}

@media (max-width: 768px) {
  .prize-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .winners-header {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }

  .search-input {
    width: 100%;
  }

  .search-box {
    flex-direction: column;
    gap: 12px;
  }

  .winners-table {
    overflow-x: scroll;
  }

  .winners-table table {
    min-width: 800px;
  }

  .prize-filter-tabs {
    flex-direction: column;
    gap: 4px;
  }

  .filter-tab {
    text-align: center;
  }

  .quick-action-buttons {
    flex-direction: column;
  }

  .quick-btn {
    justify-content: center;
  }

  .pagination {
    flex-direction: column;
    gap: 12px;
  }
}

/* Animation */
.prize-management-container {
  animation: fadeInUp 0.6s ease-out;
}

.stat-card.prize-stat {
  animation: slideInUp 0.5s ease-out;
}

.stat-card.prize-stat:nth-child(1) {
  animation-delay: 0.1s;
}

.stat-card.prize-stat:nth-child(2) {
  animation-delay: 0.2s;
}

.stat-card.prize-stat:nth-child(3) {
  animation-delay: 0.3s;
}

.stat-card.prize-stat:nth-child(4) {
  animation-delay: 0.4s;
}

.winners-list {
  animation: slideInUp 0.6s ease-out 0.3s both;
}

.quick-actions {
  animation: slideInUp 0.6s ease-out 0.5s both;
}

/* Prize Management - New Design */
.prize-management-container {
  margin-top: 20px;
}

.prizes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  grid-gap: 20px;
  gap: 20px;
  margin-top: 20px;
}

.prize-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
}

.prize-card:hover {
  border-color: #22c55e;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.1);
  transform: translateY(-2px);
}

.prize-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f3f4f6;
}

.prize-code-badge {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.prize-status-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.prize-status-badge.waiting {
  background: #fef3c7;
  color: #92400e;
}

.prize-status-badge.approved {
  background: #dcfce7;
  color: #166534;
}

.prize-status-badge.delivered {
  background: #dbeafe;
  color: #1e40af;
}

.prize-status-badge.unqualified {
  background: #fee2e2;
  color: #dc2626;
}

.prize-card-body {
  margin-bottom: 15px;
}

.prize-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 10px;
}

.prize-label {
  font-size: 0.9rem;
  color: #6b7280;
  font-weight: 500;
  flex-shrink: 0;
}

.prize-value {
  font-size: 0.95rem;
  color: #1f2937;
  font-weight: 600;
  text-align: right;
  word-break: break-word;
}

.prize-name-highlight {
  color: #22c55e;
  font-weight: 700;
}

.prize-card-footer {
  padding-top: 15px;
  border-top: 2px solid #f3f4f6;
}

.prize-customer-id {
  font-size: 0.85rem;
  color: #9ca3af;
  font-weight: 500;
  margin-bottom: 15px;
}

.prize-action-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.prize-btn {
  flex: 1 1;
  min-width: 100px;
  padding: 10px 12px;
  border: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.info-btn {
  background: #f3f4f6;
  color: #1f2937;
  border: 2px solid #e5e7eb;
}

.info-btn:hover {
  background: #e5e7eb;
  border-color: #d1d5db;
  transform: translateY(-2px);
}

.deliver-btn {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
}

.deliver-btn:hover {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.reject-btn {
  background: #fef2f2;
  color: #dc2626;
  border: 2px solid #fecaca;
}

.reject-btn:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  transform: translateY(-2px);
}

.prize-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.prize-btn:disabled:hover {
  transform: none !important;
}

.no-prizes {
  text-align: center;
  padding: 60px 20px;
  background: #f9fafb;
  border-radius: 12px;
  margin-top: 20px;
}

.no-prizes-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

.no-prizes h4 {
  font-size: 1.5rem;
  color: #1f2937;
  margin-bottom: 10px;
}

.no-prizes p {
  font-size: 1rem;
  color: #6b7280;
}

/* Responsive Design */
@media (max-width: 768px) {
  .prizes-grid {
    grid-template-columns: 1fr;
  }

  .prize-detail-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .prize-value {
    text-align: left;
    margin-top: 4px;
  }
}

/* Prize 
Management Responsive Design */
@media (max-width: 768px) {
  .prizes-grid {
    grid-template-columns: 1fr;
  }

  .prize-detail-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .prize-value {
    text-align: left;
    margin-top: 4px;
  }

  .prize-action-buttons {
    flex-direction: column;
  }

  .prize-btn {
    width: 100%;
    min-width: auto;
  }
}

/ * Customer Info Modal */ .customer-info-modal {
  max-width: 500px;
}

.customer-info-details {
  padding: 10px 0;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #f3f4f6;
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  font-size: 0.95rem;
  color: #6b7280;
  font-weight: 600;
}

.info-value {
  font-size: 1rem;
  color: #1f2937;
  font-weight: 600;
  text-align: right;
}

@media (max-width: 768px) {
  .customer-info-modal {
    max-width: 95%;
  }

  .info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .info-value {
    text-align: left;
  }
}

/* Confirmation Modal */
.confirmation-modal {
  max-width: 450px;
}

.confirmation-content {
  text-align: center;
  padding: 20px 0;
}

.confirmation-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

.confirmation-icon.success {
  animation: scaleIn 0.3s ease-out;
}

.confirmation-icon.danger {
  animation: shake 0.5s ease-out;
}

@keyframes scaleIn {
  0% {
    transform: scale(0);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-10px);
  }

  20%,
  40%,
  60%,
  80% {
    transform: translateX(10px);
  }
}

.confirmation-content h4 {
  font-size: 1.5rem;
  color: #1f2937;
  margin: 0 0 15px 0;
}

.confirmation-content p {
  font-size: 1rem;
  color: #6b7280;
  margin: 0 0 20px 0;
  line-height: 1.6;
}

.confirmation-details {
  background: #f9fafb;
  border-radius: 12px;
  padding: 15px;
  margin: 20px 0;
  text-align: left;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-label {
  font-size: 0.9rem;
  color: #6b7280;
  font-weight: 600;
}

.detail-value {
  font-size: 0.95rem;
  color: #1f2937;
  font-weight: 700;
}

.warning-note {
  background: #fef3c7;
  color: #92400e;
  padding: 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 15px;
}

.btn-danger {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-danger:hover {
  background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.btn-danger:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 768px) {
  .confirmation-modal {
    max-width: 95%;
  }

  .confirmation-icon {
    font-size: 3rem;
  }

  .confirmation-content h4 {
    font-size: 1.3rem;
  }
}

/* 
My Prizes (Customer) - New Design */
.my-prizes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  grid-gap: 20px;
  gap: 20px;
  margin-top: 20px;
}

.my-prize-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.my-prize-card:hover {
  border-color: #22c55e;
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.15);
  transform: translateY(-4px);
}

.my-prize-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f3f4f6;
}

.prize-code-badge-large {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 3px;
  font-family: 'Courier New', monospace;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.my-prize-status-badge {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.my-prize-status-badge.waiting {
  background: #fef3c7;
  color: #92400e;
}

.my-prize-status-badge.approved {
  background: #dcfce7;
  color: #166534;
}

.my-prize-status-badge.delivered {
  background: #dbeafe;
  color: #1e40af;
}

.my-prize-status-badge.unqualified {
  background: #fee2e2;
  color: #dc2626;
}

.my-prize-body {
  margin-bottom: 15px;
}

.my-prize-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
}

.my-prize-detail-row:last-child {
  border-bottom: none;
}

.my-prize-label {
  font-size: 0.95rem;
  color: #6b7280;
  font-weight: 600;
}

.my-prize-value {
  font-size: 1rem;
  color: #1f2937;
  font-weight: 700;
  text-align: right;
}

.my-prize-pending-info {
  text-align: center;
  padding: 20px;
  background: #f9fafb;
  border-radius: 12px;
}

.pending-text {
  font-size: 1rem;
  color: #6b7280;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.pending-subtext {
  font-size: 0.85rem;
  color: #9ca3af;
  margin: 0;
}

.my-prize-footer {
  padding-top: 15px;
  border-top: 2px solid #f3f4f6;
}

.info-note {
  background: #f0fdf4;
  color: #166534;
  padding: 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.my-prize-footer.delivered .success-note {
  background: #dbeafe;
  color: #1e40af;
  padding: 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

/* Responsive Design for My Prizes */
@media (max-width: 768px) {
  .my-prizes-grid {
    grid-template-columns: 1fr;
  }

  .prize-code-badge-large {
    font-size: 1.3rem;
    padding: 10px 20px;
  }

  .my-prize-detail-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .my-prize-value {
    text-align: left;
  }
}
/* QR Modal Styles */
.qr-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.qr-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 550px;
    width: 95%;
    max-height: 95vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.qr-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px 16px;
    border-bottom: 2px solid #f3f4f6;
    position: relative;
}

.qr-modal-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 32px;
    right: 32px;
    height: 3px;
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
    border-radius: 2px;
}

.qr-modal-header h3 {
    margin: 0;
    color: #1f2937;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.qr-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.qr-modal-close:hover {
    background: #f3f4f6;
    color: #374151;
    transform: scale(1.1);
}

.qr-modal-body {
    padding: 24px 32px;
}

.raffle-info {
    text-align: center;
    margin-bottom: 24px;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    border: 2px solid #e5e7eb;
}

.raffle-info h4 {
    margin: 0 0 12px 0;
    color: #1f2937;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.prize-info {
    margin: 8px 0 16px 0;
    color: #6b7280;
    font-size: 16px;
    font-weight: 500;
}

.status-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.active {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #166534;
    border: 2px solid #22c55e;
}

.status-badge.inactive {
    background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
    color: #991b1b;
    border: 2px solid #ef4444;
}

.qr-code-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 24px 0;
    padding: 24px;
    background: white;
    border: 3px solid #e5e7eb;
    border-radius: 16px;
    min-height: 200px;
}

.qr-code-image {
    max-width: 200px;
    max-height: 200px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.qr-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 280px;
    aspect-ratio: 1 / 1;
    background: #f9fafb;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
}

.qr-loading {
    text-align: center;
}

.loading-spinner {
    font-size: 2rem;
    animation: spin 2s linear infinite;
    margin-bottom: 12px;
}

.qr-loading p {
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}

.qr-instructions {
    text-align: center;
    margin-top: 20px;
}

.qr-instructions p {
    margin: 8px 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}

.warning-text {
    color: #dc2626 !important;
    font-weight: 600 !important;
}

.qr-modal-footer {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding: 16px 32px 32px;
    border-top: 2px solid #f3f4f6;
}

.qr-modal-footer .btn-secondary {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.qr-modal-footer .btn-secondary:hover {
    background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

.qr-modal-footer .btn-primary {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.qr-modal-footer .btn-primary:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .qr-modal-content {
        width: 95%;
        margin: 20px;
        border-radius: 16px;
    }

    .qr-modal-header,
    .qr-modal-body,
    .qr-modal-footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .qr-modal-header h3 {
        font-size: 20px;
    }

    .qr-code-container {
        padding: 16px;
        min-height: 160px;
    }

    .qr-code-image {
        max-width: 220px;
    }

    .qr-placeholder {
        max-width: 220px;
    }

    .qr-modal-footer {
        flex-direction: column;
    }

    .qr-modal-footer .btn-secondary,
    .qr-modal-footer .btn-primary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .qr-modal-content {
        width: 100%;
        height: 100%;
        border-radius: 0;
        max-height: 100vh;
    }

    .qr-modal-overlay {
        padding: 0;
    }

    .qr-code-image {
        max-width: 180px;
    }

    .qr-placeholder {
        max-width: 180px;
    }

    .qr-code-container {
        padding: 16px;
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    .qr-code-image {
        max-width: 150px;
    }

    .qr-placeholder {
        max-width: 150px;
    }

    .qr-code-container {
        padding: 12px;
    }
}

/* 
Updated QR Modal Styles */
.raffle-header-info {
    padding: 24px 24px 0 24px;
}

.raffle-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.raffle-title h4 {
    margin: 0;
    color: #1f2937;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Detail Cards Grid */
.raffle-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 16px;
    gap: 16px;
    padding: 0 24px 24px 24px;
}

.detail-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #22c55e;
}

.detail-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.detail-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1 1;
}

.detail-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.detail-value {
    font-size: 1rem;
    color: #1f2937;
    font-weight: 600;
}

.remaining-prizes {
    color: #22c55e;
    font-size: 1.1rem;
}

/* QR Code Section */
.qr-code-section {
    padding: 0 24px 24px 24px;
}

.qr-code-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 3px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-code-image {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    background: white;
    padding: 8px;
}

/* Instructions */
.qr-instructions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.instruction-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #0c4a6e;
}

.instruction-item.warning {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-color: #fecaca;
    color: #991b1b;
}

.instruction-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Status Badge Updates */
.status-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.status-badge.active {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #166534;
    border: 2px solid #86efac;
}

.status-badge.inactive {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: #991b1b;
    border: 2px solid #fca5a5;
}

/* Modal Footer Updates */
.qr-modal-footer {
    padding: 20px 24px;
    border-top: 2px solid #f1f5f9;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 0 0 20px 20px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.qr-modal-footer .btn-secondary,
.qr-modal-footer .btn-primary {
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.qr-modal-footer .btn-secondary {
    background: #f3f4f6;
    color: #374151;
}

.qr-modal-footer .btn-secondary:hover {
    background: #e5e7eb;
    transform: translateY(-1px);
}

.qr-modal-footer .btn-primary {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
}

.qr-modal-footer .btn-primary:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .qr-modal-content {
        max-width: 95%;
        margin: 20px;
    }

    .raffle-details-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .raffle-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .qr-modal-footer {
        flex-direction: column;
    }

    .detail-card {
        padding: 12px;
    }

    .qr-code-container {
        padding: 16px;
    }
}

/* Ra
ffly Branding */
.raffly-branding {
    text-align: center;
    margin-bottom: 16px;
}

.raffly-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #22c55e;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    padding: 8px 20px;
    border-radius: 20px;
    border: 2px solid #bbf7d0;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.2);
}
/* Update Raffle Modal Styles */
.update-raffle-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
    animation: modalFadeIn 0.3s ease-out;
}

.update-raffle-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

.update-raffle-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px 16px;
    border-bottom: 2px solid #f3f4f6;
    position: relative;
}

.update-raffle-modal-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 32px;
    right: 32px;
    height: 3px;
    background: linear-gradient(90deg, #1e293b 0%, #334155 100%);
    border-radius: 2px;
}

.update-raffle-modal-header h3 {
    margin: 0;
    color: #1f2937;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.update-raffle-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.update-raffle-modal-close:hover {
    background: #f3f4f6;
    color: #374151;
    transform: scale(1.1);
}

.update-raffle-modal-body {
    padding: 24px 32px;
}

.update-raffle-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 16px;
}

.form-row .form-group {
    flex: 1 1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    background: #ffffff;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #1e293b;
    box-shadow: 0 0 0 3px rgba(30, 41, 59, 0.1);
}

.form-group input:disabled {
    background: #f9fafb;
    color: #6b7280;
    cursor: not-allowed;
}

.update-raffle-modal-footer {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding: 16px 32px 32px;
    border-top: 2px solid #f3f4f6;
}

.update-raffle-modal-footer .btn-secondary {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.update-raffle-modal-footer .btn-secondary:hover:not(:disabled) {
    background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

.update-raffle-modal-footer .btn-primary {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.update-raffle-modal-footer .btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #334155 0%, #475569 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 41, 59, 0.3);
}

.update-raffle-modal-footer .btn-primary:disabled,
.update-raffle-modal-footer .btn-secondary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Warning Section */
.update-warning {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 2px solid #fecaca;
    border-radius: 16px;
    margin-bottom: 20px;
}

.warning-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.update-warning h4 {
    color: #991b1b;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.update-warning p {
    color: #7f1d1d;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .update-raffle-modal-content {
        width: 95%;
        margin: 20px;
        border-radius: 16px;
    }

    .update-raffle-modal-header,
    .update-raffle-modal-body,
    .update-raffle-modal-footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .update-raffle-modal-header h3 {
        font-size: 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 12px;
    }

    .update-raffle-modal-footer {
        flex-direction: column;
    }

    .update-raffle-modal-footer .btn-secondary,
    .update-raffle-modal-footer .btn-primary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .update-raffle-modal-content {
        width: 100%;
        height: 100%;
        border-radius: 0;
        max-height: 100vh;
    }

    .update-raffle-modal-overlay {
        padding: 0;
    }
}
/* City District Selector Styles */
.city-district-selector {
    width: 100%;
}

.city-district-selector .form-row {
    display: flex;
    gap: 20px;
    align-items: end;
}

.city-district-selector .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1 1;
}

.city-district-selector .form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
}

.city-select,
.district-select {
    padding: 16px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    background-color: #ffffff;
    color: #374151;
    box-sizing: border-box;
    min-height: 52px;
    cursor: pointer;
}

.city-select:focus,
.district-select:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
    transform: translateY(-1px);
}

.city-select:disabled,
.district-select:disabled {
    background-color: #f9fafb;
    color: #9ca3af;
    cursor: not-allowed;
    border-color: #e5e7eb;
}

.city-select option,
.district-select option {
    padding: 8px;
    font-size: 15px;
}

/* Hover effects */
.city-select:hover:not(:disabled),
.district-select:hover:not(:disabled) {
    border-color: #22c55e;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .city-district-selector .form-row {
        flex-direction: column;
        gap: 16px;
    }

    .city-select,
    .district-select {
        padding: 14px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {

    .city-select,
    .district-select {
        padding: 12px 14px;
        font-size: 14px;
    }
}
/* Winning Modal Styles */
.winning-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
    animation: modalFadeIn 0.4s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.winning-modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    position: relative;
    animation: modalSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.winning-modal-content:has(.winning-celebration) {
    border: 3px solid #22c55e;
}

.winning-modal-content:has(.participation-success:not(.winning-celebration)) {
    border: 3px solid #e5e7eb;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.8);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Winning Celebration */
.winning-celebration {
    padding: 40px 30px;
    text-align: center;
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border-radius: 24px;
}

.winning-content {
    position: relative;
}

.winning-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.winning-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 10px 0;
}

.winning-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    color: #4b5563;
    margin: 0 0 25px 0;
}

.winning-celebration .prize-info {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin: 25px 0;
    border: 3px solid #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.prize-icon {
    font-size: 2rem;
}

.prize-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

/* Winning CTA Section */
.winning-celebration .cta-section {
    background: white;
    border-radius: 16px;
    padding: 25px 20px;
    margin-top: 25px;
    border: 2px solid #e5e7eb;
}

.winning-celebration .cta-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px 0;
}

.winning-celebration .cta-description {
    font-size: 1rem;
    color: #6b7280;
    margin: 5px 0;
}

/* Prize Code Box */
.prize-code-box {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin: 25px 0;
    border: 3px dashed #22c55e;
    text-align: center;
}

.code-label {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 600;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.code-display {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    font-size: 2rem;
    font-weight: 800;
    padding: 15px 25px;
    border-radius: 12px;
    letter-spacing: 4px;
    margin: 10px 0;
    font-family: 'Courier New', monospace;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.code-note {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 10px 0 0 0;
    line-height: 1.5;
}

/* Participation Success - No Win */
.participation-success {
    padding: 40px 30px;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 24px 24px 0 0;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.no-win-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 15px 0;
}

.no-win-message {
    font-size: 1.1rem;
    color: #6b7280;
    margin: 0 0 30px 0;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: white;
    border-radius: 16px;
    padding: 25px 20px;
    margin-top: 20px;
    border: 2px solid #e5e7eb;
}

.cta-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 10px 0;
}

.cta-description {
    font-size: 1rem;
    color: #6b7280;
    margin: 0 0 20px 0;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.primary-cta {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.primary-cta:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.4);
}

.secondary-cta {
    background: white;
    color: #1f2937;
    border: 2px solid #e5e7eb;
}

.secondary-cta:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    transform: translateY(-2px);
}

/* Modal - Kapatma için overlay'e tıklama yeterli */
.winning-celebration,
.participation-success {
    border-radius: 24px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .winning-modal-content {
        max-width: 95%;
        margin: 20px;
    }

    .winning-celebration,
    .participation-success {
        padding: 30px 20px;
    }

    .winning-title {
        font-size: 2rem;
    }

    .winning-subtitle {
        font-size: 1.5rem;
    }

    .success-title {
        font-size: 1.8rem;
    }

    .prize-info {
        flex-direction: column;
        gap: 8px;
    }

    .modal-actions {
        padding: 20px;
    }
}
/* QR Page Styles - Based on Homepage */
.qr-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    position: relative;
    overflow: hidden;
}

.qr-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(21, 128, 61, 0.05) 100%);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
}

.qr-page::after {
    content: '🍀';
    position: absolute;
    top: 10%;
    right: 10%;
    font-size: 6rem;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.qr-container {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.qr-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 50%, #22c55e 100%);
}

/* Header Section */
.qr-header {
    text-align: center;
    padding: 40px 24px 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 2px solid #e2e8f0;
    position: relative;
}

.qr-logo {
    font-size: 4rem;
    margin-bottom: 16px;
    animation: pulse 3s ease-in-out infinite;
    color: #22c55e;
    filter: drop-shadow(0 0 10px rgba(34, 197, 94, 0.5));
}

.qr-header h1 {
    margin: 0;
    color: #1f2937;
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #1f2937 0%, #22c55e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Content Section */
.qr-content {
    padding: 32px 24px;
}

/* Info Section */
.info-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    border: 2px solid #e2e8f0;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.info-value {
    font-weight: 700;
    color: #1f2937;
    font-size: 14px;
    text-align: right;
    flex: 1 1;
    margin-left: 16px;
}

/* Participation Section */
.participation-section {
    margin-bottom: 32px;
}

.participation-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.form-row .privacy-note {
    width: 100%;
    font-size: 12px;
    color: #6b7280;
    text-align: center;
    margin-top: 4px;
    font-style: italic;
}

.form-input {
    flex: 1 1;
    min-width: 200px;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    background: #ffffff;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.form-input:disabled {
    background: #f9fafb;
    color: #6b7280;
    cursor: not-allowed;
}

.form-input[type="date"] {
    color: #374151;
}

.form-input option {
    color: #374151;
}

.participate-btn {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
    position: relative;
    overflow: hidden;
}

.participate-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.participate-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(34, 197, 94, 0.6);
}

.participate-btn:hover:not(:disabled)::before {
    left: 100%;
}

.participate-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.7;
}

/* Inactive Section */
.inactive-section {
    text-align: center;
    padding: 32px 24px;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-radius: 16px;
    border: 2px solid #ef4444;
    margin-bottom: 32px;
}

.inactive-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.inactive-section h3 {
    margin: 0 0 12px 0;
    color: #991b1b;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.inactive-section p {
    margin: 0;
    color: #dc2626;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Loading Section */
.loading-section {
    text-align: center;
    padding: 80px 24px;
}

.loading-spinner {
    font-size: 4rem;
    animation: pulse 2s ease-in-out infinite;
    margin-bottom: 24px;
    color: #22c55e;
    filter: drop-shadow(0 0 10px rgba(34, 197, 94, 0.5));
}

.loading-section h2 {
    color: #1f2937;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

/* Error Section */
.error-section {
    text-align: center;
    padding: 80px 24px;
}

.error-icon {
    font-size: 4rem;
    margin-bottom: 24px;
}

.error-section h2 {
    color: #991b1b;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 16px 0;
}

.error-section p {
    color: #dc2626;
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
}

/* Footer */
.qr-footer {
    text-align: center;
    padding: 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-top: 2px solid #e2e8f0;
}

.powered-by {
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
}

.powered-by strong {
    color: #1f2937;
    font-weight: 700;
    margin-left: 4px;
}

/* Animations from Homepage */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(34, 197, 94, 0.5));
    }

    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 20px rgba(34, 197, 94, 0.8));
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .qr-page {
        padding: 10px;
    }

    .qr-container {
        border-radius: 16px;
        max-width: 100%;
    }

    .qr-header {
        padding: 32px 20px 20px;
    }

    .qr-header h1 {
        font-size: 2rem;
    }

    .qr-content {
        padding: 32px 20px;
    }

    .raffle-title {
        font-size: 1.5rem;
    }

    .prize-name {
        font-size: 1.3rem;
    }

    .email-input {
        padding: 16px 20px;
        font-size: 16px;
        /* Prevent zoom on iOS */
    }

    .participate-btn {
        padding: 16px 32px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .qr-header h1 {
        font-size: 1.8rem;
    }

    .raffle-title {
        font-size: 1.3rem;
    }

    .prize-section {
        padding: 20px 16px;
    }

    .qr-content {
        padding: 24px 16px;
    }
}

/ * Privacy Info Section */ .privacy-info {
    background: linear-gradient(135deg, #fef7f0 0%, #fed7aa 100%);
    border: 2px solid #f59e0b;
    border-radius: 12px;
    padding: 20px;
    margin-top: 24px;
    text-align: left;
}

.privacy-info h4 {
    color: #92400e;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.privacy-info p {
    color: #78350f;
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 12px 0;
    font-weight: 500;
}

.privacy-info p:last-child {
    margin-bottom: 0;
}

/* Responsive Form */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }

    .form-input {
        min-width: 0;
        min-width: initial;
        width: 100%;
    }

    .qr-content {
        padding: 24px 16px;
    }

    .info-section {
        padding: 20px 16px;
    }

    .privacy-info {
        padding: 16px;
    }

    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .info-value {
        text-align: left;
        margin-left: 0;
    }
}

/*
 Email Check Section */
.email-check-section {
    margin-bottom: 24px;
}

.check-btn {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 140px;
}

.check-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #334155 0%, #475569 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 41, 59, 0.3);
}

.check-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    opacity: 0.7;
}

/* User Messages */
.user-message {
    margin-top: 16px;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.success-message {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #166534;
    border: 2px solid #22c55e;
}

.info-message {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #1e40af;
    border: 2px solid #3b82f6;
}

/* Form Row with Button */
.form-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.form-row .form-input {
    flex: 1 1;
    min-width: 200px;
}

.form-row .check-btn {
    flex-shrink: 0;
}

/* Responsive Updates */
@media (max-width: 768px) {
    .form-row .check-btn {
        width: 100%;
        min-width: 0;
        min-width: initial;
    }

    .form-row {
        flex-direction: column;
    }

    .form-row .form-input {
        min-width: 0;
        min-width: initial;
        width: 100%;
    }
}

/* QR
Page specific CityDistrictSelector styles */
.qr-container .city-district-selector {
    margin: 0;
}

.qr-container .city-district-selector .form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 0;
}

.qr-container .city-district-selector .form-group {
    flex: 1 1;
    margin-bottom: 0;
}

.qr-container .city-district-selector .form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
    display: block;
}

.qr-container .city-select,
.qr-container .district-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    background: white;
    color: #374151;
    transition: all 0.3s ease;
    box-sizing: border-box;
    min-height: 48px;
}

.qr-container .city-select:focus,
.qr-container .district-select:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.qr-container .city-select:disabled,
.qr-container .district-select:disabled {
    background-color: #f9fafb;
    color: #9ca3af;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Mobile responsive for QRPage CityDistrictSelector */
@media (max-width: 768px) {
    .qr-container .city-district-selector .form-row {
        flex-direction: column;
        gap: 12px;
    }
}
/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  color: #333;
}

.App {
  min-height: 100vh;
}

/* Global button styles */
button {
  font-family: inherit;
}

/* Global link styles */
a {
  text-decoration: none;
  color: inherit;
}

/* Global input styles */
input, textarea {
  font-family: inherit;
}

/* Utility classes */
.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

/* Loading spinner */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

