.home-container {
  min-height: 100vh;
  padding: 0;
  background: transparent;
}

.home-header {
  background: rgba(26, 26, 35, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(139, 92, 246, 0.2);
  padding: 15px 30px;
  border-radius: 0;
  margin-bottom: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  max-height: 120px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(139, 92, 246, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.home-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #8b5cf6, #3b82f6, #ec4899, #8b5cf6, transparent);
  background-size: 200% 100%;
  animation: shimmer 3s ease infinite;
}

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


.header-logo-title {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1;
  grid-column: 1;
  justify-self: start;
}

.header-logo {
  height: 90px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.6));
  transition: all 0.3s ease;
  animation: logo-glow 2s ease-in-out infinite alternate;
}

@keyframes logo-glow {
  0% {
    filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.6));
  }
  100% {
    filter: drop-shadow(0 0 25px rgba(139, 92, 246, 0.9));
  }
}


.home-header h1 {
  background: linear-gradient(135deg, #a78bfa 0%, #60a5fa 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  position: relative;
  z-index: 1;
  grid-column: 2;
}

.token-price-display {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
}

.token-price-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.6));
}

.token-price-label {
  color: #a78bfa;
  font-size: 0.95rem;
  font-weight: 600;
}

.token-price-value {
  color: #4ade80;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  text-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
}

.language-selector {
  position: relative;
}

.language-select {
  background: rgba(30, 30, 40, 0.8);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 8px;
  padding: 8px 32px 8px 12px;
  color: #e5e7eb;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a78bfa' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.language-select:focus {
  outline: none;
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.language-select option {
  background: rgba(26, 26, 35, 0.95);
  color: #e5e7eb;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 20px;
  grid-column: 3;
  justify-self: end;
  position: relative;
  z-index: 1;
}

.user-info span {
  color: #d1d5db;
  font-weight: 500;
}

.tokens {
  background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  color: white;
  padding: 8px 18px;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}


.tokens::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: token-shimmer 3s infinite;
}

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

.token-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
  animation: token-pulse 2s ease-in-out infinite;
}

@keyframes token-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.9;
  }
}

.token-text {
  position: relative;
  z-index: 1;
}

.admin-link {
  color: #a78bfa;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  position: relative;
}

.admin-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #8b5cf6, #3b82f6);
  transition: width 0.3s;
}

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

.logout-btn {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}


.home-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 100%;
  margin: 0;
  min-height: calc(100vh - 100px);
}

.orders-column,
.form-column {
  background: rgba(26, 26, 35, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(139, 92, 246, 0.2);
  padding: 30px;
  border-radius: 0;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(139, 92, 246, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: calc(100vh - 100px);
  min-height: calc(100vh - 100px);
  max-height: calc(100vh - 100px);
}

.orders-column {
  border-right: 1px solid rgba(139, 92, 246, 0.2);
}

.form-column {
  border-left: 1px solid rgba(139, 92, 246, 0.2);
}

.orders-column h2,
.form-column h2 {
  background: linear-gradient(135deg, #a78bfa 0%, #60a5fa 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 auto 25px auto;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-align: center;
  padding-bottom: 18px;
  border-bottom: 2px solid rgba(139, 92, 246, 0.3);
  position: relative;
  width: 100%;
  text-shadow: 0 0 30px rgba(167, 139, 250, 0.3);
}

.orders-column h2::after,
.form-column h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #8b5cf6, transparent);
  border-radius: 2px;
}

/* Orders Search */
.orders-search-container {
  margin-bottom: 20px;
  flex-shrink: 0;
}

.orders-search {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(30, 30, 40, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.orders-search:focus-within {
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.search-icon {
  position: absolute;
  left: 14px;
  color: #a78bfa;
  pointer-events: none;
  z-index: 1;
}

.orders-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 12px 14px 12px 42px;
  color: #e5e7eb;
  font-size: 0.9rem;
  font-weight: 500;
  width: 100%;
}

.orders-search-input::placeholder {
  color: #6b7280;
  font-weight: 400;
}

.search-clear-btn {
  background: transparent;
  border: none;
  padding: 8px;
  margin-right: 8px;
  cursor: pointer;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.search-clear-btn:hover {
  background: rgba(139, 92, 246, 0.1);
  color: #a78bfa;
}

.order-section h2 {
  background: linear-gradient(135deg, #a78bfa 0%, #60a5fa 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 auto 25px auto;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-align: center;
  padding-bottom: 18px;
  border-bottom: 2px solid rgba(139, 92, 246, 0.3);
  position: relative;
  width: 100%;
  text-shadow: 0 0 30px rgba(167, 139, 250, 0.3);
}

.order-section h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #8b5cf6, transparent);
  border-radius: 2px;
}

.login-prompt,
.no-orders {
  text-align: center;
  color: #9ca3af;
  padding: 60px 20px;
  font-size: 1.1rem;
  line-height: 1.6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
  padding-right: 10px;
  padding-bottom: 10px;
}

/* Scrollbar styling for orders list */
.orders-list::-webkit-scrollbar {
  width: 6px;
}

.orders-list::-webkit-scrollbar-track {
  background: rgba(30, 30, 40, 0.5);
  border-radius: 3px;
}

.orders-list::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.5);
  border-radius: 3px;
}

.orders-list::-webkit-scrollbar-thumb:hover {
  background: rgba(139, 92, 246, 0.7);
}

.order-card {
  background: rgba(30, 30, 40, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 12px;
  padding: 14px 16px;
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  flex-shrink: 0;
  min-width: 0;
  width: 100%;
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}

.order-id {
  font-weight: 700;
  color: #e5e7eb;
  font-size: 0.95rem;
  letter-spacing: -0.2px;
}

.order-status {
  padding: 5px 12px;
  border-radius: 16px;
  color: white;
  font-weight: 600;
  font-size: 0.75rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}

.order-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  margin-bottom: 0;
  align-items: start;
  min-width: 0;
  width: 100%;
}

.order-details-left,
.order-details-right {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.order-details strong {
  color: #a78bfa;
  font-weight: 600;
  font-size: 0.8rem;
  display: block;
}

.order-details span {
  color: #d1d5db;
  font-size: 0.85rem;
  word-break: break-word;
}

.delivery-time-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid rgba(139, 92, 246, 0.15);
  gap: 12px;
}

.delivery-time {
  color: #60a5fa;
  font-weight: 600;
  font-size: 0.8rem;
  margin: 0;
  flex: 1;
}

.download-btn-inline {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border: none;
  padding: 6px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.8rem;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
  white-space: nowrap;
}

.download-btn-inline:active {
  transform: scale(0.98);
}

.download-pending {
  color: #9ca3af;
  font-size: 0.7rem;
  font-weight: 500;
  font-style: italic;
  white-space: nowrap;
}

.download-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  width: 100%;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}


.login-section,
.order-section,
.auth-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow-y: auto;
}

/* Auth Tabs */
.auth-tabs {
  display: flex;
  gap: 0;
  margin: 0 0 25px 0;
  border-bottom: 2px solid rgba(139, 92, 246, 0.2);
  padding-bottom: 0;
}

.auth-tabs button {
  padding: 14px 28px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: #9ca3af;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1rem;
  margin-bottom: -2px;
  position: relative;
}

.auth-tabs button.active {
  color: #a78bfa;
  border-bottom-color: #8b5cf6;
}

.auth-form {
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Disabled Order Section */
.order-section-disabled {
  margin-top: 25px;
  padding-top: 25px;
  border-top: 2px solid rgba(139, 92, 246, 0.2);
  opacity: 0.65;
}

.order-section-disabled h3 {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 50%, #6b7280 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin: 0 auto 20px auto;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.4px;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(107, 114, 128, 0.2);
  position: relative;
  width: 100%;
}

.disabled-note {
  color: #6b7280;
  font-size: 0.85rem;
  margin-bottom: 20px;
  font-style: italic;
  text-align: center;
}

.order-section-disabled .form-group input {
  background: rgba(20, 20, 30, 0.4);
  border-color: rgba(139, 92, 246, 0.1);
  color: #6b7280;
  cursor: not-allowed;
}

.order-section-disabled .form-group input::placeholder {
  color: #4b5563;
}

.order-section-disabled .submit-btn {
  background: #374151;
  cursor: not-allowed;
  opacity: 0.5;
}

.form-group {
  margin-bottom: 20px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #e5e7eb;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(30, 30, 40, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 10px;
  font-size: 1rem;
  color: #e5e7eb;
  transition: all 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: #8b5cf6;
  background: rgba(35, 35, 45, 0.8);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-group input::placeholder {
  color: #6b7280;
}

/* IMEI Input Group with Luhn Digit */
.imei-input-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.imei-input-group input {
  flex: 1;
}

.luhn-digit {
  width: 50px;
  height: 50px;
  background: rgba(78, 205, 196, 0.1);
  border: 1px solid #4ecdc4;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  color: #4ecdc4;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(78, 205, 196, 0.2);
}

.luhn-digit:not(.disabled) {
  animation: luhnPulse 2s ease infinite;
}

@keyframes luhnPulse {
  0%, 100% {
    box-shadow: 0 2px 8px rgba(78, 205, 196, 0.2);
  }
  50% {
    box-shadow: 0 2px 12px rgba(78, 205, 196, 0.4);
  }
}

.luhn-digit.disabled {
  opacity: 0.4;
  background: rgba(107, 114, 128, 0.1);
  border-color: rgba(107, 114, 128, 0.3);
  color: #6b7280;
}

.luhn-hint {
  display: block;
  color: #94a3b8;
  font-size: 0.8rem;
  margin-top: 6px;
  font-style: italic;
}

.submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  color: white;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
  position: relative;
  overflow: hidden;
}



.submit-btn:disabled {
  background: #374151;
  cursor: not-allowed;
  box-shadow: none;
  opacity: 0.6;
}

/* Reader Download Section */
.reader-download-section {
  margin-top: 24px;
  padding: 20px;
  background: rgba(30, 30, 40, 0.5);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.reader-download-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #8b5cf6, transparent);
}

.reader-download-title {
  text-align: center;
  margin: 0 0 18px 0;
  background: linear-gradient(135deg, #00A4EF 0%, #0078D4 50%, #00A4EF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  text-shadow: 0 0 20px rgba(0, 164, 239, 0.3);
}

.reader-download-content {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
}

.windows-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 8px;
  flex-shrink: 0;
}

.windows-logo svg {
  filter: drop-shadow(0 0 8px rgba(0, 164, 239, 0.4));
}

.reader-download-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  background: linear-gradient(135deg, #00A4EF 0%, #0078D4 100%);
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 164, 239, 0.3);
  position: relative;
  overflow: hidden;
}

.reader-download-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;
}

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

.reader-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 164, 239, 0.4);
  background: linear-gradient(135deg, #0099E6 0%, #0070CC 100%);
}

.reader-download-btn:active {
  transform: translateY(0);
}

/* Confirmation Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background: rgba(26, 26, 35, 0.95);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 16px;
  width: 90%;
  max-width: 480px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(139, 92, 246, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  animation: slideUp 0.3s ease;
  position: relative;
}

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

.modal-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #8b5cf6, #3b82f6, #ec4899, #8b5cf6);
  background-size: 200% 100%;
  animation: shimmer 3s ease infinite;
}

.modal-header {
  padding: 24px 24px 16px 24px;
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.modal-header h3 {
  background: linear-gradient(135deg, #a78bfa 0%, #60a5fa 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin: 0;
  letter-spacing: -0.3px;
}

.modal-body {
  padding: 24px;
  text-align: center;
}

.warning-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

.warning-icon svg {
  filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.5));
}

.modal-warning-text {
  color: #fcd34d;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 16px 0;
  line-height: 1.6;
}

.modal-warning-text strong {
  color: #fbbf24;
  font-size: 1.2rem;
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.modal-info-text {
  color: #9ca3af;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  padding: 16px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.modal-footer {
  padding: 20px 24px 24px 24px;
  display: flex;
  gap: 12px;
  border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.modal-btn-cancel,
.modal-btn-confirm {
  flex: 1;
  padding: 14px 24px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.modal-btn-cancel {
  background: rgba(55, 65, 81, 0.8);
  color: #d1d5db;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.modal-btn-cancel:hover {
  background: rgba(55, 65, 81, 1);
  color: #e5e7eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.modal-btn-confirm {
  background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.modal-btn-confirm::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;
}

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

.modal-btn-confirm:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
  background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
}

.modal-btn-confirm:active,
.modal-btn-cancel:active,
.modal-btn-continue:active {
  transform: translateY(0);
}

.modal-btn-continue {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.modal-btn-continue::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;
}

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

.modal-btn-continue:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
  background: linear-gradient(135deg, #e8910c 0%, #c06a05 100%);
}

.duplicate-fields-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 16px 0;
}

.duplicate-field-badge {
  padding: 8px 16px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 20px;
  color: #fbbf24;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

.error-message {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 18px;
  font-weight: 500;
}

.success-message {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 18px;
  font-weight: 500;
}

.warning-message {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fcd34d;
  padding: 12px 16px;
  border-radius: 10px;
  margin-top: 15px;
  font-weight: 500;
}

.register-link {
  text-align: center;
  margin-top: 25px;
}

.register-link a {
  color: #a78bfa;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  position: relative;
}

.register-link a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #8b5cf6, #3b82f6);
  transition: width 0.3s;
}

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

@media (max-width: 968px) {
  .home-content {
    grid-template-columns: 1fr;
  }

  .home-header {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .header-logo-title {
    flex-direction: column;
    gap: 15px;
  }

  .header-logo {
    height: 75px;
  }

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

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

/* ========================================
   SUPPORT BUTTON & MODAL
   ======================================== */

/* Modal Base Styles (if not already defined) */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: rgba(26, 26, 35, 0.95);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  max-width: 500px;
  width: 90%;
  animation: modalSlideIn 0.3s ease;
}

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

.modal-header {
  padding: 20px 25px;
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.modal-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 2rem;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: rgba(139, 92, 246, 0.2);
  color: #fff;
}

/* Support Button */
.support-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(168, 85, 247, 0.2));
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 12px;
  color: #a78bfa;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.support-btn:hover {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(168, 85, 247, 0.3));
  border-color: rgba(139, 92, 246, 0.6);
  color: #c4b5fd;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.support-btn svg {
  color: #a78bfa;
}

/* Header Actions Layout - side by side */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
}

/* Support Modal */
.support-modal {
  max-width: 550px;
  width: 90%;
  border: 2px solid rgba(139, 92, 246, 0.3);
}

.support-modal-body {
  padding: 30px;
}

.support-info {
  text-align: center;
  margin-bottom: 30px;
}

.support-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #a78bfa;
  margin: 0 0 10px 0;
}

.support-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.5;
}

/* Contact Items */
.support-contacts {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.support-contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: rgba(26, 26, 35, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.support-contact-item:hover {
  background: rgba(26, 26, 35, 0.8);
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateX(5px);
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(168, 85, 247, 0.2));
  border-radius: 12px;
  color: #a78bfa;
  flex-shrink: 0;
}

.contact-details {
  flex: 1;
}

.contact-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 4px;
}

.contact-value {
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
}

/* Social Buttons */
.support-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.support-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 20px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.support-social-btn span {
  font-size: 1rem;
}

.support-social-btn.telegram {
  background: linear-gradient(135deg, #0088cc, #0077b5);
  color: #fff;
  border: 1px solid rgba(0, 136, 204, 0.3);
}

.support-social-btn.telegram:hover {
  background: linear-gradient(135deg, #0099dd, #0088cc);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 136, 204, 0.4);
}

.support-social-btn.whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.support-social-btn.whatsapp:hover {
  background: linear-gradient(135deg, #2EE66F, #25D366);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .header-actions {
    flex-direction: column;
    gap: 15px;
  }

  .support-btn {
    width: 100%;
    justify-content: center;
  }

  .support-buttons {
    grid-template-columns: 1fr;
  }

  .support-modal {
    max-width: 95%;
  }

  .support-modal-body {
    padding: 20px;
  }

  .support-title {
    font-size: 1.3rem;
  }
}
