:root {
  --primary: #ea1e63;
  --secondary: #ffc7c7;
  --accent: #f8f8f8;
  --text: #333333;
  --card: #ffffff;
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: var(--accent);
  color: var(--text);
}
h1, h2, h3, h4, h5, h6{
  font-family: "Aladin", system-ui;
  font-weight: 400;
  font-style: normal;
}

#page-loader {
  position:fixed !important;
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  left:0;
  z-index:9999;
  background-color:white;
  color:white;
  padding:1em 1.2em;
  display:none;
}

.app {
  max-width: 420px;
  height: 92vh;
  margin: auto;
  background: var(--secondary);
  display: flex;
  flex-direction: column;

/*  height: 720px;*/
  background: #fff;
/*  border-radius: 28px;*/
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

.app-bg {
  height: 100vh;
  background-color: #f3f4f7;
  background-image: 
    radial-gradient(at 10% 10%, rgba(102, 126, 234, 0.5) 0px, transparent 50%),
    radial-gradient(at 90% 90%, rgba(118, 75, 162, 0.5) 0px, transparent 50%);
}

/* Header */
.header {
  height: 56px;
  background: var(--primary);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
}

/* Content */
.content {
  flex: 1;
  padding: 12px;
  position: relative;
  overflow-y: auto;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.content.loading {
  opacity: 0;
  transform: translateX(20px);
/*  transform: translateY(12px);*/
}


/* Optional skeleton loading feel */
.content.loading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #f0f0f0 25%,
    #e0e0e0 37%,
    #f0f0f0 63%
  );
  background-size: 400% 100%;
  animation: shimmer 1s infinite;
  z-index: 1;
}

@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* Card style */
.card {
  background: var(--card);
  padding: 14px;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/* Bottom Navigation */
.bottom-nav {
  display: flex;
  border-top: 1px solid #ddd;
}

.bottom-nav button {
  flex: 1;
  border: none;
  background: var(--secondary);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text);
  padding: 8px 0;
}

.bottom-nav button.active {
  color: var(--primary);
}

.bottom-nav span {
  font-size: 11px;
}

/* Home background image */
.home-bg {
  background: 
    linear-gradient(rgba(90,0,0,0.65), rgba(90,0,0,0.65)),
    url("/app/assets/loginBg.jpg") center / cover no-repeat;
  color: white;
}

/* Make cards transparent on home */
.home-bg .card {
  background: rgba(255,255,255,0.9);
  color: #333;
}

.top {
  height: 50%;
  background: linear-gradient(180deg, #ff5f6d, var(--primary));
  border-bottom-left-radius: 60% 18%;
  border-bottom-right-radius: 60% 18%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Logo */
.logo {
  text-align: center;
  color: white;
}

.icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  position: relative;
}

.icon::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 16px;
  width: 32px;
  height: 16px;
  border-radius: 0 0 20px 20px;
  background: #ff5f6d;
}

.logo h1 {
  font-size: 22px;
  margin: 8px 0 0;
}

/* Bottom section */
.bottom {
  height: 40%;
  padding: 10px 24px;
  text-align: center;
}

.bottom h2 {
  margin-bottom: 30px;
  font-weight: 600;
}

/* Buttons */
.btn {
  width: 100%;
  padding: 14px;
  border-radius: 30px;
  border: none;
  font-size: 14px;
  margin-bottom: 15px;
  cursor: pointer;
}

.signin {
  background: #eee;
  color: #555;
}

.signup {
  background: linear-gradient(90deg, #ff5f6d, var(--primary));
  color: white;
}

.btn-setting{
  position: relative;
    right: -100px;
    background: transparent;
    border: none;
    cursor: pointer;
}
.gallery-container {
  position: relative;
  width: 100%;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 80px;
}

/* Image */
.gallery-container img {
  width: 100%;

  object-fit: cover;
  transition: opacity 0.3s ease-in-out;
}

/* Navigation buttons */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary);
  border: none;
  color: #fff;
  font-size: 22px;
  padding: 0px 10px;
  border-radius: 50%;
  cursor: pointer;
}

.nav-btn.prev {
  left: 0px;
}

.nav-btn.next {
  right: 0px;
}

.loader {
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  z-index: 100;
  position:absolute;
  left:50%;
  top:50%;
  margin-top:-60px;
  margin-left:-60px;
  border-top: 16px solid var(--primary);
  border-bottom: 16px solid var(--primary);
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


@-moz-keyframes spin{
  0% { -moz-transform: rotate(0deg); }
  100% { -moz-transform: rotate(360deg); }  
}

iframe{
  border: 1px solid #dadada;
}

.pagination {
  position: relative;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-block;
  gap: 6px;
  z-index: 2;
}


.pagination span {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #000;
    cursor: pointer;
    font-size: 7px;
    text-align: center;
    line-height: 13px;
    display: inline-block;
    margin: 0 2px;
}

.pagination span.active {
  background: var(--primary);
}

.pagination-wrap {
    width: 350px;
    height: 60px;
    display: block;
    position: absolute;
    bottom: 10px;
    padding: 10px;
    box-sizing: content-box;

}