/* ==========================================================================
   LoveSync Couple Calendar - Stylesheet
   Design Tokens: Soft Rose, Glassmorphism, Modern Typography & Gradients
   ========================================================================== */

:root {
  /* Color Palette */
  --primary-color: #ff6b8b;
  --primary-hover: #ff5277;
  --primary-gradient: linear-gradient(135deg, #ff758c 0%, #ff7eb3 100%);
  --secondary-gradient: linear-gradient(135deg, #a8c0ff 0%, #3f2b96 100%);
  --bg-gradient: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
  --app-bg: #f8f9fd;
  
  --text-main: #2d3748;
  --text-muted: #718096;
  --text-light: #a0aec0;
  
  /* Category Colors */
  --cat-date: #ff6b8b;
  --cat-anniversary: #9f7aea;
  --cat-travel: #4299e1;
  --cat-birthday: #ed8936;
  --cat-personal: #48bb78;
  --cat-food: #ecc94b;

  /* Glassmorphism & Cards */
  --card-bg: rgba(255, 255, 255, 0.85);
  --card-border: rgba(255, 255, 255, 0.6);
  --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 15px 35px rgba(255, 107, 139, 0.15);
  
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans KR', 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--app-bg);
  background-image: 
    radial-gradient(at 0% 0%, rgba(255, 117, 140, 0.08) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(168, 192, 255, 0.1) 0px, transparent 50%);
  color: var(--text-main);
  min-height: 100vh;
  padding: 20px;
  line-height: 1.5;
}

.app-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Header Component */
.app-header {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-left .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.db-status-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #edf2f7;
  color: var(--text-muted);
  border: 1px solid #e2e8f0;
}

.db-status-badge.online {
  background: #f0fff4;
  color: #276749;
  border-color: #c6f6d5;
}

.db-status-badge.offline {
  background: #fffaf0;
  color: #dd6b20;
  border-color: #fbd38d;
}

.logo-icon {
  font-size: 1.6rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: heartBeat 2s infinite;
}

.logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

/* Couple Profile Card */
.couple-profile-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.6);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.couple-profile-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.profile-avatar {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
}

.profile-avatar.male i {
  color: #4299e1;
  background: #ebf8ff;
  padding: 8px;
  border-radius: 50%;
}

.profile-avatar.female i {
  color: #ff6b8b;
  background: #fff5f7;
  padding: 8px;
  border-radius: 50%;
}

.heart-pulse-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.pulse-heart {
  color: #ff4757;
  font-size: 1rem;
  animation: pulse 1.5s infinite;
}

.dday-tag {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-color);
}

/* Buttons */
.btn {
  border: none;
  outline: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.btn-primary {
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 107, 139, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 139, 0.5);
}

.btn-secondary {
  background: #edf2f7;
  color: var(--text-main);
}

.btn-secondary:hover {
  background: #e2e8f0;
}

.btn-danger {
  background: #fff5f5;
  color: #e53e3e;
  border: 1px solid #feb2b2;
}

.btn-danger:hover {
  background: #fed7d7;
}

.btn-today {
  background: #edf2f7;
  color: var(--text-main);
  padding: 6px 16px;
  font-size: 0.85rem;
}

.btn-today:hover {
  background: var(--primary-color);
  color: white;
}

/* Main Layout */
.main-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
}

/* Calendar Section */
.calendar-section {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.calendar-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.month-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: white;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.nav-btn:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.current-month-title {
  font-size: 1.5rem;
  font-weight: 700;
  min-width: 140px;
  letter-spacing: -0.5px;
}

.category-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-chip {
  border: 1px solid #e2e8f0;
  background: white;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-chip:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.filter-chip.active {
  background: var(--primary-gradient);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(255, 107, 139, 0.3);
}

/* Calendar Grid */
.calendar-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.weekdays-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-bottom: 8px;
  border-bottom: 1px solid #edf2f7;
}

.weekday.sun { color: #e53e3e; }
.weekday.sat { color: #3182ce; }

.days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.day-cell {
  min-height: 105px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-sm);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.day-cell:hover {
  background: white;
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.day-cell.other-month {
  opacity: 0.35;
  background: rgba(247, 250, 252, 0.5);
}

.day-cell.today {
  border: 2px solid var(--primary-color);
  background: rgba(255, 245, 247, 0.7);
}

.day-cell.selected {
  outline: 2px solid #4299e1;
}

.day-number-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.day-number {
  font-size: 0.9rem;
  font-weight: 600;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.day-cell.today .day-number {
  background: var(--primary-color);
  color: white;
}

.day-cell.sun .day-number { color: #e53e3e; }
.day-cell.sat .day-number { color: #3182ce; }
.day-cell.today.sun .day-number, .day-cell.today.sat .day-number { color: white; }

.event-pills-container {
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow-y: auto;
  max-height: 70px;
}

/* Event Pill Badge */
.event-pill {
  font-size: 0.75rem;
  padding: 3px 6px;
  border-radius: 4px;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

.event-pill.cat-date { background: var(--cat-date); }
.event-pill.cat-anniversary { background: var(--cat-anniversary); }
.event-pill.cat-travel { background: var(--cat-travel); }
.event-pill.cat-birthday { background: var(--cat-birthday); }
.event-pill.cat-personal { background: var(--cat-personal); }
.event-pill.cat-food { background: var(--cat-food); color: #744210; }

.creator-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: white;
  display: inline-block;
}

/* Sidebar Section */
.sidebar-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-md);
}

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.widget-header h3 {
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
}

.widget-header h3 i {
  color: var(--primary-color);
}

.icon-btn {
  border: none;
  background: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
}

.icon-btn:hover {
  color: var(--primary-color);
}

/* D-Day Counter Banner */
.dday-banner {
  background: var(--primary-gradient);
  border-radius: var(--radius-sm);
  padding: 16px;
  color: white;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.dday-counter-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dday-label {
  font-size: 0.8rem;
  opacity: 0.9;
}

.dday-count {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.dday-start-date {
  font-size: 0.75rem;
  opacity: 0.85;
}

/* Anniversaries Widget */
.anniversary-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
}

.anniversary-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid #edf2f7;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.anniversary-title {
  font-weight: 600;
}

.anniversary-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.anniversary-dday {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--primary-color);
  background: #fff5f7;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
}

/* Selected Day Events Widget */
.event-count-badge {
  background: #edf2f7;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.selected-events-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 260px;
  overflow-y: auto;
}

.event-card-item {
  background: white;
  border-left: 4px solid var(--primary-color);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.event-card-item:hover {
  transform: translateX(2px);
}

.event-card-title {
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.event-card-details {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  gap: 10px;
  align-items: center;
}

.empty-state {
  text-align: center;
  padding: 20px 10px;
  color: var(--text-light);
  font-size: 0.85rem;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: white;
  border-radius: var(--radius-md);
  width: 90%;
  max-width: 500px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transform: translateY(20px);
  transition: transform var(--transition-fast);
}

.modal-backdrop.active .modal-card {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.modal-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.close-modal-btn {
  border: none;
  background: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.form-row {
  display: flex;
  gap: 12px;
}

label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.required {
  color: #e53e3e;
}

input[type="text"],
input[type="date"],
input[type="time"],
select,
textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 107, 139, 0.15);
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.right-buttons {
  display: flex;
  gap: 10px;
  margin-left: auto;
}

.hidden {
  display: none !important;
}

/* Auth Modal Styles */
.auth-tabs {
  display: flex;
  gap: 10px;
}

.auth-tab-btn {
  border: none;
  background: none;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
}

.auth-tab-btn.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.full-width {
  width: 100%;
}

.auth-message-box {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.auth-message-box.error {
  background: #fff5f5;
  color: #e53e3e;
  border: 1px solid #fed7d7;
}

.auth-message-box.success {
  background: #f0fff4;
  color: #276749;
  border: 1px solid #c6f6d5;
}

input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

/* Animations */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

@keyframes heartBeat {
  0% { transform: scale(1); }
  14% { transform: scale(1.15); }
  28% { transform: scale(1); }
  42% { transform: scale(1.15); }
  70% { transform: scale(1); }
}

/* ==========================================
   Login Screen (Auth Gate) Glassmorphism UI
   ========================================== */
/* ==========================================
   Login Screen (Auth Gate) - Balanced Modern Glassmorphism
   ========================================== */
.login-screen,
.login-screen-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #f8fafc;
  background: radial-gradient(at 0% 0%, #fdf2f8 0px, transparent 50%),
              radial-gradient(at 100% 100%, #f1f5f9 0px, transparent 50%),
              radial-gradient(at 50% 50%, #faf5ff 0px, transparent 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  overflow: hidden;
  padding: 20px;
}

.ambient-glow-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: orbPulse 10s infinite alternate ease-in-out;
}

.glow-orb.orb-1 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(251, 113, 133, 0.25) 0%, rgba(251, 113, 133, 0) 70%);
  top: -80px;
  left: 20%;
}

.glow-orb.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.2) 0%, rgba(168, 85, 247, 0) 70%);
  bottom: -100px;
  right: 20%;
  animation-delay: -5s;
}

@keyframes orbPulse {
  0% { transform: scale(1) translate(0, 0); opacity: 0.4; }
  100% { transform: scale(1.15) translate(20px, -15px); opacity: 0.65; }
}

.login-card-glass {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 28px;
  padding: 42px 36px;
  width: 100%;
  max-width: 420px;
  box-shadow: 
    0 20px 50px rgba(15, 23, 42, 0.08),
    0 4px 15px rgba(225, 29, 72, 0.05);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  z-index: 10;
  animation: cardPopIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cardPopIn {
  from { opacity: 0; transform: translateY(30px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.login-header-box {
  text-align: center;
}

.login-logo-box {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px auto;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
  border: 1px solid #fecdd3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(225, 29, 72, 0.12);
}

.login-logo-icon {
  font-size: 1.7rem;
  color: #e11d48;
}

.login-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.6px;
}

.login-subtitle {
  font-size: 0.86rem;
  color: #64748b;
  margin-top: 6px;
  line-height: 1.4;
  font-weight: 400;
}

/* Login Tab Bar */
.login-tab-bar {
  display: flex;
  background: #f1f5f9;
  padding: 4px;
  border-radius: var(--radius-pill);
}

.login-tab-bar .tab-item {
  flex: 1;
  border: none;
  background: none;
  padding: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748b;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.login-tab-bar .tab-item.active {
  background: #ffffff;
  color: #e11d48;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.input-group .input-icon {
  position: absolute;
  left: 18px;
  color: #e11d48 !important;
  font-size: 1.1rem !important;
  z-index: 10;
  pointer-events: none;
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.input-group input {
  width: 100%;
  padding-left: 48px !important;
  height: 50px;
  border-radius: 14px;
  font-size: 0.95rem;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  transition: all var(--transition-fast);
}

.input-group input::placeholder {
  color: #94a3b8;
}

.input-group input:focus {
  border-color: #e11d48;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.15);
}

.btn-login-submit {
  height: 52px;
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fb7185 0%, #e11d48 100%);
  color: white;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(225, 29, 72, 0.3);
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-fast);
  border: none;
  cursor: pointer;
}

.btn-login-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(225, 29, 72, 0.45);
  background: linear-gradient(135deg, #f43f5e 0%, #be123c 100%);
}

.btn-login-submit i {
  font-size: 0.9rem;
  transition: transform var(--transition-fast);
}

.btn-login-submit:hover i {
  transform: translateX(4px);
}

.auth-alert-msg {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  animation: fadeIn 0.3s ease;
}

.auth-alert-msg.error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.auth-alert-msg.success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.auth-alert-msg.info { background: #f0f9ff; color: #075985; border: 1px solid #bae6fd; }

.login-footer-quote {
  text-align: center;
  font-size: 0.82rem;
  color: #94a3b8;
  letter-spacing: 0.3px;
  font-weight: 400;
  margin-top: 4px;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .main-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    padding: 10px;
  }
  .app-header {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }
  .month-nav {
    justify-content: space-between;
    width: 100%;
  }
  .category-filters {
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .day-cell {
    min-height: 80px;
    padding: 4px;
  }
  .event-pill {
    font-size: 0.65rem;
    padding: 2px 4px;
  }
}
