
body {
  margin: 0;
}


/* For Rocket Animation */

#loadingAnimSection {
	
	margin: 0;
	padding: 0;
	/* height: 100%; */
	/* background: #0b0b1a; */ /* deep space color */
	background: #ffffff; /* deep space color */
	display: flex;
	justify-content: center;
	align-items: center;
	font-family: Arial, sans-serif;
	/* color: #fff; */
	color: #000;
	height: 100vh;  
}

.rocket-loader {
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* Rocket container */
.rocket {
	position: relative;
	/* width: 120px; */
	/* height: 120px; */
	animation: launch 2s infinite ease-in-out;
	max-width: 120px;
	width: 25vw;
}

.rocket img {
	width: 100%;
	height: auto;
	display: block;
	background: transparent;
}

.flames {
	position: absolute;
	width: 20px;
	height: 30px;
	bottom: -30px;
	left: 50%;
	transform: translateX(-50%);
	background: radial-gradient(circle, #ff0 0%, #f00 100%);
	border-radius: 50%;
	animation: flicker 0.2s infinite alternate;
}

/* Rocket launch animation */
@keyframes launch {
	0% { transform: translateY(0); }
	50% { transform: translateY(-30px); }
	100% { transform: translateY(0); }
}

/* Flame flicker animation */
@keyframes flicker {
	0% { height: 20px; opacity: 0.7; }
	100% { height: 35px; opacity: 1; }
}

/* Loading text */
.loading-text {
	margin-top: 25px;
	font-size: 1.2rem;
	letter-spacing: 1px;
	text-align: center;
	white-space: nowrap; /* prevents line break */
}

.loading-text::after {
	content: "";
	animation: loadingDots 1.5s steps(4, end) infinite;
}

/* dot animation */
@keyframes loadingDots {
	/* 0%   { content: ""; } */
	0%  { content: "."; }
	20%  { content: ".."; }
	40%  { content: "..."; }
	60%  { content: "...."; }
	80%  { content: "....."; }
	100% { content: ""; }
}

/* For Homepage */

html,
body {
  height: 100%;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Nunito", sans-serif;
}

/* =========================
   Animations
========================= */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
  }

  50% {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.6);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

/* =========================
   Utility Classes
========================= */

.fade-in-up {
  animation: fadeInUp 0.5s ease forwards;
}

.delay-1 {
  animation-delay: 0.1s;
  opacity: 0;
}

.delay-2 {
  animation-delay: 0.2s;
  opacity: 0;
}

.delay-3 {
  animation-delay: 0.3s;
  opacity: 0;
}

.delay-4 {
  animation-delay: 0.4s;
  opacity: 0;
}

.delay-5 {
  animation-delay: 0.5s;
  opacity: 0;
}

.delay-6 {
  animation-delay: 0.6s;
  opacity: 0;
}

.delay-7 {
  animation-delay: 0.7s;
  opacity: 0;
}

.float-anim {
  animation: float 3s ease-in-out infinite;
}

.glow-pulse {
  animation: pulseGlow 2s ease-in-out infinite;
}

/* =========================
   Components
========================= */

.prayer-card {
  transition: all 0.2s ease;
}

.prayer-card:active {
  transform: scale(0.97);
}

.progress-ring-circle {
  transition: stroke-dashoffset 0.8s ease;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}

.table-heading {
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 700;
  color: rgb(4 120 87);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* =========================
   Decorative
========================= */

.pattern-bg {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 L35 15 L30 25 L25 15 Z' fill='none' stroke='%2310b98120' stroke-width='0.5'/%3E%3Ccircle cx='30' cy='30' r='8' fill='none' stroke='%2310b98110' stroke-width='0.5'/%3E%3C/svg%3E");
}

.mosque-arch {
  border-radius: 50% 50% 0 0 / 60% 60% 0 0;
}

/* Temporary */

.button123 {
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  background-color: #04AA6D;
}

/* Login Template */

.login-container {
  width: 100%;
  max-width: 420px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px 20px;

}

.login-buttons {

  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 10px;
  width: 100%;
}

.guest-btn {
  background: transparent;
  border: 2px solid #2f4f2f;
  color: #2f4f2f;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05); 
}

.google-btn {
  background: #ffffff;
  border: 1px solid #ddd;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05); 
}

.google-icon {
  width: 18px;
  height: 18px;
}

.login-footer {
  text-align: center;
  font-size: 12px;
  color: #888;
  margin-top: 10px;
}

.login-btn {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  font-size: 16px;
  cursor: pointer;
 /* border: none; */
  transition: 0.2s ease;
}

/* FOR BOTTOM FOOTER */

.nav-btn {
	-webkit-tap-highlight-color: transparent;
}

.nav-btn:active {
	transform: scale(0.95);
}

.nav-btn.active {
	color: #059669;
}

.nav-btn.active div {
	background: #d1fae5;
	box-shadow: 0 4px 12px rgba(16, 185, 129, 0.18);
}

.nav-btn {
	transition:
		transform 0.15s ease,
		color 0.2s ease,
		background 0.2s ease;
}

/* FOR LOGOUT POPUP */ 
/* OVERLAY */
.popup-overlay{
  position:fixed;
  inset:0;

  background:rgba(0,0,0,0.45);

  display:flex;
  justify-content:center;
  align-items:center;

  z-index:9999;

  backdrop-filter:blur(3px);
}

/* POPUP */
.logout-popup{
  width:90%;
  max-width:340px;

  background:white;

  border-radius:24px;

  padding:28px 24px;

  text-align:center;

  animation:popupShow 0.2s ease;
}

/* ICON */
.logout-popup-icon{
  width:72px;
  height:72px;

  margin:0 auto 18px;

  border-radius:50%;

  background:#fef2f2;

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:34px;
}

/* TITLE */
.logout-popup-title{
  font-size:22px;
  font-weight:700;

  color:#111827;

  margin-bottom:10px;
}

/* TEXT */
.logout-popup-text{
  font-size:15px;
  line-height:1.5;

  color:#6b7280;

  margin-bottom:28px;
}

/* BUTTON GROUP */
.logout-popup-actions{
  display:flex;
  gap:12px;
}

/* BUTTONS */
.logout-cancel-btn,
.logout-confirm-btn{
  flex:1;

  border:none;
  border-radius:14px;

  padding:14px;

  font-size:15px;
  font-weight:600;

  cursor:pointer;

  transition:0.2s;
}

.logout-cancel-btn{
  background:#f3f4f6;
  color:#111827;
}

.logout-cancel-btn:hover{
  background:#e5e7eb;
}

.logout-confirm-btn{
  background:#dc2626;
  color:white;
}

.logout-confirm-btn:hover{
  background:#b91c1c;
}

/* ANIMATION */
@keyframes popupShow{
  from{
    opacity:0;
    transform:translateY(15px) scale(0.96);
  }
  to{
    opacity:1;
    transform:translateY(0) scale(1);
  }
}