@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-MediumItalic.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-SemiBoldItalic.ttf') format('truetype');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-ExtraBoldItalic.ttf') format('truetype');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-BlackItalic.ttf') format('truetype');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-ThinItalic.ttf') format('truetype');
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-ExtraLightItalic.ttf') format('truetype');
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}

:root {
  --color1: #ffffff;
  --color2: rgba(216, 235, 255, 0.6);
  --color3: #0085f1;

  --remarksclr: rgba(255, 186, 96, 0.705);
  --odobrclr: rgb(96, 255, 122, 0.705);

  --delete-color: linear-gradient(135deg, #8f0000 0%, #ff0000 100%);
  --delete-color-hover: linear-gradient(135deg, #d40000 0%, #ff6a6a 100%);
  --send-color: linear-gradient(135deg, #006eff 0%, #00a2ff 100%);
  --send-color-hover: linear-gradient(135deg, #358dff 0%, #25afff 100%);
  
  --blur1: rgba(255, 255, 255, 0.25);

  --background-redaced: #E1DBFF;
  --background-controled: #cefff1;
  --background-sented: #CFE2FF;
  --background-erorsed: #ffb2b3;
  --background-submited: #D8FFDC;
  --background-warning: #f9ffd8;
  --background-edited: #50cdff75;

  --color-redaced: #8974FF;
  --status-redaced: rgba(162, 146, 255, 0.3);
  --text-redaced: #7057ff;

  --color-controled: #74FFD8;
  --color-sented: #83B4FF;
  --color-erorsed: #FF6565;
  --color-submited: #8BFF97;

  --border-color: #D9D9D9;
  --button-grey-hover: #ebebeb;

  --text-title: #2c3e50;
  --text-subtitle: #7f8c8d;
  --text-subtitle2: #5d6566;
  --body-background: #fafafa;
  --background-grey: rgb(238, 238, 238);
  --background-grey1: rgba(66, 66, 66, 0.1);

  --placeholder-color: #8a8a8a;
  --group-header-color: #333;
  --group-header-background: #f5f5f5;
  --group-border-left: #4a90e2;

  --table-titles-background: rgba(231, 231, 231, 0.5);

  --primary: #5c5c5c;
  --primary-dark: #000000;
  --secondary: #272330;

  --green-main: #00798f;
  --green-light: #009bb6;
  --green-light-back: #e9fcff;
  --green-hover: #d7faff;;
  --active-row-color: rgb(234, 246, 255);

  --green-main-dark:  #005564;

  --background: #0F172A;
  --surface: rgba(30, 41, 59, 0.7);
  --text: #000000;
  --text-secondary: #94A3B8;
  --border: rgba(148, 163, 184, 0.2);
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  --glow: 0 0 10px rgba(0, 0, 0, 0.15);

  /*chat colors*/
  --icon-back-gray: rgb(136, 136, 136);
  --chat-header-back: #00798f;
  --chat-header-back-hover: linear-gradient(135deg, #868686 0%, #31e0ff 100%);
  --chat-btn: linear-gradient(135deg, #5c5c5c 0%, #06B6D4 100%);
  --chat-message-user-back: linear-gradient(135deg, #f3f9ff, #dfefff);
  --chat-avatar-back: #63aebb;
  --chat-avatar-user-back: hsl(202, 100%, 88%);


  --telegram-blue: #0088cc;
  --telegram-blue-light: #E8F6FF;
  --telegram-gray-light: #F0F0F0;
  --telegram-gray: #E5E5E5;
  --telegram-text: #000000;
  --telegram-text-light: #707579;
  --telegram-success: #34B7F1;
  --telegram-error: #FF5252;
  --telegram-owner-bg: #E8F6FF;
  --telegram-other-bg: #FFFFFF;
  --telegram-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

* {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  scrollbar-width: thin;
}

*::-webkit-scrollbar {
  width: 8px; 
  height: 8px; 
}

html, body {
  margin: 0;
  padding: 0;
  overflow: visible;
}

html {
  scrollbar-width: thin;
  scrollbar-color: rgb(87, 87, 87) var(--body-background);
}

a{
  text-decoration: none;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #000000;
  font-weight: 500;
}


body {
  background-color: var(--body-background);
  min-height: 100vh;
  overflow-x: hidden;
}

/*-----------------------notif*/
.notif-wrapper {
  position: relative;
  display: inline-block;
}

.notif-popup {
  position: absolute;
  top: 100%;
  right: 20px; 
  width: 210px;
  margin-top: 5px;
  border-radius: 10px;
  background: rgb(255, 255, 255);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.1);
  font-family: sans-serif;
  z-index: 1000;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: all 0.3s ease;
}

.notif-popup.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.notif-header {
  padding: 10px 12px;
  font-weight: bold;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.notif-header button{
  margin: 0;
}

.mark-read-btn:hover {
  text-decoration: underline;
}

.notif-body {
  max-height: 250px;
  overflow-y: auto;
  padding: 8px;      
}

.notif-divider-line {
  height: 1px;
  background-color: #e0e0e0;
  margin-top: 10px;
  width: 100%;
}

.notif {
  display: flex;
  flex-direction: column; 
  align-items: flex-start;
  background: var(--blur1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 10px;
  margin-bottom: 8px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.4;
  transition: background 0.2s;
}

.notif-message {
  flex: 1;
  margin-bottom: 4px;
  color: #333;
  text-align: left;
  font-weight: 500;
}

.notif-time {
  font-size: 11px;
  color: #888;
  white-space: nowrap;
  align-self: flex-end;
}

.notif:hover {
  background: #f1f1f1;
}

.notif-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #ff3b30;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  border-radius: 9999px;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
  opacity: 0;        
  visibility: hidden;
  transition: opacity 0.2s ease;
}

.notif-count.active {
  opacity: 1;
  visibility: visible;
}
/*-----------------------notif end*/

/*-----------------------mes flash*/
#flash-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
  align-items: end;
}

.custom-alert {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 16px 50px 16px 60px;
  border-radius: 15px;
  max-width: 320px;
  width: fit-content;
  font-size: 14px;
  color: #000;
  bottom: 40px;
  font-weight: 500;
  position: relative;
  background: var(--blur1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(136, 136, 136, 0.26);
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.1);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 1;
  transform: translateY(0);
  align-items: center;
}

.custom-alert.alert-success {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(76, 175, 80, 0.05) 100%);;
}

.custom-alert.alert-danger {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.1) 0%, rgba(244, 67, 54, 0.05) 100%);
}


.custom-alert.removing {
  opacity: 0;
  transform: translateY(50px); 
}

.custom-alert.collapsed {
  max-height: 60px;
}

.custom-alert.expanded {
  max-height: 500px;
}

.custom-alert img.alert-icon {
  position: absolute;
  top: 12px;
  left: 15px;
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.p_message_cont {
  display: flex;
  flex-direction: column;
}

.alert-close {
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  position: absolute;
  right: 16px;
  top: 12px;  
  font-weight: 500;
}

@media (max-width: 768px) {
  #flash-container {
    position: fixed;
    top: 130px; 
    left: 50%; 
    transform: translateX(-50%); 
    right: auto; 
    bottom: auto; 
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
    width: 90%;
    max-width: 400px;
  }
  
  .custom-alert {
    width: calc(100% - 110px);
    max-width: 100%;
  }
}
/*-----------------------mes flash end*/

/*=============== HEADER main =================*/
header {   
  box-sizing: border-box;
  position: relative;
  width: 100%;
  height: 70px;
  border-bottom: 1px solid var(--border-color);
  color: rgb(0, 0, 0);
  display: flex;
  justify-content: center;
  background-color: white;
  gap: 2px;
  padding: 15px 40px;
}

header nav{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  max-width: 2000px;
}

.header-aside{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  cursor: pointer;
  gap: 15px;
  align-items: center;
}

.logo-wrapper {
  display: inline-flex;
  align-items: center;    
  justify-content: center; 
  position: relative;
  text-align: center;
}

.header-aside-logo {
  width: 40px; 
  height: 40px;
  transition: all 0.3s ease;
}

.header-aside-text{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3px;
}

.header-aside .title{
  font-weight: 500;
  font-size: 15px;
}

.header-aside .description{
  font-weight: 500;
  font-size: 12px;
}

.header-bside{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.info-user {
  display: flex;
  flex-direction: column;
  color: var(--text-title);
  justify-content: center; 
  align-items: flex-start;   
  height: 100%;            
  text-align: left;   
}

.divider {
  width: 1px;
  height: 100%;
  background-color: var(--background-grey1); 
}

.user-sidebar {
  position: absolute;
  top: 60px;
  right: 10px;
  width: 210px;
  border-radius: 10px;
  background: rgb(255, 255, 255);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.1);
  font-family: sans-serif;
  z-index: 5;
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
  transition: all 0.3s ease;
  
}

.user-sidebar.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sidebar-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
}

.sidebar-content-header {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: left;
  align-items: center;
  padding-right: 20px;
}

.sidebar-content .short-acc-info{
  font-size: 14px;
  gap: 11px;
}

.sidebar-content .circle-fi{
  width: 15px;
  height: 15px;
}

.sidebar-content .short-acc-info .circle-fi,
.sidebar-content .short-acc-info .employee-card{
  font-size: 12px;
  gap: 5px;
}

.sidebar-content .input-with-icon img {
  width: 15px;
  height: 15px;
  left: 5px;
}

.sidebar-content .input-with-icon input{
  font-size: 12px;
  background-color: transparent;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; 
  padding: 9px 15px 9px 29px;
}

.sidebar-content .input-with-icon svg{
  left: 5px;
  color: black !important;
}

.sidebar-content hr{
  margin: 0;
}

.sidebar-content button{
  font-size: 12px;
  width: 100%;
  justify-content: start;
  border: none;
  padding: 9px 14px;
}

.sidebar-content .dop-menu-btn{
  padding-left: 5px;
}

.close-btn svg{
  width: 23px;
  height: 23px;
  padding: 5px;
  cursor: pointer;
  transition: 0.3s all ease-out;
}

.close-btn.white svg{
  filter: brightness(0) invert(1);
}

.close-btn.white svg:hover,
.close-btn svg:hover{
  background-color: #a1a1a154;
  border-radius: 4px; 
  color: white;
}

.close-btn.white svg:active,
.close-btn svg:active{
  background: rgba(128, 128, 128, 0.5);
}

.info-user .fio, 
.info-user .org{
  font-weight: 500;
  font-size: 13px;
}

.user-buttons{
  display: flex;
  align-items: center;
  gap: 6px;
}

.dop-menu-btn{
  display: flex;
  justify-content: center;
  width: fit-content;
  gap: 11px;            
  padding: 5px 8px;
  background: #ffffff00;
  color: rgb(0, 0, 0) !important;
  font-weight: 500;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  background-color: white;
  font-size: 13px;
  transition: all 0.3s ease-in-out;
}

.dop-menu-btn svg {
  width: 15px;
  height: 15px;  
  object-fit: contain; 
  /* filter: invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg); */
}

.dop-menu-btn.non{
  opacity: 0.6;
  background-color: #f8f9fa;
  border-color: #dee2e6;
  pointer-events: none;
}

.dop-menu-btn.non:hover{
  transform: none;
  box-shadow: none;
}

.dop-menu-btn:hover{
  background-color: var(--button-grey-hover);
}

/* ===== FOOTER =======*/

.footer{
  background-color: var(--green-main);
  padding: 40px 0 40px 0;
}

.footer-container{
  width: 1170px !important;
  margin: auto;
}

.footer-row{
  display: flex;
  flex-wrap: wrap;
}

.footer-col{
  width: 30%;
  padding: 0 15px;
}

.footer-col h4 {
  position: relative;
  font-size: 17px;
  color: rgb(255, 255, 255);
  text-transform: capitalize;
  margin-bottom: 35px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.3s;
  display: inline-block;
}

.footer-col h4:hover {
  color: black;
}

.footer-col h4::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  background-color: rgb(255, 255, 255);
  height: 2px;
  box-sizing: border-box;
  width: 100%;
}

.footer-col ul li{
  list-style-type: none; 
  display: flex;
  flex-direction: row;
  gap: 15px;
  width: fit-content;
}

.footer-col ul li svg{
  width: 24px !important;
  height: 24px !important;
  color: white;
}

.footer-col ul li:not(:last-child){
  margin-bottom: 24px;
}

.footer-col ul li a{
  font-size: 16px;
  color: rgb(255, 255, 255);
  font-weight: 500;
  text-decoration: none;
  display: block;
  transition: all 0.3s ease; 
  cursor: pointer;
}

.footer-col ul li a:hover{
  color: rgb(0, 0, 0);
  padding-left: 8px;
}

.footer-col .social-links a{
  display: inline-block;
  height: 40px;
  width: 40px;
  background-color: rgba(225, 225, 225, 0.2);
  margin: 0 10px 10px 0;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  color: white;
  transition: all 0.5s ease;
}

.footer-col .social-links a:hover{
  color: black;
  background-color: white;
}

.footer_org{
  color: white;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.5s ease;
}

.footer_org:hover{
  color: black;

}

@media(max-width: 767px){
    .footer-col{
        width: 50%;
        margin-bottom: 30px;
    }
}
@media(max-width: 574px){
    .footer-col{
        width: 100%;
    }
}


/*auth css*/

.radio-org-container {
  display: flex;
  gap: 15px;
  margin: 20px 0;
}

.radio-org-card {
  flex: 1;
  min-width: 30px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 10px 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.radio-org-card:hover {
  border-color: #b3d4ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 86, 179, 0.1);
}

.radio-org-input {
  display: none;
}

.radio-org-input:checked + .radio-org-card {
  border-color: #0056b3;
  background-color: #f0f7ff;
  box-shadow: 0 0 0 1px #0056b3, 0 4px 12px rgba(0, 86, 179, 0.15);
}

.radio-org-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: all 0.3s;
}

.radio-org-input:checked + .radio-org-card .radio-org-icon {
  border-color: #0056b3;
  background-color: #0056b3;
}

.radio-org-input:checked + .radio-org-card .radio-org-icon::after {
  content: '';
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
}

.radio-org-title {
  font-weight: 500;
  font-size: 14px;
  color: #333;
  line-height: 1.3;
}

.radio-org-subtitle {
  font-size: 11px;
  color: #666;
  margin-top: 4px;
  opacity: 0.8;
}

/* Иконки для разных типов */
.radio-org-card[data-type="organization"] .radio-org-icon {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23666"><path d="M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V9h2v2zm0-4H4V5h2v2zm4 12H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm0-4H8V5h2v2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8v10zm-2-8h-4v2h4v-2zm0 4h-4v2h4v-2z"/></svg>');
  background-size: 16px;
  background-position: center;
  background-repeat: no-repeat;
}

.radio-org-card[data-type="ministry"] .radio-org-icon {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23666"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM7 7h10v2H7zm0 4h10v2H7zm0 4h7v2H7z"/></svg>');
  background-size: 16px;
  background-position: center;
  background-repeat: no-repeat;
}

.radio-org-card[data-type="region"] .radio-org-icon {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23666"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"/></svg>');
  background-size: 16px;
  background-position: center;
  background-repeat: no-repeat;
}

.radio-org-input:checked + .radio-org-card .radio-org-icon {
  background-image: none;
  background-color: #0056b3;
}

.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.search-list {
    padding: 5px 0;
}

.search-item {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}

.search-item:hover {
    background-color: #f5f5f5;
}

.search-item.selected {
    background-color: #e3f2fd;
}

.search-item .item-name {
    font-weight: 500;
    margin-bottom: 3px;
}

.search-item .item-details {
    font-size: 12px;
    color: #666;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.search-item .item-details span {
    display: inline-block;
}

.search-loading,
.search-more {
    padding: 10px;
    text-align: center;
    border-top: 1px solid #f0f0f0;
}

.load-more-btn {
    background: none;
    border: none;
    color: #2196f3;
    cursor: pointer;
    font-size: 14px;
}

.load-more-btn:hover {
    text-decoration: underline;
}

.no-results,
.error {
    padding: 15px;
    text-align: center;
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

.entity-block {
    transition: all 0.3s ease;
}

.search-container {
    position: relative;
}

.input-with-icon {
    position: relative;
}

.input-with-icon svg, 
.input-with-icon img{
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: gray;
}

.input-with-icon .search-input {
    padding-left: 40px;
    width: 100%;
}

/**/


main{
  flex: 1;
  width: 100%;
  min-height: 100vh;
}

/*-------footer begin------------*/
footer {
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  border-top: 1px solid var(--border-color);
  color: rgb(0, 0, 0);
  font-size: 14px;
  font-weight: 500;
  width: 100%;
}

.fot_cont_text{
  display: flex; 
  gap: 10px;
  margin: 15px;
  padding-left: 50px;
}

.fot_cont_text div{
  padding: 10px;
  cursor: pointer;
}

.fot_cont_text div:hover{
  color: rgb(51, 51, 51);   
  transition: color 0.3s ease;
}

.fot_cont_img{
  display: flex;
  gap: 10px;
  padding-right: 50px;
  cursor: pointer;
}

.fot_cont_img a{
  padding: 10px;
  cursor: pointer;
}

.fot_cont_img a img{
  width:20px;
  height:20px;
  cursor: pointer;
}
/*-------footer end------------*/

/*begin-page*/

.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
      linear-gradient(rgba(255, 100, 0, 0.15) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 70, 0, 0.1) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
  pointer-events: none;
  z-index: -2;
  /* animation: gridPulse 4s ease-in-out infinite; */
}

@keyframes gridPulse {
  0%, 100% {
    opacity: 0.6;
    background-size: 80px 80px;
  }
  50% {
    opacity: 1;
    background-size: 85px 85px;
  }
}

.bg-blur-1 {
  position: fixed;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle at 30% 40%, rgba(255, 100, 0, 0.3), rgba(255, 50, 0, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
  animation: floatBlur1 12s ease-in-out infinite;
}

.bg-blur-2 {
  position: fixed;
  bottom: -20%;
  right: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle at 70% 60%, rgba(255, 70, 0, 0.25), rgba(255, 30, 0, 0) 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: -1;
  animation: floatBlur2 15s ease-in-out infinite;
}

@keyframes floatBlur1 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translate(5%, 5%) scale(1.1);
    opacity: 1;
  }
}

@keyframes floatBlur2 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate(-5%, -5%) scale(1.15);
    opacity: 0.9;
  }
}

/* Main Container */
.modern-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 50px 20px;
  position: relative;
  width: calc(100% - 40px);
}

/* Hero Section */
.modern-hero {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-bottom: 100px;
}

.hero-glass {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 13px;
  padding: 80px;
  position: relative;
  overflow: hidden;
  width: calc(100% - 162px);

}

.hero-glass::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  opacity: 0.1;
  animation: rotate 20s linear infinite;
    z-index: -1;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-gradient-text {
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--text) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  width: 100%;
  box-sizing: border-box;
}

.hero-subtext {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 48px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.main-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 40px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  justify-content: center;
}

.main-btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  display: block;
}


.main-btn-primary:hover svg {
  transform: translateX(3px);
}

.main-btn-primary svg {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-btn-primary {
  background: var(--chat-btn);
  background-size: 200% 100%;
  background-position: 0% 0;
  color: white;
  border: none;
  box-shadow: var(--glow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-btn-primary:hover {
  background-position: 100% 0;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);

}

.main-btn-delete {
  background: var(--delete-color);
  color: white !important;
  border: none;
}

.main-btn-delete:hover {
  background: var(--delete-color-hover);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.main-btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.main-btn-outline:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.stat-card {
  background: var(--blur1);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
  border-radius: 24px;
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  width: calc(100% - 64px);
}

.stat-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: var(--glow);
}

.stat-numbers {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--green-main) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.stat-trend {
  font-size: 0.875rem;
  color: gray;
  font-weight: 600;
}

/* Features Grid */
.features-grid {
  margin-bottom: 100px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 60px;
  text-align: center;
  background: linear-gradient(135deg, var(--text) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px 32px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--green-main));
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: var(--primary);
  box-shadow: var(--glow);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 24px;
  display: inline-block;
  transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
  transform: scale(1.2);
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.modern-contact {
  margin-top: 60px;
}

.contact-glass {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 13px;
  padding: 80px;
  position: relative;
  overflow: hidden;
  width: calc(100% - 160px);
}

.contact-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 48px;
  max-width: 600px;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 24px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 10px;
    background: var(--blur1);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
  border-radius: 24px;
  padding: 10px;
  transition: all 0.3s;
  color: black;
}

.contact-method:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--glow);
}

.contact-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass);
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  fill: white;
}


.contact-info {
  flex: 1;
}

.contact-type {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.contact-value {
  font-size: 1.125rem;
  font-weight: 600;
}

/* Animations */
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.modern-hero {
  animation: fadeInUp 0.8s ease-out;
}

.features-container .feature-card {
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
}

.features-container .feature-card:nth-child(1) { animation-delay: 0.1s; }
.features-container .feature-card:nth-child(2) { animation-delay: 0.2s; }
.features-container .feature-card:nth-child(3) { animation-delay: 0.3s; }
.features-container .feature-card:nth-child(4) { animation-delay: 0.4s; }

@media (max-width: 1024px) {
  .hero-gradient-text,
  .contact-title{
      font-size: 2.75rem;
  }
  
  .hero-glass {
      padding: 60px 40px;
      width: calc(100% - 80px);
  }
}


@media (max-width: 768px) {
  .hero-gradient-text,
  .contact-title {
      font-size: 2rem;
  }
  
  .hero-glass {
      padding: 40px 24px;
      width: calc(100% - 48px);
  }
  
  .hero-actions {
      flex-direction: column;
  }
  
  /* .main-btn {
      width: calc(100% - 52px);
      justify-content: center;
  } */
  
  .contact-glass {
      padding: 40px 24px;
      width: calc(100% - 48px);
  }
  
  .contact-methods {
      grid-template-columns: 1fr;
      gap: 7px;

  }
}

@media (max-width: 520px) {
  .contact-methods {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  
  .contact-method {
    padding: 16px;
    align-items: flex-start;
  }
  
  .contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }
  
  .contact-value {
    font-size: 1rem;
    word-break: break-word;
    overflow-wrap: break-word;
  }
}

@media (max-width: 480px) {
  .hero-gradient-text,
  .contact-title {
      font-size: 1.5rem;
  }
  
  .hero-subtext {
      font-size: 1.125rem;
  }
  
  .section-title {
      font-size: 2rem;
  }
  
  .features-container {
      grid-template-columns: 1fr;
  }
}

/*begin-page end*/

/*auth-pages*/
.steps-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.step {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: none;
}

.step.active {
  display: block;
}

.auth-page {
  position: relative;
  min-height: calc(100vh - 71px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 10px 0 10px;
  box-sizing: border-box;
  width: 100%;
}

.auth-text-upper {
  text-align: center;
  margin-bottom: 1rem;
}

.auth-title {
  font-size: 1.5rem;
  color: black;
  margin-bottom: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
}

.auth-title img{
  width: 50px;
  height: 50px;
}

.auth-subtitle {
  color: var(--text-subtitle);
  font-size: 0.9rem;
}

.auth-container {
  width: calc(100% - 74px);
  max-width: 400px;
  padding: 36px;
  background: rgba(255, 255, 255, 0.7);
  text-align: start;
  border-radius: 20px;
  position: relative;
  z-index: 1;
  border: 1px solid var(--border-color);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.auth-text-upper {
  animation: fadeIn 0.4s ease-out;
}

.auth-container {
  animation: fadeIn 0.4s ease-out;
}

.auth-container-title{
  font-weight: 500;
}

.auth-choose {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding: 4px;
  border-radius: 24px; 
  width: calc(100%-8px); 
  margin: 19px 0;
  margin-left: auto;
  margin-right: auto;
  background-color: var(--background-grey);
}

.auth-tab {
  padding: 5px 25px;
  cursor: pointer;
  font-weight: 500;
  position: relative;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-radius: 100px;
  font-size: 14px;
  text-align: center;
  width: 150px;
  color: #000000;
  overflow: hidden;
  z-index: 1;
  display: flex;
  gap: 4px;
  justify-content: center;
  text-align: center;
}

.auth-tab svg {
  width: 17px;
  height: 17px;
}

.auth-tab.active {
  font-weight: 600;
  background-color: white;
  color: var(--green-light);
}

.auth-tab.active svg {
  color: var(--green-light);
}

/* .auth-tab.wave-effect::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 150%;
  height: 100%;
  background: linear-gradient(
    90deg,
    #3b83f62f 0%,
    #3b83f63b 25%,
    #3b83f62c 50%,
    #3b83f61a 75%,
    #3b83f60a 100%
  );
  animation: modernWave 4.0s infinite cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-100%) skewX(-15deg);
  z-index: -1;
  filter: blur(1px);
} */

@keyframes modernWave {
  0% {
    transform: translateX(-100%) skewX(-15deg);
  }
  70% {
    transform: translateX(100%) skewX(-15deg);
  }
  100% {
    transform: translateX(100%) skewX(-15deg);
  }
}

.auth-form {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.auth-form .main-btn.main-btn-primary{
  width: 100%;
}

.form-group {
  margin-bottom: 13px;
}

.row-form-group{
  display: flex;
  flex-direction: row;
  gap: 16px;
}

.password-input-wrapper {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 17px;
  height: 17px;
}

.eye-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  top: 0;
  left: 0;
}

.eye-hidden {
  display: none;
}

.auth-input {
  width: calc(100% - 32px);
  padding: 9px 16px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  background-color: var(--background-grey);
  transition: all 0.3s ease-in-out;
  font-size: 14px;
}

.auth-input:focus {
  outline: none;
  border-color: transparent;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}

input::placeholder {
  color: var(--placeholder-color)
}

.button-auth-area{
  width: 100%;
  display: flex;
  justify-content: space-between;
  text-align: end;
  margin-top: 10px;
  gap: 20px;
}
/* 
.main-btn main-btn-primary {
  display: inline-flex;
  align-items: center;  
  justify-content: center;
  gap: 11px;        
  margin-top: 6px;
  width: 100%;
  padding: 9px;
  background: linear-gradient(135deg, #71a7ff, #1d4ed8);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease-out;
}

.main-btn main-btn-primary svg {
  width: 17px;
  height: 17px;
  object-fit: contain;
  color: white !important;
}

.main-btn main-btn-primary svg path {
  stroke: currentColor;
} */

.white-svg-btn {
  display: inline-flex;
  align-items: center;  
  text-align: center;
  justify-content: center;
  gap: 10px;        
  width: fit-content;
  padding: 5px 10px;
  background-color: #ffffff;
  color: rgb(0, 0, 0);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  max-height: fit-content;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.white-svg-btn.delete-button{
  background: var(--delete-color);
  color: rgb(255, 255, 255);
}

.white-svg-btn.delete-button:hover{
  background: var(--delete-color-hover);
  color: rgb(255, 255, 255);
}

.white-svg-btn.send-button{
  background: var(--send-color);
  color: rgb(255, 255, 255);
}

.white-svg-btn.send-button:hover{
  background: var(--send-color-hover);
  color: rgb(255, 255, 255);
}



.white-svg-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0; 
  display: block;
}

.white-svg-btn svg path {
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.white-svg-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.white-svg-btn:hover {
  background-color: #fffffffa;
  color: var(--green-light);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); 
}

.white-svg-btn svg:hover {
  color: var(--green-light);
}

.main-btn main-btn-primary:hover {

}

.auth-footer {
  text-align: center;
  margin-top: 13px;
}

.forgot-password {
  color: #717182;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
}

.forgot-password:hover {
  color: #000000;
  text-decoration: underline;
}

.activation_code_container{
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 10px 0;
  padding: 20px 0;
  border-radius: 8px;
  background-color: var(--background-grey);
}

.activation_code_input{
  background: rgba(255, 255, 255, 0);
  width: 40px;
  text-align: center;
  height: 50px;
  border: none; 
  border-bottom: 1px solid rgb(56, 56, 56); 
  color: black; 
  outline: none;
  font-size: 17px;
}

.log_reg_form input::-webkit-input-placeholder {  
    color: rgb(0, 0, 0); 
}

.organization-search-container {
  position: relative;
}

.organizations-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-top: none;
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.organization-item {
  padding: 10px 15px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.organization-item:hover {
  background-color: #f5f5f5;
}

.organization-item.selected {
  background-color: #e3f2fd;
}

.organization-name {
  font-weight: 500;
  flex: 1;
}

.organization-okpo {
  color: #666;
  font-size: 0.9em;
  margin-left: 10px;
}

.organizations-loading, .organizations-more {
  padding: 10px;
  text-align: center;
  border-top: 1px solid #f0f0f0;
}

#load-more-organizations {
  background: none;
  border: none;
  color: #007bff;
  cursor: pointer;
  text-decoration: underline;
}

#load-more-organizations:hover {
  color: #0056b3;
}

/*/login-reg-pages*/
/*personal page-pages*/
.header-cont {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: auto;
}

.header-cont-for-back {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  height: auto;
}

.pers-page{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: auto;
  padding: 0 20px;
  width: calc(100% - 40px);
}

.pers-page-with-table{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: auto;
  padding: 0 20px;
  width: calc(100% - 40px);
}


/* second-header */
.header-cont {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: auto;
  width: 100%;
}

.navigation-container {
  display: flex;
  padding: 4px;
  background-color: var(--background-grey);
  border-radius: 24px;
  margin: 15px 0;
  position: relative;
  overflow: hidden;
  white-space: nowrap;   
  width: calc(100% - 38px);
  max-width: 1244px;
}

.active-drop {
  position: absolute;
  background: #ffffff;
  border-radius: 100px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  z-index: 0;
  height: calc(100% - 8px);
  top: 4px;
  opacity: 0;
  transform-origin: center;
}

.nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 500;
  transition: color 0.3s ease;
  border-radius: 100px;
  text-align: center;
  color: #000000;
  position: relative;
  flex: 1;
  padding: 8px 0;
  margin: 0 2px;
  min-height: 25px;
  z-index: 1;
}

.nav-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 8px;
  z-index: 2;
}

.nav-icon-wrapper svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.active-indicator {
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #3390ec;
  opacity: 0;
}

.nav-text {
  font-size: 14px;
  margin-right: 8px;
  position: relative;
  z-index: 2;
}

.nav-text-mobile {
  display: none;
  font-size: 10px;
  font-weight: 500;
  color: #8e8e93;
  position: relative;
  z-index: 2;
}

.nav-item.active {
  font-weight: 600;
  background-color: white;
  color: var(--green-light);
}

.nav-item.active svg {
  color: var(--green-light);

}

.nav-item.active .active-indicator {
  opacity: 1;
}

.nav-item.disabled-tab {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}

.nav-item:not(.disabled-tab):hover .nav-icon {
  transform: translateY(-2px);
}

.nav-item:not(.disabled-tab):active {
  transform: scale(0.98);
}

/* plan-header end*/

.personal-acc-conteiner{
  border-radius: 8px;
  border: 1px solid var(--border-color);
  width: calc(100% - 50px);
  max-width: 1200px;
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: white;
  padding: 25px;
  margin-bottom: 30px;
}

.personal-plan-conteiner{
  border-radius: 8px;

  border-bottom: none;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;

  width: calc(100%);
  max-width: calc(2000px);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 90px;
}

.personal-acc-conteiner .name,
.personal-plan-conteiner .name{
  font-weight: 500;
  padding-bottom: 20px;
  font-size: 16px;
}

.personal-acc-conteiner .header-content,
.personal-plan-conteiner .header-content{
  font-weight: 500;
  font-size: 16px;
  display: flex;
  align-items: center;
  
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 15px;
}

.personal-acc-conteiner .header-content-left,
.personal-plan-conteiner .header-content-left{
  display: flex;
  flex-direction: row;
  gap: 15px;
  align-items: center;
}

.personal-acc-conteiner .header-content-right,
.personal-plan-conteiner .header-content-right{
  display: flex;
  flex-direction: row;
  gap: 10px;
  /* padding: 14px 5px; */
  overflow-x: auto;
}

.mobile-hide {
  display: inline;
}

.sername{
  font-weight: 500;
  padding-bottom: 30px;
  font-size: 16px;
  color: var(--text-subtitle2);
}

.support-txt-cont{
  display: flex;
  flex-direction: column;
  font-size: 14px;
  margin-bottom: 20px;
  padding: 10px 15px;
  border-radius: 17px;
  border: 1px solid var(--border-color);
  width: fit-content;
}

.support-txt-cont .row{
  /* display: flex;
  flex-direction: row; */
  align-items: center;
  gap: 5px;
  color: rgb(56, 56, 56);
  text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);    
}

.support-text{
  font-size: 14px;
  font-weight: 500;
  padding: 5px 16px;
  background-color: var(--background-grey);
  border-radius: 8px;
  overflow-x: auto;
  width: fit-content;
  display: inline-block;
  /* box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.1);     */
  margin-bottom: 20px;
}


.support-text.non{
  margin-bottom: 0;
}

.short-acc-info{
  display: flex;
  flex-direction: row;
  gap: 26px;
  align-items: center;
}



.user-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 3px 8px;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: var(--blur1);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    border-radius: 24px;
}

.user-container:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--glow);
}

.avatar-wrapper {
    position: relative;
}


.user-container:hover .avatar-wrapper::before {
    opacity: 1;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.avatar-circle {
  background-color: var(--background-grey);
  border-radius: 50%; 
  width: 10px;       
  height: 10px;      
  padding: 11px;     
  display: flex;     
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 11px;
}

.user-container:hover .avatar-circle img {
  transform: scale(1.1);
}

.chevron-icon {
  color: #4b5563;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.5);
}

.user-container:hover .chevron-icon {
  transform: translateX(4px) rotate(0deg);
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
}

.user-container:active {
  transform: scale(0.97);
}

.user-container:hover {
  animation: none;
}

.circle-fi{
  background-color: var(--background-grey);
  border-radius: 50%; 
  width: 80px;       
  height: 80px;      
  padding: 15px;     
  display: flex;     
  align-items: center;
  justify-content: center;
  font-weight: 500;
}

.employee-card{
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  overflow-x: auto;
  width: fit-content;
  scrollbar-width: none;
}

.employee-card::-webkit-scrollbar {
  height: 1px;
}

.employee-name{
  font-weight: 500;
  overflow-x: auto;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; 
}

.employee-position{
  font-weight: 500;
  color: var(--text-subtitle2);
  overflow: hidden;
  width: fit-content;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: block;
}

.employee-company{
  font-weight: 500;
  padding: 5px 16px;
  background-color: var(--background-grey);
  border-radius: 8px;
  overflow-x: auto;
  max-width: fit-content;
  white-space: nowrap;
  display: inline-block;
  font-size: 14px;
}

hr {
  height: 1px;                   
  background-color: var(--border-color);  
  border: none;                  
  margin: 30px 0;               
}

.row-app-group{
  display: flex;
  flex-direction: row;
  gap: 16px;
}

.app-group {
  margin-bottom: 13px;
  width: 100%;
}

.app-group .year-place {
  background-color: black; 
  color: white; 
  padding: 2px 7px;
  border-radius: 8px;
  border: none;
}

.prediction-container {
  position: relative;
  display: flex;
  align-items: center;
}

.prediction-value {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  font-size: 14px;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.9);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
  min-width: 50px;
  text-align: center;
}

.prediction-container .app-numeric-input {
  padding-right: 70px;
}

.prediction-container:focus-within .prediction-value {
  border-color: #007bff;
  color: #007bff;
}

.prediction-value.highlight {
  color: #28a745;
  font-weight: 500;
  background: rgba(40, 167, 69, 0.1);
  border-color: #28a745;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon svg {
  position: absolute;
  /* left: 12px; */
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.input-mes{
  position: absolute;
  right: 5px;
  display: flex;
  width: fit-content;
  height: 16px;
  pointer-events: none;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--border-color);
  background-color: white;
  padding: 5px 14px;
  border-radius: 55px;
}

.input-mes svg{
  left: 5px !important;
  width: 16px !important;
  height: 16px !important;
}

.input-mes a{
  padding-left: 5px;
}

.input-mes-test{
  display: flex;
  width: fit-content;
  height: 16px;
  pointer-events: none;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--border-color);
  background-color: white;
  padding: 4px 10px;
  border-radius: 55px;
}

.input-mes-test img{
  width: 16px;
  height: 16px;
}

.input-mes-test a{
  padding-left: 5px;
}

.app-input,
.app-numeric-input,
.app-numeric-input-negative{
  width: 100%;
  padding: 9px 16px 9px 38px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  background-color: var(--background-grey);
  transition: all 0.3s ease-in-out;
  font-weight: 500;
}

.app-input:focus:not(.readonly):not(.disabled),
.app-numeric-input:focus:not(.readonly):not(.disabled),
.app-numeric-input-negative:focus:not(.readonly):not(.disabled) {
  outline: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
  background-color: white;
}

.app-input[readonly],
.app-numeric-input[readonly],
.app-numeric-input-negative[readonly],
.app-input.disabled,
.app-numeric-input.disabled,
.app-numeric-input-negative.disabled {
  background-color: var(--background-grey);
  cursor: not-allowed;

}

.app-input:active,
.app-numeric-input:active,
.app-numeric-input-negative:active {
  background-color: var(--background-light);
}

.app-input:focus-visible,
.app-numeric-input:focus-visible,
.app-numeric-input-negative:focus-visible {
  background-color: white;
  box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.3);
}

.no-input{
  display: flex;
  flex-direction: row;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--placeholder-color);
  margin-bottom: 8px;
}

.no-input svg{
  width: 17px;
  height: 17px;
  object-fit: contain;
  filter: grayscale(1);
}

/*/personal page-pages*/
.choose-conteiner-area {
  display: flex;
  gap: 23px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.choose-conteiner {
  width: calc(50% - 15px);
  min-height: 70px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 17px;
  display: flex;
  gap: 15px;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.choose-conteiner svg{
  color: black;
}

.choose-conteiner:hover {
  border-color: #c4c4c4;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.choose-conteiner.active {
  border-color: #888888;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.39);
}

.choose-conteiner.active svg {
  color: var(--green-light);
  fill: var(--green-light); 
  stroke: var(--green-light); 
}

.choose-conteiner.active .choose-conteiner-text-title {
  color: var(--green-light);
}

.choose-conteiner.disabled {
  opacity: 0.5;   
  pointer-events: none; 
}

.choose-conteiner.selected {
  background-color: #f0f0f0; 
  border: 1px solid #000000; 
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); 
}

.choose-conteiner svg{
  width: 31px;
  height: 31px;
  fill: black;
}

.choose-conteiner-text{
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.choose-conteiner-text-title{
  font-weight: 500;
  display: flex;
  gap: 10px;
  align-items: center;
  text-align: center;
}

.choose-conteiner-text-dis{
  color: var(--text-subtitle2);
  font-size: 15px;
}

.check-box-area{
  display: flex;
  gap: 15px;
  justify-content: end;
}

.check-box-area a{
  font-size: 15px;
  color: black;
  font-weight: 500;
}

input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-radius: 6px; 
  outline: none;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

input[type="checkbox"].black{
  border: 2px solid rgb(255, 255, 255);
  background-color: white;
}

input[type="checkbox"]:checked {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-color: var(--green-light);
  border-color:  var(--green-light);
}

input[type="checkbox"]:checked::before {
  position: absolute;
  color: white;
  font-size: 14px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

input[type="checkbox"]:focus {
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.2);
}

.choose-plan-area {
  display: flex;
  gap: 15px;
  flex-direction: column;
  padding: 15px 0 ;
}

.choose-plan {
  width: calc(100%);
  min-height: 70px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 17px;
  display: flex;
  gap: 23px;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.choose-plan.no-data {
  width: calc(100%);
  min-height: 70px;
  border-radius: 8px;
  padding: 17px;
  display: flex;
  border: none;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.choose-plan.no-data p{
  color: black; 
  font-weight:500;
  font-style: normal;
}

.choose-plan-text{
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;  
  font-weight: 500;
  cursor: pointer;
  font-size: 14px;
}

.button-area{
  width: 100%;
  text-align: end;
}

.submit-button {
  display: inline-flex;
  align-items: center;  
  justify-content: center;
  gap: 14px;        
  white-space: nowrap;
  min-width: fit-content;
  height: fit-content;
  padding: 8px 20px;
  background: linear-gradient(135deg, #0059ff 0%, #3b82f6 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 4px 6px rgba(0, 0, 0, 0.1),
    0 1px 3px rgba(0, 0, 0, 0.08);
  transform: translateY(0);
}

.submit-button svg{
  width: 17px;
  height: 17px;
}

.submit-button.delete{
  padding: 7px 15px;
  color: white !important;
  background: linear-gradient(135deg, #8f0000 0%, #ff0000 100%) !important;
}

.submit-button.sent{
  padding: 7px 15px;
  background: linear-gradient(135deg, #006da0 0%, #0084ff 100%) !important;
}

.submit-button.novisib{
  padding: 7px 15px;
  background: transparent !important;
  box-shadow: none;
}

.submit-button.novisib::after {
  background: linear-gradient(135deg, #ffffff 0%, #1cacff 100%) !important;
}

.submit-button.sent::after {
  background: linear-gradient(135deg, #0089c9 0%, #4ba8ff 100%) !important;
}

.submit-button.delete::after {
  background: linear-gradient(135deg, #d40000 0%, #ff6a6a 100%) !important;
}

.submit-button.approved{
  padding: 7px 15px;
  background: linear-gradient(135deg, #0da000 0%, #00ff6a 100%) !important;
}

.submit-button.approved::after {
  background: linear-gradient(135deg, #11ce00 0%, #00ff6a 100%) !important;
}

.submit-button:hover {
  background: linear-gradient(135deg, #2d2d2d 0%, #474747 100%);
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.15),
    0 4px 12px rgba(0, 0, 0, 0.1),
    0 0 0 2px rgba(255, 255, 255, 0.1);
}

.submit-button:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.1),
    0 0 0 2px rgba(255, 255, 255, 0.05);
}

.submit-button::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.submit-button:hover::before {
  animation: shine 1.5s ease-in-out;
}

@keyframes shine {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(-50%, -50%);
  }
  20% {
    opacity: 0.8;
  }
  100% {
    opacity: 0;
    transform: rotate(45deg) translate(50%, 50%);
  }
}

.submit-button::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #000000, #888888, #555555, #000000);
  border-radius: 14px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.submit-button:hover::after {
  opacity: 1;
}

.submit-button:disabled {
  background: linear-gradient(135deg, #999999 0%, #e0e0e0 100%)!important;
  color: #ffffff;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.submit-button:disabled:hover {
  transform: none;
  box-shadow: none;
}

.submit-button:disabled::before,
.submit-button:disabled::after {
  display: none;
}

.submit-button.loading {
  position: relative;
  color: transparent;
}

.submit-button.loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 20px;
  border-radius: 5px;
  color: white;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.notification.success {
  background-color: #4CAF50;
}

.notification.error {
  background-color: #f44336;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes buttonPop {
  0% {
    transform: scale(0.95);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.submit-button {
  animation: buttonPop 0.4s ease-out;
}

.no-submit-button {
  display: inline-flex;
  align-items: center;  
  justify-content: center;
  gap: 11px;        
  margin-top: 6px;
  width: fit-content;
  height: fit-content;
  padding: 9px 20px;
  border: 1px solid var(--border-color);
  color: rgb(0, 0, 0);
  background-color: white;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease-out;
}

.no-submit-button svg{
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.no-submit-button.red {
  color: rgb(255, 255, 255);
  background: linear-gradient(135deg, #8f0000 0%, #ff0000 100%) !important;
}

.no-submit-button.blue {
  color: rgb(255, 255, 255);
  background: linear-gradient(135deg, #00628f 0%, #0084ff 100%) !important;
}

.no-submit-button.blue:hover {

  background: linear-gradient(135deg, #0091d4 0%, #47a6ff 100%) !important;
}

.no-submit-button:hover {
  background-color: var(--button-grey-hover);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 
}

.no-submit-button.red:hover {
  background: linear-gradient(135deg, #d40000 0%, #ff6a6a 100%) !important;
}

.main-form {
  width: 100%;
  margin: 0 auto;
}

.stats-container {
  position: relative;
  padding-bottom: 30px;
  width: 100%;
}

.stats-track {
  display: flex;
  flex-wrap: nowrap;
  position: relative;
  z-index: 2;
  gap: 15px;
  width: 100%;
}

.stat-and-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  min-width: 0;
  position: relative;
  width: 100%;
}

.stat{
  border-radius: 8px;
  border: 1px solid var(--border-color);
  padding: 20px 55px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; 
  font-size: 16px;
  font-weight: 500;  
  width: calc(100% - 110px);
}

.status-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--border-color);
  border: 3px solid white;
  position: relative;
  z-index: 3;
}

.status-dot.active {
  background: var(--color-sented);
  transform: scale(1.1);
}

.progress-line-container {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 1;
}

.progress-line-background {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--border-color);
  border-radius: 2px;
}

.progress-line-active {
  position: absolute;
  height: 100%;
  background: var(--color-sented);
  width: 0%;
  border-radius: 2px;
  transition: width 0.3s ease;
  z-index: 2;
}

.status-dot {
  transition: all 0.3s ease;
}

.word-numb{
  font-size: 14px;
}



.stat-number,
.stat-number-redac,
.stat-number-control,
.stat-number-sent,
.stat-number-eror,
.stat-number-sub{
  text-shadow: 0 0 17px rgba(0, 0, 0, 0.5);
  font-size: 21px;
}

.stat-number-redac{
  color: var(--color-redaced);  
}

.stat-number-control{
  color: var(--color-controled);
}

.stat-number-sent{
  color: var(--color-sented);
}

.stat-number-eror{
  color: var(--color-erorsed);
}

.stat-number-sub{
  color: var(--color-submited);
}

.filters-area{
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}

.custom-dropdown {
  position: relative;
  display: inline-block;
  font-family: 'Segoe UI', sans-serif;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 11px;
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.dropdown-toggle:hover {
  background-color: #eee;
}

.dropdown-arrow {
  transition: transform 0.2s ease;
  cursor: pointer;
}

.dropdown-arrow:hover {
    transform: scale(1.3);
}

.rows {
  display: table-row-group;
}

.menu-row {
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: fit-content;
  background: rgba(255, 255, 255, 0.459);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.1);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-top: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 10;
  max-height: 210px;
  overflow-y: auto;
  font-size: 14px;
}

.custom-dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-item {
  padding: 8px 16px;
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-item:hover {
  background-color: #f5f5f5;
}

.dropdown-item:first-child {
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
}

.dropdown-item:last-child {
  border-bottom-left-radius: 7px;
  border-bottom-right-radius: 7px;
}

.plans-area{
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 15px 0;
}

.plan-cont{
  padding: 15px;
  gap: 20px;
  width: calc(100% - 30px);
  display: flex;
  justify-content: space-between;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--background-grey);
}

.plan-cont-redac{
  background: var(--background-redaced);
}

.plan-cont-control{ 
  background: var(--background-controled);
}

.plan-cont-sent{
  background: var(--background-sented);
}

.plan-cont-eror{
  background: var(--background-erorsed);
}

.plan-cont-sub{
  background: var(--background-submited);
}

.plan-cont-column{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.buttons-row{
  display: flex;
  flex-direction: row;
  gap: 5px;
}

.plan-cont-column-header{
  display: flex;
  gap: 20px;
  align-items: center;
}

.plan-info{
  font-size: 14px;
  font-weight: 500;
  display: flex;
  flex-direction: row;
  gap: 5px;
}

.plan-text{
}

.plan-year{
  font-weight: 600;
}

.data-plan{
  font-size: 14px;
  font-weight: 500;
  color: rgb(0, 0, 0);
}

.structure-plan{
  font-size: 14px;
  font-weight: 600;
}

.status-plan{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 14px !important;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.status-plan svg {
  width: 16px;
  height: 16px;
}

.status-control{
  background: rgba(96, 255, 228, 0.2)!important;
  color: rgb(59, 179, 159) !important;
  border: 1px solid rgba(34, 197, 94, 0.2)!important;
}

.status-success {
  background: rgba(34, 197, 94, 0.1)!important;
  color: #16a34a!important;
  border: 1px solid rgba(34, 197, 94, 0.2)!important;
}

.status-approved {
  background: rgba(34, 197, 94, 0.1)!important;
  color: #16a34a!important;
  border: 1px solid rgba(34, 197, 94, 0.2)!important;
}

.status-agreed {
  background: rgba(43, 116, 70, 0.1)!important;
  color: #405e39!important;
  border: 1px solid rgba(34, 197, 94, 0.2)!important;
}

.status-pending {
  background: rgba(59, 130, 246, 0.1) !important;
  color: #2563eb !important;
  border: 1px solid rgba(59, 130, 246, 0.2) !important;
}

.status-warning {
  background: rgba(245, 158, 11, 0.1)!important;
  color: #d97706!important;
  border: 1px solid rgba(245, 158, 11, 0.2)!important;
}

.status-delete {
  background: rgba(239, 68, 68, 0.1)!important;
  color: #dc2626!important;
  border: 1px solid rgba(239, 68, 68, 0.2)!important;
}

.status-draft {
  background: var(--status-redaced)!important;
  color: #000000!important;
  border: 1px solid rgba(156, 163, 175, 0.2)!important;
}

.plan-cont-column-footer{
  display: flex;
  gap: 25px;
  align-items: center;
  text-align: center;
  vertical-align: middle;
}

.plan-cont-column-footer-element{
  display: flex;
  gap: 10px;
  align-items: center;
}

.plan-cont-column-footer-element.grey{
  color: rgb(247, 182, 182) !important;
}

.plan-cont-column-footer-element svg{
  width: 16px;
  height: 16px;
}

.plan-back-header{
  display: flex;
  justify-content: left;
  align-items: flex-start;
  gap: 20px;
  text-align: center;
  vertical-align: middle;
  align-items: center;
  box-sizing: border-box;
  margin: 15px 0;  
  width: 100% ;
  max-width: 1244px;
  margin-bottom: 0;
}

.plan-back-header button{
  margin: 0;
}

.tickets-conteiner {
  border: 1px solid var(--telegram-gray);
  border-radius: 12px;
  padding: 16px;
  width: calc(100% - 34px);
  max-height: 500px;
  display: flex;
  background-color: #F8F9FA;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  scroll-behavior: smooth;
  position: relative;
}

.tickets-conteiner::-webkit-scrollbar {
  width: 6px;
}

.tickets-conteiner::-webkit-scrollbar-track {
  background: transparent;
}

.tickets-conteiner::-webkit-scrollbar-thumb {
  background: #BDBDBD;
  border-radius: 3px;
}

.tickets-conteiner::-webkit-scrollbar-thumb:hover {
  background: #9E9E9E;
}

.tickets-message {
  display: flex;
  max-width: 80%;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(5px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.tickets-message-left {
  align-self: flex-start;
}

.tickets-message-right {
  align-self: flex-end;
}

.tickets-message-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.message-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  padding: 0 4px;
}

.tickets-message-left .message-header {
  justify-content: flex-start;
}

.tickets-message-right .message-header {
  justify-content: flex-end;
}

.message-sender {
  font-size: 13px;
  font-weight: 600;
  color: var(--telegram-text);
  opacity: 0.9;
}

.tickets-message-right .message-sender {
  color: var(--telegram-blue);
}

.message-time {
  font-size: 12px;
  color: var(--telegram-text-light);
  opacity: 0.7;
}

.btn-sender-info {
  background: transparent;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--telegram-text-light);
  opacity: 0.6;
  transition: all 0.2s ease;
  padding: 0;
  margin-left: 4px;
}

.btn-sender-info:hover {
  background: rgba(0, 0, 0, 0.05);
  opacity: 1;
  color: var(--telegram-blue);
}

.btn-sender-info:active {
  transform: scale(0.95);
}

.message-bubble {
  padding: 12px 16px;
  border-radius: 18px;
  position: relative;
  min-width: 60px;
  max-width: 100%;
  word-wrap: break-word;
  box-shadow: var(--telegram-shadow);
  border: 1px solid transparent;
}

.tickets-message-left .message-bubble {
  background-color: var(--telegram-other-bg);
  border-color: #E5E5E5;
  border-bottom-left-radius: 4px;
}

.tickets-message-right .message-bubble {
  background-color: var(--telegram-owner-bg);
  border-color: #D1E9F7;
  border-bottom-right-radius: 4px;
}

.text-ticket {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--telegram-text);
  padding-right: 20px;
}

.bubble-status {
  position: absolute;
  bottom: 8px;
  right: 12px;
  opacity: 0.8;
}

.bubble-status svg {
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.1));
}

.message-date {
  font-size: 11px;
  color: var(--telegram-text-light);
  opacity: 0.6;
  padding: 0 8px;
  text-align: center;
  margin-top: 2px;
  position: relative;
}

.message-date span {
  background: #F8F9FA;
  padding: 0 8px;
  position: relative;
  z-index: 2;
}

.message-group {
  margin-bottom: 8px;
}

.message-group:first-child .message-date {
  margin-top: 0;
}

.tickets-message:hover .message-bubble {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}

.tickets-message-left:hover .message-bubble {
  background-color: #F5F5F5;
}

.tickets-message-right:hover .message-bubble {
  background-color: #E0F2FE;
}

.no-info-conteiner {
  align-self: center;
  text-align: center;
  width: 100%;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.empty-state a {
  font-size: 17px;
  font-weight: 500;
  color: var(--telegram-text-light);
  margin-top: 8px;
}

.empty-subtitle {
  font-size: 14px;
  color: var(--telegram-text-light);
  margin: 0;
  opacity: 0.7;
}

.ticket-info-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 16px;
  padding: 24px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
  from {
      opacity: 0;
      transform: translate(-50%, -50%) scale(0.95);
  }
  to {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1);
  }
}

.ticket-info-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--telegram-gray);
}

.ticket-info-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--telegram-text);
  margin: 0;
}

.ticket-info-close {
  background: transparent;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--telegram-text-light);
  transition: all 0.2s ease;
}

.ticket-info-close:hover {
  background: rgba(0, 0, 0, 0.05);
}

.ticket-info-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ticket-info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #F5F5F5;
}

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

.ticket-info-label {
  font-size: 14px;
  color: var(--telegram-text-light);
  font-weight: 500;
}

.ticket-info-value {
  font-size: 14px;
  color: var(--telegram-text);
  font-weight: 500;
  text-align: right;
  max-width: 60%;
  word-break: break-word;
}

.ticket-info-status {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  display: inline-block;
}

.ticket-info-status.success {
  background: rgba(52, 183, 241, 0.1);
  color: var(--telegram-success);
}

.ticket-info-status.error {
  background: rgba(255, 82, 82, 0.1);
  color: var(--telegram-error);
}

.ticket-info-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  animation: fadeIn 0.3s ease;
}

.no-results-row td {
  font-style: italic;
  font-weight: 600 !important;
  font-size: 13px !important;
  padding: 15px 12px !important;
}

.no-info-conteiner td{    
  font-weight: 700;
}

.bottom_tickets_arrea{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  gap: 15px;
  margin: 15px 0 50px 0;  
  box-sizing: border-box;
  border: 1px solid var(--border-color);
  border-radius: 100px;
  background: var(--blur1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.bottom_tickets_arrea .sent-textarea{
  box-sizing: border-box;
  width: 100%; 
  border-radius: 100px;
  border: none;
  outline: none;
  resize: none;
  font-size: 14px;
  font-family: inherit;
  padding: 15px 20px;
  overflow-y: auto;
}

.bottom_tickets_arrea .sent-textarea::placeholder {
  color: var(--text-subtitle2);
}

.sent-message-btn{
  border-radius: 100px;
  border: none;
  font-weight: 500;
  padding: 5px 10px;
  text-align: center;
  align-items: center;
  margin: 5px;
  display: flex;
  gap: 7px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sent-message-btn svg{
  width: 20px;
  height: 20px;
}


.sent-message-btn span {
  display: none;
  font-size: 13px;
  font-weight: 400;
  color: white;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.sent-message-btn:hover span {
  display: inline;
}

.sent-message-btn:hover{
  border-color: var(--primary);
  transform: translateX(-2px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.sent-message-btn.blue {
  color: rgb(255, 255, 255);
  background: linear-gradient(135deg, #00628f 0%, #0084ff 100%) !important;
}


.answer-highlight {
  background: var(--green-light-back);
  padding: 15px 24px;
  border-radius: 12px;
  margin: 24px 0;
  position: relative;
  /* border-left: 3px solid var(--faq-primary); */
}

.highlight-icon {
  position: absolute;
  top: -12px;
  left: -10px;
  background: black;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.answer-highlight p {
  margin: 0;
  font-size: 14px;
  /* font-style: italic; */
  font-weight: 400;
}

.answer-highlight p strong{
  font-weight: 600;
}

/* =========================  spravochniki begin*/
.telegram-type-selector {
  margin-bottom: 24px;
  background: #f5f6f8;
  border-radius: 12px;
  padding: 4px;
  display: inline-flex;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  /* overflow-x: auto;
  width: 100%; */
}

.telegram-type-button {
  padding: 10px 20px;
  border: none;
  background: transparent;
  color: #5d6c7e;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  min-width: 120px;
  text-align: center;
}

.telegram-type-button:hover {
  background: rgba(108, 171, 255, 0.1);
  color: #3390ec;
}

.telegram-type-button.active {
  background: white;
  color: #3390ec;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  font-weight: 600;
}

.telegram-type-button.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 3px;
  background: #3390ec;
  border-radius: 2px;
}

.spravochniki_area {
  max-height: 400px; 
  width: 100%;
  overflow-x: auto;
}

.organizations-table-container {
  width: 100%;
  box-sizing: border-box;
  max-height: 400px;
  overflow-y: auto;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  background: #ffffff;

  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.organizations-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.organizations-table thead {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #f8f9fa;
}

.organizations-table th {
  padding: 16px;
  text-align: left;
  font-weight: 600;
  color: #424242;
  border-bottom: 1px solid #e0e0e0;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.organizations-table th:first-child {
  padding-left: 20px;
  border-top-left-radius: 11px;
}

.organizations-table th:last-child {
  padding-right: 20px;
  border-top-right-radius: 11px;
}

.organizations-table tbody tr {
  transition: all 0.2s ease;
  cursor: pointer;
  border-bottom: 1px solid #f5f5f5;
}

.organizations-table tbody tr:last-child {
  border-bottom: none;
}

.organizations-table tbody tr:hover {
  background: #f8f9fa;
}

.organizations-table tbody tr:active {
  background: #e3f2fd;
}

.organizations-table td {
  padding: 4px 8px;
  color: #424242;
  line-height: 1.4;
}

.organizations-table td:first-child {
  padding-left: 20px;
}

.organizations-table td:last-child {
  padding-right: 20px;
}

.organizations-table .organization-name {
  font-weight: 500;
  color: #212121;
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.organizations-table .organization-okpo {
  color: #757575;
  font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
  font-size: 13px;
  min-width: 100px;
}

.organizations-table .no-data-row td {
  text-align: center;
  padding: 48px 16px;
  color: #9e9e9e;
  font-style: italic;
}

.organizations-table .no-data-row:hover {
  background: transparent;
  cursor: default;
}

.organizations-table-container::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.organizations-table-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.organizations-table-container::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.organizations-table-container::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

@media (max-width: 768px) {
  .organizations-table-container {
      max-height: 300px;
  }
  
  .organizations-table th,
  .organizations-table td {
      padding: 12px;
  }
  
  .organizations-table .organization-name {
      max-width: 200px;
  }
}

.pagination-area {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 0;
}

.pagination-container {
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 12px;
  background: #ffffff;
  border-radius: 12px;
  padding: 4px;
  /* border: 1px solid rgb(217, 217, 217); */
}

.pagination-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: #f8f9fa;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #0088cc;
}

.pagination-btn:hover:not(:disabled) {
  background: #e3f2fd;
  transform: scale(1.05);
}

.pagination-btn:active:not(:disabled) {
  transform: scale(0.95);
}

.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  color: #9e9e9e;
}

.pagination-btn:disabled:hover {
  background: #f8f9fa;
  transform: none;
}

.pagination-pages {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 12px;
  font-size: 15px;
  font-weight: 500;
  color: #424242;
}

.page-current {
  color: #0088cc;
  font-weight: 600;
}

.page-separator {
  color: #9e9e9e;
  margin: 0 2px;
}

.page-total {
  color: #757575;
}

.pagination-icon {
  transition: transform 0.2s ease;
}

.pagination-btn:hover:not(:disabled) .pagination-icon {
  transform: scale(1.1);
}

.no-data {
  text-align: center;
  padding: 40px !important;
  color: #94a3b8;
  font-style: italic;
}

.plan-menu{
  display: flex;
  width: fit-content;
  height: auto;
  padding: 10px;
  gap: 15px;
  padding-left: 0;

}


.menu-conteiner{
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 13px;
  border-radius: 8px;
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
}

.menu-conteiner-btns{
  display: flex;
  gap: 15px;

}

.menu-conteiner-title{
  text-align: center;
  font-size: 13px;
  font-weight: 600;
}

.menu-conteiner .element {
  display: flex;
  gap: 10px;
  padding: 7px;
  flex-direction: column;
  /* border: 1px solid var(--border-color); */
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  text-align: center;
  cursor: pointer;
  border: none;
  min-width: 50px;
  min-height: 50px; 
  background-color: white;
  transition: all 0.3s ease-in-out; 
  position: relative;
  overflow: hidden; 
}

.menu-conteiner .element.non {
  cursor: not-allowed;
  opacity: 0.6;
  background-color: #f8f9fa;
  border-color: #dee2e6;
  pointer-events: none;
}
  
.menu-conteiner .element.red {
  background-color: #ff0000;
  color: black;
  border-color: #dee2e6;
}

.menu-conteiner .element.non:hover {
  transform: none;
  box-shadow: none;
  background-color: none;
  border-color: none;
}

.menu-conteiner .element:hover{
  background-color: var(--green-hover);
}

.menu-conteiner .element.add:hover{
  background-color: var(--background-submited);
}

.menu-conteiner .element.del:hover{
  background-color: var(--background-erorsed);
}

.menu-conteiner .element.edit:hover{
  background-color: var(--background-edited);

}

.menu-conteiner .element svg, 
.menu-conteiner .element img{
  width: 33px;
  height: 33px; 
}

.element-text{
  font-weight: 600;
  font-size: 13px;
  color: #374151;
  min-width: 80px;
}

.table-container {
  overflow-x: auto; 
  width: calc(100%);
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);

  scrollbar-width: thin; 
  scrollbar-color: rgba(0, 0, 0, 0.1) transparent;
}

.table-container::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.1); 
  border-radius: 2px;
  transition: background-color 0.3s ease;
}

.main-table {
  border: none;
  border-radius: 8px;
  font-size: 12px;
  user-select: none;
  border-spacing: 0px;
  border-collapse: collapse;
  background-color: white;
  width: 100%;
  height: 100%;
}

.main-table-titels {
  color: rgb(0, 0, 0);
  width: 100%;
}

.main-table-titels th {
  background-color: var(--table-titles-background);
  border: 1px solid var(--border-color);
  padding: 4px 8px; 
  text-align: center; 
  font-weight: 600;  
  font-size: 14px;
  position: relative;
  min-width: min-content;
}

.main-table th, 
.main-table td {
  padding: 8px;
  max-width: 150px;
}

.main-table td {
  font-size: 13px;
  border-bottom: 1px solid var(--border-color);
}

th .resizer {
  position: absolute;
  right: 0;
  top: 0;
  width: 5px;
  height: 100%;
  cursor: col-resize;
  user-select: none;
  z-index: 1;
  transition: all 0.2s ease;
  background: transparent;

}

th:hover .resizer {
    background: linear-gradient(90deg, transparent 0%, #000000 100%);
    width: 3px;
}

th .resizer:hover {
    background: #000000;
    width: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

th .resizer::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 80%;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 1px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.main-table td  {
  padding: 7px 16px; 
  white-space: nowrap;
  text-align: end;
  font-weight: 500; 
}

.main-table tbody tr:hover {
  background-color: rgba(245, 245, 245, 0.521);
}

.main-table td:nth-child(1) {
  text-align: center;
}

.main-table td:nth-child(2) {
  text-align: start;
}

.main-table td:nth-child(3) {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
  position: relative; 
  transition: all 0.3s ease-in-out;
}

.input-error {
    border-color: #ff4444 !important;
    background-color: #fff5f5 !important;
}

.input-valid {
    border-color: #00c851 !important;
}

.vertical-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg); 
  text-orientation: mixed; 
  white-space: normal;
  word-wrap: break-word;
  height: 100px;
  width: 100px; 
  text-align: center;
  vertical-align: middle;
  padding: 5px;
  box-sizing: border-box;
  line-height: 1.3;
}

.vertical-text a {
  display: inline-block;
  max-width: 100%; 
  overflow: hidden;
  text-overflow: ellipsis; 
}

.vertical-text img {
  transform: rotate(90deg);
  margin-left: 3px;
  vertical-align: middle;
}

.group-header {
  white-space: normal;
  background-color: var(--table-titles-background);
  cursor: pointer;
}

.group-header td {
  font-weight: 600;
  color: var(--group-header-color);
}

.group-header-content {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px !important;
}

.instruction-link {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  border-bottom: 1px solid transparent;
  cursor: pointer;
}

.type-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.type-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 11px;
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.type-button:hover {
  background-color: #eee;
}

.type-button.active {
    background: #000000;
    color: white;
}

.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loading-spinner.small {
    width: 16px;
    height: 16px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

tr.selected {
    background-color: #e3f2fd !important;
}

.submit-button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#modal-title{
  font-weight: 600;
  font-size: 17px !important;
}

.modal {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal.active-delay {
  opacity: 1;
  visibility: visible;
  animation: modalFadeIn 0.7s ease forwards;
}

@keyframes modalFadeIn {
  0% {
    opacity: 0;
    visibility: hidden;
  }
  50% {
    opacity: 0;
    visibility: visible;
  }
  100% {
    opacity: 1;
    visibility: visible;
  }
}

.modal-content {
  z-index: 999;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  padding: 30px;
  width: 90%;
  max-width: 700px;
  position: relative;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.32, 0.72, 0, 1);
  transition: width 0.3s ease, height 0.3s ease;
  border: 1px solid var(--border-color);
}

.modal.active .modal-content {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.modal.active-delay .modal-content {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.modal:not(.active) .modal-content {
    transition: all 0.3s cubic-bezier(0.6, -0.28, 0.74, 0.05);
}

.modal-header{
  display: flex;
  text-align: center;
  align-items: center;
  gap: 13px;
  font-size: 15.75px;
  margin-bottom: 20px;
  font-weight: 500;
  color: black;
}

.modal-header h1{
  font-size: 17px !important;
}

.modal-header-icon{
  width: 20px;
  height: 20px;
}

.modal-subtext{
  font-size: 14px;
  color: var(--text-subtitle2);
}

.modal-subtext .first-child {
  margin-bottom: 10px;
}

.modal-body{
  max-height: 90vh;
}

.modal-buttons-area{
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: right;
  gap: 7px;
  margin-top: 20px;
}

.modal-header .close {
  width: 23px;
  height: 23px;
  padding: 5px;
  position: absolute;
  top: 20px;
  right: 20px;    
  cursor: pointer;
  transition: 0.5s all ease;
  border-radius: 10px;
  background-color: #0000000c;
  /* border: 1px solid var(--border-color); */
}

.modal-header .close:hover {
  background-color: #e7e7e7;
  border-radius: 100px; 
}

.progress-modal-bar-container {
    width: 100%;
    height: 6px;
    background-color: var(--background-grey);
    border-radius: 3px;
    margin: 25px 0;
    overflow: hidden;
}

.progress-modal-bar {
    height: 100%;
    background: linear-gradient(90deg, #ffffff, var(--green-main));
    border-radius: 3px;
    transition: width 0.3s ease;
}

.modal-table-conteiner{
  border-radius: 8px;
  border: 1px solid var(--border-color);
  margin-top: 8px;
  left: 0;
  width: 100%;
  max-height: 300px;
  overflow-y: auto;
}

.directions-table {  
  width: 100%;
  border-spacing: 0; 
  border-collapse: separate; 
  overflow: hidden; 
  font-size: 13px;  
  background-color: white;
}

.directions-table-titles{
  color: rgb(0, 0, 0);
  width: 100%;
}

.directions-table th, 
.directions-table td {
  max-width: 150px;
  overflow: hidden;  
  text-overflow: ellipsis;
  white-space: nowrap;    
  transition: all 0.3s ease-out;
}

.directions-table th:last-child,
.directions-table th:first-child{
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: left; 
}

.directions-table td:last-child,
.directions-table td:first-child{
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center; 
}

.directions-table th  {
  padding: 15px 18px;  
  font-weight: 600;
  cursor: pointer;  
  position: sticky;
  top: 0;
}

.directions-table th:hover  {
  background-color: var(--background-grey);   
}

.directions-table tr.selected {
  background-color: #d0ebff;
}

button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.directions-table td  {
  font-weight: 500;    
  padding: 8px 20px; 
}

.directions-table tbody tr:hover{
  cursor: pointer;
  transition: all 0.3s ease-out;
}

.directions-table .modal-tbody{
  height: 400px;
}

.directions-table th:nth-child(1):hover,
.directions-table th:nth-child(2):hover,
.directions-table th:nth-child(3):hover,
.directions-table th:nth-child(4):hover,
.directions-table th:nth-child(5):hover {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  z-index: 1; 
  min-height: auto;
  width: auto; 
}

.directions-table td:nth-child(3){
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative; 
  transition: all 0.3s ease-in-out;
}

.directions-table td:nth-child(2):hover,
.directions-table td:nth-child(3):hover{
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  z-index: 1; 
  min-width: 150px; 
  width: auto; 
}

.error-message-small{
  color: red; 
  font-weight: 500; 
  display: none;
  margin-top: 5px;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

.submit-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.no-info-conteiner{
  margin: 0 auto;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 60px;
  font-weight: 500;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

.active-row{
    background-color: var(--active-row-color) !important;
}

.white-panel {
  display: none; 
  position: absolute;
  display: flex;
  flex-direction: column;
  padding: 5px;
  gap: 12px;
  background: rgba(255, 255, 255, 0.459);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.1);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 2; 
}

.white-panel button:first-child{
  margin-bottom: 5px;
}

.white-panel button:first-child:hover{

}

.white-panel button:last-child{
  margin-bottom: 0;
}

.white-panel button:last-child:hover{
  background: var(--background-erorsed);
}

.white-panel button img{
  width: 15px;
  height: 15px;
}

.btn-disabled {
  opacity: 0.5 !important;
  pointer-events: none !important;
  cursor: not-allowed !important;
}

.disabled {
  pointer-events: none;
}

#resend-code-btn {
  transition: all 0.3s ease;
}

#resend-code-btn:not(.disabled):hover {
  text-decoration: underline;
}

.file-upload-section {
  margin: 1.5rem 0;
  width: 100%;
}

.drop-area {
  border: 2px dashed #d1d5db;
  border-radius: 12px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  background-color: #f9fafb;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.drop-area:hover {
  border-color: #3b82f6;
  background-color: #f0f7ff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.drop-area:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.drop-area.highlight {
  border-color: #3b82f6;
  background-color: #eff6ff;
  border-style: solid;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
      box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.2);
  }
  70% {
      box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
  }
  100% {
      box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
  }
}

.drop-area.success {
  border-color: #10b981;
  background-color: #f0fdf9;
}

.drop-area.error {
  border-color: #ef4444;
  background-color: #fef2f2;
}

#file-upload-label {
  margin: 0;
  font-size: 1rem;
  color: #374151;
  line-height: 1.5;
  font-weight: 500;
}

.file-input-label {
  color: #3b82f6;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

.file-input-label:hover {
  color: #2563eb;
  background-color: rgba(59, 130, 246, 0.1);
}

.file-input-label:active {
  color: #1d4ed8;
  transform: scale(0.98);
}

.drop-area::before {
  content: '';
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12' /%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: all 0.3s ease;
}

.drop-area:hover::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%233b82f6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12' /%3E%3C/svg%3E");
}

.drop-area.success::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2310b981'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z' /%3E%3C/svg%3E");
}

.drop-area.error::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ef4444'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z' /%3E%3C/svg%3E");
}

.drop-area.has-file::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2310b981'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z' /%3E%3C/svg%3E");
}

.error-message {
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: slideDown 0.3s ease;
}

.error-message::before {
  content: '⚠';
  font-size: 1rem;
}

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

.file-format-hint {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: #f8fafc;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}

.user-info-section {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: 10px 20px;
  cursor: pointer;
  background-color: var(--background-grey);
  user-select: none;
}

.toggle-icon {
  font-size: 20px;
  font-weight: bold;
  color: #6c757d;
  transition: transform 0.3s ease;
}

.section-content {
  padding: 20px 10px;
  transition: all 0.3s ease;
}

.collapsed .section-content {
  display: none;
}

.collapsed .toggle-icon {
  transform: rotate(0deg);
}

.toggle-icon {
  transform: rotate(180deg);
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #495057;
}

/* === chat styles === */
.chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.chat-toggle {
  background: #007bff;
  color: white;
  border: none;
  border-radius: 50px;
  padding: 12px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.chat-toggle:hover {
  background: #0056b3;
  transform: scale(1.05);
}

.chat-container {
  position: fixed !important;
  bottom: 20px;
  right: 20px;
  width: 370px;
  height: 500px;
  background: white;
  border-radius: 17px;
  border: 2px solid var(--border-color);
  box-shadow: 0 5px 30px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  z-index: 77;
}

.chat-container.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.chat-header {
  background-color: var(--chat-header-back);
  color: white;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.chat-header-info {
  display: flex;
  flex-direction: column;
  cursor: grab;
}

.chat-header-info:active {
  cursor: grabbing;
}

.chat-subtitle {
  font-size: 16px;
  font-weight: 600;
}

.chat-subtitle-online {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 500;
}

.message-time {
  font-size: 11px;
  color: #999;
  margin-top: 5px;
}

.chat-page {
  display: none;
  flex-direction: column;
  position: relative;
  height: 100%;
  min-height: 200px;
}

.chat-page.active {
  display: flex;
}

.welcome-message .message {
  max-width: 100%;
}

.message-text {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.message-text strong {
  color: #198754;
}

.chat-type-selection {
  margin: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-option {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 14px;
  background: var(--chat-btn);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.5s ease;
  border: none;
}

.chat-option:hover {
  background: var(--chat-header-back-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,123,255,0.3);
}

.chat-option:active {
  transform: translateY(0);
}

.chat-option-title {
  font-size: 14px;
  font-weight: 500;
  color: white;
  text-align: center;
}

#messagesContainer {
  display: none;
  gap: 10px;
}

#chatInputArea {
  display: none;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f8f9fa;
  scroll-behavior: smooth;
}

.message {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 80%;
  margin-bottom: 12px;
}

.message.user {
  margin-left: auto;
  flex-direction: row-reverse;
}

.avatar {
  width: 30px;
  height: 30px;
  background: var(--chat-avatar-back);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.message.user .avatar {
  color: white;
  border: 1px solid var(--border-color);
  background: var(--chat-avatar-user-back);
}

.message.bot .message-text {
  color: #1a1a1a;
  font-size: 14px;
  line-height: 1.6;
}

.message.bot .message-text em {
  color: #6c757d;
  font-style: italic;
}

.message.bot .message-text code {
  background: #e8e8e8;
  color: #d63384;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
}

.message.bot .message-text pre {
  background: #2d2d2d;
  color: #f8f8f2;
  padding: 12px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 8px 0;
  font-size: 13px;
  line-height: 1.5;
}

.message.bot .message-text pre code {
  background: none;
  color: inherit;
  padding: 0;
}

.message.bot .message-text blockquote {
  border-left: 4px solid #007bff;
  margin: 8px 0;
  padding: 4px 0 4px 12px;
  color: #555;
  font-style: italic;
  background: #f8f9fa;
  border-radius: 0 8px 8px 0;
}

.message.bot .message-text a {
  color: #007bff;
  text-decoration: none;
  border-bottom: 1px dashed #007bff;
}

.message.bot .message-text a:hover {
  border-bottom: 1px solid #007bff;
}

.message.bot .message-text table {
  border-collapse: collapse;
  width: 100%;
  margin: 8px 0;
  font-size: 13px;
}

.message.bot .message-text th {
  background: #007bff;
  color: white;
  padding: 8px;
  text-align: left;
  font-weight: 600;
}

.message.bot .message-text td {
  border: 1px solid #dee2e6;
  padding: 8px;
}

.message.bot .message-text tr:nth-child(even) {
  background: #f8f9fa;
}

.message.bot .message-text tr:hover {
  background: #e9ecef;
}

.message.bot .message-text h1,
.message.bot .message-text h2,
.message.bot .message-text h3,
.message.bot .message-text h4 {
  margin: 12px 0 8px;
  color: #1a1a1a;
  font-weight: 600;
}

.message.bot .message-text h1 { font-size: 20px; }
.message.bot .message-text h2 { font-size: 18px; }
.message.bot .message-text h3 { font-size: 16px; }
.message.bot .message-text h4 { font-size: 15px; }


.message.bot .message-text .highlight {
  background: #fff3cd;
  color: #856404;
  padding: 2px 4px;
  border-radius: 4px;
}

.message.bot .message-text .step {
  display: inline-block;
  background: #007bff;
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  text-align: center;
  line-height: 20px;
  font-size: 12px;
  margin-right: 6px;
}

.message.bot {
  animation: slideInLeft 0.3s ease;
}

.chat-message-content {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--telegram-gray-light);
  background: var(--chat-message-user-back);
  word-wrap: break-word;  
  color: black;
}

.chat-footer {
  padding: 10px;
  background: white;
  border-top: 1px solid #dee2e6;
}

.chat-input {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.chat-footer textarea {
  flex: 1;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 10px 100px 10px 15px;
  resize: none;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  line-height: 1.5;
  min-height: 40px;
  box-sizing: border-box;
  vertical-align: top;
  text-align: left;
  display: block;
}

.chat-footer textarea:focus {
  outline: none;
  box-shadow: none;
  border-color: var(--border-color);
}

.chat-footer textarea:invalid {
  border-color: #ff4444;
  box-shadow: 0 0 0 2px rgba(255, 68, 68, 0.1);
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.chat-footer textarea.error {
  animation: shake 0.5s ease;
  border-color: #ff4444 !important;
}

.validation-hint {
  font-size: 11px;
  color: #ff4444;
  margin-top: 4px;
  display: none;
}

.validation-hint.show {
  display: block;
  animation: fadeInArea 0.3s ease;
}

@keyframes fadeInArea {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.button-group {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 4px;
  align-items: center;
}

.chat-btn-back {
  position: absolute;
  z-index: 10;
  background: var(--chat-header-back);
  color: white;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 8px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  cursor: pointer;
  margin: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  right: 5px;
  bottom: 60px;
  width: 36px;
  height: 36px;
  transition: all 0.5s ease;
  overflow: hidden;
  white-space: nowrap;
}

.chat-btn-back span {
  display: none;
  margin-left: 0;
}

.chat-btn-back:hover {
  background: #c72333;
  width: auto;
  padding: 8px 16px;
  gap: 6px;
}

.chat-btn-back:hover span {
  display: inline;
}

.chat-btn-back svg {
  stroke: white;
  fill: white;
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.chat-btn {
  border: none;
  border-radius: 100px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #007bff, #00d4ff);
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.chat-btn:hover {
  width: auto;
  border-radius: 100px;
  padding: 0 16px 0 12px;
  gap: 8px;
  background: linear-gradient(135deg, #0056b3, #0099cc);
  box-shadow: 0 6px 15px rgba(0, 123, 255, 0.4);
  transform: scale(1.05);
}

.chat-btn .btn-text {
  display: none;
  font-size: 13px;
  font-weight: 400;
  color: white;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.chat-btn:hover .btn-text {
  display: inline;
}

.chat-btn svg {
  width: 18px;
  height: 18px;
  fill: white;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

.chat-btn:hover svg {
  fill: white;
}

.chat-btn:hover .btn-text {
  color: white;
}

.chat-btn-solid {
  border: none;
  border-radius: 100px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  background-color: #007bff;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.chat-btn-solid:hover {
  width: auto;
  border-radius: 100px;
  padding: 0 16px 0 12px;
  gap: 8px;
  background-color: #0056b3;
  box-shadow: 0 6px 15px rgba(0, 123, 255, 0.4);
}

.attach-btn, .emoji-btn {
  background: #6c757d;
}

.attach-btn:hover, .emoji-btn:hover {
  background: #5a6268;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 8px 0;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background-color: #9095a0;
    border-radius: 50%;
    display: inline-block;
    animation: typing 1.4s infinite ease-in-out both;
}

.typing-indicator span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typing {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.6; }
    40% { transform: scale(1); opacity: 1; }
}

.temp-message {
    opacity: 0.8;
}

.temp-message .message-time::after {
    content: ' ✓';
    font-size: 12px;
}

.message-error {
    background-color: #fff0f0 !important;
}

.message-error .message-time {
    color: #ff4444 !important;
}

.typing-effect {
    position: relative;
    display: inline-block;
}

.typing-effect::after {
    content: '|';
    display: inline-block;
    animation: blink 1s infinite;
    margin-left: 2px;
    font-weight: 300;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 8px 0;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background-color: #9095a0;
    border-radius: 50%;
    display: inline-block;
    animation: typing 1.4s infinite ease-in-out both;
}

.typing-indicator span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typing {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.6; }
    40% { transform: scale(1); opacity: 1; }
}

.temp-message {
    opacity: 0.8;
}

.temp-message .message-time::after {
    content: ' ✓';
    font-size: 12px;
}

.message-error {
    background-color: #fff0f0 !important;
}

.message-error .message-time {
    color: #ff4444 !important;
}

.message.bot .message-text {
    line-height: 1.5;
    word-break: break-word;
}

@media (max-width: 480px) {
  .chat-footer textarea {
    padding-right: 90px;
  }
  
  .button-group {
    right: 6px;
    gap: 2px;
  }
  
  .chat-btn {
    width: 28px;
    height: 28px;
  }
  
  .chat-btn svg {
    width: 16px;
    height: 16px;
  }
}

.sending-indicator {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite, pulse 1s ease infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0% { opacity: 0.8; }
  50% { opacity: 1; }
  100% { opacity: 0.8; }
}

.sending-message {
  opacity: 0.7;
  pointer-events: none;
  position: relative;
}

.sending-message::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -24px;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0,123,255,0.2);
  border-top-color: #007bff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 10px 12px;
  background: white;
  border-radius: 12px;
  width: fit-content;
}

.typing-indicator span {
  width: 8px;
  height: 8px;
  background: #adb5bd;
  border-radius: 50%;
  animation: typing 1s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {
  0%, 60%, 100% {
      transform: translateY(0);
      opacity: 0.6;
  }
  30% {
      transform: translateY(-4px);
      opacity: 1;
  }
}

.back-to-type-btn {
  width: 100%;
  padding: 5px 10px;
  background: var(--chat-header-back);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.back-to-type-btn:hover {
  background: var(--chat-header-back-hover);
}

.back-to-type-btn svg {
  stroke: white;
}

.chat-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.message-time {
  font-size: 11px;
  opacity: 0.7;
  margin-top: 4px;
}

@media (max-width: 480px) {
  .chat-container {
    width: 100%;
    height: 100%;
    bottom: 0;
    right: 0;
    border-radius: 0;
  }

  .chat-toggle {
    bottom: 10px;
    right: 10px;
  }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.temp-message .chat-message-content {
    background: #e3f2fd;
}


.message-error .chat-message-content {
    background: #ffebee !important;
}

.message.bot .message-time {
    color: #8e8e8e;
    font-size: 11px;
    margin-top: 6px;
    text-align: right;
}


@media (max-width: 480px) {
    .message.bot .chat-message-content {
        max-width: 90%;
    }
    .message.bot .message-text pre {
        font-size: 12px;
    }
}
/* ===================== chat styles end ===================== */

@media (max-width: 320px) {
  .header-cont {
    height: 55px;
  }
  
  .nav-icon {
    width: 20px;
    height: 20px;
  }
  
  .nav-text-mobile {
    font-size: 9px;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .header-cont {
    height: 65px;
  }
  
  .nav-icon {
    width: 24px;
    height: 24px;
  }
  
  .nav-text-mobile {
    font-size: 11px;
  }

  .personal-acc-conteiner .header-content {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .personal-acc-conteiner .header-content-left {
    flex: 1 0 100%;
    margin-bottom: 10px;
  }
  
  .personal-acc-conteiner .name {
    max-width: 70%;
  }

  .plan-cont {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .plan-cont-column:first-child {
    flex: 1 0 100%;
  }
  
  .plan-cont-column:nth-child(2),
  .plan-cont-column:nth-child(3) {
    flex: 1 0 calc(50% - 10px);
  }
  
  .plan-cont-column-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

}

@media (max-width: 360px) {
  .submit-button {
    padding: 8px;
    justify-content: center;
  }
  
  .personal-acc-conteiner .name {
    font-size: 14px;
  }  
}

@media (max-width: 480px) {
  .mobile-hide {
    display: none;
  }
  
  .mobile-show {
    display: inline;
  }

  .personal-acc-conteiner .header-content-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .submit-button {
    flex: 1;
    padding: 8px 10px;
    min-width: 100%;
  }

  .button-auth-area{
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .submit-button.sent {
    min-width: 120px;
  }
  
  .submit-button.delete {
    min-width: 100px;
  }

  .plan-cont {
    padding: 10px;
    gap: 12px;
  }
  
  .plan-cont-column-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .plan-cont-column-footer {
    gap: 10px;
  }
  
  .plan-cont-column-footer-element {
    flex: 1 0 calc(1% - 5px);
    min-width: 0;
  }
  
  .buttons-row {
    width: 100%;
    justify-content: space-between;
  }
  
  .white-svg-btn {
    padding: 8px;
    font-size: 12px;
  }
  
  .btn-text {
    font-size: 12px;
  }

  .header-aside .title {
    display: none;
  }
}

@media (max-width: 640px) {
  .drop-area {
    padding: 2rem 1rem;
    min-height: 100px;
  }
  
  #file-upload-label {
    font-size: 0.9rem;
  }
  
  .drop-area::before {
    width: 40px;
    height: 40px;
    margin-bottom: 0.75rem;
  }
  .auth-container {
    width: calc(100% - 30px);
    padding: 27px 15px;
  }

}

@media (max-width: 768px) {
  body {
    background-color: white;
  }

  .header {
    width: calc(100% - 80px);
    height: 40px;
    border-bottom: 1px solid var(--border-color);
    color: rgb(0, 0, 0);
    display: flex;
    justify-content: center;
    background-color: white;
    gap: 2px;
    padding: 15px 40px;
  }

  .header-cont {
    position: fixed;
    bottom: 10px;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    height: 60px;
    margin: 0;
  }
  
  .navigation-container {
    height: 100%;
    margin: 0;
    padding: 0;
    border-radius: 100px;
    background: var(--blur1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.1);
    transition: transform 0.3s ease, opacity 0.3s ease;
    justify-content: space-around;
    align-items: center;
  }
  
  .active-drop {
    display: none;
  }
  
  .nav-item {
    flex-direction: column;
    padding: 8px 0;
    margin: 0;
    height: 100%;
    border-radius: 0;
    background: transparent !important;
    gap: 4px;
  }
  
  .nav-icon-wrapper {
    margin: 0;
  }
  
  .nav-icon {
    width: 22px;
    height: 22px;
  }
  
  .nav-text {
    display: none;
  }
  
  .nav-text-mobile {
    display: block;
  }
  
  .nav-item.active .nav-icon {
    filter: invert(45%) sepia(88%) saturate(1250%) hue-rotate(195deg) brightness(95%) contrast(95%);
  }
  
  .nav-item.active .nav-text-mobile {
    color: #3390ec;
    font-weight: 600;
  }
  
  .active-indicator {
    display: block;
  }
  
  .nav-item.disabled-tab .nav-icon {
    filter: grayscale(1);
  }
  
  .nav-item:not(.disabled-tab):active {
    opacity: 0.7;
  }

  .header-aside .description {
    display: none;
  }

  header{
    width: 100%;
    padding: 15px 20px;
  }

  .header-bside{
    gap: 7px;
  }

  .white-svg-btn span{
    display: none;
  }

  .row-app-group {
    flex-direction: column;
    gap: 0;
    margin: 0 !important;
  }

  .submit-button {
    padding: 10px 14px;
    font-size: 14px;
    max-width: 300px;
  }
  
  .submit-button:hover {
    transform: none;
  }
  
  .submit-button:active {
    transform: scale(0.96);
  }

  .personal-acc-conteiner {
    margin-bottom: 80px;
    margin-top: 20px;
  }

  .stat {
    width: calc(100%);
    padding: 20px 0;
  }

  .choose-conteiner-area {
    flex-direction: column;
  }

  .choose-conteiner {
    width: calc(100%);
  }

  .modal-content {
    width: 86%;
    padding: 20px;
    max-width: none;
    
  }

  .personal-acc-conteiner .header-content {
    display: flex;
    flex-direction: column;
  }
  
  .personal-acc-conteiner .header-content-left {
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .personal-acc-conteiner .header-content-right {
    display: inline-flex;
    justify-content: end;
    width: 100%;
    gap: 8px; 
  }  
  
  .personal-acc-conteiner .name {
    font-size: 16px;
    min-width: 0;
  }
  
  .personal-acc-conteiner .status-plan {
    font-size: 12px;
    padding: 3px 8px;
    height: 22px;
    white-space: nowrap;
  }
  
  .submit-button {
    padding: 8px 12px;
    font-size: 13px;
    min-height: 36px;
  }
  
  .submit-button .btn-text {
    font-size: 13px;
  }

  .submit-button[disabled] {
    opacity: 0.5;
  }
  
  .button-area {
    width: auto;
  }

  .plan-cont {
    flex-direction: column;
    gap: 15px;
    padding: 12px;
    width: calc(100% - 24px);
  }
  
  .plan-cont-column {
    width: 100%;
  }
  
  .plan-cont-column-header {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
  }
  
  .plan-info {
    display: flex;
    flex-direction: column;
    font-size: 13px;
    line-height: 1.4;
  }
  
  .status-plan {
    font-size: 12px;
    padding: 2px 8px;
    height: 18px;
  }
  
  .plan-cont-column-footer {
    flex-wrap: wrap;
    gap: 15px;
    justify-content: flex-start;
    margin-top: 5px;
  }
  
  .plan-cont-column-footer-element {
    gap: 6px;
  }
  
  .plan-cont-column-footer-element img {
    width: 12px;
    height: 12px;
  }
  
  .buttons-row {
    justify-content: flex-end;
    margin-top: 10px;
  }
  
  .white-svg-btn {
    padding: 8px 12px;
    font-size: 13px;
  }
  
  .plan-cont-column-footer-element:first-child {
    flex-basis: 100%;
  }

  .message-input-container {
    padding: 10px 14px;
  }
  
  .plan-back-header{
    width: 100%;
    gap: 20px;
    padding: 0 20px;
    margin-bottom: 15px;
  }

  .plan-text{
    display: none;
  }
}

@media (min-width: 769px) {
  .mobile-show {
    display: none;
  }

  .navigation-container {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .nav-item {
    flex-direction: row;
    padding: 8px 35px;
    margin: 0;
  }
  
  .nav-text {
    display: inline;
  }
  
  .nav-text-mobile {
    display: none;
  }
  
  .active-indicator {
    display: none;
  }
  
  .active-drop {
    display: block;
    animation: dropMove 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), liquidSplash 0.8s ease-out;
  }
  
  .nav-item:nth-child(1).active ~ .active-drop {
    left: 4px;
    width: calc(20% - 8px);
  }
  
  .nav-item:nth-child(2).active ~ .active-drop {
    left: calc(20% + 4px);
    width: calc(20% - 8px);
  }
  
  .nav-item:nth-child(3).active ~ .active-drop {
    left: calc(40% + 4px);
    width: calc(20% - 8px);
  }
  
  .nav-item:nth-child(4).active ~ .active-drop {
    left: calc(60% + 4px);
    width: calc(20% - 8px);
  }
  
  .nav-item:nth-child(5).active ~ .active-drop {
    left: calc(80% + 4px);
    width: calc(20% - 8px);
  }
  
  .navigation-container:has(.nav-item:nth-child(2).disabled-tab) .nav-item:nth-child(3).active ~ .active-drop {
    left: calc(25% + 4px);
    width: calc(25% - 8px);
  }
  
  .navigation-container:has(.nav-item:nth-child(2).disabled-tab) .nav-item:nth-child(4).active ~ .active-drop {
    left: calc(50% + 4px);
    width: calc(25% - 8px);
  }
  
  .navigation-container:has(.nav-item:nth-child(2).disabled-tab) .nav-item:nth-child(5).active ~ .active-drop {
    left: calc(75% + 4px);
    width: calc(25% - 8px);
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  body {
    font-size: 15px;
  }
  
  #flash-container {
    position: fixed;
    top: 80px;
    right: auto;
    margin: 0 auto;
    left: 50%; 
    transform: translateX(-50%);
    bottom: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
    width: 90%;
    max-width: 400px;
    align-items: center;
  }
  
  .custom-alert {
    width: 100%; 
    max-width: 100%; 
    margin: 0 auto;
  }
  
  .navigation-container {
    width: 90%;
  }
  
  .nav-item {
    padding: 8px 25px;
  }
  
  .nav-text {
    font-size: 13px;
  }
  
  .choose-conteiner-area {
    gap: 15px;
  }

  .choose-conteiner {
    width: calc(50% - 8px);
    padding: 15px;
  }
  
  .choose-conteiner-text-title {
    font-size: 15px;
  }
  
  .choose-conteiner-text-dis {
    font-size: 13px;
  }
  
  .table-container {
    overflow-x: auto;
  }
    
  .main-table th,
  .main-table td {
    padding: 6px 10px;
    font-size: 12px;
  }
  
  .stat {
    padding: 15px 40px;
    font-size: 14px;
    width: calc(100% - 80px);
  }
  
  .stat-number,
  .stat-number-redac,
  .stat-number-control,
  .stat-number-sent,
  .stat-number-eror,
  .stat-number-sub {
    font-size: 18px;
  }
  
  .plan-cont {
    padding: 12px;
    gap: 15px;
  }
  
  .plan-cont-column-footer {
    gap: 15px;
  }
  
  .plan-info {
    font-size: 13px;
  }
  
  .plan-cont-column-footer-element {
    font-size: 12px;
  }
  
  .modal-content {
    width: 85%;
    padding: 25px;
  }
  
  .faq-container {
    width: calc(95% - 62px);
  }
  
  .auth-container {
    width: calc(100% - 30px);
    padding: 15px;
  }
  
  .auth-tab {
    padding: 5px 20px;
    width: 130px;
  }
  
  .filters-area {
    flex-wrap: wrap;
  }
  
  .custom-dropdown {
    margin-bottom: 5px;
  }
  
  .submit-button {
    padding: 8px 16px;
    font-size: 13px;
  }
  
  .no-submit-button {
    padding: 7px 16px;
    font-size: 12px;
  }
  
  .tickets-conteiner {
    width: calc(100% - 32px);
    padding: 15px;
  }
  
  .tickets-message {
    max-width: 70%;
  }
  
  .fot_cont_text {
    padding-left: 30px;
  }
  
  .fot_cont_img {
    padding-right: 30px;
  }
  
  .menu-conteiner {
    gap: 12px;
  }
  
  .menu-conteiner .element {
    padding: 8px;
    min-width: 45px;
    min-height: 45px;
  }
  
  .menu-conteiner .element img {
    width: 22px;
    height: 22px;
  }
  
  .element-text {
    font-size: 10px;
  }
  
  .progress-line-container {
    bottom: 15px;
  }
  
  .pagination-container {
    gap: 8px;
  }
  
  .pagination-container button {
    padding: 4px 6px;
    font-size: 12px;
  }
  
  .vertical-text {
    height: 80px;
    width: 80px;
    font-size: 11px;
  }

  .drop-area {
    padding: 2rem 1.2rem;
  }
  
  .section-header {
    padding: 8px 15px;
  }
  
  .section-title {
    font-size: 15px;
  }
  
  .row-app-group {
    gap: 12px;
  }
  
  .app-group {
    margin-bottom: 10px;
  }
  
  .status-plan {
    font-size: 12px;
    padding: 2px 6px;
  }
  
  .short-acc-info {
    gap: 20px;
  }
  
  .employee-name {
    font-size: 15px;
  }
  
  .employee-position {
    font-size: 13px;
  }
  
  .prediction-value {
    font-size: 12px;
    padding: 1px 4px;
  }

  .notif-popup {
    right: 5%;
    width: 200px;
  }
  
  .user-sidebar {
    width: 200px;
  }
}

@media (max-width: 1080px) {
  .circle-fi{
    width: 30px;       
    height: 30px;      
  }
  .word-numb{
    font-size: 14px;
    white-space: nowrap;
    display: inline-block;
    animation: marquee 7s linear infinite;
    padding-left: 100%;
  }
  .choose-conteiner-text-title {
    display: flex;
    flex-direction: column;
    align-items: start;
  }

  @keyframes marquee {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-80%);
    }
  }
}

.cookie-banner {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 9999;
  max-width: 800px;
  width: calc(100% - 60px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: cookieBannerSlideUp 0.5s forwards;
}

.cookie-banner.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

@keyframes cookieBannerSlideUp {
  to {
      opacity: 1;
      visibility: visible;
      transform: translateX(-50%) translateY(0);
  }
}

.cookie-banner-content {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 20px 25px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  animation: fadeInUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass, rgba(255, 255, 255, 0.1));
  border-radius: 50%;
  color: var(--primary, #000000);
  transition: transform 0.3s ease;
}

.cookie-banner:hover .cookie-banner-icon {
  transform: rotate(10deg);
}

.cookie-banner-text {
  flex: 1;
  min-width: 250px;
}

.cookie-banner-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text, #000000);
  font-weight: 500;
}

.cookie-banner-text a {
  color: var(--primary, #000000);
  text-decoration: underline;
  font-weight: 600;
  transition: all 0.2s ease;
  position: relative;
}

.cookie-banner-text a:hover {
  color: var(--primary-dark, #333333);
  text-decoration: none;
}

.cookie-banner-text a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.cookie-banner-text a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.cookie-banner-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  align-items: center;
}

.cookie-banner-buttons .submit-button {
  padding: 8px 24px;
  font-size: 13px;
  min-width: 100px;
  margin: 0;
  background: linear-gradient(135deg, #000000 0%, #2d2d2d 100%);
  position: relative;
  overflow: hidden;
}

.cookie-banner-buttons .submit-button::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.cookie-banner-buttons .submit-button:hover::before {
  animation: shine 1.5s ease-in-out;
}

.cookie-banner-buttons .no-submit-button {
  padding: 8px 24px;
  font-size: 13px;
  min-width: 100px;
  margin: 0;
  background: var(--background-grey, #f5f5f5);
  border: 1px solid var(--border-color, #D9D9D9);
  transition: all 0.3s ease;
}

.cookie-banner-buttons .no-submit-button:hover {
  background: var(--button-grey-hover, #ebebeb);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cookie-banner-buttons .no-submit-button:active {
  transform: translateY(0);
}

@media (max-width: 1250px) {
  .plan-back-header {
      width: 100%;
      gap: 20px;
      padding: 0 20px;
      margin-bottom: 15px;
  }
}

@media (max-width: 768px) {
  .cookie-banner {
      bottom: 80px; 
      width: calc(100% - 40px);
  }
  
  .cookie-banner-content {
      padding: 16px 20px;
      flex-direction: column;
      text-align: center;
      gap: 15px;
  }
  
  .cookie-banner-text {
      min-width: 100%;
  }
  
  .cookie-banner-buttons {
      width: 100%;
      justify-content: center;
  }
  
  .cookie-banner-buttons .submit-button,
  .cookie-banner-buttons .no-submit-button {
      min-width: 120px;
      padding: 8px 16px;
  }
}

@media (max-width: 480px) {
  .cookie-banner-content {
      padding: 15px;
  }
  
  .cookie-banner-buttons {
      flex-direction: column;
      gap: 8px;
  }
  
  .cookie-banner-buttons .submit-button,
  .cookie-banner-buttons .no-submit-button {
      width: 100%;
      min-width: 100%;
  }
  
  .cookie-banner-icon {
      width: 32px;
      height: 32px;
  }
  
  .cookie-banner-text p {
      font-size: 13px;
  }
}

@keyframes shine {
  0% {
      opacity: 0;
      transform: rotate(45deg) translate(-50%, -50%);
  }
  20% {
      opacity: 0.8;
  }
  100% {
      opacity: 0;
      transform: rotate(45deg) translate(50%, 50%);
  }
}

.cookie-banner:hover .cookie-banner-content {
  box-shadow: var(--glow, 0 0 10px rgba(0, 0, 0, 0.15));
}

.cookie-banner {
  animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
  from {
      opacity: 0;
      transform: translateX(-50%) translateY(30px);
  }
  to {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
  }
}

