/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Google Login Button Styles */
.google-login, .google-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: white;
  color: #3c4043;
  border: 1px solid #dadce0;
  border-radius: 0.375rem;
  padding: 0.5rem 1rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.google-login:hover, .google-btn:hover {
  background-color: #f8f9fa;
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

.google-login:active, .google-btn:active {
  background-color: #f1f3f4;
}

/* For navigation bar */
.google-login {
  font-size: 0.875rem;
}

/* For hero section */
.google-btn {
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
}

/* For CTA section */
.cta-button.google-btn {
  width: 100%;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  font-size: 1.125rem;
}

/* Kakao Login Button Styles */
.kakao-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #FEE500;
  color: #000000;
  border-radius: 0.375rem;
  padding: 0.5rem 1rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.kakao-btn:hover {
  background-color: #FCD500;
}

.kakao-btn:active {
  background-color: #F9C800;
}

.cta-button-secondary.kakao-btn {
  width: 100%;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  font-size: 1.125rem;
}

/* Naver Login Button Styles */
.naver-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #03C75A;
  color: white;
  border-radius: 0.375rem;
  padding: 0.5rem 1rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.naver-btn:hover {
  background-color: #02A552;
}

.naver-btn:active {
  background-color: #019148;
}

.cta-button-secondary.naver-btn {
  width: 100%;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  font-size: 1.125rem;
}

/* Modal Styles */
#login-modal {
  transition: opacity 0.3s ease;
  background: rgba(0, 0, 0, 0.3) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
}

#login-modal.hidden {
  opacity: 0;
  pointer-events: none;
}

#login-modal:not(.hidden) {
  opacity: 1;
  pointer-events: auto;
}

#login-modal .bg-white {
  transform: translateY(-20px);
  transition: transform 0.3s ease;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

#login-modal:not(.hidden) .bg-white {
  transform: translateY(0);
}

/* Form input styles */
input[type="email"], input[type="password"] {
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

input[type="email"]:focus, input[type="password"]:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
