/* Copyright 2026 Renofy Ltd. All rights reserved. */
/* Social OAuth Buttons - Mobile First */

.social-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.social-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75em 1em;
  border-radius: var(--radius-lg);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background-color var(--transition-fast),
              box-shadow var(--transition-fast);
}

.social-button:hover {
  box-shadow: var(--shadow);
}

.social-button svg {
  flex-shrink: 0;
}

/* Google branded button - per Google branding guidelines */
.social-button--google {
  background-color: var(--color-white);
  color: var(--color-text-primary);
  border: 1px solid var(--color-border);
}

.social-button--google:hover {
  background-color: var(--color-bg-light);
}

/* Apple branded button - per Apple HIG */
.social-button--apple {
  background-color: #000000;
  color: #ffffff;
  border: 1px solid #000000;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', var(--font-sans);
}

.social-button--apple:hover {
  background-color: #1a1a1a;
}

/* Email signup button (details summary styled as button) */
.social-button--email {
  background-color: var(--color-bg-light);
  color: var(--color-text-primary);
  border: 1px solid var(--color-border);
}

.social-button--email:hover {
  background-color: var(--color-bg-light);
}

/* Details element: remove default disclosure marker */
.email-signup-details {
  width: 100%;
}

.email-signup-details summary {
  list-style: none;
}

.email-signup-details summary::-webkit-details-marker {
  display: none;
}

/* Form spacing when details is open */
.email-signup-form {
  padding-top: 1.5rem;
}

.email-signup-form .button {
  width: 100%;
  margin-top: 0.5rem;
}

/* Divider between OAuth and email form */
.social-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
}

.social-divider::before,
.social-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--color-border);
}
