@import url("./rooms-responsive.css");

/* ================================================= */
/* ROOMS RESPONSIVE DESIGN SYSTEM */
/* ================================================= */
@import url('./rooms-responsive.css');

/* ================================================= */
/* RESERVATIONS RESPONSIVE DESIGN SYSTEM */
/* ================================================= */
@import url('./reservations-responsive.css');

/* ================================================= */
/* MODERN LOGIN PAGE STYLES */
/* ================================================= */

/* Login Page Background */
.login-background {
  background: #fefefe;
  background-attachment: fixed;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.login-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.02) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(16, 185, 129, 0.02) 0%, transparent 50%);
  animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
  0%, 100% { transform: translateX(0) translateY(0); }
  25% { transform: translateX(-10px) translateY(-10px); }
  50% { transform: translateX(10px) translateY(10px); }
  75% { transform: translateX(-5px) translateY(5px); }
}

/* Top Header */
.login-header-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 1rem 2rem;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 32px;
  height: 32px;
  color: #2563eb;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border-radius: 8px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 20px;
  height: 20px;
  color: white;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  font-family: 'Inter', sans-serif;
}

.logo-text span {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Login Container */
.login-container {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 2rem 2rem;
}

/* Modern Solid Card */
.login-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 3rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 
    0 10px 25px rgba(0, 0, 0, 0.08),
    0 20px 48px rgba(0, 0, 0, 0.06),
    0 1px 4px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  animation: cardSlideIn 0.8s ease-out;
}

.login-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563eb 0%, #10b981 50%, #f59e0b 100%);
}

@keyframes cardSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Login Header */
.login-header {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 2;
}

.login-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
  animation: titleFadeIn 1s ease-out 0.2s both;
}

.login-subtitle {
  font-size: 1rem;
  color: #64748b;
  font-weight: 400;
  animation: titleFadeIn 1s ease-out 0.4s both;
}

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

/* Form Styles */
.login-form {
  position: relative;
  z-index: 2;
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-group:last-of-type {
  margin-bottom: 2rem;
}

/* Input Container */
.input-container {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  z-index: 1;
  transition: color 0.3s ease;
  width: 20px;
  height: 20px;
}

.form-input {
  width: 100%;
  padding: 1rem 1rem 1rem 3.5rem;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  color: #1e293b;
  font-size: 1rem;
  font-weight: 400;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.form-input::placeholder {
  color: #94a3b8;
}

.form-input:focus {
  outline: none;
  background: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  transform: translateY(-2px);
}

.form-input:focus + .input-icon {
  color: #2563eb;
}

/* Login Button */
.login-button {
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border: none;
  border-radius: 12px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
  font-family: 'Inter', sans-serif;
}

.login-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;
}

.login-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
}

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

.login-button:active {
  transform: translateY(0);
}

.login-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.login-button-icon {
  width: 20px;
  height: 20px;
}

/* Alert Styles */
.alert {
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid;
  animation: alertSlideIn 0.5s ease-out;
}

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

.alert-success {
  background: #ecfdf5;
  color: #065f46;
  border-color: #10b981;
}

.alert-error {
  background: #fef2f2;
  color: #991b1b;
  border-color: #ef4444;
}

/* Footer Link */
.login-footer {
  text-align: center;
  margin-top: 2rem;
  position: relative;
  z-index: 2;
}

.login-footer p {
  color: #64748b;
  font-size: 0.875rem;
  margin: 0;
}

.login-footer a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.login-footer a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* Loading Animation */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Enhanced Focus States */
.input-container.focused .input-icon {
  color: #2563eb;
  transform: translateY(-50%) scale(1.1);
}

.form-input.has-value {
  background: #ffffff;
  border-color: #cbd5e1;
}

/* Responsive Design */
@media (max-width: 640px) {
  .login-header-top {
    padding: 0.75rem 1rem;
  }
  
  .logo-text {
    font-size: 1.125rem;
  }
  
  .login-container {
    padding: 5rem 1rem 1rem 1rem;
  }
  
  .login-card {
    padding: 2rem 1.5rem;
    margin: 1rem;
    border-radius: 16px;
  }
  
  .login-title {
    font-size: 1.75rem;
  }
  
  .form-input {
    padding: 0.875rem 0.875rem 0.875rem 3.25rem;
  }
  
  .input-icon {
    left: 0.875rem;
  }
}

@media (max-width: 480px) {
  .login-container {
    padding: 4rem 0.5rem 1rem 0.5rem;
  }
  
  .login-card {
    padding: 1.5rem 1rem;
    margin: 0.5rem;
  }
  
  .login-title {
    font-size: 1.5rem;
  }
  
  .logo-text {
    font-size: 1rem;
  }
}

/* Accessibility */
.form-input:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.login-button:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

/* Modern Hover Effects */
.login-card:hover {
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.08),
    0 25px 65px rgba(0, 0, 0, 0.06),
    0 1px 6px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

/* Clean Modern Animations */
.login-card.loaded {
  animation: none;
}

/* Print Styles */
@media print {
  .login-background,
  .login-container {
    background: white !important;
  }
  
  .login-card {
    background: white !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: none !important;
  }
  
  .login-title {
    color: #1f2937 !important;
  }
  
  .login-subtitle,
  .form-input,
  .login-footer p {
    color: #374151 !important;
  }
}

/* SPLIT LAYOUT LOGIN PAGE */
.login-split-container {
  display: flex;
  min-height: 100vh;
  background: #fefefe;
}
.login-left-panel {
  flex: 1 1 0;
  position: relative;
  display: flex;
  align-items: stretch;
  min-width: 0;
  overflow: hidden;
  background: #e5e7eb;
}
.login-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.85) saturate(1.1);
}
.login-left-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem 2.5rem 2.5rem 2.5rem;
  background: linear-gradient(120deg, rgba(37,99,235,0.15) 0%, rgba(16,185,129,0.10) 100%);
}
.login-left-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.logo-icon.big {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
}
.logo-icon.big i,
.logo-icon.big svg {
  width: 28px;
  height: 28px;
  color: #fff;
}
.logo-text.big {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  font-family: 'Inter', sans-serif;
  letter-spacing: -1px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.logo-text.big span {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.login-testimonial {
  margin-top: auto;
  color: #fff;
  max-width: 340px;
}
.testimonial-quote {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  line-height: 1.4;
  text-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.testimonial-meta {
  font-size: 0.95rem;
  color: #e0e7ef;
  opacity: 0.95;
}
.testimonial-author {
  font-weight: 700;
}
.testimonial-role {
  font-weight: 400;
  font-size: 0.9rem;
}

.login-right-panel {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  min-width: 0;
  padding: 0 2rem;
}
.login-card.split {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 1.5px 4px rgba(0,0,0,0.04);
  border: 1px solid #e2e8f0;
  padding: 2.5rem 2rem 2rem 2rem;
  background: #fff;
}
.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.remember-label {
  font-size: 0.98rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}
.forgot-link {
  color: #2563eb;
  font-size: 0.98rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.forgot-link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}
.form-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.5rem 0 1.25rem 0;
  color: #cbd5e1;
  font-size: 0.95rem;
  font-weight: 500;
}
.form-divider span {
  background: #fff;
  padding: 0 1rem;
  z-index: 1;
}
.form-divider:before, .form-divider:after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0;
  margin: 0 0.5rem;
}
.social-login {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  color: #1e293b;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border 0.2s;
}
.social-login.google {
  border: 1px solid #e2e8f0;
  background: #fff;
}
.social-login:hover {
  background: #f1f5f9;
  border-color: #2563eb;
}
.social-icon {
  width: 22px;
  height: 22px;
  margin-right: 0.5rem;
}
@media (max-width: 900px) {
  .login-split-container {
    flex-direction: column;
  }
  .login-left-panel, .login-right-panel {
    flex: none;
    width: 100%;
    min-height: 320px;
    min-width: 0;
  }
  .login-left-panel {
    min-height: 220px;
    max-height: 320px;
  }
  .login-bg-image {
    min-height: 220px;
    max-height: 320px;
  }
  .login-left-overlay {
    padding: 2rem 1.5rem 1.5rem 1.5rem;
  }
  .login-card.split {
    max-width: 100%;
    border-radius: 16px;
    padding: 2rem 1rem 1.5rem 1rem;
  }
}
@media (max-width: 600px) {
  .login-left-header .logo-icon.big {
    width: 36px;
    height: 36px;
  }
  .logo-text.big {
    font-size: 1.25rem;
  }
  .login-left-overlay {
    padding: 1.25rem 0.75rem 1rem 0.75rem;
  }
  .testimonial-quote {
    font-size: 1rem;
  }
  .login-card.split {
    padding: 1.25rem 0.5rem 1rem 0.5rem;
  }
}

/* ================================================= */
/* ONBOARDING STYLES */
/* ================================================= */

.onboarding-body {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 25%, #cbd5e1 50%, #94a3b8 75%, #64748b 100%);
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  position: relative;
  overflow-x: hidden;
}

.onboarding-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(147, 51, 234, 0.05) 0%, transparent 50%);
  z-index: 0;
}

.onboarding-body::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23334155' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 1;
}

.onboarding-container {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-6);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.onboarding-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-8);
  padding: var(--space-4) 0;
}

.onboarding-logo {
  display: flex;
  align-items: center;
  color: var(--gray-800);
  font-size: 1.25rem;
  font-weight: 600;
}

.logo-icon {
  width: 32px;
  height: 32px;
  margin-right: var(--space-3);
}

.onboarding-progress {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.progress-bar {
  width: 200px;
  height: 8px;
  background: rgba(148, 163, 184, 0.3);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: var(--space-2);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-blue) 0%, var(--success-green) 100%);
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
  width: 25%;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

.progress-text {
  color: var(--gray-700);
  font-size: 0.875rem;
  font-weight: 500;
}

.onboarding-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.onboarding-step {
  display: none;
  width: 100%;
  max-width: 600px;
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.25),
    0 10px 25px -5px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(226, 232, 240, 0.8);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  animation: slideIn 0.3s ease;
  position: relative;
  z-index: 3;
}

.onboarding-step.active {
  display: block;
}

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

.step-content {
  text-align: center;
}

.step-icon {
  margin-bottom: var(--space-6);
}

.step-icon-large {
  width: 64px;
  height: 64px;
  color: var(--primary-blue);
}

.step-icon-large.success {
  color: var(--success-green);
}

.step-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: var(--space-4);
  line-height: 1.2;
}

.step-description {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-bottom: var(--space-8);
  line-height: 1.6;
}

.step-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  text-align: left;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--gray-700);
}

.feature-icon {
  width: 20px;
  height: 20px;
  color: var(--success-green);
}

.onboarding-form {
  text-align: left;
  margin-bottom: var(--space-8);
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: var(--space-2);
}

.form-input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  transition: border-color var(--transition-normal);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-input.error {
  border-color: var(--error-red);
}

.form-help {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: var(--space-1);
}

.field-error {
  font-size: 0.875rem;
  color: var(--error-red);
  margin-top: var(--space-1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
  color: var(--gray-700);
}

.form-checkbox input[type="checkbox"] {
  margin-right: var(--space-3);
  width: 18px;
  height: 18px;
}

.step-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.btn-icon {
  width: 16px;
  height: 16px;
  margin-left: var(--space-2);
}

.btn-secondary .btn-icon {
  margin-left: 0;
  margin-right: var(--space-2);
}

.completion-summary {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  text-align: left;
}

.summary-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--gray-700);
  font-weight: 500;
}

.summary-icon {
  width: 20px;
  height: 20px;
  color: var(--success-green);
}

.alert-container {
  position: fixed;
  top: var(--space-4);
  right: var(--space-4);
  z-index: 1000;
  max-width: 400px;
}

.alert {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-bottom: var(--space-3);
  overflow: hidden;
  animation: alertSlideIn 0.3s ease;
}

.alert-success {
  border-left: 4px solid var(--success-green);
}

.alert-error {
  border-left: 4px solid var(--error-red);
}

.alert-info {
  border-left: 4px solid var(--primary-blue);
}

.alert-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4);
}

.alert-message {
  color: var(--gray-700);
  font-weight: 500;
}

.alert-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-500);
  padding: var(--space-1);
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-normal);
}

.alert-close:hover {
  background: var(--gray-100);
}

.alert-close i {
  width: 16px;
  height: 16px;
}

@keyframes alertSlideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.loading-content {
  background: var(--white);
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow-2xl);
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--gray-200);
  border-top: 4px solid var(--primary-blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto var(--space-4);
}

.loading-message {
  color: var(--gray-700);
  font-weight: 500;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .onboarding-container {
    padding: var(--space-4);
  }
  
  .onboarding-header {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }
  
  .progress-bar {
    width: 150px;
  }
  
  .onboarding-step {
    padding: var(--space-6);
  }
  
  .step-title {
    font-size: 1.5rem;
  }
  
  .step-description {
    font-size: 1rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .step-actions {
    flex-direction: column;
  }
  
  .alert-container {
    left: var(--space-4);
    right: var(--space-4);
    max-width: none;
  }
}

/* File Upload Styles */
.file-upload-container {
  position: relative;
  width: 100%;
}

.file-upload-area {
  border: 2px dashed #d1d5db;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #f9fafb;
  position: relative;
  overflow: hidden;
}

.file-upload-area:hover {
  border-color: #2563eb;
  background: #f0f9ff;
}

.file-upload-area.dragover {
  border-color: #2563eb;
  background: #dbeafe;
  transform: scale(1.02);
}

.file-upload-icon {
  width: 48px;
  height: 48px;
  color: #6b7280;
  margin-bottom: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.file-upload-text {
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

.file-upload-hint {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}

.file-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-preview {
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  background: #ffffff;
  position: relative;
}

.logo-preview-image {
  max-width: 200px;
  max-height: 120px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.remove-file-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: #ef4444;
  color: white;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.remove-file-btn:hover {
  background: #dc2626;
  transform: scale(1.1);
}

.remove-icon {
  width: 16px;
  height: 16px;
}

/* File Upload Responsive */
@media (max-width: 768px) {
  .file-upload-area {
    padding: 1.5rem;
  }
  
  .file-upload-icon {
    width: 40px;
    height: 40px;
  }
  
  .file-upload-text {
    font-size: 0.9rem;
  }
  
  .file-upload-hint {
    font-size: 0.8rem;
  }
  
  .logo-preview-image {
    max-width: 150px;
    max-height: 90px;
  }
}

/* ===== GUEST MANAGEMENT MOBILE RESPONSIVENESS ===== */

/* Mobile Header */
.glass-effect {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Mobile Guest Cards */
@media (max-width: 1024px) {
  /* Guest card enhancements */
  .guest-card {
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }
  
  .guest-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  }
  
  /* Touch-friendly action buttons */
  .guest-action-btn {
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.2s ease;
  }
  
  .guest-action-btn:active {
    transform: scale(0.95);
  }
}

/* Mobile Modal Enhancements */
@media (max-width: 768px) {
  /* Modal positioning and sizing */
  .guest-modal {
    margin: 1rem;
    max-height: 95vh;
    width: calc(100vw - 2rem);
  }
  
  /* Modal content scrolling */
  .guest-modal-content {
    max-height: 70vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Form field spacing */
  .guest-form-field {
    margin-bottom: 1rem;
  }
  
  .guest-form-field label {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
  }
  
  .guest-form-field input,
  .guest-form-field select,
  .guest-form-field textarea {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 0.75rem;
    border-radius: 12px;
  }
  
  /* Modal buttons */
  .guest-modal-btn {
    min-height: 48px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 12px;
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .guest-modal-btn:last-child {
    margin-bottom: 0;
  }
}

/* Select2 Mobile Optimizations */
@media (max-width: 768px) {
  .select2-mobile .select2-container {
    font-size: 16px !important;
  }
  
  .select2-mobile .select2-selection {
    min-height: 44px !important;
    padding: 8px 12px !important;
    border-radius: 12px !important;
  }
  
  .select2-mobile .select2-selection__rendered {
    padding-left: 0 !important;
    padding-right: 0 !important;
    line-height: 28px !important;
  }
  
  .select2-mobile .select2-selection__arrow {
    height: 42px !important;
    right: 8px !important;
  }
  
  .select2-mobile .select2-dropdown {
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
  }
  
  .select2-mobile .select2-results__option {
    padding: 12px 16px !important;
    font-size: 16px !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
  }
  
  .select2-mobile .select2-results__option--highlighted {
    background-color: #3b82f6 !important;
    color: white !important;
  }
}

/* Mobile Search and Filter Section */
@media (max-width: 768px) {
  .guest-search-section {
    padding: 1rem;
    border-radius: 16px;
  }
  
  .guest-search-input {
    font-size: 16px;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border-radius: 12px;
    min-height: 44px;
  }
  
  .guest-filter-btn {
    min-height: 44px;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    border-radius: 12px;
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .guest-filter-btn:last-child {
    margin-bottom: 0;
  }
}

/* Mobile Table Alternatives */
@media (max-width: 1024px) {
  /* Hide desktop table */
  .guest-table-desktop {
    display: none !important;
  }
  
  /* Show mobile cards */
  .guest-cards-mobile {
    display: block !important;
  }
  
  /* Card layout improvements */
  .guest-card-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
  }
  
  .guest-info-row {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  .guest-info-row:last-child {
    border-bottom: none;
  }
  
  .guest-info-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    opacity: 0.6;
  }
  
  .guest-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    margin: 0.125rem;
  }
}

/* Loading and Empty States Mobile */
@media (max-width: 768px) {
  .guest-loading-state,
  .guest-empty-state {
    padding: 2rem 1rem;
    text-align: center;
  }
  
  .guest-loading-icon,
  .guest-empty-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
  }
  
  .guest-state-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
  }
  
  .guest-state-description {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
  }
  
  .guest-state-button {
    min-height: 44px;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    border-radius: 12px;
  }
}

/* Accessibility Improvements */
@media (max-width: 768px) {
  /* Focus states for touch devices */
  .guest-interactive:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
  }
  
  /* High contrast mode support */
  @media (prefers-contrast: high) {
    .guest-card {
      border: 2px solid #000;
      background: #fff;
    }
    
    .guest-action-btn {
      border: 1px solid currentColor;
    }
  }
  
  /* Reduced motion support */
  @media (prefers-reduced-motion: reduce) {
    .guest-card,
    .guest-action-btn,
    .guest-modal {
      transition: none;
    }
    
    .guest-card:hover {
      transform: none;
    }
  }
}

/* Landscape Mobile Optimizations */
@media (max-width: 768px) and (orientation: landscape) {
  .guest-modal {
    max-height: 90vh;
    overflow-y: auto;
  }
  
  .guest-modal-content {
    max-height: 60vh;
  }
  
  .guest-form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  
  .guest-form-full-width {
    grid-column: 1 / -1;
  }
}

/* Very Small Screens (320px and below) */
@media (max-width: 320px) {
  .guest-modal {
    margin: 0.5rem;
    width: calc(100vw - 1rem);
  }
  
  .guest-card {
    padding: 0.75rem;
  }
  
  .guest-action-btn {
    min-width: 40px;
    min-height: 40px;
  }
  
  .guest-search-section {
    padding: 0.75rem;
  }
  
  .guest-form-field input,
  .guest-form-field select,
  .guest-form-field textarea {
    padding: 0.625rem;
    font-size: 16px;
  }
}

/* Dark Mode Support for Guest Management */
@media (prefers-color-scheme: dark) {
  .guest-card {
    background: rgba(31, 41, 55, 0.9);
    border-color: rgba(75, 85, 99, 0.3);
    color: #f9fafb;
  }
  
  .guest-modal {
    background: rgba(31, 41, 55, 0.95);
    color: #f9fafb;
  }
  
  .guest-form-field input,
  .guest-form-field select,
  .guest-form-field textarea {
    background: rgba(55, 65, 81, 0.8);
    border-color: rgba(75, 85, 99, 0.5);
    color: #f9fafb;
  }
  
  .guest-form-field input::placeholder {
    color: #9ca3af;
  }
}

/* Tag Management Mobile Styles */
@media (max-width: 1024px) {
  .tag-card {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease-in-out;
  }
  
  .tag-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  }
  
  .tag-card .edit-tag-btn,
  .tag-card .delete-tag-btn {
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease-in-out;
    min-width: 2.5rem;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .tag-card .edit-tag-btn:active,
  .tag-card .delete-tag-btn:active {
    transform: scale(0.95);
  }
}

@media (max-width: 768px) {
  .tag-modal {
    padding: 1rem;
  }
  
  .tag-modal-content {
    width: 95%;
    max-width: none;
    margin: 0.5rem auto;
  }
  
  .tag-form-field {
    margin-bottom: 1rem;
  }
  
  .tag-form-field label {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
  }
  
  .tag-form-field input,
  .tag-form-field textarea {
    font-size: 16px;
    padding: 0.75rem;
    border-radius: 0.5rem;
  }
  
  .tag-modal-btn {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    min-height: 2.75rem;
  }
  
  .tag-modal-btn:last-child {
    margin-top: 0.5rem;
  }
}
