/* ========== DESIGN TOKENS ========== */
:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #111827;
  --bg-card: rgba(30, 41, 69, 0.6);
  --bg-card-solid: #1e2945;
  --bg-glass: rgba(255,255,255,0.04);
  --border-glass: rgba(255,255,255,0.08);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-green: #22c55e;
  --accent-green-glow: rgba(34,197,94,0.3);
  --accent-red: #ef4444;
  --accent-red-glow: rgba(239,68,68,0.3);
  --accent-blue: #3b82f6;
  --accent-blue-glow: rgba(59,130,246,0.25);
  --accent-amber: #f59e0b;
  --accent-purple: #a855f7;
  --gradient-main: linear-gradient(135deg, #3b82f6 0%, #a855f7 100%);
  --gradient-green: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  --gradient-red: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-glow-green: 0 0 30px rgba(34,197,94,0.25);
  --shadow-glow-red: 0 0 30px rgba(239,68,68,0.25);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --nav-height: 72px;
  --header-height: 56px;
}

/* ========== RESET ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-tap-highlight-color: transparent; }
body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
button { font-family: var(--font); border: none; cursor: pointer; outline: none; }
a { text-decoration: none; color: inherit; }

/* ========== APP SHELL ========== */
.app-container {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100dvh;
  position: relative;
  background: var(--bg-primary);
  overflow: hidden;
}
.screen {
  display: none;
  flex-direction: column;
  min-height: calc(100dvh - var(--nav-height));
  padding: 20px 20px calc(var(--nav-height) + 20px);
  animation: fadeIn 0.3s ease;
}
.screen.active { display: flex; }

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

/* ========== HEADER ========== */
.screen-header {
  margin-bottom: 24px;
}
.greeting { font-size: 1.5rem; font-weight: 700; }
.greeting-sub { font-size: 0.85rem; color: var(--text-secondary); margin-top: 4px; }
.greeting-emoji { font-size: 1.6rem; vertical-align: middle; }

/* ========== CLOCK CARD ========== */
.clock-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.clock-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(59,130,246,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.live-time {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -2px;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}
.live-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.work-status {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}
.status-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
}
.status-dot.working { background: var(--accent-green); box-shadow: 0 0 8px var(--accent-green-glow); }
.status-dot.idle { background: var(--text-muted); animation: none; }

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.work-detail {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 6px;
}

/* ========== ACTION BUTTON ========== */
.action-btn {
  width: 100%;
  padding: 18px;
  border-radius: var(--radius-md);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: white;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
}
.action-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.25s;
}
.action-btn:active::after {
  background: rgba(255,255,255,0.15);
}
.action-btn.clock-in {
  background: var(--gradient-green);
  box-shadow: var(--shadow-glow-green);
}
.action-btn.clock-in:active {
  transform: scale(0.97);
}
.action-btn.clock-out {
  background: var(--gradient-red);
  box-shadow: var(--shadow-glow-red);
}
.action-btn.clock-out:active {
  transform: scale(0.97);
}
.btn-icon { margin-right: 8px; font-size: 1.2rem; }

/* Pulse ring animation on button */
.action-btn.clock-in::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-md);
  border: 2px solid var(--accent-green);
  opacity: 0;
  animation: btn-pulse 2s ease-in-out infinite;
}
.action-btn.clock-out::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-md);
  border: 2px solid var(--accent-red);
  opacity: 0;
  animation: btn-pulse 2s ease-in-out infinite;
}
@keyframes btn-pulse {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.04); }
}

/* ========== STAT CARDS ROW ========== */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.stat-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 16px 10px;
  text-align: center;
}
.stat-icon { font-size: 1.3rem; margin-bottom: 6px; }
.stat-value { font-size: 1.3rem; font-weight: 700; }
.stat-label { font-size: 0.65rem; color: var(--text-muted); margin-top: 2px; text-transform: uppercase; letter-spacing: 0.5px; }

/* ========== BOTTOM NAV ========== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--nav-height);
  background: rgba(17, 24, 39, 0.92);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-bottom: env(safe-area-inset-bottom, 8px);
  z-index: 100;
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  background: none;
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.nav-item .nav-icon { font-size: 1.4rem; transition: transform 0.2s; }
.nav-item.active {
  color: var(--accent-blue);
}
.nav-item.active .nav-icon { transform: scale(1.1); }

/* ========== HISTORY SCREEN ========== */
.tab-bar {
  display: flex;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: 20px;
  border: 1px solid var(--border-glass);
}
.tab-btn {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  transition: all 0.25s;
}
.tab-btn.active {
  background: var(--accent-blue);
  color: white;
  box-shadow: 0 2px 12px var(--accent-blue-glow);
}

/* Calendar */
.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.calendar-nav button {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.calendar-nav button:active { background: var(--bg-card-solid); }
.calendar-title { font-size: 1rem; font-weight: 700; }

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 20px;
}
.cal-header {
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
  padding: 4px 0;
}
.cal-day {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
  background: none;
}
.cal-day:active { background: var(--bg-card); }
.cal-day.today {
  border: 1.5px solid var(--accent-blue);
  color: var(--accent-blue);
  font-weight: 700;
}
.cal-day.selected {
  background: var(--accent-blue);
  color: white;
  font-weight: 700;
}
.cal-day.has-log::after {
  content: '';
  position: absolute;
  bottom: 4px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent-green);
}
.cal-day.selected.has-log::after { background: white; }
.cal-day.empty { pointer-events: none; }
.cal-day.weekend { color: var(--accent-red); opacity: 0.7; }

/* Day Detail */
.day-detail {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 12px;
  animation: slideUp 0.3s ease;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.day-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.day-detail-date { font-size: 0.9rem; font-weight: 700; }

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border-glass);
}
.detail-row:last-child { border-bottom: none; }
.detail-label { color: var(--text-secondary); }
.detail-value { font-weight: 600; }

/* Status badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.status-badge.working { background: rgba(59,130,246,0.15); color: var(--accent-blue); }
.status-badge.pending { background: rgba(245,158,11,0.15); color: var(--accent-amber); }
.status-badge.approved { background: rgba(34,197,94,0.15); color: var(--accent-green); }
.status-badge.rejected { background: rgba(239,68,68,0.15); color: var(--accent-red); }

/* ========== MONTHLY SUMMARY ========== */
.summary-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.summary-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-card);
}
.summary-icon {
  width: 50px; height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.summary-icon.days { background: rgba(59,130,246,0.15); }
.summary-icon.hours { background: rgba(168,85,247,0.15); }
.summary-icon.earnings { background: rgba(34,197,94,0.15); }
.summary-info { flex: 1; }
.summary-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.summary-value { font-size: 1.6rem; font-weight: 800; margin-top: 2px; }

.breakdown-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.breakdown-title {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-glass);
}
.breakdown-row:last-child { border-bottom: none; }
.breakdown-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.breakdown-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.breakdown-dot.regular { background: var(--accent-blue); }
.breakdown-dot.overtime { background: var(--accent-amber); }
.breakdown-dot.night { background: var(--accent-purple); }
.breakdown-dot.weekend { background: var(--accent-red); }
.breakdown-hours { font-weight: 700; font-size: 0.9rem; }

/* ========== PROFILE SCREEN ========== */
.profile-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  margin-bottom: 20px;
}
.profile-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  margin: 0 auto 14px;
  color: white;
}
.profile-name { font-size: 1.3rem; font-weight: 700; }
.profile-role {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.profile-fields {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.profile-field {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
}
.field-label { font-size: 0.8rem; color: var(--text-muted); }
.field-value { font-size: 0.9rem; font-weight: 600; }

/* ========== PAYROLL SCREEN ========== */
.payroll-upload-area {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 2px dashed var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  margin-bottom: 24px;
  transition: border-color 0.2s;
}
.payroll-upload-area:hover { border-color: var(--accent-blue); }
.upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--gradient-main);
  color: white;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px var(--accent-blue-glow);
}
.upload-btn:active { transform: scale(0.97); }
.upload-icon { font-size: 1.2rem; }
.upload-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 10px;
}

.payslip-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.payslip-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  animation: slideUp 0.3s ease;
}
.payslip-icon {
  width: 44px; height: 44px;
  background: rgba(239,68,68,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.payslip-info { flex: 1; min-width: 0; }
.payslip-title {
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.payslip-meta {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 3px;
}
.payslip-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.payslip-action-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.2s;
  color: var(--text-primary);
  cursor: pointer;
}
.payslip-action-btn:active {
  background: var(--bg-card-solid);
  transform: scale(0.92);
}
.payslip-action-btn.view-btn:hover { background: rgba(59,130,246,0.15); }
.payslip-action-btn.download-btn:hover { background: rgba(34,197,94,0.15); }

/* ========== PDF VIEWER MODAL ========== */
.pdf-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
  pointer-events: none;
}
.pdf-modal.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.pdf-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-glass);
  flex-shrink: 0;
}
.pdf-modal-title {
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  margin-right: 10px;
}
.pdf-modal-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.pdf-modal-btn {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  cursor: pointer;
  transition: background 0.2s;
}
.pdf-modal-btn:active { background: var(--bg-card-solid); }
.pdf-close-btn {
  background: rgba(239,68,68,0.15) !important;
  color: var(--accent-red) !important;
  border-color: rgba(239,68,68,0.2) !important;
}
.pdf-modal-body {
  flex: 1;
  overflow: hidden;
}
.pdf-iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: white;
}

/* ========== EMPTY STATE ========== */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
}
.empty-state-icon { font-size: 3rem; margin-bottom: 12px; }
.empty-state-text { font-size: 0.9rem; }

/* ========== TOAST ========== */
.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: var(--bg-card-solid);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 14px 24px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  z-index: 200;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
  max-width: 380px;
  text-align: center;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar { width: 0; }

/* ========== NO SELECT ========== */
.no-select { -webkit-user-select: none; user-select: none; }

/* ========== LOGIN USER BUTTONS ========== */
.login-user-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  transition: all 0.2s ease;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
}
.login-user-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-blue);
  transform: translateY(-2px);
}
.login-user-btn:active {
  transform: translateY(0);
}
.login-user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
}
.login-user-info {
  flex: 1;
}
.login-user-name {
  font-size: 0.95rem;
  font-weight: 600;
}
.login-user-email {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ========== LOGOUT BUTTON ========== */
.logout-btn {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  background: var(--gradient-red);
  box-shadow: var(--shadow-glow-red);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  margin-top: 24px;
}
.logout-btn:active {
  transform: scale(0.97);
}

/* ========== GOOGLE LOGIN AND OAUTH MODAL ========== */
.google-login-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  background: white;
  color: #1f1f1f;
  border: 1px solid #dcdcdc;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}
.google-login-btn:hover {
  background: #f8f9fa;
  border-color: #c6c6c6;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}
.google-login-btn:active {
  background: #f1f3f4;
  transform: scale(0.98);
}
.google-icon {
  width: 20px;
  height: 20px;
}

.google-oauth-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.google-oauth-modal.show {
  opacity: 1;
  pointer-events: all;
}
.google-oauth-card {
  width: 100%;
  max-width: 380px;
  background: #ffffff;
  color: #1f1f1f;
  border-radius: 8px;
  padding: 36px 28px 28px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  animation: scaleUp 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes scaleUp {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.google-oauth-logo {
  height: 24px;
  margin-bottom: 16px;
}
.google-oauth-title {
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 4px;
}
.google-oauth-subtitle {
  font-size: 0.9rem;
  color: #5f6368;
  margin-bottom: 24px;
}
.google-account-list {
  text-align: left;
  margin-bottom: 16px;
  max-height: 240px;
  overflow-y: auto;
  border: 1px solid #dadce0;
  border-radius: 8px;
}
.google-account-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #e8eaed;
  background: none;
  border-left: none; border-right: none; border-top: none;
  text-align: left;
  cursor: pointer;
  color: #3c4043;
  transition: background 0.15s;
}
.google-account-item:last-child {
  border-bottom: none;
}
.google-account-item:hover {
  background: #f8f9fa;
}
.google-account-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-main);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
}
.google-account-info {
  flex: 1;
  min-width: 0;
}
.google-account-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #3c4043;
}
.google-account-email {
  font-size: 0.75rem;
  color: #5f6368;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  margin-top: 1px;
}
.google-oauth-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  font-size: 0.75rem;
  color: #70757a;
}
.google-oauth-footer-links {
  display: flex;
  gap: 12px;
}
.google-oauth-footer-links a:hover {
  color: #1a73e8;
}

