/* Welcome Page Styles */
.onboarding-welcome {
  min-height: 100vh;
  background: #F9F1FF;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
}

.welcome-text {
  composes: h1;
  color: #ffffff;
  text-align: center;
  margin-bottom: 16px;
}

.description-text {
  composes: body-text;
  color: #ffffff;
  text-align: center;
  margin-bottom: 24px;
  max-width: 342px;
}

.practice-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 16px;
  gap: 16px;
  width: 342px;
  height: 104px;
  background: linear-gradient(0deg, #ffffff 0%, #fafafa 100%);
  border-width: 1px;
  border-style: solid;
  border-color: rgba(67, 7, 110, 0.5);
  border-radius: 8px;
  margin: 0 auto;
}

.splash-screen {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: #FFFFFF; */
  position: fixed;
  top: 0;
  left: 0;
}

/* Parent container needs to be full height */
.onboarding-container {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
}

/* Logo styling */
.logo-name-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 400px;
    padding: 20px;
    flex: 0 0 auto;
    /* Adjust for mobile browsers */
    transform: translateY(-7vh);
}

/* Google button container */
/* Minimal Icon + Text Sign-in Buttons */
.signin-buttons-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 0;
  margin-top: auto;
  padding-top: 24px;
}

.signin-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 320px;
  padding: 12px 24px;
  
  /* Minimal white background */
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  
  /* Text styling */
  color: #1f1f1f;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  
  /* Transitions */
  transition: all 0.2s ease;
  cursor: pointer;
  
  /* Subtle shadow */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.signin-button:hover {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

.signin-button:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.signin-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.signin-text {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* Legacy styles - kept for backward compatibility */
.google-button-container {
    margin-top: auto;
    padding-top: 24px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.google-signin-button {
  display: flex;
  width: 80%;
  height: 50px;
  padding: 8px;
  justify-content: center;
  align-items: center;
  gap: 18px;
  border-radius: 24px;
  cursor: pointer;
  text-decoration: none;
  border-radius: 16px;
  /* border: 1px solid #e2e8f08a; */
  background: var(--surface-surface-action-2, #FFF);
  box-shadow: 0px 4px 8px -4px rgba(16, 24, 40, 0.05);
  margin: 0 auto;
}

.google-signin-button img {
  width: 24px;
  height: 24px;
}

.google-signin-button span {
  /* Use cta-primary for typography, only override color */
  color: #111827;
}

/* Ensure images scale properly on different screen sizes */
@media (max-width: 480px) {
    .onboarding-container {
        padding: 16px;
    }
    
    .logo-name-container {
        padding: 36px;
        gap: 6px;
    }
}

/* Handle very small heights */
@media (max-height: 500px) {
    .onboarding-container {
        padding: 10px;
    }
    
    .logo-name-container {
        padding: 10px;
        /* Adjust vertical offset for smaller heights */
        transform: translateY(-3vh) scale(0.85);
    }
}

/* iOS height fix */
@supports (-webkit-touch-callout: none) {
    .onboarding-container {
        height: -webkit-fill-available;
    }
    
    .logo-name-container {
        /* Slightly different offset for iOS */
        transform: translateY(-4vh);
    }
}

