/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== GLOBAL ===== */
html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  background: radial-gradient(circle at top, #f6efe6, #e3cfb1);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #3b2f2f;
  font-family: "Inter", sans-serif;
}

/* ===== BACKGROUND GLOW ===== */
.bg-glow {
  position: fixed;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(120,72,32,0.25), transparent 70%);
  top: -250px;
  filter: blur(120px);
  z-index: 0;
}

/* ===== GLASS EFFECT ===== */
.glass {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(25px);
  border-radius: 30px;
  box-shadow: 0 40px 80px rgba(60,40,20,0.25);
}

/* ===== HEADER ===== */
.top-header {
  width: 92%;
  max-width: 1400px;
  margin: 40px auto 30px;
  padding: 32px;
  text-align: center;
  z-index: 1;
}

.top-header h1 {
  font-family: "Playfair Display", serif;
  font-size: 2.6rem;
  color: #6b3f1d;
}

.top-header p {
  font-size: 0.95rem;
  opacity: 0.75;
  margin-top: 8px;
}

/* ===== DASHBOARD ===== */
.dashboard {
  width: 92%;
  max-width: 1400px;
  min-height: 70vh;
  display: flex;
  gap: 30px;
  z-index: 1;
}

/* ===== LEFT PANEL ===== */
.left-panel {
  width: 340px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ===== PRAYER ROW ===== */
.prayer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  border-radius: 18px;
  background: #f1e6d6;
  transition: 0.25s;
}

.prayer:hover {
  background: #e8d5bd;
}

.prayer span {
  font-size: 1.05rem;
  font-weight: 500;
}

/* ===== TOGGLE ===== */
.prayer input {
  display: none;
}

.prayer label {
  width: 52px;
  height: 30px;
  background: #c2a17f;
  border-radius: 50px;
  position: relative;
  cursor: pointer;
}

.prayer label::after {
  content: "";
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 4px;
  left: 4px;
  transition: 0.3s;
}

.prayer input:checked + label {
  background: linear-gradient(135deg, #8b5a2b, #6b3f1d);
}

.prayer input:checked + label::after {
  transform: translateX(22px);
}

/* ===== SCORE ===== */
.score-box {
  margin-top: 10px;
  text-align: center;
}

.circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: conic-gradient(#8b5a2b 0deg, #efe2cf 0deg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  box-shadow: inset 0 0 22px rgba(60,40,20,0.35);
}

.circle span {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 600;
  color: #4b2e14;
}

.score-box p {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #6b3f1d;
}

/* ===== BUTTON ===== */
.save-btn {
  margin-top: 18px;
  padding: 18px;
  border-radius: 26px;
  border: none;
  background: linear-gradient(
    135deg,
    #8b5a2b,
    #6b3f1d,
    #4b2e14
  );
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow:
    0 15px 35px rgba(60,40,20,0.35),
    inset 0 1px 0 rgba(255,255,255,0.25);
  transition: all 0.25s ease;
}

.save-btn:hover {
  transform: translateY(-3px);
}

.save-btn:active {
  transform: scale(0.97);
}

/* ===== RIGHT PANEL ===== */
.right-panel {
  flex: 1;
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.right-panel h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: #6b3f1d;
}

.right-panel canvas {
  width: 100% !important;
  height: 420px !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {
  .dashboard {
    flex-direction: column;
  }

  .left-panel {
    width: 100%;
  }
}
/* ================= AUTH PAGE ================= */
.auth-body {
  background: radial-gradient(circle at top, #f6efe6, #e3cfb1);
  font-family: "Inter", sans-serif;
  color: #3b2f2f;
}

.auth-hero {
  height: calc(100vh - 220px); /* footer ke liye space */
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 90px; /* 🔥 CARD UPAR */
}


.auth-card {
  width: 100%;
  max-width: 420px;
  padding: 34px 36px;
  text-align: center;
  border-radius: 30px;
}

/* GLASS EFFECT (reuse) */
.glass {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(25px);
  box-shadow: 0 40px 80px rgba(60,40,20,0.25);
}

/* TITLE */
.auth-card h1 {
  font-family: "Playfair Display", serif;
  font-size: 2.4rem;
  color: #6b3f1d;
}

.tagline {
  font-size: 0.95rem;
  margin-top: 8px;
  opacity: 0.8;
}

/* INPUTS */
.auth-inputs {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-inputs input {
  padding: 14px 16px;
  border-radius: 14px;
  border: none;
  font-size: 0.95rem;
  background: #f1e6d6;
  outline: none;
}

.auth-inputs input:focus {
  box-shadow: 0 0 0 2px rgba(139,90,43,0.4);
}

/* BUTTONS */
.auth-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
}

.btn {
  flex: 1;
  padding: 14px;
  border-radius: 22px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

/* PRIMARY (LOGIN) */
.btn.primary {
  background: linear-gradient(
    135deg,
    #8b5a2b,
    #6b3f1d,
    #4b2e14
  );
  color: #fff;
  box-shadow: 0 14px 30px rgba(60,40,20,0.35);
}

.btn.primary:hover {
  transform: translateY(-2px);
}

/* SECONDARY (SIGNUP) */
.btn.secondary {
  background: transparent;
  color: #6b3f1d;
  border: 2px solid #c2a17f;
}

.btn.secondary:hover {
  background: #f1e6d6;
}
/* ================= FOOTER ================= */
.auth-footer {
  width: 100vw;                 /* 🔥 FULL SCREEN */
  margin-left: calc(-50vw + 50%); /* 🔥 EDGE TO EDGE TRICK */
  background: linear-gradient(
    135deg,
    #2a1b0f,
    #1f140b
  );
  color: #f6efe6;
  padding: 70px 40px 30px;
}

.footer-inner {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr; /* 🔥 4 columns */
  gap: 40px;
}


.footer-col h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.footer-col h4 {
  margin-bottom: 12px;
}

.footer-col p {
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.6;
}

.footer-col a {
  display: block;
  margin-bottom: 8px;
  color: #e3cfb1;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-col a:hover {
  text-decoration: underline;
}

/* FOOTER BOTTOM */
.footer-bottom {
  margin-top: 50px;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.6;
}

/* RESPONSIVE FOOTER */
@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
}


  .auth-actions {
    flex-direction: column;
  }

/* ===== SOCIAL LINKS ===== */
.social-links {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(227, 207, 177, 0.15);
  color: #e3cfb1;
  font-size: 1.05rem;
  transition: all 0.25s ease;
}

.social-links a:hover {
  background: linear-gradient(
    135deg,
    #8b5a2b,
    #6b3f1d
  );
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(60,40,20,0.4);
}
