/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=One+Little+Font&family=Sniglet&display=swap');

/* ========= GLOBAL STYLES ========= */
body {
  margin: 0;
  font-family: 'Sniglet', cursive !important;
  background: #ffffff;
  color: #333;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ========= NAVBAR ========= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.logo img {
  height: 80px;
  width: 200px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.navbar ul li a {
  display: inline-block;
  padding: 10px 20px;
  margin: 5px;
  border: 2px solid transparent;
  background-color: #FF4F4C; /* Correct Red from Logo */
  color: white;
  border-radius: 10px;
  transition: all 0.3s ease;
  font-weight: bold;
  text-transform: none;
  text-align: center;
}

.navbar ul li a:hover {
  background-color: transparent;
  color: #FF4F4C; /* Red text on hover */
  border: 2px solid #FF4F4C;
  box-shadow: 0 0 10px #FF4F4C66;
  transform: scale(1.05);
}

/* Ripple Animation on Click */
.nav-links li a::after {
  content: "";
  position: relative;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(0, 123, 255, 0.2);
  transform: translate(-50%, -50%);
  border-radius: 100%;
  transition: width 0.4s ease, height 0.4s ease;
  overflow: hidden;
  z-index: 1;
}

.nav-links li a:active::after {
  width: 200px;
  height: 200px;
}

/* HAMBURGER MENU */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* ========= HERO SECTION ========= */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 90vh;
  background: linear-gradient(to right, #c4e0e5, #4ca1af);
  color: white;
  text-align: center;
  padding: 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  animation: fadeInUp 1s ease forwards;
  font-family: 'One Little Font', cursive !important;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  animation: fadeInUp 1.3s ease forwards;
}

/* ========= SECTIONS ========= */
.home {
  max-width: 1000px;
  margin: auto;
  margin-left: 150px;
  align-content: center;
  text-align: left;
}
.home h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #ff4f4c;
  text-align: left;
  max-width: 1000px;
}
.home p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  text-align: left;
  margin-top: 10px;
  margin-bottom: 10px;
  max-width: 1000px;
}
@media screen and (max-width: 760px) {
    .home {
        margin: auto;
        align-content: center;
        max-width: 760px;
    }
    .home h2 {
        font-size: 2.2rem;
        margin-left: 10px;
        margin-bottom: 20px;
        color: #ff4f4c;
    }
    .home p {
        font-size: 1.1rem;
        line-height: 1.8;
        margin-left: 10px;
        color: #555;
    }
}

/* ========= RESPONSIVE ========= */
@media screen and (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 30px;
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }
  
  .hero h1 {
    font-family: 'Sniglet', cursive !important;
  }

  .nav-links.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}

/* ========= ANIMATIONS ========= */
@keyframes fadeInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0px);
    opacity: 1;
  }
}

/* Hamburger Icon Styling */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: #FF4F4C; /* Logo red */
  margin: 4px 0;
  border-radius: 2px;
  transition: 0.4s ease;
}

/* Show hamburger only on small screens */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1001;
  }
}

.navbar .nav-links li .active {
  border: 2px solid #4ddde0;
  background-color: transparent;
  color: #4ddde0;
}

.page-content {
  max-width: 800px;
  margin: 100px auto;
  padding: 20px;
  text-align: center;
}

.page-content h1 {
  font-size: 2.5rem;
  color: #ff4f4c;
  margin-bottom: 20px;
}

.page-content p {
  font-size: 1.2rem;
  color: #333;
}

.footer {
  background-color: #FF4F4C; /* Your logo red */
  color: #fff;
  text-align: center;
  padding: 20px;
  font-size: 14px;
}

.footer .social-icons {
  margin-top: 10px;
}

.footer .social-icons a img {
  width: 24px;
  height: 24px;
  margin: 0 8px;
  filter: brightness(0) invert(1); /* makes icons white */
  transition: transform 0.3s ease;
}

.footer .social-icons a:hover img {
  transform: scale(1.2);
}

/* Hero Section Styling */
.hero {
  width: 100vw;                       /* ✅ Full viewport width */
  margin: 0;                          /* ✅ No margins */
  padding: 0;                         /* ✅ No padding */
  max-width: 100%;                   /* ✅ Ensure no limit on width */
  height: 100vh;
  background: url('/images/hero-image.png') center center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
}
.hero {
  padding: 0;
  max-width: 100%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.05); /* subtle dark overlay for text readability */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 20px;
}

.hero-title {
  font-family: 'One Little Font', cursive !important;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-family: 'Sniglet', cursive;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: white;               /* Was #333 before */
  text-shadow: 1px 1px 3px #000;
}

/* Hero Button with Ripple Effect */
.hero-button {
  font-family: 'Sniglet', cursive;
  background-color: #4DDDE0;    /* Logo blue */
  color: white;
  padding: 15px 30px;
  font-size: 1.2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  position: relative;            /* needed for ripple */
  overflow: hidden;              /* clip the ripple circle */
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Ripple circle */
.hero-button::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  background: rgba(77, 221, 224, 0.3); /* semi-transparent blue */
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: width 0.6s ease, height 0.6s ease;
  top: 50%;
  left: 50%;
  z-index: 0;
}

.hero-button:hover {
  background-color: transparent;
  color: white;                 /* now white text */
  border: 2px solid #4DDDE0;    /* blue outline stays */

  /* Added glow and pop */
  box-shadow: 0 0 10px #4DDDE066;  /* blue glow (with 40% opacity) */
  transform: scale(1.1);
}

/* On click: expand the ripple */
.hero-button:active::after {
  width: 300px;
  height: 300px;
}

.footer {
  background-color: #FF4F4C;
  color: #fff;
  text-align: center;
  padding: 1.5rem 1rem;
  margin-top: 3rem;
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
}

.footer .social-icons {
  margin-top: 1rem;
}

.footer .social-icons a {
  display: inline-block;
  margin: 0 10px;
  transition: transform 0.3s ease;
}

.footer .social-icons a:hover {
  transform: scale(1.1);
}

.footer .social-icons img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

/* Back to Top Button Styling */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  background-color: #FF4F4C;
  color: white;
  border: none;
  border-radius: 50%;
  padding: 12px 16px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#back-to-top:hover {
  transform: scale(1.1);
  background-color: #e03c3a;
}

/* Match the nav link button style */
.nav-style-button {
  font-family: "Sniglet", cursive;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 16px;
  color: #4ddde0;
  background: transparent;
  border: 2px solid #4ddde0;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  display: inline-block;
  margin-top: 10px;
}

.nav-style-button:hover {
  background-color: #4ddde0;
  color: #fff;
  transform: scale(1.05);
}

.age-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}
.age-buttons button {
  padding: 12px 18px;
  font-size: 1.02rem;
  background: transparent;
  border: 2px solid #4ddde0;
  color: #4ddde0;
  font-family: "Sniglet", cursive;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.age-buttons button:hover {
  background: #4ddde0;
  color: white;
}
/* Reduce space between "Our Courses" and "Select your age" ONLY on courses.html */
.courses-page .page-content {
  max-width: 1000px;
  margin-top: 40px;
  margin-bottom: 20px; /* Reduce space below the "Our Courses" heading */
  text-align: left;
}
.courses-page .page-content h2 {
    font-size: 2.2rem;
    color: #ff4f4c;
    margin-top: -40px;
}
.courses-page .page-content p {
    font-size: 1.1rem;
}

.courses-page .age-nav {
  margin-top: 0;
  padding-top: 0;
  margin-bottom: -110px;
}

/* Match Premium Boxes to Navbar Button Style */
.premium-course-card {
  width: 300px;
  height: 200px;
  background-color: transparent;
  border-radius: 16px;
  text-align: center;
  margin-top: 10px !important;
  padding-top: 20px;
  border: 2px solid currentColor;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  color: #ffffff;
}

.premium-course-card span {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 8px;
}

.premium-course-card .course-desc {
  font-size: 1rem;
  line-height: 1.4;
  margin: 0;
  padding: 0;
  color: #ffffff;
}

/* Abacus specific color overrides */
.abacus-btn {
  background-color: #ffa62b;
  color: #ffffff;
  border-color: #ffa62b;
}
.abacus-btn p {
    color: #ffffff;
}

/* Rubik's Cube specific color overrides */
.rubik-btn {
  background-color: #ff6838;
  color: #ffffff;
  border-color: #ff6838;
}

/* Hover effect for Abacus */
.abacus-btn:hover {
  background-color: transparent;
  color: #ffa62b;
  transform: scale(1.05);
  box-shadow: 0 0 10px #ffa62b;
}

.abacus-btn:hover .course-desc,
.abacus-btn:hover span {
  color: #ffa62b;
}

/* Hover effect for Rubik's Cube */
.rubik-btn:hover {
  background-color: transparent;
  color: #ff6838;
  transform: scale(1.05);
  box-shadow: 0 0 10px #ff6838;
}

.rubik-btn:hover .course-desc,
.rubik-btn:hover span {
  color: #ff6838;
}

/* Layout for Premium Buttons */
.premium-buttons {
  display: flex;
  justify-content: left;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 10px;
  margin-left: -5px;
}
@media (max-width: 750px) {
    .premium-buttons {
        max-width: 750px;
    }
}
/* TIGHTEN SPACE BETWEEN AGE BUTTONS AND PREMIUM COURSES */
.age-buttons {
  margin-bottom: 40px; /* Add this line to reduce space below age buttons */
}

.abacus-page {
  padding-top: 20px; /* Reduce this value to bring content closer */
}

/* === Custom Spacing for Abacus Page === */
.abacus-page h1 {
  margin-top: -50px;   /* Reduce space from header to "Premium Courses" */
  margin-bottom: 50px; /* Space between h1 and h2 */
}

.abacus-page h2 {
  margin-top: 10px;      /* No extra gap above h2 */
  margin-bottom: 12px; /* Adjust space below h2 */
}

.abacus-page p {
  margin-top: 0;       /* No gap above paragraph */
}

/* Floating login button */
.floating-login-btn {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  height: 50px;
  width: 50px;
  background-color: #FF4F4C;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: "Sniglet", cursive;
  font-size: 16px;
  text-decoration: none;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: width 0.3s ease, background 0.3s ease;
  overflow: hidden;

  /* ✅ Ensure it's visible and fades in smoothly */
  opacity: 0;
  animation: fadeInBtn 0.6s ease-out 0.1s forwards;
}

@keyframes fadeInBtn {
  to {
    opacity: 1;
  }
}

.floating-login-btn .btn-content {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.floating-login-btn .fl-icon {
  width: 24px;
  height: 24px;
  margin-left: 38px;
  transition: transform 0.4s ease;
  flex-shrink: 0;
}

.floating-login-btn .fl-text {
  margin-left: 1.5px;
  opacity: 0;
  white-space: nowrap;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

/* Hover state */
.floating-login-btn:hover {
  width: 130px;
  justify-content: flex-start;
}

.floating-login-btn:hover .fl-icon {
  transform: rotate(360deg);
}

.floating-login-btn:hover .fl-text {
  opacity: 1;
}

/* Floating logout button */
.floating-logout-btn {
  position: fixed;
  top: 50%;                    /* Center vertically */
  right: 20px;
  transform: translateY(-50%);
  height: 50px;
  width: 50px;
  background-color: #FF4F4C;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: "Sniglet", cursive;
  font-size: 16px;
  text-decoration: none;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: width 0.3s ease, background 0.3s ease;
  overflow: hidden;
}

.floating-logout-btn .btn-content {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.floating-logout-btn .fl-icon {
  width: 24px;
  height: 24px;
  margin-left: 20px;
  transition: transform 0.4s ease;
  flex-shrink: 0;
}

.floating-logout-btn .fl-text {
  margin-left: 2px;
  margin-right: -32px;
  opacity: 0;
  white-space: nowrap;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.floating-logout-btn:hover {
  width: 130px;
  justify-content: flex-start;
}

.floating-logout-btn:hover .fl-icon {
  transform: rotate(360deg);
}

.floating-logout-btn:hover .fl-text {
  opacity: 1;
}

/* LOGIN BOX STYLING */
.login-box {
  max-width: 400px;
  margin: 60px auto;
  padding: 30px 25px;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  text-align: center;
  font-family: "Sniglet", cursive;
}

/* Login Heading */
.login-box h2 {
  margin-bottom: 20px;
  color: #FF4F4C;
  font-size: 1.8rem;
}

/* Input Fields */
.login-box input[type="email"],
.login-box input[type="password"] {
  width: 100%;
  padding: 12px 16px;
  margin: 10px 0;
  border: 2px solid #4ddde0;
  border-radius: 10px;
  font-size: 1rem;
  font-family: "Sniglet", cursive;
  box-sizing: border-box;
}

.login-box,
.login-box * {
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .login-box {
    width: 90%;
    margin: 40px auto;
    padding: 30px 20px;
  }

  .login-box input,
  .login-box .nav-style-button {
    font-size: 1rem;
    padding: 10px;
  }

  .login-box h2 {
    font-size: 1.5rem;
  }
}

/* Premium Signup Button */
.navbar ul li a.signup-button {
  font-family: "Sniglet", cursive;
  font-weight: bold;
  padding: 10px 20px;
  color: #ffffff; /* Golden text */
  background: linear-gradient(145deg, #ffcb30, #ffa62b); /* Premium gold gradient */
  border: 2px solid #ffcb30;
  border-radius: 12px;
  margin: 5px;
  transition: all 0.3s ease;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

/* Hover effect for premium Signup button */
.navbar ul li a.signup-button:hover {
  background: linear-gradient(145deg, #ffcb30, #ffa62b);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.8);
  transform: scale(1.05);
}

/* Active state for Sign Up Button*/
.navbar ul li a.signup-button.active {
  background: transparent;
  color: #ffcb30;
  border: 2px solid #ffcb30;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
  transform: none;
}

/* Dashboard layout */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}
.dashboard-wrapper {
  flex: 1;
  display: flex;
}

.sidebar {
  background-color: #ff4f4c;
  color: #fff;
  width: 60px;
  transition: width 0.3s ease;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  margin-bottom: -48px;
}

.sidebar.expanded {
  width: 220px;
}

/* Ensure the collapsed sidebar hides text */
.sidebar.collapsed .sidebar-text {
  display: none;
}

.sidebar-toggle {
  position: absolute;
  top: 10px;
  left: 10px;
  cursor: pointer;
  font-size: 24px;
  transition: transform 0.3s ease;
  color: #4ddde0;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin-top: 60px;
}

.sidebar-menu li {
  display: flex;
  align-items: center;
  padding: 15px;
}

.sidebar-menu li a {
  display: flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
}

.sidebar-icon {
  width: 24px;
  margin-right: 10px;
}

.sidebar-text {
  opacity: 0;
  white-space: nowrap;
  transition: opacity 0.3s;
}

.sidebar.expanded .sidebar-text {
  opacity: 1;
}

.dashboard-content {
  flex-grow: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

/* Icon Rotation */
.rotate-icon {
  transform: rotate(90deg);
}

.menu-btn {
  position: absolute;
  top: 20px;
  left: 15px;
  width: 20px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1000;
}

.menu-btn .bar {
  height: 4px;
  width: 100%;
  background-color: #ffffff;
  border-radius: 2px;
  transition: 0.3s ease;
}

.menu-btn.active .bar1 {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-btn.active .bar2 {
  opacity: 0;
}

.menu-btn.active .bar3 {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Dashboard Tab Sections */
.dashboard-section {
  display: none;
  color: #333;
  font-size: 1rem;
  animation: fadeIn 0.4s ease-in-out;
  padding: 10px 20px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin-top: 10px;
  margin-bottom: 20px;
}

/* Show General Note section by default */
.dashboard-section:first-child {
  display: block;
}

/* Animation for section transition */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.note-box {
  background-color: #f9f9f9;
  border-left: 5px solid #ff4f4c;
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.note-box h3 {
  margin-top: 0;
  color: #333;
  font-size: 1.1rem;
}

.note-box p {
  margin: 8px 0;
  line-height: 1.5;
}

.note-date {
  font-size: 0.85rem;
  color: #888;
}

html {
  scroll-behavior: smooth;
}

@media (max-width: 768px) {
    .sidebar {
        width: 100px;
        position: relative;
        flex-direction: column;
        margin-bottom: -48px;
    }
    .sidebar.expanded {
        width: 800px;
        z-index: 5000;
    }
    .menu-btn {
  position: absolute;
  top: 20px;
  left: 15px;
  width: 20px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1000;
}

.menu-btn .bar {
  height: 4px;
  width: 100%;
  background-color: #ffffff;
  border-radius: 2px;
  transition: 0.3s ease;
}

.menu-btn.active .bar1 {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-btn.active .bar2 {
  opacity: 0;
}

.menu-btn.active .bar3 {
  transform: rotate(-45deg) translate(5px, -5px);
}
}

.profile-content {
    margin-top: 20px;
    text-align: center;
    justify-content: center;
}
.profile-content h1 {
    font-size: 2.5rem;
    color: #ff4f4c;
    margin-bottom: 10px;
}
.profile-content p {
    font-size: 1.2rem;
    color: #333;
    margin-top: 5px;
}

.profile-box {
    width: 100%;
    max-width: 800px;
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    margin-left: 220px;
}
.profile-table {
  width: 100%;
  border-collapse: collapse;
}
.profile-table td {
  padding: 10px;
  vertical-align: top;
}
.profile-table tr:nth-child(even) {
  background: #f9f9f9;
}

.profile-box form textarea,
.profile-box form input[type="text"] {
  width: 96%;
  padding: 10px;
  margin-bottom: 12px;
  border: 2px solid #ff9b13;
  border-radius: 8px;
  font-family: "Sniglet", cursive;
}

.profile-box form button {
  background-color: #ff9b13;
  color: white;
  border: none;
  padding: 10px 20px;
  font-family: "Sniglet", cursive;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
}

.profile-box form button:hover {
  background-color: #ffffff;
  color: #ff9b13;
  border: 2px solid #ff9b13;
}

.profile-photo-wrapper {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 20px;
}

.avatar-container {
  position: relative;
  width: 120px;
  height: 120px;
  cursor: pointer;
}

.avatar-container .avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #ff9b13;
  transition: 0.3s ease;
}

.avatar-container:hover .avatar {
  opacity: 0.8;
}

.camera-icon {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #ff9b13;
  border-radius: 50%;
  padding: 6px;
  width: 15px;
  height: 15px;
}

.camera-icon img {
  width: 100%;
  height: 100%;
}

/* --------------------------
   Change Password Page Styles
-----------------------------*/

.change-password-content {
  margin-top: 20px;
  text-align: center;
  justify-content: center;
}

.change-password-content h1 {
  font-size: 2.5rem;
  color: #ff4f4c;
  margin-bottom: 10px;
}

.change-password-content p {
  font-size: 1.2rem;
  color: #333;
  margin-top: 5px;
}

.change-password-box {
  width: 100%;
  max-width: 800px;
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  margin-left: 220px;
}

.change-password-box form input[type="password"] {
  width: 96%;
  padding: 10px;
  margin-bottom: 16px;
  border: 2px solid #ff9b13;
  border-radius: 8px;
  font-family: "Sniglet", cursive;
  font-size: 1rem;
}

.change-password-box form button {
  background-color: #ff9b13;
  color: white;
  border: none;
  padding: 10px 20px;
  font-family: "Sniglet", cursive;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
  font-size: 1rem;
}

.change-password-box form button:hover {
  background-color: #ffffff;
  color: #ff9b13;
  border: 2px solid #ff9b13;
}

.success-message {
  color: green;
  font-weight: bold;
  margin-bottom: 15px;
}

.error-message {
  color: red;
  font-weight: bold;
  margin-bottom: 15px;
}
.password-wrapper {
  position: relative;
  width: 100%;
  margin: 10px 0;
}

.password-input {
  width: 96%;
  padding: 10px 40px; /* extra space on right for the icon */
  border: 2px solid #ff9b13;
  border-radius: 8px;
  font-family: "Sniglet", cursive;
  font-size: 1rem;
  box-sizing: border-box;
  margin-left: 0px; 
}

.toggle-eye {
  position: absolute;
  top: 35%;
  right: 12px;
  transform: translateY(-35%);
  width: 20px;
  height: 20px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  margin-right: 10px;
  margin-bottom: 0;
}

.toggle-eye:hover {
  opacity: 1;
}

.mail-box-content {
    margin-top: 20px;
    text-align: center;
    justify-content: center;
}
.mail-box-content h1 {
    font-size: 2.5rem;
    color: #ff4f4c;
    margin-bottom: 10px;
}
.mail-box-content p {
    font-size: 1.2rem;
    color: #333;
    margin-top: 5px;
}
