@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #fff;
  color: #333;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-bg {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: url('assets/group.jpg') center center/cover no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: linear-gradient(120deg, rgba(34,40,49,0.5) 0%, rgba(0,0,0,0.3) 60%, rgba(34,40,49,0.7) 100%);
  z-index: 1;
}

.modern-header {
  position: fixed;
  top: 0; left: 0; width: 100vw;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  padding: 36px 5vw 0 5vw;
  z-index: 10;
  background: none;
  pointer-events: none;
  box-sizing: border-box;
}

.logo-area {
  pointer-events: auto;
  min-width: 0;
}

.logo-area a {
  display: block;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.logo-area a:hover {
  transform: scale(1.05);
}

.modern-logo {
  height: 60px;
  max-width: 32vw;
  width: auto;
  filter: drop-shadow(0 4px 24px #0008);
}

.modern-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2vw;
  align-items: center;
  pointer-events: auto;
  min-width: 0;
}

.modern-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  background: rgba(0,0,0,0.18);
  padding: 8px 18px;
  border-radius: 24px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.modern-nav a:hover {
  background: #fff;
  color: #222831;
}

.modern-hero-content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 120px;
  padding-bottom: 60px;
}

.modern-hero-content h1 {
  font-size: 3.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  text-shadow: 0 6px 32px #000a;
  letter-spacing: 0.01em;
  animation: fadeInUp 1.1s;
}

.modern-hero-sub {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 38px;
  text-shadow: 0 2px 12px #0008;
  animation: fadeInUp 1.3s;
}

.cta {
  background: #fff;
  color: #232e1b;
  border: none;
  border-radius: 32px;
  padding: 20px 48px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 24px #0002;
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
  margin-bottom: 48px;
  animation: fadeInUp 1.5s;
}

.cta:hover {
  background: #f2f2f2;
  color: #111;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 32px #0003;
}

.scroll-hint {
  color: #fff;
  font-size: 1.1rem;
  opacity: 0.85;
  margin-top: 24px;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 12px #0008;
  animation: fadeInUp 2s;
}

@media (max-width: 900px) {
  .modern-header {
    padding: 18px 2vw 0 2vw;
  }
  .modern-logo {
    height: 44px;
    max-width: 40vw;
  }
  .modern-nav {
    gap: 10px;
  }
  .modern-nav a {
    font-size: 1rem;
    padding: 7px 12px;
  }
  .modern-hero-content h1 {
    font-size: 2.1rem;
  }
  .modern-hero-sub {
    font-size: 1.1rem;
  }
  .cta {
    padding: 14px 24px;
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .modern-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 2vw 0 2vw;
  }
  .modern-logo {
    height: 32px;
    max-width: 60vw;
  }
  .modern-nav {
    gap: 6px;
    margin-top: 8px;
    width: 100%;
    justify-content: flex-start;
  }
  .modern-nav a {
    font-size: 0.95rem;
    padding: 6px 8px;
  }
  .modern-hero-content {
    padding-top: 80px;
    padding-bottom: 30px;
  }
  .modern-hero-content h1 {
    font-size: 1.3rem;
  }
}

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

.countdown-section {
  width: 100vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  position: relative;
  margin: 0;
  padding-top: 0;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .countdown-section {
    padding-top: 0;
  }
}

@media (max-width: 600px) {
  .countdown-section {
    padding-top: 0;
    min-height: 100vh;
  }
}

.countdown-title {
  color: #fff;
  font-size: 3.2rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: 44px;
  text-shadow: 0 2px 12px #fff, 0 2px 16px #0003;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.1;
}

.countdown-timer {
  display: flex;
  gap: 48px;
  justify-content: center;
  align-items: center;
}

.countdown-box {
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 32px;
  box-shadow: 0 8px 32px #b6e6f7aa;
  min-width: 130px;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 3.2rem;
  color: #fff;
  font-weight: 300;
  margin-bottom: 0;
  margin-top: 0;
  text-shadow: 0 2px 12px #0002;
  border: none;
  transition: box-shadow 0.2s;
  overflow: visible;
  backdrop-filter: blur(8px);
}

.countdown-svg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 128px;
  height: 128px;
  viewBox: 0 0 128 128;
  z-index: 0;
  pointer-events: none;
}

.countdown-outline {
  stroke: #fff;
  stroke-width: 2.2;
  opacity: 0.18;
}

.countdown-anim {
  stroke: #fff;
  stroke-width: 3.5;
  opacity: 0.95;
  filter: drop-shadow(0 2px 8px #fff4);
  fill: none;
  stroke-linecap: round;
  transition: stroke-dasharray 0.2s, stroke-dashoffset 0.2s;
}

.countdown-dot {
  fill: #fff;
  filter: drop-shadow(0 2px 8px #fff8);
  transition: cx 0.2s, cy 0.2s;
  r: 4;
}

.countdown-box span {
  font-size: 2.8rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  z-index: 2;
  font-family: 'Montserrat', Arial, sans-serif;
}

.countdown-label {
  font-size: 1.1rem;
  font-weight: 300;
  color: #fff;
  opacity: 0.85;
  margin-top: 8px;
  letter-spacing: 0.08em;
  z-index: 2;
  font-family: 'Montserrat', Arial, sans-serif;
}

@media (max-width: 900px) {
  .countdown-timer {
    gap: 16px;
  }
  .countdown-box {
    min-width: 80px;
    min-height: 80px;
    font-size: 1.6rem;
  }
  .countdown-svg {
    width: 70px;
    height: 70px;
  }
  .countdown-box span {
    font-size: 1.4rem;
  }
  .countdown-label {
    font-size: 0.8rem;
  }
  .countdown-title {
    font-size: 1.3rem;
  }
}

.meer-info-container {
  margin-top: 100px; /* Increased from 48px for more space */
  display: flex;
  justify-content: center;
}

.meer-info-btn {
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 32px;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.28); /* Stronger shadow for visibility */
  letter-spacing: 0.04em;
}

.meer-info-btn:hover:not(.locked) {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.meer-info-btn.locked {
  opacity: 0.6;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.meer-info-btn.unlocked {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  animation: unlockPulse 0.6s ease-out;
  gap: 0;
}

.lock-icon {
  display: flex;
  align-items: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.meer-info-btn.locked .lock-icon {
  transform: scale(1);
}

.meer-info-btn.unlocked .lock-icon {
  transform: scale(0) rotate(180deg);
  animation: lockUnlock 0.6s ease-out;
  width: 0;
  margin: 0;
}

.btn-text {
  transition: opacity 0.3s ease;
}

.meer-info-btn.locked .btn-text {
  opacity: 0.7;
}

.meer-info-btn.unlocked .btn-text {
  opacity: 1;
}

@keyframes unlockPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 255, 255, 0.3);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  }
}

@keyframes lockUnlock {
  0% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.2) rotate(90deg);
  }
  100% {
    transform: scale(0) rotate(180deg);
  }
}

@media (max-width: 900px) {
  .meer-info-btn {
    padding: 14px 28px;
    font-size: 1rem;
  }
  .meer-info-container {
    margin-top: 60px; /* More space on tablet */
  }
}

@media (max-width: 600px) {
  .meer-info-container {
    margin-top: 36px; /* Slightly more space on mobile */
  }
  .meer-info-btn {
    padding: 12px 24px;
    font-size: 0.95rem;
    gap: 8px;
  }
}

@supports not ((backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px))) {
  .meer-info-btn {
    background: rgba(255,255,255,0.85); /* More solid, readable fallback */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* Program Page Styles */
.program-hero-section {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  position: relative;
  padding-top: 120px;
}

.program-title {
  color: #fff;
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 16px #0005;
}

.program-subtitle {
  color: #fff;
  font-size: 1.3rem;
  opacity: 0.9;
  text-shadow: 0 2px 12px #0005;
}

.program-section {
  position: relative;
  z-index: 2;
  padding: 40px 5vw;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  margin: 20px 5vw;
}

.program-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.day-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 32px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.day-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.day-header {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.day-title {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.day-date {
  color: #fff;
  font-size: 1.1rem;
  opacity: 0.8;
  font-weight: 400;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.timeline-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.time {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 8px 12px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  min-width: 60px;
  text-align: center;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.event h3 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.event p {
  color: #fff;
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.5;
  margin: 0;
}

.info-section {
  position: relative;
  z-index: 2;
  padding: 40px 5vw;
  margin: 20px 5vw;
}

.info-container {
  max-width: 1000px;
  margin: 0 auto;
}

.info-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 40px;
  text-shadow: 0 4px 16px #0008;
  letter-spacing: 0.02em;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.info-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-2px);
}

.info-card h3 {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.info-card p {
  color: #fff;
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .program-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .day-card {
    padding: 24px;
  }
  
  .program-title {
    font-size: 2.4rem;
  }
  
  .program-subtitle {
    font-size: 1.1rem;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .program-hero-section {
    padding-top: 100px;
    min-height: 50vh;
  }
  
  .program-title {
    font-size: 2rem;
  }
  
  .program-subtitle {
    font-size: 1rem;
  }
  
  .day-card {
    padding: 20px;
  }
  
  .timeline-item {
    gap: 12px;
  }
  
  .time {
    font-size: 0.8rem;
    min-width: 50px;
    padding: 6px 8px;
  }
  
  .event h3 {
    font-size: 1rem;
  }
  
  .event p {
    font-size: 0.9rem;
  }
  
  .info-title {
    font-size: 1.8rem;
  }
}

/* Meer Info Page Styles */
.meer-info-hero-section {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  position: relative;
  padding-top: 120px;
}

.meer-info-title {
  color: #fff;
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 16px #0005;
}

.meer-info-subtitle {
  color: #fff;
  font-size: 1.3rem;
  opacity: 0.9;
  text-shadow: 0 2px 12px #0005;
}

.info-links-section {
  position: relative;
  z-index: 2;
  padding: 40px 5vw;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  margin: 20px 5vw;
}

.info-links-container {
  max-width: 1200px;
  margin: 0 auto;
}

.info-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
}

.info-link-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.info-link-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.info-link-card:hover::before {
  left: 100%;
}

.info-link-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
}

.info-link-icon {
  flex-shrink: 0;
  color: #fff;
  opacity: 0.9;
  transition: transform 0.3s ease;
}

.info-link-card:hover .info-link-icon {
  transform: scale(1.1);
}

.info-link-content {
  flex: 1;
}

.info-link-content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.info-link-content p {
  font-size: 0.95rem;
  opacity: 0.8;
  line-height: 1.5;
  margin: 0;
}

.info-link-arrow {
  flex-shrink: 0;
  color: #fff;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.info-link-card:hover .info-link-arrow {
  opacity: 1;
  transform: translateX(4px);
}

.info-link-card.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none !important;
}

.info-link-card.disabled[href] {
  pointer-events: none !important;
}

.info-link-card:not(.disabled) {
  pointer-events: auto !important;
  cursor: pointer;
}

.info-link-card:not(.disabled)[href] {
  pointer-events: auto !important;
  cursor: pointer;
  text-decoration: none;
}

.info-link-card.disabled:hover {
  transform: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.2);
}

.info-link-card.disabled::before {
  display: none;
}

.info-link-x {
  flex-shrink: 0;
  color: #fff;
  opacity: 0.7;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  transition: all 0.3s ease;
}

.info-link-card.disabled .info-link-x {
  opacity: 1;
}

.info-link-card.disabled .info-link-icon {
  opacity: 0.5;
}

.info-link-card.disabled .info-link-content h3,
.info-link-card.disabled .info-link-content p {
  opacity: 0.6;
}

@media (max-width: 900px) {
  .info-links-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .info-link-card {
    padding: 24px;
    gap: 16px;
  }
  
  .meer-info-title {
    font-size: 2.4rem;
  }
  
  .meer-info-subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 600px) {
  .meer-info-hero-section {
    padding-top: 100px;
    min-height: 50vh;
  }
  
  .meer-info-title {
    font-size: 2rem;
  }
  
  .meer-info-subtitle {
    font-size: 1rem;
  }
  
  .info-link-card {
    padding: 20px;
    gap: 12px;
    flex-direction: column;
    text-align: center;
  }
  
  .info-link-content h3 {
    font-size: 1.2rem;
  }
  
  .info-link-content p {
    font-size: 0.9rem;
  }
  
  .info-link-arrow {
    display: none;
  }
}

/* Theme Page Styles */
.theme-hero-section {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  position: relative;
  padding-top: 120px;
}

.theme-title {
  color: #fff;
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 16px #0005;
}

.theme-subtitle {
  color: #fff;
  font-size: 1.3rem;
  opacity: 0.9;
  text-shadow: 0 2px 12px #0005;
}

.theme-content-section {
  position: relative;
  z-index: 2;
  padding: 40px 5vw;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  margin: 20px 5vw;
}

.theme-container {
  max-width: 1000px;
  margin: 0 auto;
}

.theme-main-card {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 48px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1), 0 1px 4px rgba(0, 0, 0, 0.05);
  text-align: center;
  margin-bottom: 48px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-main-card:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.theme-icon {
  color: #fff;
  margin-bottom: 24px;
  opacity: 0.9;
  filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.3));
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-main-card:hover .theme-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 16px rgba(255, 255, 255, 0.4));
}

.theme-heading {
  color: #fff;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px #0005;
}

.theme-description {
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.7;
  opacity: 0.9;
  max-width: 800px;
  margin: 0 auto;
}

.theme-aspects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.theme-aspect-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.theme-aspect-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.theme-aspect-card:hover::before {
  left: 100%;
}

.theme-aspect-card:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px) scale(1.02);
}

.aspect-icon {
  color: #fff;
  margin-bottom: 16px;
  opacity: 0.9;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 1px 4px rgba(255, 255, 255, 0.2));
}

.theme-aspect-card:hover .aspect-icon {
  transform: scale(1.15) rotate(5deg);
  filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.3));
}

.theme-aspect-card h3 {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.theme-aspect-card p {
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.85;
  margin: 0;
}

.theme-verse-section {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.theme-poster-section {
  text-align: center;
  margin-bottom: 48px;
}

.poster-title {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.poster-container {
  position: relative;
  display: inline-block;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.poster-container:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2), 0 4px 16px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

.pdf-viewer {
  width: 100%;
  height: 470px;
  border: none;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.pdf-download-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 24px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.poster-container:hover .pdf-download-overlay {
  opacity: 1;
}

.poster-description {
  font-size: 0.9rem;
  margin-bottom: 12px;
  opacity: 0.9;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 10px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.02em;
}

.download-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.verse-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 40px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.03);
  text-align: center;
  max-width: 700px;
  width: 100%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.verse-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%, rgba(255, 255, 255, 0.02) 100%);
  pointer-events: none;
}

.verse-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.verse-card h3 {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.bible-verse {
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 16px;
  opacity: 0.95;
  border-left: 3px solid rgba(255, 255, 255, 0.3);
  padding-left: 20px;
}

.verse-reference {
  color: #fff;
  font-size: 0.9rem;
  opacity: 0.8;
  font-style: normal;
}

@media (max-width: 900px) {
  .theme-main-card {
    padding: 32px;
  }
  
  .theme-heading {
    font-size: 2rem;
  }
  
  .theme-description {
    font-size: 1rem;
  }
  
  .theme-aspects-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .theme-aspect-card {
    padding: 24px;
  }
  
  .theme-title {
    font-size: 2.4rem;
  }
  
  .theme-subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 600px) {
  .theme-hero-section {
    padding-top: 100px;
    min-height: 50vh;
  }
  
  .theme-title {
    font-size: 2rem;
  }
  
  .theme-subtitle {
    font-size: 1rem;
  }
  
  .theme-main-card {
    padding: 24px;
  }
  
  .theme-heading {
    font-size: 1.6rem;
  }
  
  .theme-description {
    font-size: 0.95rem;
  }
  
  .theme-aspect-card {
    padding: 20px;
  }
  
  .theme-aspect-card h3 {
    font-size: 1.1rem;
  }
  
  .theme-aspect-card p {
    font-size: 0.9rem;
  }
  
  .pdf-viewer {
    height: 400px;
  }
  
  .poster-title {
    font-size: 1.5rem;
  }
  
  .verse-card {
    padding: 24px;
  }
  
  .bible-verse {
    font-size: 1rem;
  }
}

.about-hero-section {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  position: relative;
}

.about-hero-logo {
  width: 120px;
  margin-bottom: 32px;
  filter: drop-shadow(0 4px 24px #0008);
}

.about-hero-title {
  color: #fff;
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 16px #0005;
}

.about-hero-text {
  color: #fff;
  font-size: 1.3rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  opacity: 0.95;
  text-shadow: 0 2px 12px #0005;
}

@media (max-width: 600px) {
  .about-hero-logo {
    width: 70px;
    margin-bottom: 18px;
  }
  .about-hero-title {
    font-size: 1.4rem;
    margin-bottom: 14px;
  }
  .about-hero-text {
    font-size: 1rem;
    padding: 0 8px;
  }
}

/* Media Section Styles */
.media-section {
  position: relative;
  z-index: 2;
  padding: 40px 5vw;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  margin: 20px 5vw;
}

.media-container {
  max-width: 800px;
  margin: 0 auto;
}

.media-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 30px;
  text-shadow: 0 4px 16px #0008;
  letter-spacing: 0.02em;
}

.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

/* Video Card Styles */
.video-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-player {
  position: relative;
  width: 100%;
  height: 200px;
  background: #000;
  overflow: hidden;
  flex-shrink: 0;
}

.featured-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.9;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.video-player:hover .play-overlay {
  opacity: 1;
}

.video-info {
  padding: 12px;
}

.video-info h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 4px 0;
  text-shadow: 0 2px 8px #0006;
}

.video-info p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.3;
}

/* YouTube Card Styles */
.youtube-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.youtube-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.youtube-preview {
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 16px;
}

.youtube-icon {
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 16px rgba(255, 0, 0, 0.3));
}

.youtube-preview h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 6px 0;
  text-shadow: 0 2px 8px #0006;
}

.youtube-preview p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.4;
  max-width: 200px;
}

.youtube-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #FF0000;
  color: #fff;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 0;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s ease, transform 0.2s ease;
  margin-top: 0;
}

.youtube-link:hover {
  background: #cc0000;
  transform: translateY(-1px);
}

.youtube-link svg {
  transition: transform 0.2s ease;
}

.youtube-link:hover svg {
  transform: translateX(3px);
}

/* Responsive Design for Media Section */
@media (max-width: 900px) {
  .media-section {
    padding: 30px 4vw;
  }
  
  .media-title {
    font-size: 1.4rem;
    margin-bottom: 25px;
  }
  
  .media-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .video-card {
    /* height: 380px; */
  }
  
  .video-player {
    height: 180px;
  }
  
  .youtube-card {
    padding: 0;
    min-height: auto;
  }
  
  .youtube-preview h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 600px) {
  .media-section {
    padding: 25px 3vw;
  }
  
  .media-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }
  
  .media-grid {
    gap: 15px;
  }
  
  .video-card {
    /* height: 360px; */
  }
  
  .video-player {
    height: 160px;
  }
  
  .video-info {
    padding: 10px;
  }
  
  .video-info h3 {
    font-size: 0.95rem;
  }
  
  .youtube-card {
    padding: 0;
    min-height: auto;
  }
  
  .youtube-preview h3 {
    font-size: 1rem;
  }
  
  .youtube-link {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
}

/* Footer */
.footer {
  background: linear-gradient(135deg, rgba(34, 40, 49, 0.98) 0%, rgba(57, 72, 103, 0.98) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 6vw 15px;
  margin-top: 40px;
  position: relative;
  z-index: 5;
  min-height: 120px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  text-align: center;
  margin-bottom: 20px;
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 15px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  letter-spacing: 1px;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 80px;
}

.footer-social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.footer-social-link span {
  font-weight: 500;
  font-size: 0.9rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 0;
}

/* Responsive Design for Footer */
@media (max-width: 600px) {
  .footer {
    padding: 15px 4vw 10px;
    margin-top: 30px;
  }
  
  .footer-title {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }
  
  .footer-social {
    gap: 15px;
  }
  
  .footer-social-link {
    padding: 8px 12px;
    min-width: 70px;
  }
  
  .footer-social-link span {
    font-size: 0.8rem;
  }
  
  .footer-bottom p {
    font-size: 0.8rem;
  }
}

/* --- GLOBAL MOBILE IMPROVEMENTS --- */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
  width: 100%;
}

img, iframe, video {
  max-width: 100%;
  height: auto;
  display: block;
}

button, .meer-info-btn, .cta, a {
  min-height: 44px; /* Apple recommended tap target */
  min-width: 44px;
}

/* --- HEADER & NAV --- */
@media (max-width: 600px) {
  .modern-header {
    flex-direction: column;
    align-items: stretch;
    padding: 10px 2vw 0 2vw;
  }
  .modern-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
  }
  .modern-nav a {
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    padding: 10px 12px;
    font-size: 1.05rem;
  }
}

/* --- COUNTDOWN TIMER --- */
@media (max-width: 600px) {
  .countdown-timer {
    flex-direction: column;
    gap: 18px;
  }
  .countdown-section {
    padding-top: 80px;
    height: auto;
    min-height: 100vh;
  }
}

/* --- BUTTONS --- */
@media (max-width: 600px) {
  .meer-info-btn, .cta {
    width: 100%;
    font-size: 1.1rem;
    padding: 16px 0;
    border-radius: 24px;
    margin: 0 0 12px 0;
  }
}

/* --- CARDS & GRIDS --- */
@media (max-width: 600px) {
  .program-container, .info-grid, .info-links-grid, .media-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  
  .theme-aspects-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px;
  }
  .day-card, .info-card, .info-link-card, .theme-aspect-card {
    padding: 14px;
    font-size: 0.98rem;
  }
}

/* --- FOOTER --- */
@media (max-width: 600px) {
  .footer {
    padding: 10px 2vw 8px;
    min-height: 80px;
  }
}

/* --- PREVENT OVERFLOW ON ALL PAGES --- */
* {
  box-sizing: border-box;
}

.navbar-countdown-modern {
  display: flex;
  align-items: center;
  background: rgba(0,0,0,0.18);
  border-radius: 18px;
  padding: 6px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-left: auto;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.08);
}

.nav-time-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 36px;
}

.nav-time-num {
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  line-height: 1;
  letter-spacing: 1px;
}

.nav-time-label {
  font-size: 0.6rem;
  color: #fff;
  opacity: 0.7;
  letter-spacing: 1px;
  margin-top: 2px;
}

.nav-time-sep {
  font-size: 1.3rem;
  color: #fff;
  margin: 0 8px;
  font-weight: 600;
  opacity: 0.7;
  line-height: 1;
}

.disabled-msg {
  color: #e53935;
  font-size: 0.95em;
  font-style: italic;
  margin-top: 4px;
  display: block;
}

@media (max-width: 900px) {
  .navbar-countdown-modern {
    padding: 2px 4px;
    font-size: 0.8rem;
  }
  .nav-time-num, .nav-time-sep {
    font-size: 0.9rem;
  }
  .nav-time-label {
    font-size: 0.45rem;
  }
  .nav-time-col {
    min-width: 18px;
  }
}

@media (max-width: 700px) {
  .modern-header {
    flex-direction: column;
    align-items: center;
    padding: 8px 0;
  }
  .logo-area {
    margin-bottom: 8px;
  }
  .navbar-countdown-modern {
    align-self: center;
    margin: 0 0 8px 0;
  }
}

@media (max-width: 480px) {
  .navbar-countdown-modern {
    padding: 0 1px;
    font-size: 0.6rem;
  }
  .nav-time-num, .nav-time-sep {
    font-size: 0.65rem;
  }
  .nav-time-label {
    font-size: 0.28rem;
  }
  .nav-time-col {
    min-width: 8px;
  }
}

/* === Dashboard Modern Styles === */
.dashboard-bg-gradient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  z-index: 0;
  min-width: 100vw;
  overflow-x: hidden;
}

/* Dashboard-specific body background */
body.dashboard-page {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  width: 100vw;
  overflow-x: hidden;
}

/* Dashboard Navigation */
.dashboard-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  z-index: 100;
  padding: 16px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #222;
  margin: 0;
}

.nav-back {
  color: #007aff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.2s;
}

.nav-back:hover {
  color: #005ecb;
}

/* Dashboard Layout */
.dashboard-layout {
  display: flex;
  margin-top: 80px;
  min-height: calc(100vh - 80px);
  position: relative;
  z-index: 1;
  width: 100vw;
  overflow-x: hidden;
}

/* Sidebar Navigation */
.dashboard-sidebar {
  width: 280px;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-right: 1.5px solid rgba(255,255,255,0.22);
  box-shadow: 2px 0 20px rgba(31,38,135,0.1);
  position: fixed;
  left: 0;
  top: 80px;
  height: calc(100vh - 80px);
  overflow-y: auto;
  z-index: 50;
}

.sidebar-nav {
  padding: 24px 0;
}

.sidebar-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-item {
  margin: 0;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  color: #333;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  position: relative;
}

.sidebar-link:hover {
  background: rgba(255,255,255,0.2);
  color: #007aff;
  border-left-color: rgba(0,122,255,0.3);
}

.sidebar-link.active {
  background: rgba(0,122,255,0.1);
  color: #007aff;
  border-left-color: #007aff;
}

.sidebar-link.active::before {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid #007aff;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.sidebar-icon {
  font-size: 1.3rem;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.sidebar-text {
  flex: 1;
}

/* Main Content Area */
.dashboard-content {
  flex: 1;
  margin-left: 280px;
  padding: 32px;
  max-width: calc(100vw - 280px);
  width: 100%;
  overflow-x: hidden;
}

/* Dashboard Sections */
.dashboard-section {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(24px);
  border-radius: 28px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  border: 1px solid rgba(255,255,255,0.35);
  margin: 32px auto 0 auto;
  max-width: 1200px;
  box-sizing: border-box;
  transition: box-shadow 0.2s, transform 0.2s;
}
.dashboard-section.active {
  animation: fadeInUp 0.3s ease-out;
}
.dashboard-section:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.13);
  transform: translateY(-2px) scale(1.01);
}

.section-header {
  background: linear-gradient(90deg, rgba(0,122,255,0.07) 0%, rgba(88,86,214,0.04) 100%);
  padding: 32px 40px 24px 40px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  gap: 20px;
  border-radius: 28px 28px 0 0;
  position: relative;
}
.section-header .section-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: white;
  box-shadow: 0 4px 16px rgba(0,122,255,0.22);
  flex-shrink: 0;
}
.section-header h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1d1d1f;
  margin: 0;
  letter-spacing: -0.02em;
}
.section-header .section-description {
  font-size: 1.05rem;
  color: #86868b;
  margin: 6px 0 0 0;
  font-weight: 500;
}

.section-content {
  padding: 40px 40px 32px 40px;
  max-width: 100%;
  box-sizing: border-box;
}
@media (max-width: 900px) {
  .dashboard-section {
    max-width: 100%;
    margin: 16px 0 0 0;
  }
  .section-header, .section-content {
    padding: 18px 8px;
  }
}

/* Form Styles */
.dashboard-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
}

.form-group input[type="text"],
.form-group input[type="date"],
.form-group input[type="datetime-local"],
.form-group input[type="number"],
.form-group input[type="email"],
.form-group input[type="url"],
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  border: 1.5px solid #d1d5db;
  border-radius: 10px;
  background: rgba(255,255,255,0.8);
  color: #222;
  box-sizing: border-box;
  transition: border 0.2s, background 0.2s;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  border: 1.5px solid #007aff;
  outline: none;
  background: rgba(255,255,255,0.95);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

/* Checkbox Styles */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 8px 0;
}

.checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #007aff;
}

.checkbox-item span {
  font-size: 0.95rem;
  color: #333;
  font-weight: 500;
}

/* Button Styles */
.dashboard-form button {
  width: 100%;
  padding: 14px 0;
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(90deg, #007aff 60%, #00c6ff 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 2px 12px #007aff22;
  transition: background 0.2s, transform 0.13s, box-shadow 0.2s;
  letter-spacing: 0.03em;
}

.dashboard-form button:hover {
  background: linear-gradient(90deg, #005ecb 60%, #00aaff 100%);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 18px #007aff33;
}

/* Day Section Styles */
.day-section {
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.day-section h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #222;
  margin: 0 0 16px 0;
  text-align: center;
}

/* Video Section Styles */
.video-section h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
  margin: 0 0 16px 0;
  border-bottom: 2px solid rgba(0,122,255,0.2);
  padding-bottom: 8px;
}

.video-item {
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

/* Toast Notification */
.dashboard-confirm-toast {
  position: fixed;
  top: 24px;
  right: 24px;
  background: linear-gradient(90deg, #007aff 60%, #00c6ff 100%);
  color: #fff;
  padding: 14px 28px;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 122, 255, 0.18);
  z-index: 1000;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.3s, transform 0.3s;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  pointer-events: none;
  min-width: 180px;
  text-align: center;
}

.dashboard-confirm-toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .dashboard-content {
    padding: 24px;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0 16px;
  }
  
  .nav-title {
    font-size: 1.3rem;
  }
  
  .dashboard-layout {
    flex-direction: column;
    margin-top: 70px;
  }
  
  .dashboard-sidebar {
    position: relative;
    width: 100%;
    height: auto;
    top: 0;
    border-right: none;
    border-bottom: 1.5px solid rgba(255,255,255,0.22);
  }
  
  .sidebar-nav {
    padding: 16px 0;
  }
  
  .sidebar-menu {
    display: flex;
    overflow-x: auto;
    padding: 0 16px;
    gap: 8px;
  }
  
  .sidebar-item {
    flex-shrink: 0;
  }
  
  .sidebar-link {
    padding: 12px 16px;
    border-left: none;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    min-width: 120px;
    width: 100%;
    min-height: 48px;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 8px;
    box-sizing: border-box;
  }
  
  .sidebar-link:hover {
    border-left-color: transparent;
    border-bottom-color: rgba(0,122,255,0.3);
  }
  
  .sidebar-link.active {
    border-left-color: transparent;
    border-bottom-color: #007aff;
  }
  
  .sidebar-link.active::before {
    display: none;
  }
  
  .sidebar-icon {
    font-size: 1.1rem;
  }
  
  .sidebar-text {
    font-size: 0.9rem;
  }
  
  .dashboard-content {
    margin-left: 0;
    max-width: 100%;
    padding: 20px 16px;
  }
  
  .section-header {
    padding: 16px 20px;
  }
  
  .section-content {
    padding: 20px;
  }
  
  .section-header h2 {
    font-size: 1.2rem;
  }
  
  .day-section {
    padding: 16px;
  }
  
  .video-item {
    padding: 12px;
  }
  
  .dashboard-confirm-toast {
    top: 10px;
    right: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    min-width: 120px;
    padding: 10px 12px;
    font-size: 0.98rem;
  }
}

@media (max-width: 480px) {
  .dashboard-content {
    padding: 16px 12px;
  }
  
  .section-header {
    padding: 12px 16px;
  }
  
  .section-content {
    padding: 16px;
  }
  
  .form-group input[type="text"],
  .form-group input[type="date"],
  .form-group input[type="datetime-local"],
  .form-group input[type="number"],
  .form-group input[type="email"],
  .form-group input[type="url"],
  .form-group textarea {
    padding: 10px 12px;
    font-size: 0.95rem;
  }
  
  .dashboard-form button {
    padding: 12px 0;
    font-size: 1rem;
  }
  
  .sidebar-link {
    min-width: 100px;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    box-sizing: border-box;
  }
  
  .sidebar-text {
    font-size: 0.8rem;
  }
}

/* Form Section Styles */
.form-section {
  background: rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.1);
}

.section-subtitle {
  font-size: 1.2rem;
  font-weight: 700;
  color: #222;
  margin: 0 0 20px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(0,122,255,0.2);
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-subtitle::before {
  content: '';
  width: 4px;
  height: 20px;
  background: linear-gradient(90deg, #007aff, #00c6ff);
  border-radius: 2px;
}

/* Content Cards Grid - Apple Design */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.card-item {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 
    0 4px 20px rgba(0,0,0,0.08),
    0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,122,255,0.2), transparent);
}

.card-item:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 12px 40px rgba(0,0,0,0.12),
    0 4px 16px rgba(0,0,0,0.06);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  position: relative;
}

.card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
  box-shadow: 
    0 4px 16px rgba(0,122,255,0.3),
    0 2px 8px rgba(0,122,255,0.2);
  position: relative;
  flex-shrink: 0;
}

.card-icon::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #007aff, #5856d6);
  border-radius: 16px;
  z-index: -1;
  opacity: 0.3;
  filter: blur(6px);
}

.card-info {
  flex: 1;
  min-width: 0;
}

.card-info h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1d1d1f;
  margin: 0 0 4px 0;
  letter-spacing: -0.02em;
}

.card-info p {
  font-size: 0.9rem;
  color: #86868b;
  margin: 0;
  line-height: 1.4;
  font-weight: 500;
}

.card-toggle {
  flex-shrink: 0;
}

/* Toggle Switch - Apple Style */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  cursor: pointer;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #e5e5ea;
  border-radius: 26px;
  transition: background 0.22s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background: white;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.toggle-switch input:checked + .toggle-slider {
  background: #34c759;
  border-color: #34c759;
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(20px);
  box-shadow: 0 2px 8px rgba(52,199,89,0.3);
}

.toggle-switch:hover .toggle-slider {
  box-shadow: 0 0 0 2px rgba(0,122,255,0.2);
}

.card-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card-content .form-group {
  margin: 0;
}

.card-content .form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #86868b;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
  display: block;
}

.card-input,
.card-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  font-size: 0.95rem;
  background: rgba(0,0,0,0.02);
  color: #1d1d1f;
  transition: all 0.2s ease;
  font-family: inherit;
}

.card-input:focus,
.card-textarea:focus {
  outline: none;
  border-color: #007aff;
  background: rgba(0,122,255,0.02);
  box-shadow: 0 0 0 3px rgba(0,122,255,0.1);
}

.card-input {
  font-weight: 600;
}

.card-textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.4;
}

.card-textarea::placeholder {
  color: #86868b;
  font-weight: 400;
}

@media (max-width: 1200px) {
  .cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .card-item {
    padding: 20px;
  }
  
  .card-header {
    gap: 12px;
  }
  
  .card-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .card-info h4 {
    font-size: 1.1rem;
  }
  
  .card-info p {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .card-item {
    padding: 16px;
  }
  
  .card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .card-toggle {
    align-self: flex-end;
  }
  
  .card-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
  
  .card-input,
  .card-textarea {
    padding: 10px 14px;
    font-size: 0.9rem;
  }
}

/* Enhanced Checkbox Styles */
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 8px 0;
  transition: background 0.2s;
  border-radius: 6px;
  padding: 8px 12px;
}

.checkbox-item:hover {
  background: rgba(255,255,255,0.1);
}

.checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #007aff;
  cursor: pointer;
}

.checkbox-item span {
  font-size: 0.95rem;
  color: #333;
  font-weight: 500;
  cursor: pointer;
}

/* Enhanced Form Group Styles */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-group label::after {
  content: '';
  width: 2px;
  height: 12px;
  background: #007aff;
  border-radius: 1px;
}

/* Enhanced Input Styles */
.form-group input[type="text"],
.form-group input[type="date"],
.form-group input[type="datetime-local"],
.form-group input[type="number"],
.form-group input[type="email"],
.form-group input[type="url"],
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  border: 1.5px solid #d1d5db;
  border-radius: 10px;
  background: rgba(255,255,255,0.8);
  color: #222;
  box-sizing: border-box;
  transition: border 0.2s, background 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  border: 1.5px solid #007aff;
  outline: none;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 0 0 3px rgba(0,122,255,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

/* Enhanced Button Styles */
.dashboard-form button {
  width: 100%;
  padding: 16px 0;
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(90deg, #007aff 60%, #00c6ff 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 2px 12px #007aff22;
  transition: background 0.2s, transform 0.13s, box-shadow 0.2s;
  letter-spacing: 0.03em;
  margin-top: 8px;
}

.dashboard-form button:hover {
  background: linear-gradient(90deg, #005ecb 60%, #00aaff 100%);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 18px #007aff33;
}

.dashboard-form button:active {
  transform: translateY(0) scale(1);
}

/* Responsive Design for Cards Grid */
@media (max-width: 1200px) {
  .cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .form-section {
    padding: 20px;
    margin-bottom: 20px;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 16px;
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .card-item {
    padding: 16px;
  }
  
  .card-header {
    margin-bottom: 12px;
  }
  
  .card-icon {
    width: 28px;
    height: 28px;
    font-size: 1.3rem;
  }
  
  .card-name {
    font-size: 1rem;
  }
  
  .form-group input[type="text"],
  .form-group input[type="date"],
  .form-group input[type="datetime-local"],
  .form-group input[type="number"],
  .form-group input[type="email"],
  .form-group input[type="url"],
  .form-group textarea {
    padding: 10px 12px;
    font-size: 0.95rem;
  }
  
  .dashboard-form button {
    padding: 14px 0;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .form-section {
    padding: 16px;
    margin-bottom: 16px;
  }
  
  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 12px;
  }
  
  .card-item {
    padding: 12px;
  }
  
  .card-header {
    margin-bottom: 10px;
    gap: 8px;
  }
  
  .card-icon {
    width: 24px;
    height: 24px;
    font-size: 1.1rem;
  }
  
  .card-name {
    font-size: 0.95rem;
  }
  
  .card-controls {
    gap: 8px;
  }
  
  .form-group {
    gap: 6px;
    margin-bottom: 12px;
  }
  
  .form-group label {
    font-size: 0.9rem;
  }
  
  .form-group input[type="text"],
  .form-group input[type="date"],
  .form-group input[type="datetime-local"],
  .form-group input[type="number"],
  .form-group input[type="email"],
  .form-group input[type="url"],
  .form-group textarea {
    padding: 8px 10px;
    font-size: 0.9rem;
  }
  
  .checkbox-item {
    padding: 6px 8px;
  }
  
  .checkbox-item span {
    font-size: 0.9rem;
  }
}

/* File Upload Styles */
.file-upload-container {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(18px);
  border-radius: 18px;
  border: 1.5px solid rgba(0,122,255,0.13);
  box-shadow: 0 4px 20px rgba(0,122,255,0.08);
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  transition: box-shadow 0.2s, border 0.2s;
}
.file-upload-container:focus-within, .file-upload-container:hover {
  box-shadow: 0 8px 32px rgba(0,122,255,0.13);
  border: 1.5px solid #007aff33;
}
.file-upload-label {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  background: none;
  border: none;
}
.file-upload-label .upload-text {
  color: #fff;
  font-weight: 700;
  font-size: 1.08rem;
  padding: 14px 32px;
  border-radius: 14px;
  background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
  box-shadow: 0 2px 12px rgba(0,122,255,0.13);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  display: inline-block;
  letter-spacing: 0.01em;
}
.file-upload-label:hover .upload-text, .file-upload-label:focus .upload-text {
  background: linear-gradient(135deg, #005ecb 0%, #5856d6 100%);
  box-shadow: 0 4px 20px rgba(0,122,255,0.18);
  transform: scale(1.03);
}
.file-upload-label .upload-icon {
  font-size: 1.3rem;
  color: #fff;
  filter: drop-shadow(0 2px 8px rgba(0,122,255,0.13));
}
.file-input {
  opacity: 0;
  width: 0.1px;
  height: 0.1px;
  position: absolute;
  z-index: -1;
}
@media (max-width: 600px) {
  .file-upload-label .upload-text {
    font-size: 0.98rem;
    padding: 10px 16px;
    border-radius: 10px;
  }
  .file-upload-container {
    padding: 10px 0;
  }
}

.upload-icon {
  font-size: 1.5rem;
}

.upload-text {
  font-size: 1rem;
}

.image-preview {
  margin-top: 16px;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.2);
  position: relative;
}

.image-preview img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto 12px auto;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.current-image {
  margin-top: 16px;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.2);
}

.current-image p {
  margin: 0 0 12px 0;
  font-weight: 600;
  color: #333;
}

.current-image span {
  color: #007aff;
  font-weight: 700;
}

.remove-image {
  background: #ff3b30;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.remove-image:hover {
  background: #d70015;
}

/* Responsive Design for File Upload */
@media (max-width: 768px) {
  .file-upload-label {
    padding: 14px 16px;
    flex-direction: column;
    gap: 8px;
  }
  
  .upload-icon {
    font-size: 1.3rem;
  }
  
  .upload-text {
    font-size: 0.95rem;
  }
  
  .image-preview img {
    max-width: 250px;
  }
}

@media (max-width: 480px) {
  .file-upload-label {
    padding: 12px 14px;
  }
  
  .upload-icon {
    font-size: 1.2rem;
  }
  
  .upload-text {
    font-size: 0.9rem;
  }
  
  .image-preview img {
    max-width: 200px;
  }
  
  .remove-image {
    padding: 6px 12px;
    font-size: 0.85rem;
  }
}

/* Timer Section Styles */
.timer-preview-section {
  margin-bottom: 32px;
}

/* Timer Preview Card - Apple Design */
.timer-preview-card {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 
    0 8px 32px rgba(0,0,0,0.08),
    0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.timer-preview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,122,255,0.3), transparent);
}

.timer-preview-card:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 16px 48px rgba(0,0,0,0.12),
    0 4px 16px rgba(0,0,0,0.06);
}

.timer-preview-card .preview-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  position: relative;
}

.timer-preview-card .preview-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: white;
  box-shadow: 
    0 6px 20px rgba(0,122,255,0.3),
    0 2px 8px rgba(0,122,255,0.2);
  position: relative;
}

.timer-preview-card .preview-icon::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #007aff, #5856d6);
  border-radius: 18px;
  z-index: -1;
  opacity: 0.3;
  filter: blur(8px);
}

.timer-preview-card .preview-info {
  flex: 1;
}

.timer-preview-card .preview-info h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1d1d1f;
  margin: 0 0 4px 0;
  letter-spacing: -0.02em;
}

.timer-preview-card .preview-info p {
  font-size: 0.95rem;
  color: #86868b;
  margin: 0;
  line-height: 1.4;
  font-weight: 500;
}

.timer-preview-card .preview-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(52,199,89,0.1);
  border-radius: 20px;
  border: 1px solid rgba(52,199,89,0.2);
}

.timer-preview-card .status-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34c759;
  box-shadow: 0 0 0 2px rgba(52,199,89,0.3);
  animation: pulse 2s infinite;
}

.timer-preview-card .status-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: #34c759;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.timer-preview-card .preview-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.timer-preview-card .preview-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.timer-preview-card .preview-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.timer-preview-card .preview-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #86868b;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin: 0;
}

.timer-preview-card .preview-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1d1d1f;
  line-height: 1.3;
  margin: 0;
  padding: 12px 16px;
  background: rgba(0,0,0,0.03);
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.2s ease;
}

.timer-preview-card .preview-value:hover {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,122,255,0.2);
}

@media (max-width: 768px) {
  .timer-preview-card {
    padding: 20px;
  }
  
  .timer-preview-card .preview-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .timer-preview-card .preview-status {
    align-self: flex-start;
  }
  
  .timer-preview-card .preview-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .timer-preview-card .preview-icon {
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
  }
  
  .timer-preview-card .preview-info h4 {
    font-size: 1.2rem;
  }
  
  .timer-preview-card .preview-value {
    font-size: 1rem;
    padding: 10px 14px;
  }
}

@media (max-width: 480px) {
  .timer-preview-card {
    padding: 16px;
  }
  
  .timer-preview-card .preview-icon {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }
  
  .timer-preview-card .preview-info h4 {
    font-size: 1.1rem;
  }
  
  .timer-preview-card .preview-info p {
    font-size: 0.9rem;
  }
  
  .timer-preview-card .preview-value {
    font-size: 0.95rem;
    padding: 8px 12px;
  }
}

/* Enhanced Form Styling */
.datetime-input-container {
  position: relative;
  margin-bottom: 8px;
}

.datetime-input-container input {
  padding-right: 50px;
  background: rgba(255,255,255,0.9) !important;
  border: 1.5px solid rgba(0,0,0,0.1) !important;
  font-weight: 500;
}

.datetime-input-container input:focus {
  background: rgba(255,255,255,0.95) !important;
  border-color: #007aff !important;
  box-shadow: 0 0 0 3px rgba(0,122,255,0.1);
}

.input-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: #007aff;
  pointer-events: none;
}

.form-help {
  font-size: 0.9rem;
  color: #666;
  margin: 8px 0 0 0;
  line-height: 1.4;
}

/* Button Styling */
.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.primary-button,
.secondary-button {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.primary-button {
  background: linear-gradient(135deg, #007aff 0%, #005ecb 100%);
  color: white;
  box-shadow: 0 4px 16px rgba(0,122,255,0.3);
}

.primary-button:hover {
  background: linear-gradient(135deg, #005ecb 0%, #004499 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,122,255,0.4);
}

.secondary-button {
  background: rgba(255,255,255,0.8);
  color: #007aff;
  border: 1.5px solid rgba(0,122,255,0.3);
}

.secondary-button:hover {
  background: rgba(255,255,255,0.95);
  border-color: #007aff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,122,255,0.2);
}

.button-icon {
  font-size: 1.1rem;
}

.button-text {
  font-weight: 600;
}

/* Homepage Preview Card - Apple Design */
.homepage-preview {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 
    0 8px 32px rgba(0,0,0,0.08),
    0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.homepage-preview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,122,255,0.3), transparent);
}

.homepage-preview:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 16px 48px rgba(0,0,0,0.12),
    0 4px 16px rgba(0,0,0,0.06);
}

.homepage-preview .preview-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  position: relative;
}

.homepage-preview .preview-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: white;
  box-shadow: 
    0 6px 20px rgba(255,107,53,0.3),
    0 2px 8px rgba(255,107,53,0.2);
  position: relative;
}

.homepage-preview .preview-icon::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  border-radius: 18px;
  z-index: -1;
  opacity: 0.3;
  filter: blur(8px);
}

.homepage-preview .preview-info {
  flex: 1;
}

.homepage-preview .preview-info h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1d1d1f;
  margin: 0 0 4px 0;
  letter-spacing: -0.02em;
}

.homepage-preview .preview-info p {
  font-size: 0.95rem;
  color: #86868b;
  margin: 0;
  line-height: 1.4;
  font-weight: 500;
}

.homepage-preview .preview-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(52,199,89,0.1);
  border-radius: 20px;
  border: 1px solid rgba(52,199,89,0.2);
}

.homepage-preview .status-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34c759;
  box-shadow: 0 0 0 2px rgba(52,199,89,0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.homepage-preview .status-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: #34c759;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.homepage-preview .preview-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.homepage-preview .preview-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.homepage-preview .preview-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.homepage-preview .preview-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #86868b;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin: 0;
}

.homepage-preview .preview-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1d1d1f;
  line-height: 1.3;
  margin: 0;
  padding: 12px 16px;
  background: rgba(0,0,0,0.03);
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.2s ease;
}

.homepage-preview .preview-value:hover {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,122,255,0.2);
}

@media (max-width: 768px) {
  .homepage-preview {
    padding: 20px;
  }
  
  .homepage-preview .preview-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .homepage-preview .preview-status {
    align-self: flex-start;
  }
  
  .homepage-preview .preview-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .homepage-preview .preview-icon {
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
  }
  
  .homepage-preview .preview-info h4 {
    font-size: 1.2rem;
  }
  
  .homepage-preview .preview-value {
    font-size: 1rem;
    padding: 10px 14px;
  }
}

@media (max-width: 480px) {
  .homepage-preview {
    padding: 16px;
  }
  
  .homepage-preview .preview-icon {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }
  
  .homepage-preview .preview-info h4 {
    font-size: 1.1rem;
  }
  
  .homepage-preview .preview-info p {
    font-size: 0.9rem;
  }
  
  .homepage-preview .preview-value {
    font-size: 0.95rem;
    padding: 8px 12px;
  }
}

/* Information Grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.info-item {
  background: rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: transform 0.2s ease;
}

.info-item:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.15);
}

.info-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
  display: block;
}

.info-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
  margin: 0 0 8px 0;
}

.info-content p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
  margin: 0;
}

/* Enhanced Toast Notifications */
.dashboard-confirm-toast {
  position: fixed;
  top: 24px;
  right: 24px;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  z-index: 1000;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.3s, transform 0.3s;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  pointer-events: none;
  min-width: 200px;
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.dashboard-confirm-toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dashboard-confirm-toast.success {
  background: linear-gradient(135deg, #34c759 0%, #30d158 100%);
  color: white;
  border: 1px solid rgba(52,199,89,0.3);
}

.dashboard-confirm-toast.error {
  background: linear-gradient(135deg, #ff3b30 0%, #ff453a 100%);
  color: white;
  border: 1px solid rgba(255,59,48,0.3);
}

.dashboard-confirm-toast.info {
  background: linear-gradient(135deg, #007aff 0%, #0a84ff 100%);
  color: white;
  border: 1px solid rgba(0,122,255,0.3);
}

/* Responsive Design for Timer */
@media (max-width: 768px) {
  .timer-preview-card {
    padding: 20px;
  }
  
  .timer-date {
    font-size: 1.1rem;
  }
  
  .timer-time {
    font-size: 1rem;
  }
  
  .form-actions {
    flex-direction: column;
    gap: 10px;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .info-item {
    padding: 16px;
  }
  
  .dashboard-confirm-toast {
    top: 10px;
    right: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    min-width: 150px;
    padding: 12px 16px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .timer-preview-card {
    padding: 16px;
  }
  
  .timer-preview-header {
    margin-bottom: 12px;
  }
  
  .timer-icon {
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
  }
  
  .timer-label {
    font-size: 1rem;
  }
  
  .timer-date {
    font-size: 1rem;
  }
  
  .timer-time {
    font-size: 0.9rem;
  }
  
  .primary-button,
  .secondary-button {
    padding: 12px 16px;
    font-size: 0.95rem;
  }
  
  .info-content h4 {
    font-size: 1rem;
  }
  
  .info-content p {
    font-size: 0.9rem;
  }
}

/* Toast Notifications */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  z-index: 10000;
  transform: translateX(400px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 350px;
  min-width: 280px;
}

.toast.show {
  transform: translateX(0);
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toast-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.toast-message {
  color: #333;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
}

.toast-success {
  border-left: 4px solid #10b981;
}

.toast-error {
  border-left: 4px solid #ef4444;
}

.toast-info {
  border-left: 4px solid #3b82f6;
}

@media (max-width: 768px) {
  .toast {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
    min-width: auto;
    transform: translateY(-100px);
  }
  
  .toast.show {
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .toast {
    padding: 14px 16px;
  }
  
  .toast-content {
    gap: 10px;
  }
  
  .toast-icon {
    font-size: 1.1rem;
  }
  
  .toast-message {
    font-size: 0.9rem;
  }
}

/* Update Popup Notification */
.update-popup {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
  z-index: 10001;
  transform: translateX(400px);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 380px;
  min-width: 320px;
  overflow: hidden;
}

.update-popup.show {
  transform: translateX(0);
}

.update-popup-content {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  position: relative;
}

.update-popup-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 12px;
  color: #10b981;
}

.update-popup-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.5;
}

.update-popup-success .update-popup-icon {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.update-popup-error .update-popup-icon {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.update-popup-info .update-popup-icon {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.update-popup-text {
  flex: 1;
  min-width: 0;
}

.update-popup-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 4px;
  line-height: 1.3;
}

.update-popup-message {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.4;
}

.update-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s;
  padding: 0;
  line-height: 1;
}

.update-popup-close svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.update-popup-close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #374151;
}

.update-popup-success {
  border-left: 4px solid #10b981;
}

.update-popup-error {
  border-left: 4px solid #ef4444;
}

.update-popup-info {
  border-left: 4px solid #3b82f6;
}

@media (max-width: 768px) {
  .update-popup {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
    min-width: auto;
    transform: translateY(-120px);
  }
  
  .update-popup.show {
    transform: translateY(0);
  }
  
  .update-popup-content {
    padding: 16px 20px;
  }
  
  .update-popup-icon {
    width: 40px;
    height: 40px;
  }
  
  .update-popup-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .update-popup-title {
    font-size: 0.95rem;
  }
  
  .update-popup-message {
    font-size: 0.85rem;
  }
}

/* Cards Save Button - Apple Style */
.cards-save-section {
  display: flex;
  justify-content: center;
  margin-top: 32px;
  margin-bottom: 8px;
}

.cards-save-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  font-size: 1.15rem;
  font-weight: 700;
  font-family: 'SF Pro Display', 'Segoe UI', Arial, sans-serif;
  color: #fff;
  background: linear-gradient(90deg, #007aff 60%, #5856d6 100%);
  border: none;
  border-radius: 16px;
  box-shadow: 0 4px 24px #007aff22, 0 1.5px 6px #5856d633;
  cursor: pointer;
  transition: background 0.2s, transform 0.13s, box-shadow 0.2s;
  letter-spacing: 0.01em;
  outline: none;
}

.cards-save-btn .save-icon {
  font-size: 1.3em;
  display: flex;
  align-items: center;
}

.cards-save-btn .save-text {
  font-size: 1.08em;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.cards-save-btn:hover {
  background: linear-gradient(90deg, #005ecb 60%, #5856d6 100%);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 32px #007aff33, 0 2px 8px #5856d644;
}

.cards-save-btn:active {
  background: linear-gradient(90deg, #007aff 60%, #5856d6 100%);
  transform: scale(0.98);
  box-shadow: 0 2px 8px #007aff22;
}

@media (max-width: 600px) {
  .cards-save-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 0;
    font-size: 1rem;
  }
  .cards-save-section {
    margin-top: 20px;
  }
}

/* Apple Glassmorphism Card for Homepage Instellingen */
#home .form-section {
  background: rgba(255,255,255,0.85);
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10), 0 1.5px 6px #007aff22;
  padding: 36px 32px 32px 32px;
  margin-bottom: 32px;
  backdrop-filter: blur(18px);
  border: 1.5px solid rgba(0,122,255,0.08);
  position: relative;
}

#home .section-subtitle {
  font-size: 1.08rem;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 28px;
  letter-spacing: 0.01em;
  position: relative;
  padding-left: 18px;
}
#home .section-subtitle::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(180deg, #007aff 0%, #5856d6 100%);
}

#home .dashboard-form {
  gap: 28px;
}

#home .form-group label {
  font-size: 0.97rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

#home .input-container {
  display: flex;
  align-items: center;
  background: rgba(0,122,255,0.04);
  border-radius: 12px;
  border: 1.5px solid rgba(0,122,255,0.08);
  padding: 0 10px;
  transition: border 0.2s, box-shadow 0.2s;
}
#home .input-container:focus-within {
  border: 1.5px solid #007aff;
  box-shadow: 0 0 0 2px #007aff22;
}
#home .input-container input[type="text"] {
  border: none;
  background: transparent;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1d1d1f;
  padding: 14px 0;
  width: 100%;
  outline: none;
}
#home .input-icon {
  font-size: 1.2em;
  color: #007aff;
  margin-left: 8px;
}

#home .form-help {
  color: #86868b;
  font-size: 0.92rem;
  margin-top: 2px;
  margin-bottom: 0;
  padding-left: 2px;
}

#home .file-upload-container {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}
#home .file-upload-label {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, #007aff 60%, #5856d6 100%);
  color: #fff;
  font-weight: 600;
  border-radius: 12px;
  padding: 10px 22px;
  cursor: pointer;
  font-size: 1.02rem;
  box-shadow: 0 2px 8px #007aff22;
  transition: background 0.2s, box-shadow 0.2s;
}
#home .file-upload-label:hover {
  background: linear-gradient(90deg, #005ecb 60%, #5856d6 100%);
  box-shadow: 0 4px 16px #007aff33;
}
#home .upload-icon {
  font-size: 1.2em;
}
#home .upload-text {
  font-size: 1em;
}
#home .file-input {
  display: none;
}
#home .image-preview, #home .current-image {
  margin-top: 8px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(0,122,255,0.04);
  border-radius: 10px;
  padding: 8px 14px;
}
#home .image-preview img, #home .current-image img {
  max-width: 120px;
  max-height: 60px;
  border-radius: 8px;
  box-shadow: 0 2px 8px #007aff22;
}
#home .remove-image {
  background: none;
  border: none;
  color: #ff3b30;
  font-weight: 600;
  font-size: 1.02em;
  cursor: pointer;
  margin-left: 8px;
  padding: 4px 10px;
  border-radius: 8px;
  transition: background 0.2s;
}
#home .remove-image:hover {
  background: rgba(255,59,48,0.08);
}
#home .current-image p {
  margin: 0;
  font-size: 0.97em;
  color: #222;
}
#home .current-image span {
  color: #007aff;
  font-weight: 600;
}

#home .form-actions {
  display: flex;
  gap: 18px;
  margin-top: 18px;
}
#home .primary-button, #home .secondary-button {
  flex: 1;
  padding: 16px 0;
  font-size: 1.08rem;
  font-weight: 700;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.13s, box-shadow 0.2s;
  box-shadow: 0 2px 12px #007aff22;
  letter-spacing: 0.01em;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
#home .primary-button {
  background: linear-gradient(90deg, #007aff 60%, #5856d6 100%);
  color: #fff;
}
#home .primary-button:hover {
  background: linear-gradient(90deg, #005ecb 60%, #5856d6 100%);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 32px #007aff33, 0 2px 8px #5856d644;
}
#home .primary-button:active {
  background: linear-gradient(90deg, #007aff 60%, #5856d6 100%);
  transform: scale(0.98);
  box-shadow: 0 2px 8px #007aff22;
}
#home .secondary-button {
  background: rgba(0,122,255,0.08);
  color: #007aff;
  font-weight: 700;
}
#home .secondary-button:hover {
  background: rgba(0,122,255,0.15);
  color: #005ecb;
}
#home .secondary-button:active {
  background: rgba(0,122,255,0.10);
  color: #007aff;
}

@media (max-width: 900px) {
  #home .form-section {
    padding: 24px 10px 20px 10px;
  }
}
@media (max-width: 600px) {
  #home .form-section {
    padding: 14px 2px 10px 2px;
    border-radius: 14px;
  }
  #home .form-actions {
    flex-direction: column;
    gap: 10px;
  }
}

/* Apple Design for Thema Section */
#thema .form-section {
  background: rgba(255,255,255,0.85);
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10), 0 1.5px 6px #007aff22;
  padding: 36px 32px 32px 32px;
  margin-bottom: 32px;
  backdrop-filter: blur(18px);
  border: 1.5px solid rgba(0,122,255,0.08);
  position: relative;
}

#thema .section-subtitle {
  font-size: 1.08rem;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 28px;
  letter-spacing: 0.01em;
  position: relative;
  padding-left: 18px;
}

#thema .section-subtitle::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(180deg, #007aff 0%, #5856d6 100%);
}

/* Theme Preview Card */
.theme-preview-card {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 
    0 4px 20px rgba(0,0,0,0.08),
    0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.theme-preview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,122,255,0.2), transparent);
}

.theme-preview-card:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 12px 40px rgba(0,0,0,0.12),
    0 4px 16px rgba(0,0,0,0.06);
}

.theme-preview-card .preview-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  position: relative;
}

.theme-preview-card .preview-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
  box-shadow: 
    0 4px 16px rgba(0,122,255,0.3),
    0 2px 8px rgba(0,122,255,0.2);
  position: relative;
  flex-shrink: 0;
}

.theme-preview-card .preview-icon::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #007aff, #5856d6);
  border-radius: 16px;
  z-index: -1;
  opacity: 0.3;
  filter: blur(6px);
}

.theme-preview-card .preview-info {
  flex: 1;
  min-width: 0;
}

.theme-preview-card .preview-info h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1d1d1f;
  margin: 0 0 4px 0;
  letter-spacing: -0.02em;
}

.theme-preview-card .preview-info p {
  font-size: 0.9rem;
  color: #86868b;
  margin: 0;
  line-height: 1.4;
  font-weight: 500;
}

.theme-preview-card .preview-status {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-preview-card .status-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #34c759;
  box-shadow: 0 0 0 2px rgba(52,199,89,0.2);
  animation: pulse 2s infinite;
}

.theme-preview-card .status-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #34c759;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.theme-preview-card .preview-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.theme-preview-card .preview-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.theme-preview-card .preview-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.theme-preview-card .preview-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #86868b;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.theme-preview-card .preview-value {
  font-size: 1rem;
  font-weight: 600;
  color: #1d1d1f;
  padding: 8px 12px;
  background: rgba(0,122,255,0.04);
  border-radius: 8px;
  border: 1px solid rgba(0,122,255,0.08);
  transition: all 0.2s ease;
}

.theme-preview-card .preview-value:hover {
  background: rgba(0,122,255,0.08);
  border-color: rgba(0,122,255,0.15);
}

/* Theme Form Styling */
#thema .dashboard-form {
  gap: 32px;
}

#thema .form-group label {
  font-size: 0.97rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

#thema .input-container {
  display: flex;
  align-items: center;
  background: rgba(0,122,255,0.04);
  border-radius: 12px;
  border: 1.5px solid rgba(0,122,255,0.08);
  padding: 0 10px;
  transition: border 0.2s, box-shadow 0.2s;
}

#thema .input-container:focus-within {
  border: 1.5px solid #007aff;
  box-shadow: 0 0 0 2px #007aff22;
}

#thema .input-container input[type="text"] {
  border: none;
  background: transparent;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1d1d1f;
  padding: 14px 0;
  width: 100%;
  outline: none;
}

#thema .number-input-container {
  display: flex;
  align-items: center;
  background: rgba(0,122,255,0.04);
  border-radius: 12px;
  border: 1.5px solid rgba(0,122,255,0.08);
  padding: 0 10px;
  transition: border 0.2s, box-shadow 0.2s;
}

#thema .number-input-container:focus-within {
  border: 1.5px solid #007aff;
  box-shadow: 0 0 0 2px #007aff22;
}

#thema .theme-number-input {
  border: none;
  background: transparent;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1d1d1f;
  padding: 14px 0;
  width: 100%;
  outline: none;
}

#thema .input-icon {
  font-size: 1.2em;
  color: #007aff;
  margin-left: 8px;
}

#thema .form-help {
  color: #86868b;
  font-size: 0.92rem;
  margin-top: 4px;
  margin-bottom: 0;
  padding-left: 2px;
  line-height: 1.4;
}

/* Theme Textarea Styling */
#thema .theme-textarea,
#thema .verse-textarea {
  width: 100%;
  padding: 16px;
  border: 1.5px solid rgba(0,122,255,0.08);
  border-radius: 12px;
  font-size: 1rem;
  background: rgba(0,122,255,0.02);
  color: #1d1d1f;
  transition: all 0.2s ease;
  font-family: inherit;
  resize: vertical;
  min-height: 100px;
  line-height: 1.5;
}

#thema .theme-textarea:focus,
#thema .verse-textarea:focus {
  outline: none;
  border-color: #007aff;
  background: rgba(0,122,255,0.04);
  box-shadow: 0 0 0 3px rgba(0,122,255,0.1);
}

#thema .theme-textarea::placeholder,
#thema .verse-textarea::placeholder {
  color: #86868b;
  font-weight: 400;
}

/* Subsection Styling */
#thema .theme-main-section,
#thema .theme-verse-section,
#thema .theme-poster-section {
  background: rgba(255,255,255,0.5);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(0,122,255,0.06);
  margin-bottom: 24px;
}

#thema .subsection-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1d1d1f;
  margin: 0 0 20px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(0,122,255,0.1);
  letter-spacing: -0.01em;
}

/* Form Actions */
#thema .form-actions {
  display: flex;
  gap: 18px;
  margin-top: 24px;
}

#thema .primary-button,
#thema .secondary-button {
  flex: 1;
  padding: 16px 0;
  font-size: 1.08rem;
  font-weight: 700;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.13s, box-shadow 0.2s;
  box-shadow: 0 2px 12px #007aff22;
  letter-spacing: 0.01em;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

#thema .primary-button {
  background: linear-gradient(90deg, #007aff 60%, #5856d6 100%);
  color: #fff;
}

#thema .primary-button:hover {
  background: linear-gradient(90deg, #005ecb 60%, #5856d6 100%);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 32px #007aff33, 0 2px 8px #5856d644;
}

#thema .primary-button:active {
  background: linear-gradient(90deg, #007aff 60%, #5856d6 100%);
  transform: scale(0.98);
  box-shadow: 0 2px 8px #007aff22;
}

#thema .secondary-button {
  background: rgba(0,122,255,0.08);
  color: #007aff;
  font-weight: 700;
}

#thema .secondary-button:hover {
  background: rgba(0,122,255,0.15);
  color: #005ecb;
}

#thema .secondary-button:active {
  background: rgba(0,122,255,0.10);
  color: #007aff;
}

/* Responsive Design */
@media (max-width: 900px) {
  #thema .form-section {
    padding: 24px 20px 20px 20px;
  }
  
  .theme-preview-card .preview-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 600px) {
  #thema .form-section {
    padding: 20px 16px 16px 16px;
    border-radius: 16px;
  }
  
  #thema .theme-main-section,
  #thema .theme-verse-section,
  #thema .theme-poster-section {
    padding: 20px;
  }
  
  #thema .form-actions {
    flex-direction: column;
    gap: 12px;
  }
  
  .theme-preview-card {
    padding: 20px;
  }
  
  .theme-preview-card .preview-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .theme-preview-card .preview-status {
    align-self: flex-end;
  }
}

/* Cards Count Controls */
#thema .cards-count-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

#thema .cards-count-buttons {
  display: flex;
  gap: 8px;
}

#thema .count-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  letter-spacing: 0.01em;
}

#thema .count-btn.add-btn {
  background: linear-gradient(135deg, #34c759 0%, #30d158 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(52,199,89,0.3);
}

#thema .count-btn.add-btn:hover {
  background: linear-gradient(135deg, #30d158 0%, #28a745 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(52,199,89,0.4);
}

#thema .count-btn.add-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(52,199,89,0.3);
}

#thema .count-btn.remove-btn {
  background: linear-gradient(135deg, #ff3b30 0%, #ff453a 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(255,59,48,0.3);
}

#thema .count-btn.remove-btn:hover {
  background: linear-gradient(135deg, #ff453a 0%, #d70015 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255,59,48,0.4);
}

#thema .count-btn.remove-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(255,59,48,0.3);
}

#thema .count-btn .btn-icon {
  font-size: 1.1em;
  display: flex;
  align-items: center;
}

#thema .count-btn .btn-text {
  font-size: 0.9em;
  font-weight: 600;
}

#thema .count-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

@media (max-width: 768px) {
  #thema .cards-count-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  
  #thema .cards-count-buttons {
    justify-content: center;
  }
  
  #thema .count-btn {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  #thema .cards-count-buttons {
    flex-direction: column;
    gap: 8px;
  }
  
  #thema .count-btn {
    padding: 12px 16px;
  }
}

/* Apple Dashboard Redesign */
.dashboard-bg-gradient {
  background: #f5f5f7;
  min-height: 100vh;
  position: relative;
}

/* Dashboard Header */
.dashboard-header {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.dashboard-header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-title-section {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dashboard-logo {
  width: 36px;
  height: 36px;
  background: #007aff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: white;
  font-weight: 600;
}

.dashboard-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1d1d1f;
  margin: 0;
  letter-spacing: -0.02em;
}

.dashboard-subtitle {
  font-size: 0.9rem;
  color: #86868b;
  margin: 0;
  font-weight: 500;
}

.dashboard-stats {
  display: flex;
  gap: 16px;
  align-items: center;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(0,122,255,0.08);
  border-radius: 6px;
}

.stat-icon {
  font-size: 1rem;
  color: #007aff;
}

.stat-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1d1d1f;
}

.stat-label {
  font-size: 0.8rem;
  color: #86868b;
  font-weight: 500;
}

.back-to-site-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #007aff;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.back-to-site-btn:hover {
  background: #005ecb;
  color: white;
  text-decoration: none;
}

.back-to-site-btn .btn-icon {
  font-size: 1rem;
}

.back-to-site-btn .btn-text {
  font-weight: 600;
  letter-spacing: 0.01em;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #1d1d1f;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.mobile-menu-toggle:hover {
  background: rgba(0,122,255,0.1);
  color: #007aff;
}

.mobile-menu-toggle .menu-icon {
  font-size: 1.5rem;
  font-weight: 600;
}

/* Enhanced Sidebar */
.dashboard-sidebar {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(10px);
  border-right: 1px solid rgba(0,0,0,0.08);
  width: 280px;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 50;
  box-shadow: 1px 0 3px rgba(0,0,0,0.1);
  overflow-y: auto;
  padding-top: 80px;
}

.sidebar-header {
  padding: 24px 20px 16px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  margin-bottom: 16px;
}

.sidebar-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #86868b;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 0 0 8px 0;
}

.sidebar-subtitle {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1d1d1f;
  margin: 0;
  letter-spacing: -0.01em;
}

.sidebar-nav {
  padding: 0 12px;
}

.sidebar-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-item {
  margin: 0;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #1d1d1f;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.2s ease;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
}

.sidebar-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #007aff 0%, #5856d6 100%);
  transform: scaleY(0);
  transition: transform 0.2s ease;
}

.sidebar-link:hover {
  background: rgba(0,122,255,0.08);
  color: #007aff;
  transform: translateX(4px);
}

.sidebar-link.active {
  background: linear-gradient(90deg, rgba(0,122,255,0.12) 0%, rgba(88,86,214,0.08) 100%);
  color: #007aff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,122,255,0.15);
}

.sidebar-link.active::before {
  transform: scaleY(1);
}

.sidebar-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,122,255,0.1);
  border-radius: 8px;
  font-size: 1.1rem;
  transition: all 0.2s ease;
  flex-shrink: 0;
  flex: 0 0 32px;
}

.sidebar-link:hover .sidebar-icon {
  background: rgba(0,122,255,0.2);
  transform: scale(1.1);
}

.sidebar-link.active .sidebar-icon {
  background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(0,122,255,0.3);
}

.sidebar-text {
  font-weight: inherit;
  letter-spacing: 0.01em;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Enhanced Main Content */
.dashboard-content {
  margin-left: 280px;
  padding: 20px;
  min-height: calc(100vh - 80px);
  position: relative;
  z-index: 1;
}

.dashboard-section {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border: 1px solid rgba(0,0,0,0.08);
  margin-bottom: 20px;
  overflow: hidden;
  display: none;
  animation: fadeInUp 0.3s ease-out;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.dashboard-section.active {
  display: block;
}

/* Enhanced Section Headers */
.section-header {
  background: linear-gradient(90deg, rgba(0,122,255,0.05) 0%, rgba(88,86,214,0.03) 100%);
  padding: 28px 32px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.section-header::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #007aff 0%, #5856d6 100%);
}

.section-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
  box-shadow: 0 4px 16px rgba(0,122,255,0.3);
  position: relative;
  flex-shrink: 0;
}

.section-icon::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #007aff, #5856d6);
  border-radius: 16px;
  z-index: -1;
  opacity: 0.3;
  filter: blur(6px);
}

.section-header h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1d1d1f;
  margin: 0;
  letter-spacing: -0.02em;
}

.section-header .section-description {
  font-size: 0.9rem;
  color: #86868b;
  margin: 4px 0 0 0;
  font-weight: 500;
}

/* Enhanced Section Content */
.section-content {
  padding: 32px;
  width: 100%;
  box-sizing: border-box;
}

/* Dashboard Overview Cards */
.dashboard-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
  width: 100%;
  box-sizing: border-box;
}

.overview-card {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.overview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,122,255,0.2), transparent);
}

.overview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.overview-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.overview-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  box-shadow: 0 4px 16px rgba(0,122,255,0.3);
}

.overview-icon svg {
  width: 24px;
  height: 24px;
  color: #fff;
}

.overview-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1d1d1f;
  margin: 0;
}

.overview-value {
  font-size: 2rem;
  font-weight: 700;
  color: #007aff;
  margin: 8px 0 4px 0;
  letter-spacing: -0.02em;
}

.overview-description {
  font-size: 0.85rem;
  color: #86868b;
  margin: 0;
  line-height: 1.4;
}

/* Enhanced Form Sections */
.form-section {
  background: rgba(255,255,255,0.7);
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 24px;
  border: 1px solid rgba(0,0,0,0.08);
  backdrop-filter: blur(10px);
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.form-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,122,255,0.2), transparent);
}

.section-subtitle {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1d1d1f;
  margin: 0 0 20px 0;
  letter-spacing: -0.01em;
  position: relative;
  padding-left: 16px;
}

.section-subtitle::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  border-radius: 2px;
  background: linear-gradient(180deg, #007aff 0%, #5856d6 100%);
}

/* Enhanced Form Elements */
.dashboard-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.form-group label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: 0.01em;
}

.form-group input[type="text"],
.form-group input[type="date"],
.form-group input[type="datetime-local"],
.form-group input[type="number"],
.form-group input[type="email"],
.form-group input[type="url"],
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  background: rgba(255,255,255,0.8);
  color: #1d1d1f;
  box-sizing: border-box;
  transition: all 0.2s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  border: 1.5px solid #007aff;
  outline: none;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 0 0 3px rgba(0,122,255,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.5;
}

/* Enhanced Buttons */
.dashboard-form button,
.primary-button,
.secondary-button {
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.primary-button {
  background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
  color: white;
  box-shadow: 0 4px 16px rgba(0,122,255,0.3);
}

.primary-button:hover {
  background: linear-gradient(135deg, #005ecb 0%, #5856d6 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,122,255,0.4);
}

.secondary-button {
  background: rgba(0,122,255,0.1);
  color: #007aff;
  border: 1px solid rgba(0,122,255,0.2);
}

.secondary-button:hover {
  background: rgba(0,122,255,0.15);
  color: #005ecb;
  transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .dashboard-sidebar {
    width: 240px;
  }
  
  .dashboard-content {
    margin-left: 240px;
  }
  
  .dashboard-overview {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

@media (max-width: 768px) {
  .dashboard-sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  
  .dashboard-sidebar.open {
    transform: translateX(0);
  }
  
  .dashboard-content {
    margin-left: 0;
    padding: 16px;
  }
  
  .dashboard-header-content {
    padding: 0 16px;
  }
  
  .dashboard-stats {
    display: none;
  }
  
  .back-to-site-btn {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .section-content {
    padding: 20px;
  }
  
  .form-section {
    padding: 20px;
  }
  
  .overview-card {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .dashboard-header-content {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  
  .section-header {
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .section-content {
    padding: 16px;
  }
  
  .form-section {
    padding: 16px;
  }
  
  .overview-card {
    padding: 16px;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Users Management Styles */
.section-header-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.users-table-container {
  background: rgba(255,255,255,0.8);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
  backdrop-filter: blur(10px);
}

.users-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.users-table th {
  background: linear-gradient(90deg, rgba(0,122,255,0.08) 0%, rgba(88,86,214,0.05) 100%);
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
  color: #1d1d1f;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.users-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  vertical-align: middle;
}

.users-table tr:hover {
  background: rgba(0,122,255,0.03);
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(0,122,255,0.3);
}

.user-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.user-name {
  font-weight: 600;
  color: #1d1d1f;
  font-size: 0.95rem;
}

.user-role {
  font-size: 0.8rem;
  color: #86868b;
  font-weight: 500;
}

.role-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.role-badge.admin {
  background: linear-gradient(135deg, #ff3b30 0%, #ff6b6b 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(255,59,48,0.3);
}

.role-badge.editor {
  background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(0,122,255,0.3);
}

.role-badge.viewer {
  background: linear-gradient(135deg, #34c759 0%, #30d158 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(52,199,89,0.3);
}

.status-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.online {
  background: rgba(52,199,89,0.1);
  color: #34c759;
  border: 1px solid rgba(52,199,89,0.2);
}

.status-badge.offline {
  background: rgba(142,142,147,0.1);
  color: #8e8e93;
  border: 1px solid rgba(142,142,147,0.2);
}

.action-buttons {
  display: flex;
  gap: 8px;
}

.action-btn {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.action-btn.edit-btn {
  background: rgba(0,122,255,0.1);
  color: #007aff;
}

.action-btn.edit-btn:hover {
  background: rgba(0,122,255,0.2);
  transform: scale(1.1);
}

.action-btn.delete-btn {
  background: rgba(255,59,48,0.1);
  color: #ff3b30;
}

.action-btn.delete-btn:hover {
  background: rgba(255,59,48,0.2);
  transform: scale(1.1);
}

/* Roles Management - Improved Fit */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto 24px auto;
  padding: 0 12px;
}

.role-card {
  background: rgba(255,255,255,0.92);
  border-radius: 16px;
  padding: 20px 18px 18px 18px;
  border: 1px solid rgba(0,0,0,0.07);
  min-width: 0;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}

.role-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  transform: translateY(-2px) scale(1.02);
}

.role-header {
  gap: 12px;
  margin-bottom: 12px;
}

.role-info h4 {
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.role-info p {
  font-size: 0.92rem;
}

.role-permissions {
  gap: 8px;
}

@media (max-width: 1100px) {
  .roles-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 700px;
  }
}

@media (max-width: 700px) {
  .roles-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    padding: 0 4px;
  }
  .role-card {
    min-height: unset;
    padding: 16px 8px;
  }
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease-out;
}

.modal-content {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 0;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.3);
  animation: slideInUp 0.3s ease-out;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  background: linear-gradient(90deg, rgba(0,122,255,0.05) 0%, rgba(88,86,214,0.03) 100%);
}

.modal-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1d1d1f;
  margin: 0;
  letter-spacing: -0.01em;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #86868b;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: rgba(0,0,0,0.1);
  color: #1d1d1f;
}

.modal-form {
  padding: 32px;
}

.modal-form .form-group {
  margin-bottom: 20px;
}

.modal-form select {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  background: rgba(255,255,255,0.8);
  color: #1d1d1f;
  box-sizing: border-box;
  transition: all 0.2s ease;
  font-family: inherit;
}

.modal-form select:focus {
  border: 1.5px solid #007aff;
  outline: none;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 0 0 3px rgba(0,122,255,0.1);
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* Consistent Section Layout for Gebruikers */
.dashboard-section {
  max-width: 1200px;
  margin: 32px auto 0 auto;
  box-sizing: border-box;
}

.section-content {
  padding: 32px;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .dashboard-section {
    max-width: 100%;
    margin: 16px 0 0 0;
  }
  .section-content {
    padding: 16px 4px;
  }
}

/* Responsive Users Table */
.users-table-container {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 24px;
}

.users-table {
  min-width: 700px;
}

@media (max-width: 700px) {
  .users-table {
    min-width: 500px;
  }
}

/* Responsive Dashboard Overview for Users */
.dashboard-overview {
  max-width: 100%;
  margin: 0 auto 32px auto;
  box-sizing: border-box;
}

/* Responsive Roles Grid for Users */
.roles-grid {
  width: 100%;
  margin: 0 auto 24px auto;
  box-sizing: border-box;
}

/* Apple-Style Timer Design */
.apple-timer-overview {
  max-width: 1200px;
  margin: 0 auto 48px auto;
  display: grid;
  gap: 32px;
}

/* Live Countdown Display */
.apple-countdown-display {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,249,250,0.95) 100%);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 
    0 4px 24px rgba(0,0,0,0.06),
    0 1px 4px rgba(0,0,0,0.04);
  padding: 40px 32px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.apple-countdown-display:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 32px rgba(0,0,0,0.08),
    0 2px 8px rgba(0,0,0,0.06);
}

.countdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.countdown-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
  border-radius: 12px;
  color: white;
}

.countdown-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #34C759;
  box-shadow: 0 0 0 2px rgba(52, 199, 89, 0.2);
  animation: pulse 2s infinite;
}

.status-dot.active { background: #34C759; }
.status-dot.expired { background: #FF3B30; }
.status-dot.inactive { background: #8E8E93; }
.status-dot.error { background: #FF9500; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(52, 199, 89, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0); }
}

.status-text {
  font-size: 14px;
  font-weight: 600;
  color: #1D1D1F;
  letter-spacing: 0.02em;
}

.countdown-main {
  margin-bottom: 32px;
}

.countdown-time {
  font-size: 4rem;
  font-weight: 700;
  font-family: 'SF Mono', 'Menlo', 'Monaco', 'Consolas', monospace;
  color: #007AFF;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0, 122, 255, 0.1);
  animation: countdownGlow 2s ease-in-out infinite alternate;
}

@keyframes countdownGlow {
  from { text-shadow: 0 2px 8px rgba(0, 122, 255, 0.1); }
  to { text-shadow: 0 4px 16px rgba(0, 122, 255, 0.2); }
}

.countdown-label {
  font-size: 18px;
  font-weight: 500;
  color: #86868B;
  letter-spacing: 0.02em;
}

.countdown-details {
  display: flex;
  justify-content: center;
  gap: 48px;
}

.detail-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.detail-label {
  font-size: 12px;
  font-weight: 500;
  color: #86868B;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.detail-value {
  font-size: 16px;
  font-weight: 600;
  color: #1D1D1F;
}

/* Quick Actions */
.apple-quick-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.apple-action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.apple-action-btn.primary {
  background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3);
}

.apple-action-btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.4);
}

.apple-action-btn.secondary {
  background: rgba(0,0,0,0.04);
  color: #1D1D1F;
  border: 1px solid rgba(0,0,0,0.1);
}

.apple-action-btn.secondary:hover {
  background: rgba(0,0,0,0.08);
  transform: translateY(-1px);
}

/* Settings Panel */
.apple-settings-panel {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 
    0 4px 24px rgba(0,0,0,0.06),
    0 1px 4px rgba(0,0,0,0.04);
  padding: 32px;
  margin-bottom: 32px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.settings-header {
  text-align: center;
  margin-bottom: 32px;
}

.settings-title {
  font-size: 24px;
  font-weight: 700;
  color: #1D1D1F;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.settings-subtitle {
  font-size: 16px;
  color: #86868B;
  font-weight: 400;
}

.apple-settings-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.apple-form-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.apple-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.label-text {
  font-size: 16px;
  font-weight: 600;
  color: #1D1D1F;
}

.label-description {
  font-size: 14px;
  color: #86868B;
  font-weight: 400;
}

.apple-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.apple-input-icon {
  position: absolute;
  left: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: #86868B;
  z-index: 1;
}

.apple-datetime-input {
  width: 100%;
  padding: 16px 16px 16px 48px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  color: #1D1D1F;
  background: rgba(255,255,255,0.8);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.apple-datetime-input:focus {
  outline: none;
  border-color: #007AFF;
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
  background: white;
}

.apple-datetime-input:hover {
  border-color: rgba(0,0,0,0.2);
}

.apple-form-actions {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.apple-primary-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3);
}

.apple-primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.4);
}

.apple-primary-btn:active {
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .apple-timer-overview {
    gap: 24px;
    padding: 0 16px;
  }
  
  .apple-countdown-display {
    padding: 24px 20px;
  }
  
  .countdown-time {
    font-size: 2.5rem;
  }
  
  .countdown-details {
    gap: 24px;
  }
  
  .apple-quick-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .apple-action-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .apple-settings-panel {
    margin: 0 16px 24px 16px;
    padding: 24px 20px;
  }
  
  .countdown-header {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
}

/* Enhanced Apple Design Animations */
.apple-countdown-display {
  animation: slideInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.apple-settings-panel {
  animation: slideInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
}

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

/* Enhanced Hover Effects */
.apple-countdown-display:hover .countdown-icon {
  transform: scale(1.05);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.apple-action-btn {
  position: relative;
  overflow: hidden;
}

.apple-action-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.apple-action-btn:hover::before {
  left: 100%;
}

/* Enhanced Focus States */
.apple-datetime-input:focus {
  transform: scale(1.02);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.apple-primary-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.3);
}

/* Loading States */
.apple-primary-btn.loading {
  position: relative;
  color: transparent;
}

.apple-primary-btn.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#timer .primary-button {
  background: linear-gradient(90deg, #007aff 60%, #5856d6 100%);
  color: #fff;
}

#timer .primary-button:hover {
  background: linear-gradient(90deg, #005ecb 60%, #5856d6 100%);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 32px #007aff33, 0 2px 8px #5856d644;
}

#timer .primary-button:active {
  background: linear-gradient(90deg, #007aff 60%, #5856d6 100%);
  transform: scale(0.98);
  box-shadow: 0 2px 8px #007aff22;
}

#timer .secondary-button {
  background: rgba(0,122,255,0.08);
  color: #007aff;
  font-weight: 700;
}

#timer .secondary-button:hover {
  background: rgba(0,122,255,0.15);
  color: #005ecb;
}

#timer .secondary-button:active {
  background: rgba(0,122,255,0.10);
  color: #007aff;
}

@media (max-width: 900px) {
  #timer .form-section {
    padding: 24px 10px 20px 10px;
  }
}

@media (max-width: 600px) {
  #timer .form-section {
    padding: 14px 2px 10px 2px;
    border-radius: 14px;
  }
  #timer .form-actions {
    flex-direction: column;
    gap: 10px;
  }
}

/* --- Unified Glassmorphism Card Style for Dashboard --- */
.form-section, .dashboard-overview, .users-table-container, .roles-grid, .theme-preview-card, .timer-glass-card, .home-glass-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(18px);
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10), 0 1.5px 6px #007aff22;
  padding: 36px 32px 32px 32px;
  margin-bottom: 32px;
  border: 1.5px solid rgba(0,122,255,0.08);
  position: relative;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.section-header, .section-header-mini {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 32px;
}
.section-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0,122,255,0.18);
  color: #fff;
}
.section-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1d1d1f;
  margin: 0;
}
.section-description {
  font-size: 1.05rem;
  color: #86868b;
  margin: 6px 0 0 0;
  font-weight: 500;
}

.dashboard-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.form-group label {
  font-size: 0.97rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.input-container, .number-input-container {
  display: flex;
  align-items: center;
  background: rgba(0,122,255,0.04);
  border-radius: 12px;
  border: 1.5px solid rgba(0,122,255,0.08);
  padding: 0 10px;
  transition: border 0.2s, box-shadow 0.2s;
}
.input-container:focus-within, .number-input-container:focus-within {
  border: 1.5px solid #007aff;
  box-shadow: 0 0 0 2px #007aff22;
}
.input-container input, .number-input-container input, .input-container textarea {
  border: none;
  background: transparent;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1d1d1f;
  padding: 14px 0;
  width: 100%;
  outline: none;
}
.input-icon {
  font-size: 1.2em;
  color: #007aff;
  margin-left: 8px;
}
.form-help {
  color: #86868b;
  font-size: 0.92rem;
  margin-top: 2px;
  margin-bottom: 0;
  padding-left: 2px;
}
.form-actions {
  display: flex;
  gap: 18px;
  margin-top: 18px;
}
.primary-button, .secondary-button {
  flex: 1;
  padding: 16px 0;
  font-size: 1.08rem;
  font-weight: 700;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.13s, box-shadow 0.2s;
  box-shadow: 0 2px 12px #007aff22;
  letter-spacing: 0.01em;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.primary-button {
  background: linear-gradient(90deg, #007aff 60%, #5856d6 100%);
  color: #fff;
}
.primary-button:hover {
  background: linear-gradient(90deg, #005ecb 60%, #5856d6 100%);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 32px #007aff33, 0 2px 8px #5856d644;
}
.primary-button:active {
  background: linear-gradient(90deg, #007aff 60%, #5856d6 100%);
  transform: scale(0.98);
  box-shadow: 0 2px 8px #007aff22;
}
.secondary-button {
  background: rgba(0,122,255,0.08);
  color: #007aff;
  font-weight: 700;
}
.secondary-button:hover {
  background: rgba(0,122,255,0.15);
  color: #005ecb;
}
.secondary-button:active {
  background: rgba(0,122,255,0.10);
  color: #007aff;
}

/* Table Styles */
.users-table-container {
  background: rgba(255,255,255,0.85);
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(0,122,255,0.08);
  padding: 18px 0;
  margin-bottom: 32px;
  overflow-x: auto;
}
.users-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
  background: transparent;
}
.users-table th, .users-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  vertical-align: middle;
}
.users-table th {
  background: linear-gradient(90deg, rgba(0,122,255,0.08) 0%, rgba(88,86,214,0.05) 100%);
  font-weight: 600;
  color: #1d1d1f;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.users-table tr:hover {
  background: rgba(0,122,255,0.03);
}

/* Responsive Design */
@media (max-width: 900px) {
  .form-section, .dashboard-overview, .users-table-container, .roles-grid, .theme-preview-card, .timer-glass-card, .home-glass-card {
    padding: 24px 10px 20px 10px;
    border-radius: 16px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  .section-header, .section-header-mini {
    gap: 10px;
    margin-bottom: 18px;
  }
}
@media (max-width: 600px) {
  .form-section, .dashboard-overview, .users-table-container, .roles-grid, .theme-preview-card, .timer-glass-card, .home-glass-card {
    padding: 14px 2px 10px 2px;
    border-radius: 12px;
    width: 100%;
    box-sizing: border-box;
  }
  .dashboard-form {
    gap: 14px;
  }
  .form-actions {
    flex-direction: column;
    gap: 10px;
  }
  .section-header, .section-header-mini {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 12px;
  }
}

/* Enhanced Dashboard Styles */
.overview-trend {
  margin-top: 12px;
  opacity: 0.8;
}

.overview-progress {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.progress-bar {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #34C759, #30D158);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.progress-text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.overview-status {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8E8E93;
}

.status-dot.active {
  background: #34C759;
  animation: pulse 2s infinite;
}

.status-text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

/* Charts Section */
.dashboard-charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.chart-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.chart-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

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

.chart-title h3 {
  color: #1d1d1f;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 4px 0;
}

.chart-title p {
  color: rgba(29, 29, 31, 0.7);
  font-size: 0.9rem;
  margin: 0;
}

.chart-actions {
  display: flex;
  gap: 8px;
}

.chart-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chart-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.chart-btn.active {
  background: #007AFF;
  border-color: #007AFF;
  color: #fff;
}

.chart-container {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  position: relative;
}

.chart-container canvas {
  max-width: 100%;
  max-height: 100%;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1d1d1f;
  font-size: 0.9rem;
  font-weight: 500;
}

.legend-color {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 2px solid rgba(0, 0, 0, 0.2);
}

/* Activity Card - Apple Design */
.activity-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  grid-column: 1 / -1;
}



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

.activity-header h3 {
  color: #1d1d1f;
  font-size: 17px;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}

.activity-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #34C759;
  font-size: 13px;
  font-weight: 500;
  padding: 4px 8px;
  background: rgba(52, 199, 89, 0.08);
  border-radius: 6px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34C759;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.activity-feed {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  transition: background 0.2s ease;
  margin-bottom: 8px;
}

.activity-item:hover {
  background: rgba(255, 255, 255, 0.8);
}

.activity-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 122, 255, 0.1);
  border-radius: 8px;
}

.activity-icon svg {
  width: 16px;
  height: 16px;
  color: #007AFF;
}

.activity-content {
  flex: 1;
}

.activity-text {
  color: #1d1d1f;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 2px;
  line-height: 1.3;
}

.activity-time {
  color: #86868b;
  font-size: 13px;
  font-weight: 400;
}



/* Enhanced Status Card - Apple Design */
.status-card-enhanced {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.status-card-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #34C759, #007AFF, #FF9500, #AF52DE);
  background-size: 200% 100%;
  animation: gradientShift 3s ease-in-out infinite;
}

.status-header-enhanced {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  gap: 20px;
}

.status-title-section h3 {
  color: #1d1d1f;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 4px 0;
  letter-spacing: -0.02em;
}

.status-subtitle {
  color: #86868b;
  font-size: 14px;
  font-weight: 400;
  margin: 0;
  line-height: 1.4;
}

.status-overview-enhanced {
  display: flex;
  align-items: center;
}

.status-summary {
  display: flex;
  gap: 16px;
}

.status-summary-item {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.summary-label {
  color: #86868b;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.summary-value {
  color: #1d1d1f;
  font-size: 14px;
  font-weight: 600;
}

.summary-value.all-good {
  color: #34C759;
}

.status-grid-enhanced {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.status-item-enhanced {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  position: relative;
}

.status-item-enhanced:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.status-icon-enhanced {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  position: relative;
  transition: all 0.3s ease;
}

.status-icon-enhanced.website {
  background: linear-gradient(135deg, #007AFF, #5856D6);
  color: white;
}

.status-icon-enhanced.timer {
  background: linear-gradient(135deg, #FF9500, #FFD60A);
  color: white;
}

.status-icon-enhanced svg {
  width: 20px;
  height: 20px;
  z-index: 2;
  position: relative;
}

.status-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: inherit;
  opacity: 0.3;
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }
}

.status-info-enhanced {
  flex: 1;
  min-width: 0;
}

.status-name-enhanced {
  color: #1d1d1f;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.status-value-enhanced {
  color: #34C759;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}

.status-details {
  color: #86868b;
  font-size: 12px;
  font-weight: 400;
}

.status-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-indicator-dot.online {
  background: #34C759;
  box-shadow: 0 0 0 2px rgba(52, 199, 89, 0.2);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% {
    box-shadow: 0 0 0 2px rgba(52, 199, 89, 0.2);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(52, 199, 89, 0.1);
  }
}

.status-footer {
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: center;
}

.status-refresh {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #86868b;
  font-size: 13px;
  font-weight: 400;
}

.status-refresh svg {
  animation: spin 2s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .dashboard-charts {
    grid-template-columns: 1fr;
  }
  
  .status-grid {
    grid-template-columns: 1fr;
  }
  
  .status-grid-enhanced {
    grid-template-columns: 1fr;
  }
  
  .status-header-enhanced {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .status-summary {
    align-self: flex-end;
  }
}

@media (max-width: 768px) {
  .chart-header {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  
  .chart-actions {
    width: 100%;
    justify-content: space-between;
  }
  
  .activity-header {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  
  .status-header {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  
  .status-header-enhanced {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .status-summary {
    align-self: flex-start;
    width: 100%;
    justify-content: space-between;
  }
  
  .status-item-enhanced {
    padding: 16px;
  }
  
  .status-icon-enhanced {
    width: 40px;
    height: 40px;
  }
  
  .status-icon-enhanced svg {
    width: 18px;
    height: 18px;
  }
  
  .actions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .chart-card,
  .activity-card,
  .status-card,
  .status-card-enhanced {
    padding: 16px;
  }
  
  .status-title-section h3 {
    font-size: 18px;
  }
  
  .status-subtitle {
    font-size: 13px;
  }
  
  .status-item-enhanced {
    padding: 12px;
    gap: 12px;
  }
  
  .status-icon-enhanced {
    width: 36px;
    height: 36px;
  }
  
  .status-icon-enhanced svg {
    width: 16px;
    height: 16px;
  }
  
  .status-name-enhanced {
    font-size: 14px;
  }
  
  .status-value-enhanced {
    font-size: 15px;
  }
  
  .status-details {
    font-size: 11px;
  }
  
  .actions-grid {
    grid-template-columns: 1fr;
  }
  
  .action-btn {
    padding: 16px;
  }
  
  .action-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
  }
}

/* === Apple Design Dashboard Styles === */

/* Dashboard Background - Apple Design */
.dashboard-bg-gradient {
  background: linear-gradient(135deg, #f5f5f7 0%, #e5e5e7 100%);
  min-height: 100vh;
  position: relative;
}

body.dashboard-page {
  background: #f5f5f7;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  padding: 0;
}

/* Dashboard Hero Section */
.dashboard-hero {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 32px 0;
  margin-bottom: 32px;
}

.dashboard-hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.dashboard-hero-text {
  flex: 1;
}

.dashboard-hero-title {
  color: #1d1d1f;
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 8px 0;
  letter-spacing: -0.02em;
}

.dashboard-hero-subtitle {
  color: #86868b;
  font-size: 17px;
  font-weight: 400;
  margin: 0;
  line-height: 1.4;
}

.dashboard-hero-actions {
  display: flex;
  gap: 12px;
}

.dashboard-refresh-btn {
  background: rgba(0, 122, 255, 0.1);
  border: 1px solid rgba(0, 122, 255, 0.2);
  border-radius: 12px;
  padding: 12px 20px;
  color: #007AFF;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.dashboard-refresh-btn:hover {
  background: rgba(0, 122, 255, 0.15);
  border-color: rgba(0, 122, 255, 0.3);
  transform: translateY(-1px);
}

.dashboard-refresh-btn svg {
  width: 16px;
  height: 16px;
}

/* Dashboard Content Wrapper */
.dashboard-content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Metrics Section */
.metrics-section {
  margin-bottom: 48px;
}

.metrics-header {
  margin-bottom: 24px;
}

.metrics-title {
  color: #1d1d1f;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px 0;
  letter-spacing: -0.01em;
}

.metrics-subtitle {
  color: #86868b;
  font-size: 16px;
  font-weight: 400;
  margin: 0;
  line-height: 1.4;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.metric-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}



.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

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

.metric-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: white;
  position: relative;
}

.metric-icon.visitors {
  background: linear-gradient(135deg, #007AFF, #5856D6);
}

.metric-icon.active-users {
  background: linear-gradient(135deg, #34C759, #30D158);
}

.metric-icon.sections {
  background: linear-gradient(135deg, #FF9500, #FFD60A);
}

.metric-icon.updates {
  background: linear-gradient(135deg, #AF52DE, #BF5AF2);
}

.metric-icon svg {
  width: 20px;
  height: 20px;
  z-index: 2;
}

.metric-trend {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 8px;
}

.metric-trend.positive {
  background: rgba(52, 199, 89, 0.1);
  color: #34C759;
}

.metric-trend.neutral {
  background: rgba(142, 142, 147, 0.1);
  color: #8E8E93;
}

.metric-trend svg {
  width: 12px;
  height: 12px;
}

.live-indicator {
  width: 8px;
  height: 8px;
  background: #34C759;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.metric-content {
  margin-bottom: 16px;
}

.metric-value {
  color: #1d1d1f;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.metric-label {
  color: #1d1d1f;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 2px;
}

.metric-description {
  color: #86868b;
  font-size: 14px;
  font-weight: 400;
}

.metric-chart {
  color: #007AFF;
  opacity: 0.7;
}

.metric-progress {
  margin-top: 12px;
}

.progress-track {
  width: 100%;
  height: 6px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #007AFF, #34C759);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.metric-status {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 12px;
}

.status-pulse {
  width: 12px;
  height: 12px;
  background: #34C759;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

/* Analytics Section */
.analytics-section {
  margin-bottom: 48px;
}

.analytics-header {
  margin-bottom: 24px;
}

.analytics-title {
  color: #1d1d1f;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px 0;
  letter-spacing: -0.01em;
}

.analytics-subtitle {
  color: #86868b;
  font-size: 16px;
  font-weight: 400;
  margin: 0;
  line-height: 1.4;
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 24px;
}

.analytics-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  overflow: hidden;
}

.analytics-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.analytics-card-header {
  padding: 24px 24px 16px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.analytics-card-title h3 {
  color: #1d1d1f;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px 0;
  letter-spacing: -0.01em;
}

.analytics-card-title p {
  color: #86868b;
  font-size: 14px;
  font-weight: 400;
  margin: 0;
}

.analytics-card-actions {
  display: flex;
  gap: 8px;
}

.analytics-btn {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 6px 12px;
  color: #86868b;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.analytics-btn:hover {
  background: rgba(0, 0, 0, 0.08);
  color: #1d1d1f;
}

.analytics-btn.active {
  background: #007AFF;
  border-color: #007AFF;
  color: white;
}

.analytics-card-content {
  padding: 16px 24px 24px 24px;
}

.chart-container-enhanced {
  margin-bottom: 16px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chart-legend-enhanced {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.legend-item-enhanced {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #1d1d1f;
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  flex-shrink: 0;
}

/* Enhanced Activity Card */
.activity-card-enhanced {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  overflow: hidden;
}

.activity-card-enhanced:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.activity-indicator-enhanced {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #34C759;
}

.pulse-dot-enhanced {
  width: 8px;
  height: 8px;
  background: #34C759;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.activity-feed-enhanced {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.activity-item-enhanced {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.activity-item-enhanced:hover {
  background: rgba(0, 0, 0, 0.02);
}

.activity-icon-enhanced {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 122, 255, 0.1);
  border-radius: 8px;
  color: #007AFF;
  flex-shrink: 0;
}

.activity-icon-enhanced svg {
  width: 16px;
  height: 16px;
}

.activity-content-enhanced {
  flex: 1;
  min-width: 0;
}

.activity-text-enhanced {
  color: #1d1d1f;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 2px;
  line-height: 1.3;
}

  .activity-time-enhanced {
    color: #86868b;
    font-size: 12px;
    font-weight: 400;
  }

  /* Page Management Styles */
  .page-management-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    overflow: hidden;
  }

  .page-management-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  }

  .page-management-actions {
    display: flex;
    gap: 8px;
  }

  .page-management-btn {
    background: rgba(0, 122, 255, 0.1);
    border: 1px solid rgba(0, 122, 255, 0.2);
    border-radius: 8px;
    padding: 8px 16px;
    color: #007AFF;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
  }

  .page-management-btn:hover {
    background: rgba(0, 122, 255, 0.15);
    border-color: rgba(0, 122, 255, 0.3);
    transform: translateY(-1px);
  }

  .page-management-btn svg {
    width: 14px;
    height: 14px;
  }

  .page-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .page-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.02);
    transition: background 0.2s ease;
  }

  .page-item:hover {
    background: rgba(0, 0, 0, 0.04);
  }

  .page-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
  }

  .page-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 122, 255, 0.1);
    border-radius: 8px;
    color: #007AFF;
    flex-shrink: 0;
  }

  .page-icon svg {
    width: 16px;
    height: 16px;
  }

  .page-details {
    flex: 1;
    min-width: 0;
  }

  .page-name {
    color: #1d1d1f;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
  }

  .page-url {
    color: #86868b;
    font-size: 12px;
    font-weight: 400;
  }

  .page-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
  }

  .toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }

  .toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(142, 142, 147, 0.3);
    transition: 0.3s;
    border-radius: 24px;
  }

  .toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }

  .toggle-switch input:checked + .toggle-slider {
    background-color: #34C759;
  }

  .toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(20px);
  }

  .toggle-switch input:disabled + .toggle-slider {
    background-color: rgba(142, 142, 147, 0.2);
    cursor: not-allowed;
  }

  .page-status {
    font-size: 12px;
    font-weight: 500;
    min-width: 80px;
    text-align: right;
  }

  .page-status.enabled {
    color: #34C759;
  }

  .page-status.disabled {
    color: #8E8E93;
  }

  /* Toast Styles */
  .toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    min-width: 300px;
  }

  .toast.show {
    transform: translateX(0);
  }

  .toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .toast-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
  }

  .toast-success .toast-icon {
    background: rgba(52, 199, 89, 0.2);
    color: #34C759;
  }

  .toast-error .toast-icon {
    background: rgba(255, 59, 48, 0.2);
    color: #FF3B30;
  }

  .toast-info .toast-icon {
    background: rgba(0, 122, 255, 0.2);
    color: #007AFF;
  }

  .toast-message {
    color: #1d1d1f;
    font-size: 14px;
    font-weight: 500;
  }



/* Responsive Design for Apple Design Dashboard */
@media (max-width: 1200px) {
  .dashboard-hero-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .dashboard-hero-actions {
    align-self: flex-end;
  }
  
  .metrics-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .analytics-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .dashboard-hero {
    padding: 24px 0;
  }
  
  .dashboard-hero-title {
    font-size: 28px;
  }
  
  .dashboard-hero-subtitle {
    font-size: 16px;
  }
  
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  
  .metric-card {
    padding: 20px;
  }
  
  .metric-value {
    font-size: 28px;
  }
  
  .analytics-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .analytics-card-actions {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 480px) {
  .dashboard-hero-content {
    padding: 0 16px;
  }
  
  .dashboard-content-wrapper {
    padding: 0 16px;
  }
  
  .dashboard-hero-title {
    font-size: 24px;
  }
  
  .metric-card {
    padding: 16px;
  }
  
  .metric-icon {
    width: 40px;
    height: 40px;
  }
  
  .metric-icon svg {
    width: 18px;
    height: 18px;
  }
  
  .metric-value {
    font-size: 24px;
  }
  
  .analytics-card-header {
    padding: 20px 16px 12px 16px;
  }
  
  .analytics-card-content {
    padding: 12px 16px 20px 16px;
  }
}

/* Apple Design Timer Styles */

/* Timer Hero Section */
.apple-timer-hero {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 48px;
  margin-bottom: 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.apple-timer-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.1) 0%, rgba(88, 86, 214, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.apple-timer-hero:hover::before {
  opacity: 1;
}

.timer-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.timer-hero-icon {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
  border-radius: 50%;
  box-shadow: 0 8px 32px rgba(0, 122, 255, 0.3);
}

.timer-svg-icon {
  width: 40px;
  height: 40px;
  color: white;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.timer-hero-glow {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
  border-radius: 50%;
  opacity: 0.3;
  filter: blur(20px);
  animation: pulse 2s ease-in-out infinite;
}

.timer-hero-text {
  text-align: center;
}

.timer-hero-title {
  font-size: 36px;
  font-weight: 700;
  color: #1d1d1f;
  margin: 0 0 12px 0;
  background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.timer-hero-subtitle {
  font-size: 18px;
  color: #86868b;
  margin: 0;
  font-weight: 400;
}

/* Countdown Display */
.apple-countdown-display {
  margin-bottom: 32px;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.countdown-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.countdown-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 122, 255, 0.15);
}

.countdown-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.1) 0%, rgba(88, 86, 214, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.countdown-card:hover::before {
  opacity: 1;
}

.countdown-value {
  font-size: 32px;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
}

.countdown-label {
  font-size: 14px;
  color: #86868b;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 2;
}

.countdown-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
  border-radius: 50%;
  opacity: 0.1;
  filter: blur(20px);
}

/* Progress Section */
.apple-progress-section {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 32px;
}

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

.progress-title {
  font-size: 20px;
  font-weight: 600;
  color: #1d1d1f;
  margin: 0;
}

.progress-percentage {
  font-size: 18px;
  font-weight: 700;
  color: #007aff;
  background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.apple-progress-bar {
  margin-bottom: 20px;
}

.progress-track {
  height: 8px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #007aff 0%, #5856d6 100%);
  border-radius: 4px;
  transition: width 0.3s ease;
  position: relative;
}

.progress-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
  animation: shine 2s ease-in-out infinite;
}

@keyframes shine {
  0% { left: -100%; }
  100% { left: 100%; }
}

.progress-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34c759;
  box-shadow: 0 0 8px rgba(52, 199, 89, 0.5);
}

.status-text {
  font-size: 14px;
  color: #86868b;
  font-weight: 500;
}

/* Info Cards */
.apple-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.apple-info-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
}

.apple-info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 122, 255, 0.1);
}

.info-card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
  border-radius: 12px;
  color: white;
}

.info-card-icon svg {
  width: 20px;
  height: 20px;
}

.info-card-content {
  flex: 1;
}

.info-card-label {
  font-size: 12px;
  color: #86868b;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.info-card-value {
  font-size: 16px;
  font-weight: 600;
  color: #1d1d1f;
}

/* Settings Panel */
.apple-settings-panel {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 32px;
  margin-bottom: 32px;
}

.settings-panel-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.settings-panel-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
  border-radius: 16px;
  color: white;
}

.settings-panel-icon svg {
  width: 24px;
  height: 24px;
}

.settings-panel-content {
  flex: 1;
}

.settings-panel-title {
  font-size: 24px;
  font-weight: 700;
  color: #1d1d1f;
  margin: 0 0 8px 0;
}

.settings-panel-subtitle {
  font-size: 16px;
  color: #86868b;
  margin: 0;
}

/* Apple Form Styles */
.apple-settings-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.apple-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.apple-form-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.label-text {
  font-size: 16px;
  font-weight: 600;
  color: #1d1d1f;
}

.label-description {
  font-size: 14px;
  color: #86868b;
  font-weight: 400;
}

.apple-input-container {
  position: relative;
}

.apple-input {
  width: 100%;
  padding: 16px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  font-size: 16px;
  color: #1d1d1f;
  transition: all 0.3s ease;
  font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, sans-serif;
}

.apple-input:focus {
  outline: none;
  border-color: #007aff;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.1);
}

.apple-input::placeholder {
  color: #86868b;
}

.input-focus-ring {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 12px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.apple-input:focus + .input-focus-ring {
  opacity: 1;
  box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.1);
}

/* Apple Button Styles */
.apple-form-actions {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.apple-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, sans-serif;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.apple-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
  transition: left 0.5s ease;
}

.apple-button:hover::before {
  left: 100%;
}

.apple-button-primary {
  background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
  color: white;
  box-shadow: 0 4px 16px rgba(0, 122, 255, 0.3);
}

.apple-button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 122, 255, 0.4);
}

.apple-button-secondary {
  background: rgba(255, 255, 255, 0.8);
  color: #1d1d1f;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.apple-button-secondary:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.button-icon {
  width: 18px;
  height: 18px;
}

.button-text {
  position: relative;
  z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .apple-timer-hero {
    padding: 32px 24px;
  }
  
  .timer-hero-title {
    font-size: 28px;
  }
  
  .timer-hero-subtitle {
    font-size: 16px;
  }
  
  .countdown-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .countdown-card {
    padding: 20px 12px;
  }
  
  .countdown-value {
    font-size: 24px;
  }
  
  .apple-info-grid {
    grid-template-columns: 1fr;
  }
  
  .apple-form-actions {
    flex-direction: column;
  }
  
  .apple-button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .apple-timer-hero {
    padding: 24px 16px;
  }
  
  .timer-hero-title {
    font-size: 24px;
  }
  
  .countdown-grid {
    grid-template-columns: 1fr;
  }
  
  .countdown-card {
    padding: 16px 12px;
  }
  
  .countdown-value {
    font-size: 20px;
  }
  
  .apple-settings-panel {
    padding: 24px 16px;
  }
  
  .settings-panel-header {
    flex-direction: column;
    text-align: center;
  }
}

/* Timer Metric Card Styles */
.timer-main-card .metric-value {
  font-family: 'SF Mono', 'Menlo', 'Monaco', 'Consolas', monospace;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #007aff;
  text-shadow: 0 2px 12px rgba(0, 122, 255, 0.15);
  animation: timerPulse 1s infinite alternate;
}

@keyframes timerPulse {
  from { text-shadow: 0 2px 12px rgba(0, 122, 255, 0.15); }
  to { text-shadow: 0 4px 24px rgba(0, 122, 255, 0.25); }
}

/* Timer Metric Icons */
.metric-icon.timer {
  background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
  color: white;
}

.metric-icon.calendar {
  background: linear-gradient(135deg, #34c759 0%, #30d158 100%);
  color: white;
}

.metric-icon.clock {
  background: linear-gradient(135deg, #ff9500 0%, #ff9f0a 100%);
  color: white;
}



/* Form Grid for Timer Configuration */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

/* Analytics Action Buttons */
.analytics-action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 122, 255, 0.2);
  border-radius: 8px;
  color: #007aff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.analytics-action-btn:hover {
  background: white;
  border-color: #007aff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.15);
}

.analytics-action-btn.secondary {
  color: #ff3b30;
  border-color: rgba(255, 59, 48, 0.2);
}

.analytics-action-btn.secondary:hover {
  border-color: #ff3b30;
  box-shadow: 0 4px 12px rgba(255, 59, 48, 0.15);
}

.analytics-action-btn svg {
  width: 16px;
  height: 16px;
}

/* Responsive adjustments for timer metrics */
@media (max-width: 768px) {
  .timer-main-card .metric-value {
    font-size: 2rem;
    letter-spacing: 0.05em;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .analytics-card-actions {
    flex-direction: column;
    gap: 8px;
  }
  
  .analytics-action-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Primary Button Loading State */
.primary-button.loading {
  opacity: 0.7;
  cursor: not-allowed;
  position: relative;
}

.primary-button.loading svg {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Timer Status Text Fix */
.metric-trend {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  overflow: hidden;
}

.metric-trend span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

#timer-status-text {
  font-size: 12px;
  font-weight: 700;
  color: #86868b;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Ensure metric header has proper spacing */
.metric-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  gap: 12px;
}

.metric-icon {
  flex-shrink: 0;
}

/* Apple Design Timer Display */
.timer-display-container {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 16px 20px;
  margin: 12px 0;
  border: 1px solid rgba(0, 122, 255, 0.15);
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 122, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.timer-display-container:hover {
  border-color: rgba(0, 122, 255, 0.25);
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.12),
    0 4px 12px rgba(0, 122, 255, 0.15);
  transform: translateY(-1px);
}

/* Timer Time Columns - Apple Design */
.timer-time-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 40px;
  gap: 4px;
}

.timer-time-num {
  font-family: 'SF Pro Display', 'SF Mono', 'Menlo', 'Monaco', 'Consolas', monospace;
  font-size: 1.5rem;
  font-weight: 700;
  color: #007aff;
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 2px rgba(0, 122, 255, 0.1);
}

.timer-time-label {
  font-family: 'SF Pro Display', 'SF Pro Text', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  color: #86868b;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1;
}

.timer-time-sep {
  font-family: 'SF Pro Display', 'SF Mono', 'Menlo', 'Monaco', 'Consolas', monospace;
  font-size: 1.5rem;
  font-weight: 700;
  color: #007aff;
  margin: 0 6px;
  opacity: 0.6;
  line-height: 1;
  letter-spacing: -0.02em;
}

/* Enhanced Timer Metric Card */
.timer-main-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 122, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}



.timer-main-card:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.12),
    0 4px 16px rgba(0, 122, 255, 0.15);
}



/* Enhanced Timer Icon */
.timer-main-card .metric-icon.timer {
  background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
  color: white;
  box-shadow: 0 4px 16px rgba(0, 122, 255, 0.3);
  border-radius: 14px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.timer-main-card:hover .metric-icon.timer {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 122, 255, 0.4);
}

/* Enhanced Timer Labels */
.timer-main-card .metric-label {
  font-family: 'SF Pro Display', 'SF Pro Text', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  text-align: center;
}

.timer-main-card .metric-description {
  font-family: 'SF Pro Display', 'SF Pro Text', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9rem;
  color: #86868b;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-align: center;
}

/* Enhanced Metric Header */
.timer-main-card .metric-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

/* Enhanced Metric Content */
.timer-main-card .metric-content {
  text-align: center;
  padding: 8px 0;
}

/* Enhanced Chart */
.timer-main-card .metric-chart {
  margin-top: 16px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.timer-main-card:hover .metric-chart {
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .timer-display-container {
    padding: 12px 16px;
    border-radius: 14px;
  }
  
  .timer-time-num, .timer-time-sep {
    font-size: 1.3rem;
  }
  
  .timer-time-label {
    font-size: 0.6rem;
  }
  
  .timer-time-col {
    min-width: 36px;
  }
  
  .timer-main-card .metric-icon.timer {
    width: 44px;
    height: 44px;
  }
  
  .timer-main-card .metric-label {
    font-size: 1rem;
  }
  
  .timer-main-card .metric-description {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .timer-display-container {
    padding: 10px 12px;
    border-radius: 12px;
  }
  
  .timer-time-num, .timer-time-sep {
    font-size: 1.1rem;
  }
  
  .timer-time-label {
    font-size: 0.55rem;
  }
  
  .timer-time-col {
    min-width: 32px;
  }
  
  .timer-main-card .metric-icon.timer {
    width: 40px;
    height: 40px;
  }
}

/* Enhanced Timer Configuration Styles */
.timer-config-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.timer-settings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 24px 20px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(248, 248, 248, 0.5);
}

.timer-settings-icon {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #1d1d1f;
  font-weight: 600;
  font-size: 16px;
}

.timer-settings-icon svg {
  color: #007AFF;
  width: 20px;
  height: 20px;
}

.timer-settings-actions {
  display: flex;
  gap: 12px;
}

.timer-action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.timer-action-btn.adjust {
  color: #007AFF;
  border-color: #007AFF;
  background: rgba(0, 122, 255, 0.05);
}

.timer-action-btn.adjust:hover {
  background: rgba(0, 122, 255, 0.1);
}

.timer-action-btn.reset {
  color: #FF3B30;
  border-color: #FF3B30;
  background: rgba(255, 59, 48, 0.05);
}

.timer-action-btn.reset:hover {
  background: rgba(255, 59, 48, 0.1);
}

.timer-action-btn svg {
  width: 16px;
  height: 16px;
}

.timer-inputs-section {
  padding: 24px;
}

.timer-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.timer-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.timer-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.timer-input-label {
  font-weight: 600;
  font-size: 14px;
  color: #1d1d1f;
  margin-bottom: 4px;
}

.timer-input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.timer-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-size: 16px;
  color: #1d1d1f;
  background: #ffffff;
  transition: all 0.2s ease;
}

.timer-input:focus {
  outline: none;
  border-color: #007AFF;
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.timer-input-icon {
  position: absolute;
  right: 12px;
  color: #007AFF;
  pointer-events: none;
}

.timer-save-section {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.timer-save-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
  min-width: 200px;
  justify-content: center;
}

.timer-save-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 122, 255, 0.4);
}

.timer-save-btn:active {
  transform: translateY(0);
}

.timer-save-btn svg {
  width: 18px;
  height: 18px;
}

/* Timer Configuration Responsive */
@media (max-width: 768px) {
  .timer-inputs-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .timer-settings-header {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  
  .timer-settings-actions {
    width: 100%;
    justify-content: space-between;
  }
  
  .timer-action-btn {
    flex: 1;
    justify-content: center;
  }
}

/* Enhanced Dashboard Home Tab Styles */
.dashboard-main-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.3s ease;
}

.dashboard-main-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.dashboard-main-card .metric-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.dashboard-main-card .metric-content {
  text-align: center;
  padding: 8px 0;
}

.dashboard-main-card .metric-value {
  font-family: 'SF Pro Display', 'SF Pro Text', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  text-align: center;
}

.dashboard-main-card .metric-label {
  font-family: 'SF Pro Display', 'SF Pro Text', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  text-align: center;
}

.dashboard-main-card .metric-description {
  font-family: 'SF Pro Display', 'SF Pro Text', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9rem;
  color: #86868b;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-align: center;
}

.dashboard-main-card .metric-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: white;
  position: relative;
}

.dashboard-main-card .metric-icon.visitors {
  background: linear-gradient(135deg, #007AFF, #5856D6);
}

.dashboard-main-card .metric-icon.active-users {
  background: linear-gradient(135deg, #34C759, #30D158);
}

.dashboard-main-card .metric-icon.updates {
  background: linear-gradient(135deg, #AF52DE, #BF5AF2);
}

.dashboard-main-card .metric-icon svg {
  width: 20px;
  height: 20px;
  z-index: 2;
}

.dashboard-main-card .metric-trend {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 8px;
}

.dashboard-main-card .metric-trend.positive {
  background: rgba(52, 199, 89, 0.1);
  color: #34C759;
}

.dashboard-main-card .metric-trend.neutral {
  background: rgba(142, 142, 147, 0.1);
  color: #8E8E93;
}

.dashboard-main-card .metric-trend svg {
  width: 12px;
  height: 12px;
}

.dashboard-main-card .live-indicator {
  width: 8px;
  height: 8px;
  background: #34C759;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

/* Dashboard Overview Cards */
.dashboard-overview-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.3s ease;
}

.dashboard-overview-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.dashboard-overview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px 16px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(248, 248, 248, 0.5);
}

.dashboard-overview-icon {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #1d1d1f;
  font-weight: 600;
  font-size: 16px;
}

.dashboard-overview-icon svg {
  color: #007AFF;
  width: 20px;
  height: 20px;
}

.dashboard-overview-content {
  padding: 24px;
}

/* Page Stats Grid */
.page-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
}

.page-stat-item {
  text-align: center;
  padding: 16px;
  background: rgba(248, 248, 248, 0.5);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.page-stat-item:hover {
  background: rgba(248, 248, 248, 0.8);
  transform: translateY(-1px);
}

.page-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 4px;
}

.page-stat-label {
  font-size: 0.9rem;
  color: #86868b;
  font-weight: 500;
}

/* Activity Feed */
.activity-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #34C759;
  font-size: 13px;
  font-weight: 500;
  padding: 4px 8px;
  background: rgba(52, 199, 89, 0.08);
  border-radius: 6px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34C759;
  animation: pulse 2s infinite;
}

.activity-feed {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(248, 248, 248, 0.5);
  border-radius: 8px;
  transition: background 0.2s ease;
}

.activity-item:hover {
  background: rgba(248, 248, 248, 0.8);
}

.activity-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 122, 255, 0.1);
  border-radius: 8px;
}

.activity-icon svg {
  width: 16px;
  height: 16px;
  color: #007AFF;
}

.activity-content {
  flex: 1;
}

.activity-text {
  color: #1d1d1f;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 2px;
  line-height: 1.3;
}

.activity-time {
  color: #86868b;
  font-size: 12px;
  font-weight: 400;
}

/* Dashboard Responsive */
@media (max-width: 768px) {
  .page-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .dashboard-overview-header {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  
  .activity-feed {
    gap: 12px;
  }
  
  .activity-item {
    padding: 10px;
  }
}

/* Apple Design Homepage Preview */
.preview-status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #34C759;
  font-size: 13px;
  font-weight: 500;
  padding: 4px 8px;
  background: rgba(52, 199, 89, 0.08);
  border-radius: 6px;
}

.apple-homepage-preview {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.preview-desktop-frame {
  background: #1d1d1f;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
}

.preview-desktop-frame::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 6px;
  background: #2c2c2e;
  border-radius: 3px;
}

.desktop-screen {
  width: 640px;
  height: 400px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.preview-hero-section {
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.preview-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 40px;
  color: white;
}

.preview-main-title {
  font-family: 'SF Pro Display', 'SF Pro Text', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.preview-subtitle {
  font-family: 'SF Pro Display', 'SF Pro Text', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 40px;
  opacity: 0.9;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.preview-cta-section {
  margin-top: 32px;
}

.preview-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: white;
  font-family: 'SF Pro Display', 'SF Pro Text', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.preview-cta-button:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.preview-desktop-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  padding: 16px 0;
  gap: 32px;
}

.preview-nav-item {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
  font-family: 'SF Pro Display', 'SF Pro Text', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  font-weight: 500;
}

.preview-nav-item.active {
  background: rgba(0, 122, 255, 0.1);
  color: #007AFF;
}

.preview-nav-item:not(.active) {
  color: #86868b;
}

.preview-nav-item:hover:not(.active) {
  background: rgba(0, 0, 0, 0.05);
  color: #1d1d1f;
}

.preview-info-panel {
  display: flex;
  gap: 24px;
  padding: 20px;
  background: rgba(248, 248, 248, 0.8);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.preview-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.info-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 122, 255, 0.1);
  border-radius: 8px;
  color: #007AFF;
}

.info-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.info-label {
  font-size: 12px;
  color: #86868b;
  font-weight: 500;
}

.info-value {
  font-size: 14px;
  color: #1d1d1f;
  font-weight: 600;
}

/* Homepage Preview Responsive */
@media (max-width: 768px) {
  .desktop-screen {
    width: 480px;
    height: 300px;
  }
  
  .preview-main-title {
    font-size: 2.5rem;
  }
  
  .preview-subtitle {
    font-size: 1.1rem;
  }
  
  .preview-desktop-nav {
    gap: 16px;
    padding: 12px 0;
  }
  
  .preview-nav-item {
    font-size: 12px;
    padding: 6px 12px;
  }
  
  .preview-info-panel {
    flex-direction: column;
    gap: 16px;
  }
}