/* main.css — SummerClass Design System: CSS Custom Properties & Global Styles */

:root {
  --sc-primary:        #4F46E5;
  --sc-primary-dark:   #4338CA;
  --sc-accent:         #10B981;
  --sc-danger:         #EF4444;
  --sc-warning:        #F59E0B;
  --sc-bg:             #F1F5F9;
  --sc-surface:        #FFFFFF;
  --sc-border:         #E2E8F0;
  --sc-text:           #1E293B;
  --sc-muted:          #64748B;
  --sc-shadow:         0 1px 3px rgba(0,0,0,.07), 0 4px 16px rgba(0,0,0,.05);
  --sc-radius:         12px;
  --sc-radius-btn:     8px;
}

/* Base */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--sc-bg);
  color: var(--sc-text);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
  width: 100%;
}

footer {
  flex-shrink: 0;
  width: 100% !important;
  border-top: 1px solid var(--sc-border);
  background: var(--sc-surface);
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

h1, h2, h3, .sc-brand {
  font-family: 'Poppins', sans-serif;
}

.sc-brand {
  font-weight: 700;
  color: var(--sc-primary);
}

a {
  color: var(--sc-primary);
  text-decoration: none;
}
a:hover {
  color: var(--sc-primary-dark);
}

/* Form focus ring */
.form-control:focus,
.form-select:focus {
  border-color: var(--sc-primary);
  box-shadow: 0 0 0 0.25rem rgba(79, 70, 229, 0.25);
}

/* Utility */
.font-poppins { font-family: 'Poppins', sans-serif; }
.font-mono    { font-family: 'JetBrains Mono', monospace; }
.text-primary-sc { color: var(--sc-primary) !important; }

/* Form Labels */
.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--sc-text);
  font-size: 0.95rem;
}

/* Form Check (Radio/Checkbox) */
.form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-check-input {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  cursor: pointer;
}

.form-check-label {
  display: block;
  margin-bottom: 0;
  color: var(--sc-text);
  font-weight: 500;
  cursor: pointer;
}

/* Floating Social Media Buttons */
.floating-social-buttons {
  position: fixed !important;
  right: 20px !important;
  bottom: 100px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  z-index: 1050 !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.floating-btn {
  width: 55px !important;
  height: 55px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: white !important;
  text-decoration: none !important;
  font-size: 24px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.3s ease !important;
  transform: scale(1) !important;
  line-height: 1 !important;
  padding: 0 !important;
  border: none !important;
  cursor: pointer !important;
  margin: 0 !important;
  float: none !important;
}

.floating-btn i {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  font-size: 20px !important;
}

.floating-btn:hover {
  transform: scale(1.15) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25) !important;
  text-decoration: none !important;
  color: white !important;
}

.floating-fb {
  background: linear-gradient(135deg, #1877F2, #0A66C2) !important;
}

.floating-fb:hover {
  background: linear-gradient(135deg, #0A66C2, #1877F2) !important;
}

.floating-insta {
  background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF) !important;
}

.floating-insta:hover {
  background: linear-gradient(135deg, #DD2A7B, #8134AF, #F58529) !important;
}

.floating-youtube {
  background: linear-gradient(135deg, #FF0000, #CC0000) !important;
}

.floating-youtube:hover {
  background: linear-gradient(135deg, #CC0000, #FF0000) !important;
}

/* Responsive: Adjust on mobile */
@media (max-width: 768px) {
  .floating-social-buttons {
    right: 15px !important;
    bottom: 80px !important;
    gap: 10px !important;
  }
  
  .floating-btn {
    width: 50px !important;
    height: 50px !important;
    font-size: 20px !important;
  }
  
  .floating-btn i {
    font-size: 18px !important;
  }
}

@media (max-width: 480px) {
  .floating-social-buttons {
    right: 10px !important;
    bottom: 70px !important;
    gap: 8px !important;
  }
  
  .floating-btn {
    width: 45px !important;
    height: 45px !important;
    font-size: 18px !important;
  }
  
  .floating-btn i {
    font-size: 16px !important;
  }
}
