/* -------------------------------------------------- */
/* THEME VARIABLES - LIGHT & DARK MODE               */
/* -------------------------------------------------- 
:root {
  --bg-body: #f9f9f9;
  --bg-container: #f9f9f9;
  --bg-sidebar: #f9f9f9;
  --bg-header: #f9f9f9;
  --bg-content: #f9f9f9;
  --bg-footer: #f9f9f9;
  --bg-btn: rgb(52, 152, 219);
  --text-color: #333;
  --text1-color: #333;
  --text2-color: #8c8b8a;
  --text-secondary: #555;
  --accent-color: #e6b800;
  --btn-bg: #EAECEF;
  --btn-text: #1E2329;
  --border-color: #ddd;
  --error-bg: #f2dede;
  --error-text: #a94442;
  --success-bg: #dff0d8;
  --success-text: #3c763d;
  --modal-bg: rgba(0, 0, 0, 0.5);
  --box-bg: #fffdfa;
  --dark-grey: #1e1e1e;
  --splash-bg: #333;
  --plan-border: #ffd700;
  --footer-link: #333;
  --footer-link-hover: #00a0e9;
  --newsletter-btn-bg: #00a0e9;
  --newsletter-btn-hover: #0088cc;
  --premium-highlight: #ffa500;
  --special-btn-text: #504925;
  --special-btn-bg: #ffd700;
  --special-btn-hover: #e6b800;
  --login-link: #007bff;
  --bg-login: #f9f9f9;
  --divrow:#ddddd8;
   --text-colorG:#BDBFBD;
}



[data-theme="dark"] { */
:root {

  --bg-body: #1e1e1e;
  --bg-container: #1e1e1e;
  --bg-sidebar: #1e1e1e;
  --bg-header: #1e1e1e;
  --bg-content: #1e1e1e;
  --bg-footer: #1e1e1e;
  --bg-btn: rgba(52, 152, 219, 0.4);
  --text-color: #e0e0e0;
  --text1-color:rgba(131, 131, 131, 0.945)0;
  --text2-color: #8c8b8a;
  
  --text-secondary: #aaa;
  --accent-color: #ffd700;
  --btn-bg: #333;
  --btn-text: #f0f0f0;
  --border-color: #444;
  --error-bg: #4a1f1f;
  --error-text: #ffb3b3;
  --success-bg: #274d27;
  --success-text: #b2ffb2;
  --modal-bg: rgba(255, 255, 255, 0.1);
  --box-bg: #2b2b2b;
  --dark-grey: #111;
  --splash-bg: #000;
  --plan-border: #ffd700;
  --footer-link: #e0e0e0;
  --footer-link-hover: #ffd700;
  --newsletter-btn-bg: #ffd700;
  --newsletter-btn-hover: #e6b800;
  --premium-highlight: #ffd700;
  --special-btn-text: #504925;
  --special-btn-bg: #ffd700;
  --special-btn-hover: #e6b800;
  --login-link: #66b2ff;
   --bg-login: #444;
   --divrow:#40403f;
    --text-colorG:#BDBFBD;
}

/* -------------------------------------------------- */
/* Google log in reg                               */
/* -------------------------------------------------- */

 .google-btn {
  width: 100%;
    padding: 10px 12px;
    background: #ffffff;
    color: #444;
    font-weight: 500; 
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px; 
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15); /* Match shadow */
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    margin: 20px auto; 
    box-sizing: border-box;
  }
  
  .google-btn:hover {
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  }

  .google-icon {
    height: 20px;
    width: 20px;
    margin-right: 12px;
  }

/* -------------------------------------------------- */
/* RESET & BASE BODY                                 */
/* -------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
    font-size: 13px; /* Default for desktop/tablet */
}

@media (max-width: 600px) {
    html {
        font-size: 12px; /* Smaller base for mobile */
    }
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: var(--bg-body);
  color: var(--text-color);
  align-items: center;
  font-size: 1rem;
  height: 100%;
  width:100%;
    overflow-x: hidden; 
  overscroll-behavior-x: none; 
}

/* -------------------------------------------------- */
/* CONTAINER                                          */
/* -------------------------------------------------- */
.container {
  display: flex;
  height: 100vh;
  border-radius: 8px;
  flex-direction: column;
  background: var(--bg-container);
  min-height: 100vh;
}

        .menu-item.disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: default;
}


/* -------------------------------------------------- */
/* SIDEBAR                                            */
/* -------------------------------------------------- */
.sidebar {
  background: var(--bg-sidebar);
  color: var(--text-color);
  width: 230px;
  padding: 20px;
  display: flex;
  font-size:1.1rem;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  border-right: 1px solid var(--border-color);
  height: 100%;
  z-index: 993;
  transition: transform 0.3s ease-in-out, width 0.3s ease-in-out;
  transform: translateX(0);
}

.sidebar.collapsed {
  width: 50px;
}

.sidebar.collapsed .menu-item {
  overflow: hidden;
  white-space: nowrap;
}

.sidebar.collapsed .menu-icon {
  display: none;
}

.sidebar .menu {
  list-style: none;
  width: 100%;
  padding-left: 10px;
  position: relative;
  display:flex;
  flex-direction: column;
  flex: 1;
  padding-bottom:20px;
}

.sidebar .menu-item {
  position: relative;
  padding-left: 10px;
}

.menu-icon {
  position: absolute;
  left: 10px;
  top: 19px;
  font-size: 12px;
  color: #ccc;
  transform: translateY(-50%);
  transition: color 0.3s ease-in-out;
}

.sidebar .menu-item a.active .menu-icon,
.sidebar .menu-item a:hover .menu-icon {
  color: var(--accent-color);
}

.sidebar .menu-item a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  display: block;
  padding: 10px 15px 10px 40px;
  text-decoration: none;
  color: var(--text-color);
  transition: background 0.1s, color 0.1s, opacity 0.1s ease-in-out;
  border-radius: 5px;
  white-space: nowrap;
  position: relative;
  margin-left: -20px;
}

.sidebar .menu-item a:hover,
.sidebar .menu-item a.active {
  
  color: var(--accent-color);
}






.sidebar .menu-item a {
  position: relative;
  color: var(--text1-color);
  transition: color 0.3s ease;
}

.sidebar .menu-item a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--accent-color), rgba(255,255,255,0.3));
  transition: all 0.4s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}

.sidebar .menu-item a:hover,
.sidebar .menu-item a.active {
  color: var(--accent-color);
}

.sidebar .menu-item a:hover::after,
.sidebar .menu-item a.active::after {
  width: 80%;
}








.sidebar .social-section {
margin-top: auto;
}

.sidebar .logo {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 40px;
  padding-left: 25px;
  color: var(--text-color);
}

.sidebar.collapsed .logo {
  display: none;
}

.sidebar.collapsed .theme-toggle-container {
  display: none; 
}

.sidebar-toggle {
  display: none;
  position: absolute;
  top: 10px;
  right: -16px;
  background: var(--accent-color);
  color: #222;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  text-align: center;
  line-height: 30px;
  font-size: 12px;
  font-weight: bold;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  z-index:1851;
}

.sidebar:hover .sidebar-toggle {
  display: block;
  z-index:1855;
}


/* -------------------------------------------------- */
/* HEADER                                             */
/* -------------------------------------------------- */
.header {
  background: var(--bg-header);
  width:100%;
  z-index: 1050;
  position:fixed;
  top: 0;
  left: 0;

}

.header-logo {
  display: flex;
  align-items: center;
  font-weight: bold;
  color: var(--text-color);
}

.header-content { 
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-top: 0px;
}

.header-actions .btn {
  padding: 8px 10px;
  border-radius: 5px;
  cursor: pointer;
  margin-left: 0px;
  background-color: var(--btn-bg);
  color: var(--btn-text);
  transition: opacity 0.3s ease;
}

.header-actions .btn.login {
  background: var(--bg-container);
  color: var(--text-color);
  border: 1px solid var(--text-color);
}

.header-actions .btn.signup {
  background: var(--accent-color);
  color: #222;
 text-decoration:none;
}

.header-actions .btn:hover {
  opacity: 0.8;
}

.header-actions .user-button {
  background: var(--bg-container);
  color: var(--text-color);
  padding: 0;
  margin-top:-2px;
  font-size: 20px;

}

/* -------------------------------------------------- */
/* MAIN CONTENT                                       */
/* -------------------------------------------------- */
.main-content {
  flex: 1;
  margin-left: 230px;
  transition: margin-left 0.3s ease-in-out;
}

.main-content.collapsed {
  margin-left: 50px;
}

.content {
  padding: 60px 10px;
  background: var(--bg-content);
  flex: 1;
  overflow: visible;
  margin-top: 5px;
}

.content-container {
  background: var(--bg-content);
  overflow: visible;
  min-width: 100%;
  padding: 0px;
}

@media (min-width: 869px) {
  .content-container {
    margin-left: 40px;
  }
  .container {
   max-width: 1460px; /* or any value you want */
    margin: 0 auto; /* centers the container */
    width: 98%; /* optional: keeps it responsive */
	flex: 1;}
	
	.header-content {
		 max-width: 1460px; /* or any value you want */
    margin: 0 auto; /* centers the container */
    width: 98%; /* optional: keeps it responsive */
		padding-left:250px;
		padding-top:10px;
	}
	
		

}

/* -------------------------------------------------- */
/* HAMBURGER MENU                                     */
/* -------------------------------------------------- */
.hamburger {
  display: none;
  font-size: 2rem;
  color: var(--text-color);
  cursor: pointer;
  padding: 4px;
  position: fixed;
  top: 0px;
  left: 10px;
  z-index: 1005;
  border-radius: 5px;
}

.hamburger span {
  display: inline-block;
  transition: transform 1s ease;
  z-index: 1005;
}

/* -------------------------------------------------- */
/* RESPONSIVE DESIGN                                  */
/* -------------------------------------------------- */
@media (max-width: 768px) {
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 20px 0px;
    background: var(--bg-header);
  }

.content {
  padding: 65px 6px;
}

  .sidebar {
    transform: translateX(-100%);
    width: 220px;
  }

  .sidebar.expanded {
    transform: translateX(0);
  }

  .main-content {
    margin-left: 0;
  }

  .hamburger {
    display: block;
  }

  .header-actions .btn {
    padding: 8px 10px;
    margin-left: 1px;
  }
  
  .header-content { 
  	max-height: 35px!important;
  height: 35px!important;
}

}


/* -------------------------------------------------- */
/* GLOBAL BUTTONS                                     */
/* -------------------------------------------------- */
button, .btn {
  cursor: pointer;
  margin-bottom: 12px;
  margin-left: 5px;
  margin-right: 5px;
  padding: 5px 10px;
  background-color: var(--btn-bg);
  color: var(--btn-text);
  border: none;
  border-radius: 3px;
  font-size: 12px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover, .btn:hover {
  background-color: #F4F5F7;
}

button:active, .btn:active {
  transform: translateY(1px);
}

/* -------------------------------------------------- */
/* Subscription ENDS                                      */
/* -------------------------------------------------- */

#subscription-time {
 }

/* -------------------------------------------------- */
/* SPLASH SCREEN                                      */
/* -------------------------------------------------- */
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: none;
  justify-content: center;
  align-items: center;
  background-color: var(--splash-bg);
  z-index: 9999;
}

.splash-content {
  font-size: 4rem;
  font-weight: bold;
  gap: 30px;
  opacity: 0;
  transform: scale(0.5);
  animation: zoomIn 1.5s forwards;
}

@keyframes zoomIn {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.word {
  color: var(--accent-color);
  text-shadow: 0px 0px 10px rgba(243, 186, 47, 0.8);
  animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.fade-out {
  animation: fadeOut 1.5s forwards;
}

@keyframes fadeOut {
  0% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

.background-flash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle, rgba(243, 186, 47, 0.5) 10%, var(--splash-bg) 70%);
  animation: flashFade 1.5s forwards;
  z-index: 9998;
  opacity: 0;
  display: none;
  animation-delay: 1.5s;
}

@keyframes flashFade {
  0% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}


/* -------------------------------------------------- */
/* COOKIE CONSENT BANNER                              */
/* -------------------------------------------------- */
/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 770px;
    background-color: #1e1e1e;
    color: #fff;
    padding: 18px 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    border-radius: 18px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Content Layout */
.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

/* Text Styling */
.cookie-content p {
    margin: 10px;
    font-size: 15px;
    line-height: 1.4;
    flex: 1 1 auto;
}

.cookie-content a {
    color: #FBC905!important;
    text-decoration: underline;
    font-weight: 500;
}

#accept-cookies.special-button {
    background-color: #FBC905;
    height:40px;
    width:90px;
}

#accept-cookies:hover {
    background-color: #FBC905;
}

/* Responsive for Small Screens */
@media (max-width: 600px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    #accept-cookies {
        width: 100%;
        text-align: center;
    }
    #accept-cookies.special-button {
    
    width:100%;
}
    
}

   
/* -------------------------------------------------- */
/* SPECIAL BUTTONS                                    */
/* -------------------------------------------------- */
.special-button,
.special-button-log {
  background-color: var(--special-btn-bg);
  color: var(--special-btn-text);
  border: none;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
}

.special-button-log {
  width: 100%;
  font-size: 16px;
  font-weight: 600;
  margin: 20px auto;
  padding: 12px 0;
  display: block;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.special-button:hover,
.special-button-log:hover {
  background-color: var(--special-btn-hover);
  transform: translateY(-2px);
}

.special-button1 {
  position: relative;
  background: linear-gradient(90deg, #1a1a1a, #333333, #1a1a1a);
  
  background-size: 200% 100%;
  border: 1px solid var(--border-color); 
  color: white;
  font-weight: bold;
  padding: 6px 10px;
  border-radius: 6px;
   margin-top: 8px;
   margin-bottom: 0;
   min-width:108px;
  cursor: pointer;
  overflow: hidden;          /* keeps the shine inside */
  transition: transform 0.2s ease;
   transition: 
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.special-button1::before {
  content: "";
  position: absolute;
  inset: 0;                  /* fill the button */
  transform: translateX(-150%);
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0.6) 50%,
    transparent 100%
  );
  z-index: 1;                /* sit above the background */
  pointer-events: none;      /* don’t block clicks */
  animation: shimmer 2.5s infinite;
  will-change: transform;
}

.special-button1:hover {
  border-color: var(--accent-color);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* -------------------------------------------------- */
/* FOOTER                                             */
/* -------------------------------------------------- */
.footer {
  font-family: Arial, sans-serif;
  border-top: 0px solid var(--border-color);
  text-align:center;
  margin: 0;
  width:100%
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-top:10px;
  text-align:center;
  margin-top: auto;
  max-width:700px;
  padding-bottom:5px;
}

.footer-section {
  margin: 0 auto;
  min-width: 200px;
  text-align:center;
  width:300px;
  margin-bottom: 5px;
}

@media (max-width: 768px) {
  .footer-section {
  flex: 1;
  min-width: 48%;
  width:48%;
  margin-bottom: 5px;
}
}

.footer-section h3 {
  color: var(--accent-color);
  margin-bottom: 15px;
  font-size: 18px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  text-align:center;
}

.footer-section ul li {
  margin-bottom: 5px;
  text-align:center;
}

.footer-section ul li a {
  color: var(--footer-link);
  text-decoration: none;
  font-size: 14px;
  text-align:center;
}

.footer-section ul li a:hover {
  color: var(--footer-link-hover);
}

.social-icons {
  gap: 10px;
  text-align:center;
  margin: 0 auto;
  padding-right:5px;
}

.social-icons a {
  color: var(--footer-link);
  font-size: 20px;
  text-decoration: none;
  padding-left:6px;
}

.social-icons a:hover {
  color: var(--footer-link-hover);
}


.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
}

.newsletter-form button {
  background-color: var(--newsletter-btn-bg);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.newsletter-form button:hover {
  background-color: var(--newsletter-btn-hover);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--border-color);
  font-size: 14px;
  background-color: var(--bg-footer);
  padding: 5px 5px;
}

/* -------------------------------------------------- */
/* UPGRADE BUTTON                                     */
/* -------------------------------------------------- */
.upgrade-button {
  background: linear-gradient(to right, var(--accent-color), var(--accent-color) 50%, var(--premium-highlight));
  background-size: 200% 100%;
  color: black;
  font-size: 12px;
  padding: 8px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-position 0.5s, transform 0.3s;
  outline: none;
  position: relative;
  overflow: hidden;
}

.upgrade-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(to right, transparent 25%, rgba(255, 255, 255, 0.6) 50%, transparent 75%);
  transform: skewX(-25deg);
  transition: left 1s;
  animation: moveWave 2.5s linear infinite;
}

.upgrade-button i {
  color: rgba(0, 0, 0, 0.8);
}

.upgrade-button:hover {
  background-position: -100% 0;
  transform: scale(1.05);
}

.upgrade-button:hover::before {
  left: 100%;
}

@keyframes moveWave {
  0% { left: -100%; }
  100% { left: 100%; }
}

.upgrade-button:active {
  transform: scale(0.98);
}

@media (max-width: 768px) {
  .upgrade-button {
    padding: 8px 10px;
  }
}

/* -------------------------------------------------- */
/* PREMIUM OVERLAY                                    */
/* -------------------------------------------------- */
.premium-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--modal-bg);
  backdrop-filter: blur(4px);
  z-index: 1300;
  justify-content: center;
  align-items: center;
}

.premium-container {
  background: var(--bg-container);
  width: 90%;
  max-width: 700px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  text-align: center;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-color);
}

.close-btn:hover {
  color: red;
}

.comparison-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.plan {
  flex: 1;
  padding: 15px;
  border-radius: 8px;
  text-align: left;
  border: 2px solid var(--plan-border);
  background: var(--box-bg);
}

.plan h3 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 18px;
  color: var(--text-color);
}

.plan ul {
  list-style: none;
  padding: 0;
}

.plan ul li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.mobile-toggle {
  display: none;
  text-align: center;
  margin-bottom: 15px;
}

.toggle-btn {
  border: none;
  background: var(--accent-color);
  color: black;
  font-size: 14px;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 5px;
  margin: 5px;
}

@media (max-width: 768px) {
  .comparison-wrapper {
    flex-direction: column;
  }

  .plan {
    display: none;
    width: 100%;
  }

  .plan.active {
    display: block;
  }

  .mobile-toggle {
    display: block;
  }
}

/* -------------------------------------------------- */
/* LOGIN PANEL & DROPDOWNS                            */
/* -------------------------------------------------- */
#regSuccessMessage {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--success-bg);
  color: var(--success-text);
  padding: 15px 25px;
  border-radius: 4px;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

#login-panel {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate(-50%, -100%);
  opacity: 0;
  width: 100%;
  max-width: 460px;
  background: var(--bg-login);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.5s ease, opacity 0.5s ease;
  z-index: 1400;
  padding: 20px;
}

#login-panel.visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

#login-panel .form-group {
  margin-bottom: 15px;
}

#login-panel label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

#login-panel input[type="text"],
#login-panel input[type="password"] {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #B8B6B8;
  border-radius: 4px;
  font-size: 1rem;
  background-color: var(--bg-container);
  color: var(--text-color);
}

#login-panel .login-footer {
  text-align: center;
  margin-top: 10px;
  font-size: 1rem;
}

#login-panel .login-footer a {
  color: var(--login-link);
  text-decoration: none;
}

#login-panel .login-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 460px) {
  #login-panel {
    width: 96%;
    max-width: 96%;
  }
}

#login-error {
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 15px;
  background-color: var(--error-bg);
  color: var(--error-text);
}


/* User Container */

.user-container {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 1000;
}

/* Dropdown Toggle */
.user-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--primary-color);
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s ease;
}

.user-dropdown-toggle:hover {
  background: #2a5a4e;
}

.user-name {
  font-weight: bold;
}

.user-balance {
  color: var(--accent-color);
  margin-left: 10px;
}

.dropdown-icon {
  font-size: 10px;
  margin-left: 10px;
}

/* Dropdown Menu */
.user-dropdown {
  display: none;
  position: absolute;
  top: 40px;
  right: 0;
  background: var(--bg-login);
  width: 280px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  padding: 15px;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.user-dropdown.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .user-dropdown {
    width: 260px;
  }
}

@media (min-width: 768px) {
.user-container {
  right: 220px;
}
}

/* User Info */
.user-info p {
  margin: 8px 0;
  font-size: 14px;
  color: var(--text-color);
}

.user-info p strong {
  font-size: 16px;
  color: var(--primary-color);
}

.user-info p span {
  color: var(--text-color);
}

.user-info label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-color);
  margin-top: 10px;
}

.user-info select {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background: #f9f9f9;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.user-info select:focus {
  outline: none;
  border-color: var(--accent-color);
}

/* Logout Button */
.logout {
  margin-top: 10px;
  border-top: 1px solid var(--border-color);
  padding-top: 10px;
}

.logout-button {
  display: block;
  text-align: center;
  padding: 8px;
 background-color: var(--special-btn-bg);
  color: #504925!important;
  text-decoration: none;
  border-radius: 4px;
  font-size: 13px;
  transition: background 0.3s ease;
}

.logout-button:hover {
  background-color: var(--special-btn-hover);
}

/* Animation */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}




/* -------------------------------------------------- */
/* FONT IMPORT                                        */
/* -------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap');

/* -------------------------------------------------- */
/* LOGO ELEMENT                                       */
/* -------------------------------------------------- */
.mma-logo {
  margin-left: 25px;
  z-index: 1200;
  margin-top:-2px;
}

/* ===== Theme Toggle Styles ===== */
.theme-toggle-container {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 10px;
  margin-top: 25px;
  height: 26px; /* Ensure consistent height */
}

.theme-label {
  font-size: 13px;
  font-weight: bold;
  color: var(--text-color);
  line-height: 1;
  display: flex;
  align-items: center;
  height: 100%;
}

.theme-toggle {
  position: relative;
  width: 50px;
  height: 26px;
  display: flex;
  align-items: center;
}

.theme-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The track (bed) */
.slider {
  position: relative;
  background-color: var(--btn-bg);
  border-radius: 50px;
  width: 100%;
  height: 100%;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
  box-shadow: inset 0 0 2px rgba(0,0,0,0.1);
}

/* The thumb inside the track */
.thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background-color: var(--accent-color);
  border-radius: 50%;
  transition: left 0.3s ease-in-out, background-color 0.3s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Icons inside the thumb */
.thumb .icon {
  font-size: 12px;
  color: var(--special-btn-text);
  transition: opacity 0.3s ease-in-out;
}

/* Hide moon initially */
.thumb .moon-icon {
  display: none;
}

/* Toggle ON (dark mode) */
.theme-toggle input:checked + .slider .thumb {
  left: 27px;
}

.theme-toggle input:checked + .slider .thumb .sun-icon {
  display: none;
}

.theme-toggle input:checked + .slider .thumb .moon-icon {
  display: inline;
}

/* PASSWORD RECOVERY */

#password-recovery-container input[type="email"] {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: var(--bg-container);
}


.forgot-password-toggle {
  text-align: center;
  margin-top: 10px;
}

.forgot-password-toggle a {
  font-size: 14px;
  color: #337ab7;
  text-decoration: underline;
  cursor: pointer;
}

a:visited {
    color: var(--text-color);
}



/* ========== Premuin(LIGHT/DARK READY) ========== */

.locked-content {
  background: radial-gradient(circle 200px at top left ,var(--border-color), #1e1e1e);
  border: 1px dashed var(--border-color);
  border-radius: 12px;
  padding: 24px;
  margin: 30px auto;
  max-width: 650px;
  min-height: 140px;
  text-align: center;
  color: var(--text-color);
  box-shadow: 0 4px 14px rgba(0,0,0,0.6);
  font-size: 1.1rem;
}

.locked-content:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.8);
}


.locked-content::before {
content: "🔒"; 
  font-size: 28px;
  color: var(--accent-color);
  display: block;
  margin-bottom: 10px;
}

.locked-content strong {
  color: var(--accent-color);
  font-weight: 600;
}

.locked-content::before {
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

.locked-content a {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: var(--accent-color);
  color: #000;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.locked-content a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
  color: #000;
}


/* ========== FLOATING numbers ========== */
            
 .plus_number {
  display: inline-block;
  background: linear-gradient(145deg, #32cd32, #228b22); 
  color: white;
  border-radius: 20%;
  padding: 5px;
  animation: float 3s infinite alternate ease-in-out;
  font-weight: bold;
  font-size: 12px; 
  text-align: center;
  width: 22px;
  height: 18px;
   line-height: 8px;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3); 
  transition: background-color 0.3s ease; 
}

.plus_number:hover {
  
  background: linear-gradient(145deg, #34a853, #0b6623); 
}

 .plus_number_purp {
  position: relative;
  display: inline-block;
  background: linear-gradient(145deg, #9370db, #7d44c1);
  color: white;
  border-radius: 20%;
  padding: 5px;
  animation: float 3s infinite alternate ease-in-out;
  font-weight: bold;
  font-size: 12px; 
  text-align: center;
  width: 22px;
  height: 18px;
   line-height: 8px;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3); 
  transition: background-color 0.3s ease; 
}

.plus_number_purp:hover {
  
  background: linear-gradient(145deg, #8a2be2, #5d3fd3);
}

.plus_number_gold {
  position: relative;
  display: inline-block;
  background: linear-gradient(145deg, #f0c300, #c9a100); /* brighter but still rich gold */
  color: white;
  border-radius: 20%;
  padding: 5px;
  animation: float 3s infinite alternate ease-in-out;
  font-weight: bold;
  font-size: 12px;
  text-align: center;
  width: 22px;
  height: 18px;
  line-height: 8px;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;
}

.plus_number_gold:hover {
  background: linear-gradient(145deg, #e6b800, #b38f00); /* elegant hover effect */
}


@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-2px); /* Moves up slightly */
  }
  100% {
    transform: translateY(0px);
  }
}
            
  
/* === Chat Widget === */

.chat-launcher {
    position: fixed;
    bottom: 70px;
    right: 20px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: var(--accent-color, #ffd700);
    box-shadow: 0 0 10px rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.chat-launcher:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0,0,0,0.8);
}

.chat-launcher-icon {
    font-size: 22px;
}

.chat-unread-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: #e02020;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Panel */

.chat-panel {
    position: fixed;
    bottom: 65px;
    right: 20px;
    width: 320px;
    max-height: 420px;
    background: rgba(8, 8, 8, 0.98);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(0,0,0,0.9);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 2001;
    backdrop-filter: blur(10px);
    font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.chat-hidden {
    display: none;
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: linear-gradient(90deg, #111, #2b2b2b);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.chat-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #f5f5f5;
}

.chat-close {
    background: transparent;
    border: none;
    color: #aaa;
    font-size: 18px;
    cursor: pointer;
    padding: 0 4px;
}

.chat-close:hover {
    color: #fff;
}

.chat-messages {
    flex: 1;
    padding: 10px 10px 8px;
    overflow-y: auto;
    font-size: 13px;
}

/* Message bubbles */

.chat-message {
    padding: 6px 9px;
    border-radius: 9px;
    margin-bottom: 6px;
    max-width: 85%;
    line-height: 1.3;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.chat-message-user {
    background: #ffd700;
    color: #111;
    margin-left: auto;
    border-bottom-right-radius: 2px;
}

.chat-message-bot {
    background: #181818;
    color: #f5f5f5;
    margin-right: auto;
    border-bottom-left-radius: 2px;
    border: 1px solid rgba(255,255,255,0.07);
}

/* Input area */

.chat-input-area {
    display: flex;
    padding: 8px;
    border-top: 1px solid rgba(255,255,255,0.08);
    background: #101010;
    gap: 6px;
}

.chat-input {
    flex: 1;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    background: #141414;
    color: #f5f5f5;
    padding: 6px 11px;
    font-size: 13px;
}

.chat-input:focus {
    outline: none;
    border-color: var(--accent-color, #ffd700);
    box-shadow: 0 0 0 1px rgba(255,215,0,0.4);
}

.chat-send {
    border-radius: 999px;
    border: none;
    background: var(--accent-color, #ffd700);
    color: #111;
    padding: 0 12px;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-send:hover {
    filter: brightness(1.08);
}

/* Scrollbar for chat */
.chat-messages::-webkit-scrollbar {
    width: 6px;
}
.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}
.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.15);
    border-radius: 3px;
}


     @media (max-width: 480px) {
    .chat-panel {
     bottom: 15px;
     right: 0px;
        width: 100%;
        height: 100%;
        border-radius: 0;
        padding:10px;
    }

    .chat-launcher {
        bottom: 25px;
        right: 15px;
        width: 30px;
        height: 30px;
        font-size: 15px;
    }





    .chat-message {
        font-size: 13px;
    }

    .chat-input {
        font-size: 13px;
        padding: 10px 12px;
    }
    
    
}      
   .adminchat-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ff3b30;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}
#adminChatBadge[data-force="1"] {
    display: inline-flex !important;
}     
