/* You can add global styles to this file, and also import other style files */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.app-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color 0.3s, color 0.3s;
}

.app-container--light {
  background-color: #f5f5f5;
  color: #333;
}

.app-container--dark {
  background-color: #1a1a1a;
  color: #f5f5f5;
}

.app-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1.5rem 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand h1 {
  margin: 0;
  font-size: 1.8rem;
}

.brand-badge {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.user-name {
  font-size: 0.9rem;
  font-weight: 500;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.logout-btn {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
}

.logout-btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

.theme-toggle {
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.theme-toggle:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.app-nav {
  background-color: white;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  padding: 0 2rem;
}

.app-container--dark .app-nav {
  background-color: #2a2a2a;
}

.app-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 2rem;
}

.app-nav li {
  padding: 1rem 0;
}

.app-nav a {
  text-decoration: none;
  color: #667eea;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.app-nav a:hover {
  color: #764ba2;
}

.app-nav a:hover::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #764ba2);
}

.app-content {
  flex: 1;
  display: flex;
  min-height: 100vh;
  max-width: 1240px;
  margin: auto;
}

.home-page {
  text-align: center;
  padding: 2rem;
}

.home-page h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.app-container--dark .feature-card {
  background-color: #2a2a2a;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.feature-card h3 {
  margin: 0 0 1rem 0;
  color: #667eea;
}

.feature-card p {
  margin: 0 0 1.5rem 0;
  color: #666;
}

.app-container--dark .feature-card p {
  color: #aaa;
}

.card-link {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.3s;
}

.card-link:hover {
  transform: scale(1.05);
}

.mfe-wrapper {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.app-container--dark .mfe-wrapper {
  background-color: #2a2a2a;
}

.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem;
  gap: 1rem;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(102, 126, 234, 0.2);
  border-top-color: #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.error-container {
  padding: 2rem;
  text-align: center;
  background-color: #fee;
  border: 2px solid #fcc;
  border-radius: 8px;
  color: #c33;
}

.error-container h2 {
  margin: 0 0 1rem 0;
}

.app-footer {
  background-color: white;
  padding: 1.5rem 2rem;
  text-align: center;
  border-top: 1px solid #e0e0e0;
  margin-top: auto;
}

.app-container--dark .app-footer {
  background-color: #2a2a2a;
  border-top-color: #333;
}

.app-footer p {
  margin: 0;
  color: #666;
}

.app-container--dark .app-footer p {
  color: #aaa;
}

@media (max-width: 768px) {
  .app-header {
    flex-direction: column;
    gap: 1rem;
  }

  .app-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .feature-cards {
    grid-template-columns: 1fr;
  }
}.card-container {
  display: flex;
  flex-direction: row;
  background-color: #ffffff;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  cursor: pointer;
}

.image-section {
  margin: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
}

.content-section {
  flex-grow: 1;
  padding-right: 15px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.text-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}.section-header {
  font-weight: 700;
  margin-bottom: 0;
  margin-top: 25px;
  line-height: 26px;
  font-size: 25px;
}

@media (max-width: 768px) {
  .section-header {
    font-size: 22px;
  }
}

.spinner {
    display: flex;
    flex: 1;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;

}
.callback-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  padding: 2rem;
}

.callback-loading,
.callback-error {
  text-align: center;
  max-width: 500px;
}

.callback-loading h2,
.callback-error h2 {
  font-size: 1.75rem;
  margin: 1.5rem 0 1rem;
  color: #333;
}

.callback-loading p,
.callback-error p {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
}

.spinner {
  width: 64px;
  height: 64px;
  border: 4px solid #e0e0e0;
  border-top-color: #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

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

.error-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.error-hint {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #999;
}

.back-button {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.75rem 2rem;
  background: #667eea;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.back-button:hover {
  background: #5568d3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Dark theme support */
.app-container--dark .callback-loading h2,
.app-container--dark .callback-error h2 {
  color: #e0e0e0;
}

.app-container--dark .callback-loading p,
.app-container--dark .callback-error p {
  color: #b0b0b0;
}

.app-container--dark .spinner {
  border-color: #404040;
  border-top-color: #90caf9;
}

.app-container--dark .error-hint {
  color: #808080;
}
html,
body,
#root {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

.landing-page {
  width: "100%";
  height: "100%";
  display: flex;
  flex-direction: column;
  background-color: #fff;
}

.footer-section {
  width: 100%;
  padding: 40px;
  background-color: #F3F3F3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  text-align: center;
}

.footer-links a {
  color: #4B4D4F;
  cursor: pointer;
  text-decoration: none;
}

.footer-page {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #4B4D4F;
}

.back-button {
  margin-top: 24px;
  font-size: 18px;
  padding: 8px 24px;
  cursor: pointer;
}.welcome-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 100vh;
}

.welcome-container.mobile {
  justify-content: end;
  padding-bottom: 140px;
}

.login-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 500px;
  margin-top: 40px;
}

.powered-by {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
  gap: 5px;
}

.powered-by-img {
  margin-top: 4px;
}
