/* ROOT COLORS */
:root {
  --primary-blue: #6B93D6;
  --soft-green: #7DCEA0;
  --light-purple: #BB8FCE;
  --warm-gray: #F8F9FA;

  --text-dark: #2C3E50;
  --text-light: #5D6D7E;

  --background: #FFFFFF;
  --card-bg: #FFFFFF;

  --shadow: rgba(108, 147, 214, 0.15);

  --accent: #52C4B0;
  --error: #E74C3C;
  --success: #27AE60;
}

/* Header */
.header {
  background: linear-gradient(135deg, var(--primary-blue), var(--light-purple));
  padding: 0.7rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 20px var(--shadow);
}

/* Logo Wrapper */
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: white;
  font-weight: 600;
  font-size: 1.25rem;
  text-decoration: none;
}

/* Only remove underline from links */
a {
  text-decoration: none;
}

/* Perfect logo size */
.logo-img {
  width: 38px;
  /* Adjust based on your design */
  height: 38px;
  object-fit: cover;
  border-radius: 50%;
  /* Make circular (optional) */
}

/* Optional: make logo text smoother */
.logo-text {
  font-size: 1.2rem;
}

/* Nav Icons */
.nav-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.icon-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Professional Theme Toggle */
.theme-toggle-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
}

.theme-toggle-track {
  position: relative;
  width: 60px;
  height: 30px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.theme-toggle-track:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.theme-icon {
  font-size: 14px;
  z-index: 1;
  transition: all 0.3s ease;
}

.theme-icon.sun {
  opacity: 0.5;
}

.theme-icon.moon {
  opacity: 1;
}

.theme-toggle-thumb {
  position: absolute;
  right: 4px;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #ffd93d, #ff9500);
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(255, 149, 0, 0.4);
}

/* Dark mode styles for toggle */
[data-theme="dark"] .theme-toggle-track {
  background: rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .theme-icon.sun {
  opacity: 1;
}

[data-theme="dark"] .theme-icon.moon {
  opacity: 0.5;
}

[data-theme="dark"] .theme-toggle-thumb {
  right: calc(100% - 28px);
  background: linear-gradient(135deg, #6B93D6, #BB8FCE);
  box-shadow: 0 2px 8px rgba(107, 147, 214, 0.4);
}

/* Account Dropdown */
.account-dropdown-container {
  position: relative;
}

.account-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--card-bg);
  border-radius: 12px;
  padding: 0.5rem;
  min-width: 180px;
  box-shadow: 0 8px 32px var(--shadow);
  z-index: 1000;
}

.account-menu.active {
  display: block;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s ease;
  width: 100%;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  text-align: left;
}

.menu-item:hover {
  background: var(--warm-gray);
  color: var(--primary-blue);
}

.menu-divider {
  height: 1px;
  background: rgba(107, 147, 214, 0.1);
  margin: 0.5rem 0;
}

.menu-icon {
  font-size: 1.1rem;
  width: 24px;
  text-align: center;
}

/* Dark Mode Variables */
[data-theme="dark"] {
  --background: #1A1A2E;
  --card-bg: #16213E;
  --warm-gray: #0F3460;
  --text-dark: #EAEAEA;
  --text-light: #B8B8B8;
  --shadow: rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] body {
  background: var(--background);
  color: var(--text-dark);
}

[data-theme="dark"] .card {
  background: var(--card-bg);
}

[data-theme="dark"] .settings-wrapper {
  background: var(--background);
}

/* GLOBALS */
body {
  font-family: "Poppins", sans-serif;
  background: var(--warm-gray);
  margin: 0;
  padding: 0;
  color: var(--text-dark);
}

/* PAGE WRAPPER */
.settings-wrapper {
  max-width: 700px;
  margin: auto;
  padding: 1rem;
}

/* PAGE TITLE */
.screen-title {
  text-align: center;
  margin-bottom: 1.5rem;
}

/* CARD */
.card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 6px 30px var(--shadow);
}

/* SECTION TITLE */
.privacy-title {
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* SETTING ITEM */
.setting-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(107, 147, 214, 0.15);
}

.setting-item:last-child {
  border-bottom: none;
}

.setting-description {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* TOGGLE SWITCH */
.toggle-switch {
  position: relative;
  width: 50px;
  height: 26px;
  background: var(--text-light);
  border-radius: 13px;
  cursor: pointer;
  transition: 0.3s ease;
}

.toggle-switch.active {
  background: var(--primary-blue);
}

.toggle-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.toggle-switch.active .toggle-slider {
  transform: translateX(24px);
}

/* BUTTONS */
.btn {
  width: 100%;
  padding: 0.9rem;
  margin-top: 0.5rem;

  border: none;
  border-radius: 12px;
  cursor: pointer;

  font-size: 1rem;
  font-weight: 600;

  transition: 0.2s ease;
}

.btn-secondary {
  background: var(--primary-blue);
  color: white;
}

.btn-danger {
  background: linear-gradient(135deg, var(--error), #FF6B6B);
  color: white;
}

.btn:hover {
  transform: translateY(-2px);
}

/* MOBILE RESPONSIVE */
@media (max-width: 480px) {
  .card {
    padding: 1.3rem;
  }

  .setting-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
}

/*footer*/
/* Reset */

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Urbanist', sans-serif;
}

.site-footer {
  background-color: #1E1E1E;
  color: #F3F4F6;
  padding: 64px 24px 32px;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer-brand {
  flex: 1 1 200px;
}

.footer-logo {
  max-width: 180px;
  height: auto;
  border-radius: 50px;
}

.brand-line {
  font-weight: 400;
  font-size: 14px;
  color: #D1D5DB;
  margin-top: 12px;
  margin-left: 30px;
}

.footer-nav,
.footer-contact,
.footer-social {
  flex: 1 1 180px;
}

.footer-nav h4,
.footer-contact h4,
.footer-social h4 {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 16px;
}

.footer-nav ul {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 8px;
}

.footer-nav a {
  color: #F3F4F6;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-nav a:hover {
  color: #E9B64B;
  text-decoration: underline;
}

.footer-contact p a {
  color: #A1A1AA;
  text-decoration: none;
}

.footer-contact p {
  font-size: 14px;
  color: #A1A1AA;
  margin-bottom: 8px;
}

.footer-contact a:hover {
  color: #D13F2D;
}

.social-icons {
  display: flex;
  gap: 16px;
}

.social-icons a img {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icons a:hover img {
  transform: scale(1.1);
  filter: drop-shadow(0 0 5px #E9B64B);

}

.footer-bottom {
  max-width: 1240px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid #333;
  color: #9CA3AF;
  text-align: center;
  font-size: 12px;
}

.footer-bottom a {
  color: #9CA3AF;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 1024px) {
  .site-footer {
    padding-left: 48px;
    padding-right: 48px;
  }
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
  }

  .footer-brand,
  .footer-nav,
  .footer-contact,
  .footer-social {
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}

/* Global Responsive Reset */
body {
  overflow-x: hidden;
  max-width: 100%;
}

