/* Guest Mode Styles - Monster Hunter Wilds Theme */

/* ============================================
   Guest Notice Banner
   ============================================ */
.guest-notice {
  background: linear-gradient(135deg, var(--mhw-brown) 0%, var(--mhw-brown-dark) 100%);
  color: white;
  padding: 1.5rem 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--mhw-brown-light);
  animation: slideDown 0.4s ease-out;
}

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

.guest-notice__icon {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1rem;
  animation: bounce 1s ease-in-out;
}

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

.guest-notice__content {
  text-align: center;
}

.guest-notice__title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.guest-notice__text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.guest-notice__features {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.guest-notice__features h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.guest-notice__features ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.guest-notice__features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.5;
}

.guest-notice__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4ade80;
  font-weight: bold;
  font-size: 1.2rem;
}

/* ============================================
   Large Notice (for upload page)
   ============================================ */
.guest-notice--large {
  padding: 3rem;
  max-width: 700px;
  margin: 2rem auto;
}

.guest-notice--large .guest-notice__icon {
  font-size: 4rem;
}

.guest-notice--large .guest-notice__title {
  font-size: 2.2rem;
}

/* ============================================
   Centered Notice (for account page)
   ============================================ */
.guest-notice--centered {
  max-width: 600px;
  margin: 4rem auto;
  padding: 2.5rem;
}

/* ============================================
   Inline Notice (for main page - compact)
   ============================================ */
.guest-notice--inline {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  text-align: left;
  background: linear-gradient(135deg, var(--mhw-brown) 0%, var(--mhw-brown-dark) 100%);
  border-radius: 8px;
  border: 1px solid var(--mhw-brown-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.guest-notice--inline .guest-notice__icon {
  font-size: 1.5rem;
  margin-bottom: 0;
  margin-right: 0.875rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.guest-notice--inline .guest-notice__content {
  text-align: left;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.guest-notice--inline .guest-notice__text {
  margin-bottom: 0;
  margin-right: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.guest-notice--inline .btn-login {
  align-self: flex-start;
  margin: 0;
  padding: 0.5rem 1rem;
  white-space: nowrap;
  font-size: 1rem;
}

/* ============================================
   Login Button in Table Actions
   ============================================ */
.action-btn--login {
  background: linear-gradient(135deg, var(--mhw-orange) 0%, var(--mhw-orange-dark) 100%);
  color: var(--mhw-text);
  border: 2px solid var(--mhw-gold);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  box-shadow: 0 4px 12px rgba(212, 105, 42, 0.4);
}

.action-btn--login:hover {
  background: linear-gradient(135deg, var(--mhw-orange-dark) 0%, var(--mhw-orange) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212, 105, 42, 0.6);
}


/* ============================================
   Login Button (in guest notices)
   ============================================ */
.guest-notice .btn-login {
  background: linear-gradient(135deg, var(--mhw-orange) 0%, var(--mhw-orange-dark) 100%);
  color: var(--mhw-text);
  border: 2px solid var(--mhw-gold);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  white-space: nowrap;
  margin-top: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  box-shadow: 0 4px 12px rgba(212, 105, 42, 0.4);
  transition: all 0.3s ease;
}

.guest-notice .btn-login:hover {
  background: linear-gradient(135deg, var(--mhw-orange-dark) 0%, var(--mhw-orange) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212, 105, 42, 0.6);
}

/* Large button variant */
.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.15rem;
}

/* ============================================
   Disabled Button Styles
   ============================================ */
button:disabled,
button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  filter: grayscale(50%);
}

button:disabled:hover,
button[disabled]:hover {
  transform: none;
  box-shadow: none;
}

/* Disabled state for table buttons */
#refreshBtn:disabled,
#downloadBtn:disabled,
#copyBtn:disabled,
#quickDownloadSelectedBtn:disabled,
#quickCopySelectedBtn:disabled {
  background: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
  .guest-notice {
    padding: 1rem 1.5rem;
  }

  .guest-notice--large {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }

  .guest-notice--centered {
    margin: 2rem 1rem;
    padding: 2rem 1.5rem;
  }

  .guest-notice__title {
    font-size: 1.5rem;
  }

  .guest-notice--large .guest-notice__title {
    font-size: 1.8rem;
  }

  .guest-notice__text {
    font-size: 1rem;
  }

  .guest-notice--inline {
    flex-direction: row;
    padding: 0.875rem 1rem;
  }

  .guest-notice--inline .guest-notice__icon {
    font-size: 1.5rem;
    margin-right: 0.75rem;
  }

  .guest-notice--inline .guest-notice__content {
    flex-direction: column;
    gap: 0.75rem;
  }

  .guest-notice--inline .guest-notice__text {
    font-size: 0.9rem;
    margin-bottom: 0;
  }

  .guest-notice--inline .btn-login {
    align-self: stretch;
    text-align: center;
  }

  .btn-large {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .guest-notice__icon {
    font-size: 2.5rem;
  }

  .guest-notice--large .guest-notice__icon {
    font-size: 3rem;
  }

  .guest-notice__features {
    padding: 1rem;
  }

  .action-btn--login {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }
}

/* ============================================
   Sample Data Badge (for main page)
   ============================================ */
.sample-data-badge {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: 0.5rem;
  vertical-align: middle;
  box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

/* ============================================
   Tooltip for disabled buttons
   ============================================ */
[data-guest-disabled] {
  position: relative;
}

[data-guest-disabled]:hover::after {
  content: attr(data-guest-disabled);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  white-space: nowrap;
  margin-bottom: 0.5rem;
  z-index: 1000;
  pointer-events: none;
}
