* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  color: #f0f0f0;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Animated Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at top, rgba(147, 112, 219, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at bottom, rgba(65, 105, 225, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at center, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  animation: backgroundPulse 8s ease-in-out infinite;
}

@keyframes backgroundPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

/* Floating Particles */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(147, 112, 219, 0.6);
  border-radius: 50%;
  animation: float linear infinite;
  box-shadow: 0 0 10px rgba(147, 112, 219, 0.8);
}

@keyframes float {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) scale(1);
    opacity: 0;
  }
}

.container {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  animation: fadeIn 1s ease-out;
}

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

/* Login Container */
.login-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
}

.login-form {
  background: rgba(15, 15, 30, 0.95);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(147, 112, 219, 0.4);
  border-radius: 25px;
  padding: 4rem 3rem;
  max-width: 550px;
  width: 100%;
  text-align: center;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(147, 112, 219, 0.2);
  position: relative;
  overflow: hidden;
}

.login-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(147, 112, 219, 0.1), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.login-form h1 {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #9370db 0%, #6a5acd 30%, #4169e1 60%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 30px rgba(147, 112, 219, 0.5);
  letter-spacing: 2px;
  position: relative;
  z-index: 2;
}

.login-form p {
  color: #b8b8d0;
  margin-bottom: 2.5rem;
  font-size: 1.2rem;
  font-weight: 300;
  position: relative;
  z-index: 2;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 2;
}

.input-group input {
  padding: 1.2rem 1.5rem;
  border: 2px solid rgba(147, 112, 219, 0.4);
  border-radius: 15px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 1.1rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.input-group input:focus {
  outline: none;
  border-color: #9370db;
  box-shadow: 
    0 0 20px rgba(147, 112, 219, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: scale(1.02);
}

.input-group button {
  padding: 1.2rem 2.5rem;
  background: linear-gradient(135deg, #9370db, #6a5acd);
  color: #fff;
  border: none;
  border-radius: 15px;
  font-weight: 600;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(147, 112, 219, 0.4);
  position: relative;
  overflow: hidden;
}

.input-group button::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 ease;
}

.input-group button:hover::before {
  left: 100%;
}

.input-group button:hover {
  background: linear-gradient(135deg, #6a5acd, #4169e1);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(147, 112, 219, 0.6);
}

.error-message {
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.9), rgba(220, 53, 69, 0.7));
  color: #fff;
  padding: 1.2rem;
  border-radius: 15px;
  margin-bottom: 1.5rem;
  border: 1px solid #dc3545;
  font-weight: 500;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
}

.info-box {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(147, 112, 219, 0.4);
  border-radius: 15px;
  padding: 2rem;
  text-align: left;
  backdrop-filter: blur(10px);
}

.info-box p {
  color: #9370db;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.info-box ul {
  color: #b8b8d0;
  padding-left: 1.5rem;
}

.info-box li {
  margin-bottom: 0.8rem;
  position: relative;
}

.info-box li::before {
  content: ' ';
  position: absolute;
  left: -1.5rem;
  color: #ffd700;
}

/* Vote Hub */
.vote-hub {
  padding: 2rem;
  max-width: 1600px;
  margin: 0 auto;
  min-height: 100vh;
}

/* Hub Layout */
.hub-layout {
  display: flex;
  gap: 0;
  min-height: calc(100vh - 4rem);
  position: relative;
}

/* User Sidebar */
.user-sidebar {
  width: 320px;
  flex-shrink: 0;
  position: fixed;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
}

.user-info-card {
  background: rgba(15, 15, 30, 0.98);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(147, 112, 219, 0.4);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 
    0 25px 80px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.user-info-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 30px 100px rgba(147, 112, 219, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.user-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(147, 112, 219, 0.1), transparent);
  transition: left 0.6s ease;
}

.user-info-card:hover::before {
  left: 100%;
}

.logo-container {
  text-align: center;
  margin-bottom: 2rem;
}

.logo-container .logo {
  width: 120px;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(147, 112, 219, 0.5));
}

.user-details h1 {
  font-size: 1.4rem;
  color: #ffd700;
  margin-bottom: 0.5rem;
  text-align: center;
  font-weight: 600;
}

.account-id {
  font-size: 0.9rem;
  color: #b8b8d0;
  text-align: center;
  margin-bottom: 1.5rem;
  font-family: 'Courier New', monospace;
}

.user-stats {
  margin-bottom: 2rem;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(147, 112, 219, 0.2);
}

.stat-item:last-child {
  border-bottom: none;
}

.stat-label {
  font-size: 0.9rem;
  color: #b8b8d0;
  font-weight: 500;
}

.stat-value {
  font-size: 1rem;
  color: #ffd700;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1.5rem;
  background: rgba(108, 117, 125, 0.1);
  color: #6c757d;
  text-decoration: none;
  border: 1px solid rgba(108, 117, 125, 0.3);
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.logout-btn:hover {
  background: rgba(108, 117, 125, 0.2);
  border-color: rgba(108, 117, 125, 0.5);
  transform: translateY(-1px);
  color: #6c757d;
  text-decoration: none;
}

/* Main Content */
.main-content {
  flex: 1;
  min-width: 0;
  margin-left: 360px;
  padding: 2rem;
  padding-top: 4rem;
  width: calc(100% - 360px);
}

.main-content h2 {
  background: linear-gradient(135deg, #9370db, #ffd700, #28a745);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: left;
  font-weight: 700;
  animation: gradientShift 3s ease-in-out infinite;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Sites Grid Horizontal */
.sites-grid-horizontal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  height: fit-content;
  max-width: 1400px;
  align-items: start;
}

/* Old stats cards removed - now using sidebar layout */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4rem;
  padding: 3rem;
  background: rgba(15, 15, 30, 0.9);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(147, 112, 219, 0.4);
  border-radius: 25px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(147, 112, 219, 0.1), transparent);
  animation: shimmer 4s ease-in-out infinite;
}

.logo-container {
  position: relative;
  z-index: 2;
}

.logo {
  width: 200px;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(147, 112, 219, 0.6));
  transition: all 0.3s ease;
  animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.logo:hover {
  filter: drop-shadow(0 0 40px rgba(147, 112, 219, 0.9));
  transform: scale(1.05);
}

.user-info {
  text-align: right;
  position: relative;
  z-index: 2;
}

.user-info h1 {
  color: #9370db;
  margin-bottom: 0.5rem;
  font-size: 2.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  font-weight: 700;
}

.user-info p {
  color: #b8b8d0;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.logout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(147, 112, 219, 0.2);
  color: #9370db;
  padding: 0.8rem 1.2rem;
  text-decoration: none;
  border-radius: 12px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  font-weight: 500;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(147, 112, 219, 0.3);
  width: 100%;
  margin-top: 1rem;
}

.logout-btn:hover {
  background: rgba(147, 112, 219, 0.3);
  color: #b19cd9;
  transform: translateY(-1px);
  border-color: rgba(147, 112, 219, 0.5);
}

.logout-btn svg {
  width: 16px;
  height: 16px;
}

.vote-sites h2 {
  color: #9370db;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  text-align: center;
  font-weight: 700;
  position: relative;
}

.vote-sites h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #9370db, transparent);
  border-radius: 2px;
}

.sites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.vote-site-card {
  background: rgba(15, 15, 30, 0.95);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(147, 112, 219, 0.2);
  border-radius: 24px;
  padding: 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 25px 80px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 480px;
  width: 100%;
}

.vote-site-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(147, 112, 219, 0.1), transparent);
  transition: left 0.6s ease;
}

.vote-site-card:hover::before {
  left: 100%;
}

.vote-site-card.available {
  border-color: rgba(40, 167, 69, 0.4);
  box-shadow: 
    0 25px 80px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(40, 167, 69, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.vote-site-card.cooldown {
  opacity: 0.7;
  border-color: rgba(220, 53, 69, 0.4);
  box-shadow: 
    0 25px 80px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(220, 53, 69, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.vote-site-card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 
    0 35px 100px rgba(147, 112, 219, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.vote-site-card.available:hover {
  box-shadow: 
    0 35px 100px rgba(40, 167, 69, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.vote-site-card.cooldown:hover {
  box-shadow: 
    0 35px 100px rgba(220, 53, 69, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.site-banner {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 16px;
  padding: 1rem;
}

.site-image {
  max-width: 100%;
  height: auto;
  max-height: 100px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  filter: brightness(0.95) contrast(1.1);
}

.vote-site-card:hover .site-image {
  transform: scale(1.05);
  filter: brightness(1) contrast(1.2);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.site-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.site-info h3 {
  color: #9370db;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  font-weight: 600;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  background: rgba(147, 112, 219, 0.1);
  padding: 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(147, 112, 219, 0.2);
}

.site-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1rem;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  border: 1px solid rgba(147, 112, 219, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.stat-item:hover {
  background: rgba(0, 0, 0, 0.7);
  border-color: rgba(147, 112, 219, 0.4);
  transform: translateY(-2px);
}

.stat-label {
  color: #b8b8d0;
  font-size: 0.85rem;
  font-weight: 500;
}

.stat-value {
  color: #ffd700;
  font-size: 1rem;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.site-status {
  margin-top: auto;
  flex-shrink: 0;
  min-height: 80px;
  display: flex;
  align-items: center;
}

.vote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  background: linear-gradient(135deg, #28a745, #20c997);
  color: #fff;
  padding: 1.2rem 2rem;
  text-decoration: none;
  border-radius: 16px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.4s ease;
  width: 100%;
  text-align: center;
  box-shadow: 0 12px 35px rgba(40, 167, 69, 0.5);
  position: relative;
  overflow: hidden;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-height: 60px;
}

.vote-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 ease;
}

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

.vote-btn:hover {
  background: linear-gradient(135deg, #20c997, #28a745);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 50px rgba(40, 167, 69, 0.7);
}

.cooldown-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: center;
  padding: 1.2rem 1.5rem;
  background: rgba(220, 53, 69, 0.15);
  border-radius: 16px;
  border: 1px solid rgba(220, 53, 69, 0.3);
  backdrop-filter: blur(15px);
  width: 100%;
  transition: all 0.3s ease;
  min-height: 60px;
  position: relative;
}

.cooldown-info:hover {
  background: rgba(220, 53, 69, 0.2);
  border-color: rgba(220, 53, 69, 0.5);
  transform: translateY(-2px);
}

.cooldown-info::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  height: 20px;
  background: transparent;
}

.cooldown-icon {
  color: #dc3545;
  flex-shrink: 0;
}

.cooldown-text {
  flex: 1;
}

.cooldown-label {
  display: block;
  color: #dc3545;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.cooldown-time {
  display: block;
  color: #ffd700;
  font-size: 1.2rem;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .sites-grid-horizontal {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .vote-site-card {
    min-height: 350px;
  }
}

@media (max-width: 1400px) {
  .sites-grid-horizontal {
    max-width: 1200px;
    gap: 1.5rem;
  }
  
  .vote-site-card {
    min-height: 450px;
  }
}

@media (max-width: 1200px) {
  .user-sidebar {
    position: static;
    transform: none;
    width: 100%;
    margin-bottom: 2rem;
  }
  
  .main-content {
    margin-left: 0;
    padding: 1rem;
  }
  
  .sites-grid-horizontal {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 100%;
  }
  
  .vote-site-card {
    min-height: 420px;
  }
}

@media (max-width: 768px) {
  .login-form {
    padding: 3rem 2rem;
    max-width: 90vw;
  }

  .login-form h1 {
    font-size: 2.2rem;
  }

  .hub-layout {
    flex-direction: column;
    gap: 1.5rem;
  }

  .user-sidebar {
    width: 100%;
    position: static;
    transform: none;
  }

  .user-info-card {
    position: static;
  }

  .main-content {
    margin-left: 0;
    padding: 1rem;
    padding-top: 2rem;
  }

  .sites-grid-horizontal {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .vote-site-card {
    padding: 1.5rem;
    min-height: 320px;
  }

  .site-stats {
    grid-template-columns: 1fr;
  }

  .site-info h3 {
    font-size: 1.4rem;
  }

  .logo {
    width: 160px;
  }
  
  .vote-btn {
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .main-content h2 {
    font-size: 2rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .login-form {
    padding: 2rem 1.5rem;
  }

  .login-form h1 {
    font-size: 1.8rem;
  }

  .vote-sites h2 {
    font-size: 2rem;
  }

  .logo {
    width: 140px;
  }

  .vote-site-card {
    padding: 1.5rem;
  }
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: rgba(15, 15, 30, 0.95);
  border: 2px solid rgba(220, 53, 69, 0.3);
  border-radius: 20px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(220, 53, 69, 0.3);
}

.modal-header svg {
  color: #dc3545;
  flex-shrink: 0;
}

.modal-header h3 {
  color: #dc3545;
  font-size: 1.5rem;
  margin: 0;
}

.modal-body {
  margin-bottom: 2rem;
}

.modal-body p {
  color: #b8b8d0;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.modal-body p:last-child {
  margin-bottom: 0;
  color: #ffd700;
  font-weight: 500;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, #9370db, #6a5acd);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(147, 112, 219, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(147, 112, 219, 0.4);
}

.ip-details {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(147, 112, 219, 0.2);
  border-radius: 10px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.ip-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ip-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: rgba(147, 112, 219, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(147, 112, 219, 0.1);
}

.ip-label {
  color: #b8b8d0;
  font-weight: 500;
  font-size: 0.9rem;
}

.ip-value {
  font-family: 'Courier New', monospace;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.9rem;
}

.ip-value.current {
  background: rgba(220, 53, 69, 0.2);
  color: #ff6b6b;
  border: 1px solid rgba(220, 53, 69, 0.3);
}

.ip-value.registered {
  background: rgba(40, 167, 69, 0.2);
  color: #28a745;
  border: 1px solid rgba(40, 167, 69, 0.3);
}

.ip-value.validation.enabled {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
  border: 1px solid rgba(255, 193, 7, 0.3);
}

.ip-value.validation.disabled {
  background: rgba(108, 117, 125, 0.2);
  color: #6c757d;
  border: 1px solid rgba(108, 117, 125, 0.3);
}

.solution-text {
  color: #ffd700;
  font-weight: 500;
  text-align: center;
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(255, 215, 0, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.ip-info-section {
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  border: 1px solid rgba(147, 112, 219, 0.2);
}

.ip-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.ip-status-label {
  color: #b8b8d0;
  font-weight: 500;
  font-size: 0.9rem;
}

.ip-status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.ip-status-badge.valid {
  background: rgba(40, 167, 69, 0.2);
  color: #28a745;
  border: 1px solid rgba(40, 167, 69, 0.3);
}

.ip-status-badge.invalid {
  background: rgba(220, 53, 69, 0.2);
  color: #ff6b6b;
  border: 1px solid rgba(220, 53, 69, 0.3);
}

.ip-details-mini {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ip-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem;
  background: rgba(147, 112, 219, 0.05);
  border-radius: 6px;
  border: 1px solid rgba(147, 112, 219, 0.1);
}

.ip-detail-label {
  color: #b8b8d0;
  font-size: 0.8rem;
  font-weight: 500;
}

.ip-detail-value {
  font-family: 'Courier New', monospace;
  color: #f0f0f0;
  font-size: 0.8rem;
  font-weight: 600;
}