.header {
    background: #2c3e50;
    color: white;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 20px;
    margin-top: 1px;
    top: 0;
    width: 96%;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.4);
}

.header h2 {
    margin: 0;
    margin-right: auto; /* გადაადგილებს მარცხნივ */
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
}

.header i {
    font-size: 20px;
    margin-left: 15px;
    cursor: pointer;
}

.header i:hover {
  font-size: 22px;
}


.user-menu {
display: none;
position: absolute;
top: 50px;
right: 20px;
color: rgb(64, 64, 74);
background: rgb(238, 238, 239);
border: 1px solid #2c3e50;
border-radius: 5px;
box-shadow: 0 0 20px rgba(0,0,0,0.2);
width: 150px;
padding: 10px 0;
z-index: 1000;
}

.user-menu ul {
list-style: none;
padding: 0;
margin: 0;
}

.user-menu li {
padding: 10px;
cursor: pointer;
font-size: 14px;
color: black;
}

.user-menu li:hover {
background: #ffffff;
}

.info-box {
    display: none;
    position: absolute;
    top: 60px;
    right: 20px;
    color: rgb(64, 64, 74);
    background: rgb(238, 238, 239);
    border: 1px solid #2c3e50;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    z-index: 9999; /* მაქსიმალურად წინ წამოწევა */
}


#mainTable {
font-size: 12px;
width: 100%;
height: auto;
margin: auto;
margin-bottom: 50px;
}

#statusBar {
position: fixed; /* Fix the status bar to the bottom */
bottom: 5px;
left: 50px;
width: 90%; /* Full width */
height: 5px; /* Set a height for the status bar */
background-color: #f1f1f1; /* Background color */
padding: 10px; /* Padding for content */
box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); /* Optional shadow */
display: flex;
align-items: center; /* Center content vertically */
justify-content: space-between; /* ღილაკები მარცხნივ, სხვა ელემენტები მარჯვნივ */
justify-content: flex-start; /* ღილაკები მარცხნივ */
gap: 0; /* ღილაკებს შორის არ არის ადგილი */
z-index: 10; /* Ensure it’s above other elements */
margin-left: 10px; /* 10px-მდე დაცილება მარცხნიდან */
} 
.sheet-tab {
margin-right: 1px; /* მცირე მანძილი ღილაკებს შორის */
padding: 5px 10px;
border: none;
cursor: pointer;
background: #ddd;
font-size: 12px;
border-radius: 5px;
color: rgb(52, 52, 52);
}

.sheet-tab.active {
background-color: #afe3b1;
color: rgb(0, 0, 0);
font-weight: bold;
border: #000000;
}

#statusText {
text-align: right; /* სტატუსის ტექსტი მარჯვნივ განლაგდება */
margin-left: 100px;
}

.mainButtons {
margin: 10px;
padding: 10px 20px;
font-size: 14px;
cursor: pointer;
}

.handsontable th {
white-space: normal; /* Allow wrapping of text */
word-wrap: break-word; /* Break long words to fit */
overflow: hidden; /* Prevent overflow */
vertical-align: top; /* Align header text to the top */
white-space: normal; /* Ensure wrapping works properly if needed */
}

.handsontable th .filter-icon {
position: absolute;
bottom: 4px; /* Adjust this value as needed */
}
#toolbar {
display: grid;
grid-template-columns: repeat(7, 1fr);
max-width: 100%; /* პანელის სიგანე */
font-size: 12px;
gap: 10px;
padding: 5px;
background-color: #f3f3f3;
border: 1px solid #ccc;
margin-bottom: 5px;
color: rgb(0, 0, 0);
}
.field {
display: flex;
flex-direction: column; /* label ზემოთ, input ქვემოთ */
font-size: 12px;
}

#toolbar button,
#toolbar input,
#toolbar select {
    padding: 5px;
    font-size: 12px;
}

footer {
background: #2c3e50;
color: white;
padding: 10px 0;
text-align: center;
bottom: 0;
width: 100%;
}

.footer-container {
justify-content: space-between;
align-items: center;
width: 80%;
margin: auto;
}

.footer-logo-imgandname {
justify-content: center;
align-items: center;
display: flex;
margin: auto;
}

.footer-logo h2 {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
font-size: 22px;
}

.footer-menu a, .footer-social a {
color: white;
text-decoration: none;
margin: 0 15px;
transition: 0.3s;
font-size: 16px;
}

.footer-menu a:hover, .footer-social a:hover {
color: #f39c12;
}

.footer-social i {
font-size: 20px;
}


#chatModal {
    color: rgb(64, 64, 74);
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 320px;
    max-height: 400px;
    background: rgb(238, 238, 239);
    border: 1px solid #2c3e50;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    overflow-y: auto;
    z-index: 10000;
}
#chatModal.show {
    display: block;
}
#chatGPT {
    color: rgb(64, 64, 74);
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 320px;
    max-height: 400px;
    background: rgb(238, 238, 239);
    border: 1px solid #2c3e50;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    overflow-y: auto;
    z-index: 10000;
}
#chatGPT.show {
    display: block;
}
.chat-messages {
    max-height: 250px;
    /* height: 300px; */
    overflow-y: auto;
    overflow-x: hidden; /* ჰორიზონტალურის წაშლა */
    border-bottom: 1px solid #2c3e50;
    padding-bottom: 10px;
    word-wrap: break-word;  /* გახლიჩე სიტყვები */
    overflow-wrap: break-word; /* ზოგი ბრაუზერისთვის */
  }

  .chat-messagesGPT {
    max-height: 250px;
    /* height: 300px; */
    overflow-y: auto;
    overflow-x: hidden; /* ჰორიზონტალურის წაშლა */
    border-bottom: 1px solid #2c3e50;
    padding-bottom: 10px;
    word-wrap: break-word;  /* გახლიჩე სიტყვები */
    overflow-wrap: break-word; /* ზოგი ბრაუზერისთვის */
  }
  
.chat-input {
    width: 100%;
    padding: 5px;
    margin-top: 5px;
    border: 1px solid #2c3e50;
    border-radius: 5px;
}

.chat-messages::-webkit-scrollbar {
    width: 8px;
  }
  .chat-messages::-webkit-scrollbar-thumb {
    background-color: #2c3e50;
    border-radius: 4px;
  }
  .chat-messages::-webkit-scrollbar-thumb:hover {
    background: #3a78b2;
  }
  
  .send-button {
    background-color: #2c3e50;
    color: rgb(249, 249, 249);
    border: none;
    padding: 8px 14px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 8px;
    transition: background-color 0.3s ease;
}

.send-button:hover {
    background-color: #3a78b2;
}

.close-button {
    position: absolute;
    top: 5px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 22px;
    font-weight: bold;
    color: #2c4965;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-button:hover {
    color: #3a78b2;
}

.form {
  width: 100%;
  max-width: 400px;
  margin: 50px auto; /* ცენტრში განლაგება */
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.form-check {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.form-check-input {
  width: 18px;
  height: 18px;
  margin-right: 8px; 
  accent-color: #007bff;
  cursor: pointer;
}

.form-check-label {
  color: #333;
}

.form-check-label a {
  color: #007bff;
  text-decoration: none;
}

.form-check-label a:hover {
  text-decoration: underline;
}


  #registerBtn, #loginBtn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
  }
  
  #loginBtn:hover:enabled {
    background-color: #0056b3;
  }
  
  #loginBtn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
  }
  
  #registerBtn:hover:enabled {
    background-color: #0056b3;
  }
  
  #registerBtn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
  }

  #scrollTopBtn {
  display: none; /* თავიდან დამალული */
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #007bff;
  color: white;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 50%;
  font-size: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: opacity 0.3s, transform 0.3s;
}

#scrollTopBtn:hover {
  background-color: #0056b3;
  transform: scale(1.1);
}

  

  