  :root {
      --primary-color: #6A994E;
      --secondary-color: #fafafa;
      --text-color: #2c3e50;
      --bg-color: #fafafa;
      --accent-bg: #F8F7F4;
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }

    body, html {
      height: 100%;
      width: 100%;
      font-family: 'Roboto', sans-serif;
      background-color: var(--bg-color);
      color: var(--text-color);
      overflow: hidden;
    }

    nav {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 70px;
      background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color) 73.55%, var(--accent-bg) 70%);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 25px;
      z-index: 1000;
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);
      font-weight: 700;
      flex-wrap: wrap;
    }

    @media (max-width: 1200px) {
      nav > button:not(#menuToggle) {
        display: none;
      }

      nav {
        justify-content: flex-start;
        padding-left: 60px;
        padding-right: 10px;
        height: auto;
        min-height: 70px;
        flex-wrap: wrap;
        gap: 0;
      }

      .mobile-main-nav {
        display: block;
        margin-bottom: 25px;
        padding-bottom: 15px;
        border-bottom: 1px solid rgba(106, 153, 78, 0.25);
      }

      .mobile-main-nav li a {
        font-size: 1.15rem;
        font-weight: 600;
        color: #5a8c3e;
        padding: 16px 24px;
      }

      .mobile-main-nav li a:hover {
        background: #f5f9f0;
        color: #4b6d38;
      }

      #sideMenu ul h3 {
        font-size: 1.35rem;
        margin: 20px 20px 10px;
        padding: 0;
      }

      #sideMenu ul li {
        margin: 8px 16px;
      }
    }

    @media (min-width: 1201px) {
      .mobile-main-nav { display: none; }
    }

    #menuToggle {
      position: absolute;
      left: 20px;
      background: none;
      border: none;
      font-size: 30px;
      color: #6A994E;
      cursor: pointer;
      padding: 10px;
      z-index: 1100;
      transition: transform 0.2s ease;
      background-color: #faf7ec;
    }

    #menuToggle:hover {
      transform: scale(1.1);
    }

    .hamburger span {
      display: block;
      width: 28px;
      height: 3px;
      background: #6A994E;
      margin: 5px 0;
      border-radius: 2px;
      transition: 0.3s;
    }

    #sideMenu.open ~ nav #menuToggle .hamburger span:nth-child(1) {
      transform: rotate(45deg) translate(7px, 7px);
    }
    #sideMenu.open ~ nav #menuToggle .hamburger span:nth-child(2) {
      opacity: 0;
    }
    #sideMenu.open ~ nav #menuToggle .hamburger span:nth-child(3) {
      transform: rotate(-45deg) translate(7px, -7px);
    }

    nav button {
      background-color: var(--secondary-color);
      color: var(--text-color);
      border: none;
      padding: 12px 28px;
      border-radius: 15px;
      cursor: pointer;
      font-size: 1rem;
      box-shadow: 0 6px 15px rgba(0,0,0,0.15);
      transition: all 0.3s ease;
    }

    nav button:hover {
      transform: translateY(-4px);
      background-color: #faf7ec;
      box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

    .language-selector {
      position: absolute;
      top: 12px;
      right: 20px;
      z-index: 1200;
    }

    .language-display {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 11px 18px;
      background: white;
      color: var(--text-color);
      font-weight: 600;
      font-size: 1rem;
      border-radius: 16px;
      cursor: pointer;
      min-width: 140px;
      box-shadow: 0 6px 15px rgba(0,0,0,0.12);
      transition: all 0.3s ease;
      user-select: none;
    }

    .language-display:hover {
      background: #f0f8ed;
      transform: translateY(-3px);
      box-shadow: 0 12px 25px rgba(106,153,78,0.3);
    }

    .language-display svg {
      width: 12px;
      height: 12px;
      stroke: currentColor;
      transition: transform 0.35s ease;
    }

    .language-options {
      position: absolute;
      top: calc(100% + 10px);
      right: 0;
      width: 160px;
      background: white;
      border-radius: 16px;
      box-shadow: 0 12px 30px rgba(0,0,0,0.2);
      overflow: hidden;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-12px);
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      pointer-events: none;
    }

    .language-selector.active .language-options {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
      pointer-events: all;
    }

    .language-options li { list-style: none; }

    .language-options li a {
      display: block;
      padding: 14px 20px;
      color: var(--text-color);
      text-decoration: none;
      font-weight: 500;
      transition: all 0.25s ease;
    }

    .language-options li a:hover {
      background: #f0f8ed;
      color: var(--primary-color);
      padding-left: 28px;
    }

    .language-selector.active .language-display svg {
      transform: rotate(180deg);
    }

    #sideMenu {
      position: fixed;
      top: 0;
      left: -300px;
      width: 280px;
      height: 100%;
      backdrop-filter: blur(10px);
      padding-top: 90px;
      transition: left 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
      z-index: 1050;
      box-shadow: 4px 0 20px rgba(0,0,0,0.2);
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      -ms-overflow-style: none;
    }
    #sideMenu::-webkit-scrollbar { display: none; }
    #sideMenu.open { left: 0; }

    #sideMenu ul { list-style: none; }
    #sideMenu ul li { margin: 15px 20px; }
    #sideMenu ul li a {
      display: block;
      color: #6A994E;
      text-decoration: none;
      font-size: 1.1rem;
      font-weight: 500;
      padding: 14px 20px;
      border-radius: 12px;
      background: #fafafa;
      transition: all 0.3s ease;
    }
    #sideMenu ul li a:hover {
      background: #faf7ec;
      color: #4b6d38;
      transform: translateX(10px);
    }

    #sideMenu ul h3 {
      margin: 15px 20px;
      color: #faf7ec;
      font-size: 1.5rem;
      font-weight: 800;
      padding: 14px 20px;
    }

    #overlay {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.4);
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
      z-index: 1000;
    }
    #overlay.active { opacity: 1; visibility: visible; }

    iframe {
      position: absolute;
      top: 70px;
      left: 0;
      width: 100%;
      height: calc(100% - 70px);
      border: none;
      transition: all 0.35s ease;
    }
    iframe.menu-open {
      left: 280px;
      width: calc(100% - 280px);
    }

    .auth-selector {
      position: absolute;
      top: 12px;
      right: 190px;
      z-index: 1200;
    }

    .auth-display {
      width: 46px;
      height: 46px;
      background: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 22px;
      box-shadow: 0 6px 15px rgba(0,0,0,0.12);
      transition: all 0.3s ease;
      user-select: none;
    }

    .auth-display:hover {
      background: #faf7ec;
      transform: translateY(-3px);
      box-shadow: 0 12px 25px rgba(106,153,78,0.3);
    }

    .auth-options {
      position: absolute;
      top: calc(100% + 10px);
      right: 0;
      width: 200px;
      background: white;
      border-radius: 16px;
      box-shadow: 0 12px 30px rgba(0,0,0,0.2);
      overflow: hidden;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-12px);
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      pointer-events: none;
    }

    .auth-selector.active .auth-options {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
      pointer-events: all;
    }

    .auth-options li { list-style: none; }

    .auth-options li a {
      display: block;
      width: 100%;
      padding: 14px 20px;
      color: var(--text-color);
      text-decoration: none;
      font-weight: 500;
      transition: all 0.25s ease;
    }

    .auth-options li button {
      all: unset;
      display: block;
      width: 100%;
      padding: 14px 20px;
      color: var(--text-color);
      text-decoration: none;
      font-weight: 500;
      transition: all 0.25s ease;
      text-align: left;
      cursor: pointer;
    }

    .auth-options li a:hover,
    .auth-options li button:hover {
      background: #f0f8ed;
      color: var(--primary-color);
      padding-left: 28px;
    }

    .auth-options .auth-danger {
      color: #b42318;
      transition: all 0.3s ease;
      
    }

    .auth-options .auth-danger:hover {
      background: #fdecec;
      color: #b42318;
      transform: scale(1.05);
    }

    .auth-status {
      padding: 12px 20px 6px;
      font-size: 0.85rem;
      color: #667;
      border-bottom: 1px solid rgba(106, 153, 78, 0.12);
    }

    .auth-status strong {
      display: block;
      color: var(--text-color);
      font-size: 0.95rem;
      margin-bottom: 4px;
    }

    .auth-modal {
      position: fixed;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 24px;
      background: rgba(34, 46, 40, 0.45);
      backdrop-filter: blur(10px);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity 0.3s ease, visibility 0.3s ease;
      z-index: 1300;
    }

    .auth-modal.open {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
    }

    .auth-panel {
      width: min(460px, 100%);
      background: linear-gradient(180deg, #ffffff 0%, #f8fbf4 100%);
      border-radius: 26px;
      padding: 28px;
      box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
      position: relative;
    }

    .auth-loader {
      position: fixed;
      inset: 0;
      display: none;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 12px;
      background: rgba(165, 193, 179, 0.45);
      backdrop-filter: blur(10px);
      border-radius: 0;
      z-index: 2000;
      font-weight: 700;
      color: #2c3e50;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-size: 0.85rem;
    }

    .auth-loader.active {
      display: flex;
    }

    .auth-loader-ring {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      border: 4px solid rgba(44, 62, 80, 0.15);
      border-top-color: var(--primary-color);
      border-right-color: #2c3e50;
      animation: auth-loader-spin 0.9s linear infinite;
      box-shadow: 0 0 12px rgba(106, 153, 78, 0.25);
    }

    .auth-loader-dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: var(--primary-color);
      box-shadow: 0 0 12px rgba(106, 153, 78, 0.35);
      animation: auth-loader-pulse 1s ease-in-out infinite;
    }

    @keyframes auth-loader-spin {
      to { transform: rotate(360deg); }
    }

    @keyframes auth-loader-pulse {
      0%, 100% { transform: scale(0.85); opacity: 0.6; }
      50% { transform: scale(1.2); opacity: 1; }
    }

    .auth-close {
      position: absolute;
      top: 14px;
      right: 14px;
      width: 38px;
      height: 38px;
      border-radius: 50%;
      border: none;
      background: #eef5e7;
      color: #355126;
      font-size: 1.3rem;
      cursor: pointer;
    }

    .auth-panel h2 {
      font-size: 1.9rem;
      margin-bottom: 8px;
      color: #27401c;
    }

    .auth-subtitle {
      color: #607060;
      margin-bottom: 22px;
      line-height: 1.5;
    }

    .auth-tabs {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      margin-bottom: 22px;
    }

    .auth-tab {
      border: none;
      border-radius: 14px;
      padding: 12px 16px;
      background: #edf4e8;
      color: #4b5b48;
      font-weight: 700;
      cursor: pointer;
    }

    .auth-tab.active {
      background: var(--primary-color);
      color: #fff;
    }

    .auth-form { display: none; }
    .auth-form.active { display: block; }

    .auth-field { margin-bottom: 16px; }

    .auth-field label {
      display: block;
      margin-bottom: 7px;
      font-weight: 600;
      color: #31462b;
    }

    .auth-field input {
      width: 100%;
      border: 1px solid #d7e5ce;
      border-radius: 14px;
      padding: 13px 14px;
      font: inherit;
      color: var(--text-color);
      background: #fff;
    }

    .auth-field input:focus {
      outline: none;
      border-color: var(--primary-color);
      box-shadow: 0 0 0 4px rgba(106, 153, 78, 0.14);
    }

    .auth-submit {
      width: 100%;
      border: none;
      border-radius: 16px;
      padding: 14px 18px;
      background: var(--primary-color);
      color: #fff;
      font-size: 1rem;
      font-weight: 700;
      cursor: pointer;
      box-shadow: 0 12px 25px rgba(106, 153, 78, 0.28);
    }

    .auth-note,
    .auth-message {
      margin-top: 14px;
      font-size: 0.95rem;
      line-height: 1.5;
    }

    .auth-message {
      min-height: 24px;
      font-weight: 600;
    }

    .auth-message.error { color: #b42318; }
    .auth-message.success { color: #1f7a32; }

    .terms-row {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .terms-row input[type="checkbox"] {
      margin: 0;
      width: 16px;
      height: 16px;
      flex: 0 0 16px;
      outline: none;
      box-shadow: none;
    }

    .terms-row input[type="checkbox"]:focus,
    .terms-row input[type="checkbox"]:focus-visible {
      outline: none;
      box-shadow: 0 0 0 3px rgba(248, 251, 244, 0.95);
      border-radius: 3px;
    }

    .terms-row input[type="checkbox"]::-moz-focus-inner {
      border: 0;
    }

    .terms-row input[type="checkbox"]::-moz-focus-outer {
      border: 0;
    }

    

    .status-modal {
      position: fixed;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 24px;
      background: rgba(34, 46, 40, 0.45);
      backdrop-filter: blur(10px);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity 0.3s ease, visibility 0.3s ease;
      z-index: 1500;
    }

    .status-modal.open {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
    }

    .status-panel {
      width: min(440px, 100%);
      background: linear-gradient(180deg, #ffffff 0%, #f8fbf4 100%);
      border-radius: 26px;
      padding: 26px;
      box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
      position: relative;
      text-align: center;
    }

    .status-panel h3 {
      font-size: 1.6rem;
      margin-bottom: 10px;
      color: #27401c;
    }

    .status-panel p {
      color: #607060;
      line-height: 1.5;
      margin-bottom: 18px;
    }

    .status-actions {
      display: grid;
      gap: 10px;
    }

    .status-actions a,
    .status-actions button {
      width: 100%;
      border: none;
      border-radius: 16px;
      padding: 12px 16px;
      background: var(--primary-color);
      color: #fff;
      font-weight: 700;
      text-decoration: none;
      cursor: pointer;
      box-shadow: 0 12px 25px rgba(106, 153, 78, 0.28);
      display: inline-block;
    }

    .status-actions .secondary {
      background: #edf4e8;
      color: #355126;
      box-shadow: none;
    }

    .confirm-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
      margin-top: 18px;
    }

    .confirm-actions button {
      border: none;
      border-radius: 14px;
      padding: 12px 16px;
      font-weight: 700;
      cursor: pointer;
    }

    .confirm-cancel {
      background: #edf4e8;
      color: #355126;
      transition: all 0.3s ease;
    }
    .confirm-cancel:hover {
      background: #edf4e8;
      color: #355126;
      transform: scale(1.05)
    }

    .confirm-danger {
      background: #fdecec;
      color: #b42318;
      transition: all 0.3s ease;
    }
    .confirm-danger:hover {
      background: #fdecec;
      color: #b42318;
      transform: scale(1.05)
    }

    .auth-link {
      margin-top: 12px;
      border: none;
      background: none;
      color: #355126;
      font-weight: 600;
      cursor: pointer;
      text-decoration: underline;
    }

    .auth-link:hover {
      color: #1f7a32;
    }

    @media (max-width: 768px) {
      .auth-selector { right: 166px; }
      .auth-panel { padding: 24px 18px; border-radius: 22px; }
    }

    #sideMenu ul h5 {
      text-align: center;
      padding: 1.5rem 0;
      color: #353535;
      font-size: 0.9rem;
      display: block;
      width: fit-content;
      margin: 0 auto;
    }

    #sideMenu ul h4 {
      display: block;
      width: fit-content;
      margin: 0 auto;
      padding: 0.5rem 0;
    }

    #sideMenu ul h4 a,
    #sideMenu ul h4 button {
      all: unset;
      display: block;
      width: fit-content;
      margin: 0 auto;
      font-size: 0.9rem;
      font-weight: 500;
      color: #696868;
      text-decoration: underline;
      cursor: pointer;
    }

    #sideMenu ul h4 a:hover,
    #sideMenu ul h4 button:hover {
      color: #1f1f1f;
    }

    .account-modal {
      position: fixed;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(0,0,0,0.45);
      backdrop-filter: blur(8px);
      opacity: 0;
      visibility: hidden;
      transition: 0.3s;
      z-index: 1400;
    }

    #deleteConfirmModal {
      z-index: 1600;
    }

    .account-modal.open {
      opacity: 1;
      visibility: visible;
    }

    .account-panel {
      width: min(420px, 100%);
      background: white;
      border-radius: 24px;
      padding: 28px;
      box-shadow: 0 25px 70px rgba(0,0,0,0.25);
      position: relative;
    }

    .account-close {
      position: absolute;
      top: 12px;
      right: 12px;
      border: none;
      background: #f1f1f1;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      cursor: pointer;
    }

    .account-info { margin: 20px 0; line-height: 1.7; }

    .account-update-actions {
      margin: 10px 0 18px;
      display: grid;
      gap: 10px;
    }

    .account-update-actions button {
      width: 100%;
      padding: 12px;
      border-radius: 12px;
      border: none;
      font-weight: 700;
      cursor: pointer;
      background: #edf4e8;
      color: #355126;
      transition: all 0.3s ease;
    }

    .account-update-actions button:hover {
      background: #e4efe0;
      transform: scale(1.03);
    }

    .account-form {
      background: #f7faf3;
      border-radius: 16px;
      padding: 14px;
      border: 1px solid #e2ecd8;
    }

    .account-form h3 {
      margin-bottom: 10px;
      font-size: 1.05rem;
      color: #355126;
    }

    .account-form label {
      display: block;
      font-weight: 600;
      margin-bottom: 6px;
      color: #31462b;
    }

    .account-form input {
      width: 100%;
      border: 1px solid #d7e5ce;
      border-radius: 12px;
      padding: 10px 12px;
      font: inherit;
      background: #fff;
    }

    .account-form button {
      margin-top: 10px;
      width: 100%;
      border: none;
      border-radius: 12px;
      padding: 11px 14px;
      background: var(--primary-color);
      color: #fff;
      font-weight: 700;
      cursor: pointer;
      box-shadow: 0 10px 20px rgba(106, 153, 78, 0.22);
    }

    .account-message {
      min-height: 20px;
      margin-top: 8px;
      font-weight: 600;
      font-size: 0.92rem;
    }

    .account-message.error { color: #b42318; }
    .account-message.success { color: #1f7a32; }

    .account-actions button {
      width: 100%;
      margin-top: 10px;
      padding: 12px;
      border-radius: 12px;
      border: none;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
    }
    .account-actions button:hover {
    background: #e4e4e4;
    transform: scale(1.05)
    }

    .account-actions .danger {
      background: #fdecec;
      color: #b42318;
      transition: all 0.3s ease;
    }
    .account-actions .danger:hover{
      background: #fdecec;
      color: #b42318;
      transform: scale(1.05);
    }
