:root {
    --primary-color: #f4f4f4;
    --primary-light-color: #FFE769;
    --secondary-color: #FFE4BA;
    --secondary-light-color: #FFF6E8;
    --post-color: #62EEA8;
    --delete-color: #FF9F9F;
    --light-color: #FFFEFC;
    --grey-color: #747E79;
    --dark-color: #000000;

    --primary-font: 'Poppins', sans-serif;
    --seconday-font: 'Poppins', sans-serif;

    --border-width: 3px;
    --element-border-radius: 5px;

    --button-height: 5px;
    --small-button-height: 2px;

    --element-padding: 0.8em;

    --maximum-width: 320px;
}


html, body {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    font-size: 16px;
    scroll-behavior: smooth;
    min-height: 100vh;
}


html {
height: 100%;
}

body {
    color: var(--dark-color);
    background-color: var(--primary-color);

    font-family: "Roboto Condensed", sans-serif;


    height: 100vh;
    scroll-behavior: smooth;
}

main {
    text-align: center;
    padding-right: 10%;
    padding-left: 4%;
    height: 100vh;
    margin-right: 1rem;
}

.home {
    text-align: center;
    margin-right: 1rem;
}

#home-cont {
flex-grow: 1;
}




/* === Structure === */

.container {
    max-width: var(--maximum-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
}


/* === Navbar === */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary-color);
    color: black;
    box-shadow: 0px 8px 16px -4px rgba(128, 128, 128, 0.2);
    font-family: "Roboto Condensed", sans-serif;
    z-index: 1000;
    width: 100%;
    padding: 12px 0;
}

.logo-img {
    width: 80px;
    margin-left: 1rem;
}

.logo {
    font-size: 3rem;
    text-decoration: none;
    color: white;
}

.navbar a {
    text-decoration: none;
    color: black;
    padding: 1.4rem 2rem;
    text-align: center;
    font-size: 1.3rem;
    z-index: 1000;
}

.navbar-right {
    display: flex;
    align-items: center; 
    margin-right: 2rem;
    z-index: 1000;
}

.navbar a:hover {
    border-radius: 10% / 20%;
    background-color: #ddd;
    color: black;
    z-index: 1000;
}


/* Style the dropdown button */
.dropdown {
    position: relative; /* This makes the positioning of the dropdown content relative to this container */
    display: inline-block;
}

.dropdown .dropbtn {
    cursor: pointer;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
    position: absolute;
    background-color: #f9f9f9;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    text-align: center;
    z-index: 1;
    margin-top: 1.5rem;
    right: 0; 
    left: auto;
    white-space: nowrap;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 1rem 1rem;
    text-decoration: none;
    display: block;
    text-align: left; /* Ensure text is aligned to the left */
    color: #080317;
}


/* Show the dropdown content on hover */
.dropdown-content:hover {
    display: block;
}

/* === Hamburger Menu === */
.hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
}



.closebtn {
    display: none;
}

.hide {
    display: none;
}





/* === Buttons === */

button {
    font-weight: 600;
    width: 100%;
}

button:hover {
    cursor: pointer;
}


/* === Forms === */

input, button {
    padding: var(--element-padding);
    border-radius: var(--element-border-radius);
    width: 100%;
    font-size: 1.1em;
    text-align: center;
}







  



/* Auth page styles - Login, Signup, Forgot Password */

.auth-page_container {
    display: flex;
    flex-direction: column;
    align-items: center;



}



.login-form-container {
    display: flex;
    justify-content: center;
    /* align-items: center;  */
    width: 100%;
    max-width: 400px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
    margin-left: 2rem;
    margin-left: 2rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    align-items: center; 
    width: 100%;
}
  
.login-form h2 {
    text-align: center;
    margin-bottom: 20px;
}
  
.input-group {
    margin-bottom: 20px;
}
  
.input-group label {
    display: block;
    margin-bottom: 5px;
}
  
.input-group input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: calc(100% - 20px);
}
  
.input-group, .login-btn, .google-login-btn {
    width: 100%; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.input-group {
    flex-direction: column;

}

.login-btn {
    background-color: #007bff;
    border: 1px solid rgba(0, 0, 0, 0.25);
    font-weight: 500;
    color: white;
    cursor: pointer;
    height: 2.5rem;
    font-size: 1.2rem;
}

.login-btn:hover {
    transition: all 0.2s ease;
    transform: scale(1.05);
}

.google-login-btn {
    color: var(--dark-color);
    background-color: var(--light-color);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
    border: 1px solid rgba(0, 0, 0, 0.25);  
}

.google-login-btn:hover {
    transition: all 0.2s ease;
    transform: scale(1.05);
}

.google-btn-logo {
    width: 1.375em;
}

.alt-signin-divider {
    margin: 1em 0;
    text-align: center;
    font-size: 0.875em;
    color: var(--dark-color);
}

.signup-link-container {
    text-align: center;
    margin-top: 1em;
}

.error-msg {
    color: red;
    font-size: 1rem;
    margin-top: 0.5em;
    text-align: center;
}

.login-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    max-width: 10rem;
    margin-top: 1rem;
    height: 2.5rem;
    cursor: pointer;
    background-color: rgb(202, 195, 195);
    border: none;
}

.login-link-btn:hover {
    background-color: var(--grey-color);
    border: none;
    color: white;
}

/* Footer Styles */

footer {
    background-color: var(--grey-color); /* Light grey background */
    color: white; /* Dark grey text */
    font-family: var(--primary-font);
    text-align: center; /* Centering the content */
    padding: 10px 0; /* Padding above and below */
    font-size: 80%; /* Standard font size */
}

.simple-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem; /* Padding on the sides */
}

.simple-footer a {
    color: white; /* Standard link color */
    text-decoration: none; /* No underlines on links */
    margin: 0 5px; /* Margins for spacing */
}

.simple-footer a:hover {
    text-decoration: underline; /* Underline on hover for better user interaction */
}

.footer-txt {
    font-size: 120%;
}



/* Responsive */
@media screen and (max-width: 800px) {
    .navbar-right {
        position: fixed; 
        top: 0;
        left: -100%; 
        flex-direction: column;
        justify-content: center; 
        align-items: center; 
        width: 100%;
        height: 100vh;
        background-color: var(--primary-color); 
        overflow-x: hidden; /* Prevent horizontal scroll */
        overflow-y: auto;
        transition: 0.5s; /* Smooth transition for sliding in/out */
        padding: 0;
        padding-bottom: 40rem;
        margin: 0;
        z-index: 1000;
    }

    .navbar-right a {
        color: black;
        padding: 15px;
        text-decoration: none;
        font-size: 2rem;
        display: block; /* Ensure links take full width */
        transition: 0.3s; /* Smooth transition for hover effect */
        z-index: 1000;
    }

    .navbar a:hover {

        background-color: inherit;
        z-index: 1000;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-content {
        position: relative;
        width: 100%;
        right: auto;
        text-align: center;
        padding: 0;
        margin-top: 0;
        box-shadow: none;
        overflow-y: auto;

    }

    .dropdown-content a {
        padding: auto;
        text-align: center;
        font-size: 1.6rem;
        color: #080317;
    }


    .hamburger {
        display: block;
        position: absolute;
        right: 1rem;
        font-size: 2.2rem;
        z-index: 999;
    }

    .closebtn {
        display: block;
        position: absolute;
        top: 0;
        right: 1rem;
        font-size: 3rem;
        cursor: pointer;
        color: black
    }

    .simple-footer {
        flex-direction: column;
        padding: 0;
    }



}

@media screen and (max-width: 800px) and (orientation: landscape) {
  .navbar {
    height: 10%; /* Setting height to 20% for the album/landscape view */
  }
}


table {
    width: 80%;
    border-collapse: collapse;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 100%;
}

td { border: 2px solid #ddd; padding: 1%; text-align: left; }

th{ border: 1px solid #ddd; padding: 1%; text-align: center; }

.th-email {text-align: left;}

th { background-color: #f2f2f2; }

/* Стилі для ролі "Користувач" */
.role-user {
    /* Червоний колір, як вимагалося */
    color: red;
    /* Робить текст жирним, якщо тег <strong> не використовується */
    font-weight: bold;
}

/* Стилі для ролі "Гість" */
.role-guest {
    /* Синій колір, як вимагалося */
    color: blue;
    /* Робить текст жирним, якщо тег <strong> не використовується */
    font-weight: bold;
}

/* Якщо ви використовуєте оригінальні назви класів ('user' та 'guest') */
.user {
    color: red;
    font-weight: bold;
}
.guest {
    color: blue;
    font-weight: bold;
}



.status-guest-to-user, .status-button {
  padding: 1% 1%;  /* height × width spacing */
  font-size: 110%;     /* text size */
  border-radius: 4px;  /* optional: rounded corners */
  border: none;
  outline: none;
}


.status-button:hover {
  background: #b09a76;
  transform: scale(1.1);
}

.status-guest-to-user:hover {
  background: #5a848a;
  transform: scale(1.1);
}

.status-guest-to-user:active, .status-button:active {
  background: #2e575c;
}


.section {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding: 40px;
    }
.slide-title {
      font-size: 2.8rem;
      margin-bottom: 1rem;
      color: black;
    }
.slide-par {
      font-size: 2.6rem;
      max-width: 800px;
      margin-bottom: 2rem;
    }
.slide-text {
      font-size: 2.4 rem;
      max-width: 800px;
      margin-bottom: 1.6rem;
    }
.images-container img {
      max-width: 100%;
      height: auto;
      border-radius: 10px;
      margin: 10px;
      box-shadow: 0 0 15px rgba(255,255,255,0.2);
    }



#menu {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 999;            /* higher than fullPage sections */
}

#menu a {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  text-align: center;
  color: #aaa;
  line-height: 32px;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
  font-weight: bold;
}

#menu a:hover {
  background: #5a848a;
  transform: scale(1.1);
}

#menu a.active {
  background: #2e575c;
}

    .section {
      text-align: center; padding: 5vh 5vw;
      display: flex; flex-direction: column; justify-content: center;
      align-items: center;
      font-family: "Roboto Condensed", sans-serif;

    }
    h2 { font-size: 3 rem; margin-bottom: 1rem; }
    p { font-size: 150%; max-width: 800px; margin: 0 auto 1rem; }
    ul { font-size: 130%; text-align: left;  max-width: 800px; margin: 0 auto; }
    .images-container img {
      max-width: 80%; border-radius: 16px; margin: 1rem auto;
      box-shadow: 0 0 20px rgba(0,0,0,0.4);
    }

    /* Animations */
    .fade-in { animation: fadeIn 1s ease both; }
    .slide-in { animation: slideIn 1s ease both; }
    .zoom-in { animation: zoomIn 1s ease both; }

    @keyframes fadeIn { from {opacity:0;} to {opacity:1;} }
    @keyframes slideIn { from {transform:translateX(100px); opacity:0;} to {transform:translateX(0); opacity:1;} }
    @keyframes zoomIn { from {transform:scale(0.8); opacity:0;} to {transform:scale(1); opacity:1;} }

    @media (max-width: 800px) {
      h2 { font-size: 2 rem; }
      p { font-size: 1.6rem; }
      ul { font-size: 1.4rem;
       list-style-position: inside;
      margin-left: -3%;
      margin-right: -4%;

}
      .section { width: 100%; margin-right: 10%; padding: 0;}
      #menu { right: 8px; margin-top: 7%}
      table {
        width: 95%;
      }
      .user, .guest { font-size: 50%; padding: 0 1%}
      .status-button { font-size: 60%; }
      .emails { font-size: 60%; padding-right: 2%;}

      }
//////////////////////////////////

.navbar a.active {
    font-weight: bold;
    color: #000; /* optional */
    z-index: 1000;
}



.slide-separator, .news-separator {
    /* Remove default hr styling */
    border: none;
    height: 3px; /* Set the line thickness */
    width: 20%;  /* Set the line length (e.g., 20% of the slide width) */
    background-color: #3498db; /* Set the line color */
    margin: 2% auto 0; /* Center it and add space below slide content */
    border-radius: 50%; /* Optional: for a rounded edge look */
}

.news-separator {

}

.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}
.modal-content {
    font-family: "Roboto Condensed", sans-serif;
    background-color: #fefefe;
    margin: 15% auto; /* 15% зверху і по центру */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Може бути менше */
    max-width: 400px;
    text-align: center;
    border-radius: 8px;
    font-weight: bold;
}

#cancelActionButton {
  background: rgba(255, 255, 255, 0.3);
  text-align: center;
  color: #aaa;
  line-height: 32px;
  font-size: 2 rem;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
  font-weight: bold;
  border: none;
  outline: none;
  display: inline-block;
  width: 40%;

}

#confirmActionButton {
  background: rgba(255, 255, 255, 0.3);
  text-align: center;
  color: red;
  line-height: 32px;
  font-size: 2 rem;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
  font-weight: bold;
  border: none;
  outline: none;
  display: inline-block;
  width: 40%;

}

#confirmActionButton:hover, #cancelActionButton:hover {
  background: #5a848a;
  transform: scale(1.1);
}

#confirmActionButton:active, #cancelActionButton:active, {
  transform: scale(1.3);
  background: #2e575c;
}

#conclusion {
    text-align: center;
    font-size: 180%;
}

#news-desc {
    text-align: center;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 160%;
}

#news-wrap {
  margin-top:8%;
}

.nav-btn.active {
  font-weight: bold;
  color: #007bff; /* or any color */
  border-bottom: 2px solid #007bff;

}

.news-el {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 130%;
    margin-bottom: 4%;
}

.slide li {
  margin-bottom: 10px;
}

.active {
    font-weight: bold; /* This applies the bolding */
    /* You could also add other styles for visual indication */
    color: #001122; /* Example: change the color */
}

.public-txt {
     text-align: center;
}

#enBtn, #ukBtn, #enBtn-ter, #ukBtn-ter, #enBtn-home, #ukBtn-home {
          background: #eee;
          border: none;
          padding: 6px 12px;        /* smaller fixed padding */
          border-radius: 4px;
          cursor: pointer;
          font-weight: 600;
          font-size: 0.9rem;        /* smaller font */
          margin: 0 4px;            /* small space between buttons */
          width: 28%;              /* remove fixed 30% width */
          min-width: 80px;          /* ensures they stay tappable on mobile */
          transition: all 0.2s ease;
    }

#enBtn.active, #ukBtn.active, #enBtn-ter.active, #ukBtn-ter.active, #enBtn-home.active, #ukBtn-home.active {
       background: #0078ff;
       color: white;
    }
#en, #uk, #en-ter, #uk-ter, #en-home, #uk-home {
    font-family: system-ui, sans-serif;
    padding: 5%
}

.lang-switch {
    margin-top: 3%;
    display: flex; flex-direction: column; justify-content: center;
    align-items: center;
}

.item-number {
    text-align: center;
    width: 10%;
}

.item-link {
    text-align: center;
    width: 12%;
}

.toggle-details {
  cursor: pointer;
}

.description-row {
  background-color: #f0eded;
  font-style: italic;
}

.has-description {
  background-color: #f2ebeb;
}

.table-head {
  background-color: #e6e3e3;
}

/* Стилі для основного списку */
.print-recommendations {
     display: flex;
     flex-direction: column;
     justify-content: center;
     list-style-type: decimal;
     font-family: "Roboto Condensed", sans-serif;
     font-size: 145%;
     line-height: 1.6;
}

/* Стилі для елементів з hover-ефектом */
.hover-container {
    align-items: center;
    position: relative;
    display: inline-block;
    cursor: help; /* Змінюємо курсор, щоб показати інтерактивність */
    font-weight: bold; /* Виділяємо назви деталей */
    color: #0056b3; /* Колір, що відрізняється від звичайного тексту */
}

.hover-container .image-popup {
     visibility: hidden;

     /* ЗМІНА: Використовуємо VW (Viewport Width) для адаптивної ширини */
     width: 50vw; /* Наприклад, 30% ширини екрана */
     max-width: 400px; /* Додаємо максимальну ширину, щоб не було занадто великим на широких моніторах */

     background-color: #333;
     color: #fff;
     text-align: center;
     border-radius: 6px;
     padding: 5%;
     margin: 5%;
     position: absolute;

     top: 125%;
     z-index: 1000;



     opacity: 0;
     transition: opacity 0.3s;
     box-shadow: 0 8px 16px rgba(0,0,0,0.4);
     font-weight: normal;
}

/* Відображення спливаючого вікна при наведенні */
.hover-container:hover .image-popup {
     visibility: visible;
     opacity: 1;
}

/* Стилі для зображення всередині спливаючого вікна */
.image-popup img {
     max-width: 100%;
     height: auto;
     display: block;
     margin-bottom: 5px;
     border-radius: 4px;
}


.parts-h {
    padding-left: 10%;
}

.parts-list {
display: flex;
     flex-direction: column;
     justify-content: center;
     list-style-type: disc;
     font-family: "Roboto Condensed", sans-serif;
     font-size: 107%;
     line-height: 1.8;
}



*/


