
/* Base styles */
:root {
  --background: 0 0% 100%;
  --foreground: 222.2 84% 4.9%;
  --primary: 210 100% 35%;
  --primary-foreground: 210 40% 98%;
  --secondary: 210 40% 96.1%;
  --border: 214.3 31.8% 91.4%;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: hsl(var(--foreground));
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: linear-gradient(to bottom right, #f0f4fa, #ffffff, #f8f9fb);
}

.max-width-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* Header styles */
.header {
  width: 100%;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(229, 231, 235, 1);
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 600;
}

.logo-icon {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 0.375rem;
  border-radius: 0.25rem;
  margin-right: 0.5rem;
  font-size: 1.125rem;
}

.logo-text {
  font-size: 1.5rem;
  letter-spacing: -0.025em;
}

.logo-highlight {
  font-weight: 700;
  color: hsl(var(--primary));
}

/* Main content styles */
.main-content {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.content-container {
  max-width: 32rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

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

h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: rgb(17, 24, 39);
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  h1 {
    font-size: 2.25rem;
  }
}

.subtitle {
  font-size: 1.125rem;
  color: rgb(107, 114, 128);
}

.tenant-card {
  border: none;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.tenant-content {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.check-icon {
  background-color: rgba(209, 250, 229, 1);
  padding: 0.375rem;
  border-radius: 9999px;
  margin-top: 0.125rem;
}

.check-icon svg {
  height: 1.25rem;
  width: 1.25rem;
  color: rgba(16, 185, 129, 1);
}

.tenant-info h2 {
  font-size: 1.125rem;
  font-weight: 500;
  color: rgb(31, 41, 55);
}

.tenant-info p {
  font-size: 0.875rem;
  color: rgb(107, 114, 128);
  margin-top: 0.25rem;
}

.tenant-id {
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  background-color: rgba(240, 245, 250, 0.8);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  border: 1px solid rgba(200, 210, 220, 0.9);
}

.redirect-text {
  color: rgb(75, 85, 99);
}

.space-y-6 {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.button-primary {
  display: inline-block;
  background-color: hsl(var(--primary));
  color: white;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.375rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  text-decoration: none;
  transition: background-color 0.2s;
}

.button-primary:hover {
  background-color: hsl(210 100% 30%);
}

/* Footer styles */
.footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(229, 231, 235, 1);
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
}

.footer-links {
  text-align: center;
}

.links-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.footer-link {
  color: rgb(107, 114, 128);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-link:hover {
  color: hsl(var(--primary));
}

.separator {
  height: 1rem;
  width: 1px;
  background-color: rgb(229, 231, 235);
}

.copyright {
  font-size: 0.875rem;
  color: rgb(107, 114, 128);
}

/* Animation styles */
.fade-in {
  animation: fadeIn 0.8s ease-in-out forwards;
  opacity: 0;
}

.fade-in-delay-1 {
  animation-delay: 0.3s;
}

.fade-in-delay-2 {
  animation-delay: 0.6s;
}

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

/* Loading spinner */
.loading {
  height: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spinner {
  width: 2rem;
  height: 2rem;
  border: 4px solid rgba(59, 130, 246, 0.3);
  border-top: 4px solid rgba(59, 130, 246, 0.8);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Toast notifications */
.toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 50;
}

.toast {
  background-color: white;
  border-radius: 0.375rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  padding: 1rem;
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-width: 24rem;
  transform: translateX(120%);
  opacity: 0;
}

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

.toast-title {
  font-weight: 600;
  font-size: 0.875rem;
  color: rgb(31, 41, 55);
}

.toast-description {
  font-size: 0.875rem;
  color: rgb(75, 85, 99);
}
