        /* Custom styles to match the design */
        :root {
            --primary-color: #7000f3; /* Purple accent color */
            --dark-bg-color: #000000; /* Black background */
            --text-color: #ffffff; /* White text */
            --green-gradient-start: #1a5e20;
            --green-gradient-end: #27ae60;
        }

        .light .main-menu-btn {
            border-color: #000;
        }
        /* Desktop header */
        .desktop-header {
            display: block;
            width: 100%;
        }
        
        /* Mobile header - original */
        .mobile-header {
            display: none;
        }
        /* Change background color */
        .light .navigation {
            background: #000;
            border: none;
        }
        /* Hide color theme switcher */
        .light .header__dark-mode {
            display: none;
        }
        /* Header container */
        .header-container {
            max-width: 1024px;
            margin: 0 auto;
            padding: 20px 0px;
            width: 100%;
        }
        
        /* Header navigation bar */
        .navigation-new {
            background-color: #000000;
            border-radius: 40px;
            padding: 15px 25px;
            margin-top: 15px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
            width: 100%;
            box-sizing: border-box;
        }
        
        .navigation__container-new {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
        }
        
        /* Logo styles */
        .logo-section {
            display: flex;
            align-items: center;
        }
        
        .header__logo {
            display: flex;
            align-items: center;
            text-decoration: none;
        }
        
        .header__logo img {
            height: 44px;
            width: 12.5rem;
        }
        
        /* Telegram icon */
        .telegram-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background-color: #7424D1;
            border-radius: 12px;
            width: 40px;
            height: 40px;
            margin-left: 1rem;
        }
        
        .telegram-icon svg {
            fill: #ffffff;
            width: 16px;
            height: 16px;
        }
        
        /* Main menu */
        .main-menu-section {
            flex-grow: 1;
            display: flex;
            justify-content: center;
        }
        
        .main-menu__list-new {
            display: flex;
            justify-content: center;
            margin: 0;
            padding: 0;
            list-style: none;
        }
        
        .main-menu__list-new li {
            margin: 0 15px;
        }
        
        .main-menu__list-new li a {
            color: var(--text-color);
            text-decoration: none;
            font-weight: 400;
            font-size: 15px;
        }
        
        /* Auth buttons */
        .auth-buttons {
            display: flex;
            gap: 10px;
        }
        
        .login-btn, .register-btn {
            padding: 7px 18px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 400;
            font-size: 14px;
            display: inline-block;
            text-align: center;
            min-width: 70px;
        }
        
        .login-btn {
            background-color: transparent;
            border: 1px solid #ffffff;
            color: var(--text-color);
        }
        
        .register-btn {
            background-color: #7424D1;
            color: var(--text-color);
            border: none;
        }
        
        /* Reset default styles for desktop header only */
        .desktop-header .user-bar, 
        .desktop-header .header__dark-mode, 
        .desktop-header .header__contacts, 
        .desktop-header .main-menu-btn, 
        .desktop-header .timetable_mobile,
        .desktop-header .hidden_auth, 
        .desktop-header .hidden_contacts, 
        .desktop-header .header_timetable, 
        .desktop-header .hidden_timetable {
            display: none;
        }
        
        /* Make sure body has the whitish background */
        body {
            margin: 0;
            padding: 0;
            /*background: #f4f4f6;*/
            min-height: 100vh;
        }
        
        /* Responsive adjustments */
        @media (max-width: 768px) {
            .desktop-header {
                display: none;
            }
            
            .mobile-header {
                display: block;
            }
            .header__logo {
                width: 8rem;
                max-width: 8rem;
            }
        }
        
        /* Auth pages */
        
        .light .page-block.container {
            background: transparent;
            margin-top: 8rem;
        }
        
        /* Hide aside */
        /*aside {*/
        /*    display: none;*/
        /*}*/
        .auth-page-wrap {
            flex-direction: column;
            align-items: center;
        }
        .light .log_div_wrap,
        .log_div_wrap {
            margin-bottom: 1rem;
            align-items: center;
            display: flex;
            flex-direction: column;
            background-color: #F8F8F9;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
            /*padding: 0 10px;*/
            border-radius: 24px;
        }
        .page-id-11 .main-title,
        .page-id-12 .main-title,
        .page-id-13 .main-title{
            margin-bottom: 2.4rem;
            text-align: center;
        }
        .auth-page-wrap .log_input {
            width: 100%;
        }
        .auth-page-wrap .log_div {
            min-width: 500px;
            display: flex;
            align-items: center;
            margin: 0 auto;
            flex-direction: column;
        }
         .auth-page-wrap .log_div_ins {
            width: 100%;
        }
        .log_line_subm_left input.log_submit {
            border-radius: 50px;
        }
        
        /* Form */
       /* Main container */
        .log_div_ins {
          background-color: #F8F8F9;
          border-radius: 16px;
          width: 50.8rem;
          margin: 0 auto;
          padding: 0px;
          position: relative;
        }
        .lp_div_wrap {
         background: #F8F8F9 !important;
         border-radius: 24px;
        }
        /* Position the form fields and set up relative positioning */
        .form_field_line {
          position: relative;
          margin-bottom: 20px;
        }


        /* Position labels inside inputs */
        .form_field_label {
          position: absolute;
          top: -7px;
          left: 0;
          pointer-events: none; /* Makes the label click-through */
          transition: 0.2s ease all;
        }
        
        .form_field_label_ins {
          position: relative;
          left: 10px;
          top: 15px;
          transition: 0.2s ease all;
          color: #757575;
          font-size: 13px;
        }
        
        /* Hide the entire label container when input is focused or has value */
        .form_field_line:focus-within .form_field_label,
        .form_field_line .log_input:not(:placeholder-shown) ~ .form_field_label,
        .form_field_line .log_password:not(:placeholder-shown) ~ .form_field_label {
          opacity: 0;
          visibility: hidden;
          height: 0;
          overflow: hidden;
          transition: all 0.3s ease;
        }
        
        /* Ensure inputs have placeholder attribute (even empty) */
        .log_input, .log_password {
          placeholder: " "; /* Fallback */
        }
        
        .log_input::placeholder,
        .log_password::placeholder {
          opacity: 0; /* Make placeholder invisible */
        }
        
        /* Input fields styling */
        .form_field_line {
          margin-bottom: 15px;
        }

        /* Hide separator */
        .log_line_subm_right::after {
            display: none;
        }
        
        /* Email field */
        .field_name_logmail .log_input {
          background-color: #FFF;
        }
        
      
        /* Password field */
        .field_name_pass .log_password {
          background-color: #FFF;
        }
        
       
        /* Hide pin code field */
        .hidden_line {
          display: none;
        }
        
        /* Captcha styling */
        .captcha_div {
          margin-bottom: 20px;
        }
        
        .captcha_title {
          display: none;
        }
        
        .captcha_body {
          display: flex;
          align-items: center;
          justify-content: flex-start;
          margin-bottom: 15px;
        }
        
        .captcha_divimg {
          display: flex;
          align-items: center;
          justify-content: center;
          margin: 0 5px;
        }
        
        
        .captcha_reload {
          margin-left: 10px;
          font-size: 18px;
          text-decoration: none;
          color: #333;
          width: 24px;
          height: 24px;
          display: flex;
          align-items: center;
          justify-content: center;
          border-radius: 50%;
        }
        
       
        
        /* Submit button */
        .log_submit {
          width: 100%;
          height: 52px;
          background-color: #8833ff;
          color: white;
          border: none;
          border-radius: 28px;
          font-size: 16px;
          font-weight: 500;
          cursor: pointer;
          margin-bottom: 20px;
        }
        
        /* Links container */
        .log_line {
          text-align: center;
        }
        
        .log_line_subm_left {
          margin-bottom: 20px;
        }
        
        .log_line_subm_right {
          display: flex;
          justify-content: space-between;
        }
        
        .log_line_subm_right p {
          margin: 0;
        }
        
        .log_line_subm_right a {
          color: #333;
          text-decoration: none;
          font-size: 14px;
        }
        
        /* Clear fix utility */
        .clear {
          clear: both;
        }
        
        /* Error messages */
        .form_field_errors {
          color: red;
          font-size: 12px;
          margin-top: 5px;
          display: none;
        }
        
        /* Responsive adjustments */
        @media (max-width: 480px) {
          .log_div_ins {
            width: 100%;
            padding: 0px;
          }
        }
    
    /* Responsive */
     @media (max-width: 480px) {
              .light .log_div_wrap {
                width: 100%;
             }
             .auth-page-wrap .log_div {
                min-width: 340px;
             }
        }
        
        /* Language switcher (desktop only) */
        @media(min-width: 1024px) {
        .tolbar_lang {
          position: relative;
          display: inline-block;
        
        }

        .langlist_div {
          position: relative;
        }
        
        .langlist_title {
          padding: 8px 12px;
          border: 1px solid #ffffff;
          border-radius: 24px;
          cursor: pointer;
          color: #fff;
        }
        .langlist_title-icon {
        margin-left: 5px;
        font-size: 12px;
        }
        
        .langlist_ul {
          display: none;
          position: absolute;
          top: 100%;
          left: 0;
          background-color: #000;
          min-width: 45px;
          box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
          z-index: 1000;
          border: 1px solid #ccc;
          border-radius: 8px;
        }
        
        .langlist_li {
          display: flex;
          align-items: center;
          padding: 10px;
          color: #fff;
          text-decoration: none;
          white-space: nowrap;
        border-radius: 8px;
        }
        
        .langlist_li:hover {
          background-color: #F8F8F9;
          color: #000;
        }
        
        .langlist_liimg {
          width: 20px;
          margin-right: 10px;
        }
        
        .langlist_div:hover .langlist_ul {
          display: block;
        }
        }