@font-face {
    font-family: 'NimbusSanLBoldCond';
    src: url('fonts/nimbussanl_boldcond.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
  }
  /* Кнопки щоб не виделялись*/
  button, a {
    -webkit-tap-highlight-color: transparent; /* Убирает серый фон при нажатии */
    -webkit-touch-callout: none; /* Отключает контекстное меню (долгое нажатие) */
}



  body {
    font-family: 'NimbusSanLBoldCond', sans-serif;
  }

.no-select {
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* Internet Explorer/Edge */
    user-select: none;         /* Non-prefixed version, currently supported by Chrome and Opera */
}


    .end_dg {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 35px;
        padding-left: 50px;
        padding-bottom: 35px;
  }
  
  .logo_end {
    display: flex; /* Лого і текст в один рядок */
    align-items: center; /* Вирівнювання по вертикалі */
  }
  
  .logo_end_min {
    width: 20px; /* Можна скоригувати розмір логотипа */
    margin-right: 10px; /* Відступ між логотипом і текстом */
  }
  
  .logo_end h1 {
    color: #000; /* Чорний колір тексту */
    font-size: 16px;
    margin: 0; /* Прибираємо відступи */
  }
  

img {
    -webkit-user-drag: none;   /* Disable image dragging in WebKit-based browsers */
             /* Non-prefixed version for others */
}

body {
    -webkit-touch-callout: none; /* Disable callout, like context menu in iOS */
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
@font-face {
    font-family: 'Arsenal Bold';
    src: url('fonts/Arsenal-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'DrukCyr-Bold';
    src: url('fonts/DrukCyr-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}



/* */

.search-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #fff;
    margin-top: -40px;
    border-radius: 10px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.search-item {
    margin: 0 10px;
    flex: 1;
}

.search-item input {
    width: 100%;
    padding: 10px;
    font-size: 1em;
    outline: none;
}

.search-button {
    margin-left: 10px;
}

.search-button button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #007BFF;
    color: white;
    font-size: 1em;
    cursor: pointer;
}

.search-button button:hover {
    background-color: #0056b3;
}

.search-item input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    outline: none;
    box-shadow: none;
}

.search-item input:focus {
    border-color: #00000000;
}

.articleinfobanner img {
    display: flex;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    margin-top: 100px;
    pointer-events: none;
    background-color: #2d5437;
}

.registration-form {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 300px;
}

.registration-form h2 {
    margin-bottom: 20px;
}

.registration-form label {
    display: block;
    margin-bottom: 5px;
}

.registration-form input {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.registration-form button {
    width: 100%;
    padding: 10px;
    background-color: #5cb85c;
    border: none;
    border-radius: 3px;
    color: #fff;
    font-size: 16px;
}

.registration-form .error {
    color: red;
    margin-top: 10px;
    display: none;
}

.username {
    font-size: 12px;
    color: white;
    
}

.profile-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 70px;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #f0f0f0;
    background-size: cover;
    background-position: center;
    margin-bottom: 10px;
}

.change-image-btn {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #2d5437;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
}

.change-image-btn:hover {
    background-color: #45a049;
}

.hidden-input {
    display: none;
}

.container1 {
    display: flex;
    justify-content: center;
    align-items: center;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

.username {
    font-size: 18px;
  
}

.back_to_profile {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #2d5437;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    font-size: 16px;
    font-family: Arial, sans-serif;
    text-decoration: none;
    position: relative;
    top: 150px;
    left: -200px;
}

.back_to_profile i {
    color: white;
    margin-right: 8px;
}

.back_to_profile:hover {
    background-color: #45a049;
}

.center-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 100px;
}

.profile-field {
    margin: 20px 0;
    text-align: center;
}

.edit-button {
    display: block;
    margin: 10px auto;
    padding: 10px 20px;
    background-color: #2d5437;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    font-size: 16px;
    font-family: Arial, sans-serif;
    text-decoration: none;
}

.edit-button:hover {
    background-color: #45a049;
}

.error-message {
    color: red;
    font-size: 12px;
}

.input-field {
    color: #2d5437;
    width: 500px;
    height: 100px;
}

input[type="text"] {
    padding: 10px;
    font-size: 36px;
    color: #2d5437;
    border: 2px solid #2d5437;
    border-radius: 5px;
    margin-bottom: 10px;
    text-align: center;
}

input[type="text"]:focus {
    outline: none;
    border-color: #45a049;
}

.flex-container {
    display: flex;
    justify-content: space-between;
    width: 60%;
}

.profile-field p {
    text-align: center;
    width: 100%;
}

.gender-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.gender-buttons {
    display: flex;
    gap: 10px;
}

.gender-button {
    width: 70px;
    height: 70px;
    background-color: white;
    border: 2px solid #2d5437;
    padding: 10px;
    cursor: pointer;
    text-align: center;
}

.gender-button:hover {
    border-color: #45a049;
}

.selected {
    background-color: #2d5437;
    color: white;
}

.custom-radio {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-family: Arial, sans-serif;
}

.custom-radio input {
    display: none;
}

.custom-radio label {
    padding: 10px 20px;
    border: 2px solid #2d5437;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    font-size: 16px;
    font-family: Arial, sans-serif;
    text-decoration: none;
    background-color: white;
    color: #2d5437;
    transition: background-color 0.3s ease;
}

.custom-radio input:checked + label {
    background-color: #2d5437;
    color: white;
}

.custom-radio label:hover {
    background-color: #45a049;
    color: white;
}

.button-container {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.image-container {
    text-align: center;
    width: 100%;
}

.image {
    width: 200px;
    height: 200px;
    border-radius: 5px;
    object-fit: cover;
}

.additional-image-container {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.additional-image {
    width: 100px;
    height: 100px;
    border-radius: 5px;
    object-fit: cover;
}

.additional-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.map {
    width: 100%;
    height: 400px;
    border-radius: 5px;
    margin-top: 20px;
}

.map-container {
    width: 70%;
    margin: 20px auto;
}

.waypoints-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.waypoint {
    width: 30%;
}

.waypoint input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 2px solid #2d5437;
    border-radius: 5px;
    text-align: center;
    margin-top: 5px;
}

.waypoint input:focus {
    outline: none;
    border-color: #45a049;
}

.add-waypoint {
    padding: 10px 20px;
    background-color: #2d5437;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    margin-left: 10px;
}

.add-waypoint:hover {
    background-color: #45a049;
}

.remove-waypoint {
    padding: 10px 20px;
    background-color: red;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    margin-left: 10px;
}

.remove-waypoint:hover {
    background-color: darkred;
}

#custom-tooltip {
    background-color: #000;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    font-size: 12px;
    font-family: Arial, sans-serif;
}

#custom-tooltip-arrow {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #000;
    margin: 0 auto;
    display: block;
}
.verify_number_box {
    border: 5px solid #2d5437; /* Light gray border */
   box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    padding: 20px;
    width: 800px; /* Fixed width */
    margin: 20px auto;
    text-align: center;
    background-color: white;
    margin-top:100px;
}
.button_verify_number{
    display: block;
    padding: 10px;
    margin: 0;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    background-color: white;
    border-bottom: 1px solid #ccc; /* Линия между кнопками */
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.button_verify_number:hover {
    background-color: #e0e0e0; /* Темнее серый при наведении */
}

.button_verify_number:last-child {
    border-bottom: none; /* У последней кнопки не будет нижней границы */
}
.wrapper_number{
    height: 50px;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFF;
    border-radius: 12px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
  }
  .wrapper_number span{
    width: 100%;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
  }
  .wrapper_number span.num{
    font-size: 25px;
    border-right: 2px solid rgba(0,0,0,0.2);
    border-left: 2px solid rgba(0,0,0,0.2);
    pointer-events: none;
  }
  .dropdown-content_services {
    display: none;
    position: absolute;
    right: 400px;
    top:85px;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1;
    border: 1px solid #ddd;
    white-space: nowrap;
  }
  .dropdown-content_services a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }
  
  .dropdown-content_services a:hover {
    background-color: #f1f1f1;
  }
  
   /*КНОПКА ДЛЯ СЕРВИСА+*/

   .button_bus { 
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    animation-delay: 0.3s; /* First button delay */
border: 4px solid #D67940 ;
margin:auto;
margin-top:15px;
border-radius: 20px;
background-origin: border-box;
background-clip: content-box, border-box;
box-shadow: 0 10px 10px rgba(0,0,0,0.2);
color: white;
font-size: 32px;
font-weight: bold;
position: relative;
width: 600px; /* Фиксированная ширина */
height: 80px; /* Фиксированная высота */
overflow: hidden;
transition: all 0.3s ease;
text-decoration:none;

}
.button_bus img {
    width: 100%; /* Full width of the button */
    height: 100%; /* Full height of the button */
    border-radius: 10px 10px 10px 10px ; /* Matches button border-radius */
    object-fit: cover; /* Ensures the image covers the entire area */
    position: absolute; /* Allows text to be placed over the image */
    top: 0;
    left: 0;
    z-index: 0; /* Image is in the background */
}

.button_bus::before {
content: '';
position: absolute;
top: -2px;
left: -2px;
right: -2px;
bottom: -2px;
background: #e3732e;
border-radius: 10px; /* Радиус чуть больше, чтобы выделить вторую линию */
z-index: -1;

}
.button_bus::after {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;

border-radius: 8px; /* Совпадает с border-radius кнопки */
z-index: -2;
}
.button_bus .text {
margin-right: auto;
z-index: 1;
}

.button_bus .chevrons {
display: inline-flex;
gap: 5px;
margin-left: auto;
transition: all 0.5s ease;
z-index: 1;

}

.button_bus .chevronb {
transition: transform 0.3s ease;
}

.button_bus:hover .chevrons .chevronb:nth-child(1) {
transform: translateX(20px);
}

.button_bus:hover .chevrons .chevronb:nth-child(2) {
transform: translateX(10px);
}

.button_bus:hover .chevrons .chevronb:nth-child(3) {
transform: translateX(0px);
}
.button_baggage {
display: inline-flex;
align-items: center;
justify-content: space-between;
padding: 10px 20px;
animation-delay: 1.0s; /* First button delay */
border: 4px solid transparent #D67940 ;
margin:auto;
margin-top:15px;
border-radius: 20px;
background-origin: border-box;
background-clip: content-box, border-box;
box-shadow: 0 10px 10px rgba(0,0,0,0.2);
color: white;
font-size: 32px;
font-weight: bold;
position: relative;
width: 600px; /* Фиксированная ширина */
height: 80px; /* Фиксированная высота */
overflow: hidden;
transition: all 0.3s ease;
text-decoration:none;
border: 4px solid #D67940 ;
}
.button_baggage img {
    width: 100%; /* Full width of the button */
    height: 100%; /* Full height of the button */
    border-radius: 10px 10px 10px 10px ; /* Matches button border-radius */
    object-fit: cover; /* Ensures the image covers the entire area */
    position: absolute; /* Allows text to be placed over the image */
    top: 0;
    left: 0;
    z-index: 0; /* Image is in the background */
}
.button_baggage::before {
content: '';
position: absolute;
top: -2px;
left: -2px;
right: -2px;
bottom: -2px;
background: #e3732e;
border-radius: 10px; /* Радиус чуть больше, чтобы выделить вторую линию */
z-index: -1;

}
.button_baggage::after {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;

border-radius: 8px; /* Совпадает с border-radius кнопки */
z-index: -2;
}
.button_baggage .text {
margin-right: auto;
z-index: 1;
}

.button_baggage .chevrons {
display: inline-flex;
gap: 5px;
margin-left: auto;
transition: all 0.3s ease;
z-index: 1;

}

.button_baggage .chevronb {
transition: transform 0.3s ease;
}

.button_baggage:hover .chevrons .chevronb:nth-child(1) {
transform: translateX(20px);
}

.button_baggage:hover .chevrons .chevronb:nth-child(2) {
transform: translateX(10px);
}

.button_baggage:hover .chevrons .chevronb:nth-child(3) {
transform: translateX(0px);
}
.button_post {
display: inline-flex;
align-items: center;
justify-content: space-between;
padding: 10px 20px;
animation-delay: 1.5s; /* First button delay */
border: 4px solid transparent #D67940 ;
margin:auto;
margin-top:15px;
border-radius: 20px;
background-origin: border-box;
background-clip: content-box, border-box;
box-shadow: 0 10px 10px rgba(0,0,0,0.2);
color: white;
font-size: 32px;
font-weight: bold;
position: relative;
width: 600px; /* Фиксированная ширина */
height: 80px; /* Фиксированная высота */
overflow: hidden;
transition: all 0.3s ease;
text-decoration:none;
border: 4px solid #D67940 ;
}
.button_post img {
    width: 100%; /* Full width of the button */
    height: 100%; /* Full height of the button */
    border-radius: 10px 10px 10px 10px ; /* Matches button border-radius */
    object-fit: cover; /* Ensures the image covers the entire area */
    position: absolute; /* Allows text to be placed over the image */
    top: 0;
    left: 0;
    z-index: 0; /* Image is in the background */
}
.button_post::before {
content: '';
position: absolute;
top: -2px;
left: -2px;
right: -2px;
bottom: -2px;
background: #e3732e;
border-radius: 10px; /* Радиус чуть больше, чтобы выделить вторую линию */
z-index: -1;

}
.button_post::after {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;

border-radius: 8px; /* Совпадает с border-radius кнопки */
z-index: -2;
}
.button_post .text {
margin-right: auto;
z-index: 1;
}

.button_post .chevrons {
display: inline-flex;
gap: 5px;
margin-left: auto;
transition: all 0.3s ease;
z-index: 1;

}

.button_post .chevronb {
transition: transform 0.3s ease;
margin-top:35%;
}

.button_post:hover .chevrons .chevronb:nth-child(1) {
transform: translateX(20px);
}

.button_post:hover .chevrons .chevronb:nth-child(2) {
transform: translateX(10px);
}

.button_post:hover .chevrons .chevronb:nth-child(3) {
transform: translateX(0px);
}
.servbuttons_section {
    display: flex;
    flex-direction: column; /* элементы идут в колонку */
    justify-content: center; /* центровка по вертикали */
    align-items: center; /* центровка по горизонтали */
    padding: 20px;
    margin-top: 100px;
    gap: 20px; /* расстояние между кнопками */
}

.servbuttons_section > * {
    width: 100%;
    max-width: 600px; /* ограничиваем ширину кнопок */
}

.servbuttons_section a {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.5s ease forwards;
}

.button_promo {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    animation-delay: 2.0s; /* First button delay */
    border: 4px solid transparent #D67940 ;
    margin:auto;
    margin-top:15px;
    border-radius: 20px;
    background-origin: border-box;
    background-clip: content-box, border-box;
    box-shadow: 0 10px 10px rgba(0,0,0,0.2);
    color: white;
    font-size: 32px;
    font-weight: bold;
    position: relative;
    width: 600px; /* Фиксированная ширина */
    height: 80px; /* Фиксированная высота */
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration:none;
    border: 4px solid #D67940 ;
    }
    .button_promo img {
        width: 100%; /* Full width of the button */
        height: 100%; /* Full height of the button */
        border-radius: 10px 10px 10px 10px ; /* Matches button border-radius */
        object-fit: cover; /* Ensures the image covers the entire area */
        position: absolute; /* Allows text to be placed over the image */
        top: 0;
        left: 0;
        z-index: 0; /* Image is in the background */
    }
    .button_promo::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: #e3732e;
    border-radius: 10px; /* Радиус чуть больше, чтобы выделить вторую линию */
    z-index: -1;
    
    }
    .button_promo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    
    border-radius: 8px; /* Совпадает с border-radius кнопки */
    z-index: -2;
    }
    .button_promo.text {
    margin-right: auto;
    z-index: 1;
    }
    
    .button_promo .chevrons {
    display: inline-flex;
    gap: 5px;
    margin-left: auto;
    transition: all 0.3s ease;
    z-index: 1;
    
    }
    
    .button_promo .chevronb {
    transition: transform 0.3s ease;
    }
    
    .button_promo:hover .chevrons .chevronb:nth-child(1) {
    transform: translateX(20px);
    }
    
    .button_promo:hover .chevrons .chevronb:nth-child(2) {
    transform: translateX(10px);
    }
    
    .button_promo:hover .chevrons .chevronb:nth-child(3) {
    transform: translateX(0px);
    }
    @keyframes fadeIn {
        to {
            opacity: 1;
            transform: translateY(0); /* Optional: End position */
        }
    }
    .button_create_trip {
        display: inline-flex; /* Aligns items horizontally */
        align-items: center; /* Centers content vertically */
        justify-content: space-between; /* Spreads content evenly */
        padding: 10px 20px; /* Padding inside the button */
        border: 4px solid #D67940; /* Button border color and thickness */
        border-radius: 20px; /* Rounded corners */
        background-origin: border-box;
        background-clip: content-box, border-box; /* Ensures border and content are separated */
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow effect */
        color: white; /* Text color */
        font-size: 32px; /* Font size */
        font-weight: bold; /* Bold font */
        width: 600px; /* Fixed width for the button */
        height: 80px; /* Fixed height for the button */
        overflow: hidden; /* Hides any overflow of child elements */
        transition: all 0.3s ease; /* Smooth transition for hover or focus effects */
        text-decoration: none; /* Removes underline from links if applicable */
        margin: 0; /* Remove any automatic margins */
        position: relative; /* Ensure positioning works as expected */
        cursor: pointer;
    }
    
    .button_create_trip img {
        width: 100%; /* Full width of the button */
        height: 100%; /* Full height of the button */
        border-radius: 20px; /* Matches button border-radius */
        object-fit: cover; /* Ensures the image covers the entire area */
        position: absolute; /* Allows text to be placed over the image */
        top: 0;
        left: 0;
        z-index: 0; /* Image is in the background */
    }
    
    .button_create_trip .text, .button_create_trip .chevrons {
        position: relative;
        z-index: 1; /* Ensure the text is above the image */
    }
    
    .button_create_trip::before {
        content: '';
        position: absolute;
        top: -4px;
        left: -4px;
        right: -4px;
        bottom: -4px;
        background: #e3732e; /* Second border color */
        border-radius: 20px; /* Border radius matching the button */
        z-index: -1; /* Behind the button content */
    }
    
    .button_create_trip::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 20px; /* Matches the button radius */
        background: rgba(0, 0, 0, 0.5); /* Optional overlay for darker text readability */
        z-index: -2; /* Behind the text but in front of the image */
    }
    
    ._create_trip .text {
    margin-right: auto;
    z-index: 1;
    }
    
    .button_create_trip .chevrons {
    display: inline-flex;
    gap: 5px;
    margin-left: auto;
    transition: all 0.5s ease;
    z-index: 1;
    
    }
    
    .button_create_trip .chevronb {
    transition: transform 0.3s ease;
    }
    
    .button_create_trip:hover .chevrons .chevronb:nth-child(1) {
    transform: translateX(20px);
    }
    
    .button_create_trip:hover .chevrons .chevronb:nth-child(2) {
    transform: translateX(10px);
    }
    
    .button_create_trip:hover .chevrons .chevronb:nth-child(3) {
    transform: translateX(0px);
    }
    .servbuttons_section a {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeIn 0.5s ease forwards;
    }
    
    /* Планшеты и маленькие ноутбуки */
    @media (max-width: 768px) {
        .servbuttons_section {
            margin-top: 50px;
            gap: 16px;
        }
    
        .servbuttons_section > * {
            max-width: 400px;
        }
    
        .servbuttons_section a {
            font-size: 20px;
            height: 60px;
        }
    }
    
    /* Телефоны */
    @media (max-width: 480px) {
        .servbuttons_section {
            margin-top: 30px;
            padding: 10px;
            gap: 12px;
        }
    
        .servbuttons_section > * {
            max-width: 290px;
        }
    
        .servbuttons_section a {
            font-size: 17px;
            height: 50px;
            padding: 6px 12px;
        }
    }
    @media (max-width: 480px) {
        .button_bus,
        .button_baggage,
        .button_post,
        .button_promo {
            font-size: 19px; /* Чуть крупнее для читабельности */
            width: 340px; /* Пошире */
            height: 60px; /* Повышенная высота */
            padding: 10px 18px;
            border-radius: 18px; /* Красивая округлость */
            box-shadow: 0 8px 12px rgba(0,0,0,0.15); /* Больше воздуха */
        }
    
        .button_bus img,
        .button_baggage img,
        .button_post img,
        .button_promo img {
            border-radius: 18px;
        }
    
        .button_bus .chevrons,
        .button_baggage .chevrons,
        .button_post .chevrons,
        .button_promo .chevrons {
            gap: 3px;
        }
    }
    
   /* Адаптация для экрана 768px */
@media (max-width: 768px) {
    .button_create_trip {
        font-size: 24px; /* Уменьшаем текст */
        width: 450px; /* Уменьшаем ширину */
        height: 60px; /* Уменьшаем высоту */
        padding: 8px 16px; /* Уменьшаем отступы */
    }
    
    .button_create_trip img {
        border-radius: 15px; /* Уменьшаем закругление */
    }

    .button_create_trip .chevrons {
        gap: 3px; /* Сокращаем расстояние между стрелками */
    }
}

/* Адаптация для экрана 480px */
@media (max-width: 480px) {
    .button_create_trip {
        font-size: 18px; /* Ещё меньше текст */
        width: 320px; /* Уменьшаем ширину */
        height: 50px; /* Уменьшаем высоту */
        padding: 6px 12px; /* Ещё меньше отступы */
        border-radius: 12px; /* Уменьшаем закругление */
    }

    .button_create_trip img {
        border-radius: 12px; /* Подгоняем радиус под кнопку */
    }

    .button_create_trip .chevrons {
        gap: 2px; /* Минимизируем расстояние */
    }
}
    .banner_cont {
        font-family: "Special Elite", Georgia, serif;
        background: #D67940;
        margin-top:90px; /* Reduced by half */
    }
    
    .defilee__main {
        position: relative;
        margin: 0 auto;
    }
    
    .defilee__outer {
        width: auto;
        height: auto; /* Reduced by half */
        max-height: 35vh; /* Reduced by half */
        display: flex;
        flex-direction: column;
        justify-content: center;
        perspective: 0.25px; /* Reduced by half */
        transform-style: preserve-3d;
        overflow: hidden;
    }
    
    .defilee__ctnr {
        transform-style: preserve-3d;
        display: inline-flex;
        align-items: center;
        margin: 0 auto;
    }
    
    .defilee__div {
        position: relative;
        transform: translateZ(-0.05px) scale(0.7) translateX(15px) translateY(2.5vh); /* Halved the translateZ, scale, translateX, and translateY */
    }
    
    .defilee__div:not(.defilee__div--text) {
        width: 12.5vw; /* Reduced by half */
        margin: 0 2.5vw; /* Reduced by half */
        background: white;
        padding: 0.375vw; /* Reduced by half */
        border-radius: 2px; /* Reduced by half */
        box-shadow: 0 5px 20px -5px rgba(0, 0, 0, 1); /* Reduced by half */
    }
    
    .defilee__div--text {
        margin: 0 0 0 5vw; /* Reduced by half */
        transform: translateZ(-0.125px) scale(0.7) translateX(30px) translateY(-2.5vh); /* Halved the translateZ, scale, translateX, and translateY */
        animation: zoom infinite 1s;
    }
    
    .defilee__div--special {
        transform: translateZ(-0.1px) scale(0.7) translateX(15px) translateY(5vh); /* Halved the translateZ, scale, translateX, and translateY */
    }
    
    .defilee__div--special1 {
        transform: translateZ(-0.125px) scale(0.7) translateX(-0.15vw) translateY(0); /* Halved the translateZ, scale, and translateX */
    }
    
    .defilee__div--special2 {
        transform: translateZ(-0.15px) scale(0.75) translateX(-0.25vw) translateY(-2.5vh); /* Halved the translateZ, scale, translateX, and translateY */
    }
    
    .defilee__div--special3 {
        transform: translateZ(-0.25px) scale(0.75) translateX(-15px) translateY(-10vh); /* Halved the translateZ, scale, translateX, and translateY */
    }
    
    .defilee__div--special4 {
        transform: translateZ(-0.325px) scale(1.5) translateX(15px) translateY(-1vh); /* Halved the translateZ, scale, translateX, and translateY */
    }
    
    .defilee__ctnr {
        transform: translate3d(-5%, 0, 0); /* Reduced by half */
        will-change: transform;
        animation: slide 25s 0.7s linear infinite;
    }
    
    @keyframes slide {
        100% {
            transform: translate3d(-30%, 0, 0); /* Reduced by half */
        }
    }
    
    .defilee__div--special1.first {
        animation: vertical infinite 5s -2s;
    }
    
    @keyframes vertical {
        50% {
            transform: translateZ(-0.125px) scale(0.8) translateX(-0.15vw) translateY(-2.5vh); /* Halved the translateZ, scale, translateX, and translateY */
        }
    }
    
    @keyframes zoom {
        50% {
            transform: translateZ(-0.125px) scale(0.75) translateX(30px) translateY(-2.5vh); /* Halved the translateZ, scale, translateX, and translateY */
        }
    }
    
    .img-city {
        width: 100%; /* Kept the same */
        margin-bottom: 0.75vw; /* Kept the same */
        filter: sepia(100%) hue-rotate(180deg);
    }
    
    div:nth-child(3n + 1) > .img-city {
        filter: sepia(100%) hue-rotate(-83deg);
    }
    .container_edit_prof {
        width: 75%;
        margin: 0 auto;
        position: relative;
        
        margin-top:100px;
    }
    
    .user_main {
        margin-bottom: 20px;
    }
    
    /*.banner {
        min-height: 300px;
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        background-color: #96969666;
        background-size: cover;
        background-position: center;
        border-radius: 6px 6px 0 0;
        background-position: center 50%;
        background-repeat: no-repeat;
        margin-bottom: 20px;
        padding: 20px;
    }
    */
    .user-info {
        display: flex;
        align-items: center;
    }
    .tooltip2 {
        position: absolute;
        top: -30px; /* Настройка расположения подсказки */
        left: 50%; 
        transform: translateX(-50%);
        padding: 5px;
        font-size: 14px;
        color: white;
        background-color: black;
        border-radius: 5px;
        display: none; /* Скрываем по умолчанию */
        z-index: 10000000;
    }
    #user-confirmed-icon:hover + .tooltip {
        display: block;
    }
    .user-avatar {
        width: 150px;
        height: 150px;
        border-radius: 50%;
        overflow: hidden;
        background-size: cover;
        background-position: center;
        border: 2px solid #D67940 ;
        z-index: 2;
        background-color: white;
    }
    
    .user-avatar img {
        cursor: pointer;
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .user-details {
        padding: 0px 10px;
        background: rgba(214, 121, 64, 0.676);

       
     
        padding-right: 400px;
        margin-left: -55px;
        padding-left: 60px;
        border-radius: 8px; /* Дополнительное округление углов для эстетики */
    }
    
    
    .user-details .name {
        font-size: 18px;
        color: white;
        margin-top: 5px;
        text-shadow: -1px -1px 0 var(--fon), 1px -1px 0 var(--fon), -1px 1px 0 var(--fon), 1px 1px 0 var(--fon);
        
    }
    
    .user-details .rating {
        margin-top: 5px;
        font-size: 24px;
        text-align: center;
    }
    
    .user-details .rating .star {
        
        color: gold;

    }
    
    .user-details .status {
        margin-top: 5px;
        font-size: 12px;
        color: #bbb;
    }
    
    .action-buttons {
        display: flex;
        align-items: flex-end;
    }
    
    .button-wrapper {
        display: flex;
        gap: 10px;
    }
    
    .action-button {
        width: 30px;
        height: 30px;
        background-color: rgba(0, 0, 0, 0.5);
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 4px;
        position: relative;
        cursor: pointer;
    }
    
    .action-button i {
        color: white;
        font-size: 15px;
        margin-top: 20px;
    }
    
  
    .buttons_menu_profile {
        z-index: 2;
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 30px;
        position: relative;
        border-radius: 0px 0px 6px 6px;
        align-items: center;
        border-width: 0 2px 2px;
       
        box-shadow: 0 0 10px rgb(0 0 0 / 50%);
        justify-content: center;
    }
    
    .menu-btn-p {
        padding: 10px 20px;
        font-size: 16px;
        background-color: transparent;
        border: none;
        color: #000000;
        cursor: pointer;
        position: relative;
        font-family: 'NimbusSanLBoldCond', sans-serif;
    }
    
    .menu-btn-p:hover {
        color: #D67940;
    }
    
    .menu-btn-p.active {
        color: #D67940;
    }
    
    .menu-btn-p::after {
        content: "";
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background-color: #D67940;
     
    }
    
    .menu-btn-p.active::after {
        width: 100%;
    }
    .active-line {
        position: absolute;
        bottom: 0;
        height: 2px;
        background-color: #D67940;
        transition: all 0.3s ease;
        width: 0;
    }
    /* Стили для левого меню */
    .profile-menu-blocks {
        width: 250px; /* Ширина левого меню */
        display: grid;
        gap: 10px;
        height: min-content;
        box-shadow: 0 0 10px rgb(0 0 0 / 50%);
        background-color: var(--navbar-first-color);
        padding: 15px;
        border-radius: 6px;
    }

/* Стили для контейнера справа */
/* Правый контейнер */
.container_infos {
    flex-grow: 1; /* Контейнер расширяется, занимая оставшееся пространство */
    display: flex;
    flex-direction: column;
    gap: 20px;
}


.profile-infos-data {
    border-radius: 6px;
    display: flex;
    gap: 30px;
    padding: 30px;
    box-shadow: 0 0 10px rgb(0 0 0 / 50%);
    background-color: var(--navbar-first-color);
    flex-wrap: wrap;
    align-items: center;
   
}
.menu-btn {
    padding: 10px 20px;
    font-size: 16px;
    background-color: transparent;
    border: none;
    color: black;
    cursor: pointer;
    position: relative;
    font-family: 'NimbusSanLBoldCond', sans-serif;
}

/* Стили при наведении на кнопки левого меню */
.menu-btn:hover {
    color: #D67940;
}

/* Стили для активной кнопки */
.menu-btn.active {
    color: #D67940;
}

/* Линия под активной кнопкой */
.menu-btn::after {
    content: "";
    display: block;
    position: absolute;
    bottom: -2px; /* Расстояние до нижнего края кнопки */
    left: 0;
    width: 0;
    height: 2px;
    background-color: #D67940;
    transition: width 0.3s ease, left 0.3s ease;
}

/* Ширина линии у активной кнопки */
.menu-btn.active::after {
    width: 100%;
}
.profile-content {
    display: flex;
    gap: 20px; /* Расстояние между левым меню и правым контейнером */
    align-items: flex-start; /* Выровнять по верхнему краю */
    padding-bottom: 150px;
}
.button_right_prof {
   
    display: grid;
    gap: 10px;
    height: min-content;
    padding: 15px;
    border-radius: 6px;

}

.btn_change_acc, .btn_logout_acc, .btn_delete_acc {
    width: 100%; /* Кнопки занимают всю ширину родительского контейнера */
    max-width: 800px; /* Ограничиваем максимальную ширину */
    padding: 12px 20px; /* Увеличенные отступы для удобства */
    border: none; /* Убираем стандартную границу */
    border-radius: 8px; /* Скругленные углы для мягкости */
    font-size: 18px; /* Увеличенный и удобный для чтения размер текста */
    font-family: 'NimbusSanLBoldCond', sans-serif; /* Настраиваемый шрифт */
    cursor: pointer; /* Указываем, что элемент кликабелен */
    text-align: left; /* Текст по центру */
    display: flex; /* Flexbox для удобного выравнивания */
   
    align-items: center; /* Текст по центру вертикально */
    background-color: #ffffff; /* Светлый фон кнопки */
    color: #333; /* Цвет текста */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Легкая тень для объема */
}

.btn_change_acc:hover, .btn_logout_acc:hover, .btn_delete_acc:hover {
    color: #D67940; /* Цвет при наведении */
}

.btn_delete_acc {
    color: red; /* Красный цвет текста */
   
}

.btn_delete_acc:hover {
    color: #9e3b3b; /* Цвет фона при наведении на "Удалить аккаунт" */
}
#confirmDeleteBtn {
    width: 120px; /* Кнопки будут занимать всю ширину контейнера */
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    color: red;
  font-family: 'NimbusSanLBoldCond', sans-serif;

  text-align: center;
}
#cancelDeleteBtn{
    width:120px; /* Кнопки будут занимать всю ширину контейнера */
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    color: black;
  font-family: 'NimbusSanLBoldCond', sans-serif;
 
  text-align: center;
}

#confirmDeleteBtn:hover {
    color: #9e3b3b; /* Цвет фона при наведении на "Удалить аккаунт" */
}

#cancelDeleteBtn:hover {
    color: #D67940; /* Цвет при наведении */
}
/* Стиль для модального окна */


/* Стиль для модального окна */
.modal {
    display: none; /* Скрыто по умолчанию */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    z-index: 1000; /* Уровень модального окна выше, чем у оверлея */
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: 1010; /* Уровень содержимого модального окна выше, чем у оверлея */
}
/* Стили для модального окна */
.modalbanner {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: hidden;
    backdrop-filter: blur(5px);
}

/* Стили для содержимого модального окна */
.modal-contentbanner {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 900px; /* Увеличенный размер */
    max-height: 80vh; /* Ограниченная высота */
    overflow-y: auto; /* Прокрутка внутри модального окна */
    z-index: 1001;
}

/* Стили для галереи баннеров */
.banner-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Три колонки */
    gap: 20px; /* Отступы между баннерами */
    padding: 10px;
}

/* Стили для каждого баннера */
.banner-option {
    height: 150px; /* Фиксированная высота */
    width: 100%;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s;
    border: 1px solid #555;
}

.banner-option:hover {
    transform: scale(1.05);
}

.promo-input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
}
.user-avatar-zoom {
    width: 400px; /* Размер увеличенного изображения */
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%; /* Круглая форма увеличенного изображения */
    overflow: hidden;
}

.user-avatar-zoom img {
    width: 75%;
    height: 75%;
    object-fit: cover; /* Обеспечивает обрезку изображения при необходимости */
    border-radius: 50%; /* Круглая форма увеличенного изображения */
   z-index: 1000;
}
.background-circle {
    position: absolute;
    width: 70%;
    height: 70%;
    background-color: rgba(114, 114, 114, 0.986); /* Полупрозрачный белый цвет */
    border-radius: 50%; /* Круглая форма */
   z-index: 200;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px); /* Размытие фона */
    z-index: 1000;
    
}

.close {
    position: absolute;
    top: 80px;
    left: 1270px;
    font-size: 30px;
    cursor: pointer;
    color: black;
}
.infouser_container {
    display: flex;
    padding:20px auto;
    text-align: left;
    font-size:18px;
}
/* Стиль для кнопки */
/* Стиль для кнопки */
.action-button {
    cursor: pointer;
    display: flex;
    align-items: center;
    position: relative;
}


.custom-file-upload {
    display: inline-block;
    padding: 12px 24px;
    cursor: pointer;
    background-color: #007bff;
    color: #fff;
    border-radius: 6px;
    text-align: center;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}
.custom-file-upload:hover {
    background-color: #0056b3;
}
/* Стиль для модального окна */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    overflow: auto;
}

.modal_load_edit_cont {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    text-align: center;
    z-index: 1010;
}

/* Стили для размытия всего контента при открытом модальном окне */
body.blur {
    filter: blur(1000px);
    overflow: hidden; /* Блокируем прокрутку страницы */
    transition: filter 0.3s ease;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    z-index: 1000;
}

/* Стили для обрезки изображения */
.cropper-container {
    width: 300px;
    height: 300px;
    margin: 20px auto;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}

.cropper-container img {
    max-width: 100%;
    max-height: 100%;
}
.add_car_button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    color: black;
    font-family: 'NimbusSanLBoldCond', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
  }
  .add_car_button:hover {
   color:#D67940
  }
  .add_car_m {
    display: none; /* Сховане за замовчуванням */
    position: fixed; /* Змінено на fixed для статичного позиціонування */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    width: 600px; /* Статична ширина */
    height: 600px; /* Статична висота (можна налаштувати) */
    text-align: center;
    z-index: 1010;
  
  }
  
  
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px); /* Размытие фона */
    z-index: 999;
    display: none;
  }
  
  .line_cont {
    margin-top: 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
  
  .action-button {
    cursor: pointer;
    display: flex;
    align-items: center;
    position: relative;
  }
  
  .action-button.active {
    background-color: #4f4f4f;
    
  }
  .icon {
    font-size: 30px;
    margin: 0 10px;
  }
  
  .tooltip {
    position: absolute;
    bottom: 25px; /* Расстояние над иконкой */
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 10;
  }
  
  .action-button:hover .tooltip {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-20px);
  }
  .line {
    position: absolute;
    top: 50%; /* Центруємо лінію по вертикалі */
    left: 0;
    right: 0; /* Лінія займе всю ширину контейнера */
    height: 2px; /* Висота лінії */
    background-color: #7f7f7f36; /* Колір лінії */
    z-index: 0; /* Поміщаємо лінію позаду кнопок */
  }
  
  .line_cont {
    position: relative; /* Робимо контейнер позиційним для правильного позиціонування лінії */
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px 0; /* Відступи для кнопок */
    z-index: 1; /* Встановлюємо вищий z-index для кнопок */
  }
  .input_mark {
    width: 50%; /* 100% ширини */
    padding: 10px;
    border: 1px solid #ccc; /* Сірий бордюр */
    border-radius: 4px; /* Закруглені кути */
  }
  #suggestionsBox {
    max-height: 150px;
    width: 50%;
    overflow-y: auto;
    border: 1px solid #ccc;
    background-color: #fff;

  }
  
  .suggestion-item {
    padding: 5px;
    cursor: pointer;
  }
  
  .suggestion-item:hover {
    background-color: #f0f0f0;
  }
  /* Убираем стрелочки */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.numbercar {
    width: 50%; /* 100% ширини */
    padding: 10px;
 
    border-radius: 4px; /* Закруглені кути */
    text-align: center;
  }
  .numbercar:hover {
  background-color: white;
  }
   /* Стили для контейнера с цветами */
   #colorContainer {
    max-height: 350px; /* Ограничение высоты для скролла */
    overflow-y: auto; /* Добавление вертикального скролла */
    border: 1px solid #fff; /* Белая рамка вокруг контейнера */
    padding: 10px;
  }

  .color-option {
    text-align: right;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    border: 1px solid transparent; /* Начальная рамка */
    transition: border 0.3s;
    padding-bottom: 5px;
  }

  .color-option:hover {
    border: 1px solid #fff; /* Белая рамка при наведении */
  }

  /* Стили для радиокнопки */
  input[type="radio"] {
    width: 20px; /* Уменьшаем размер радиокнопки */
    height: 20px; /* Уменьшаем размер радиокнопки */
    margin-right: 10px;
    cursor: pointer; /* Указываем, что это кликабельный элемент */
  }

  /* Стили для цветного кружка */
  span {
   
   
    border-radius: 50%; /* Кружок */
    margin-right: 10px; /* Отступ справа */
  }

  .number-container {
    display: flex; /* Используем flexbox для выравнивания ячеек */
    border: 1px solid #ccc; /* Рамка вокруг контейнера */
    border-radius: 5px; /* Закругленные углы */
    padding: 5px; /* Отступы внутри контейнера */
    background-color: black; /* Фон контейнера */
}

/* Стили для каждой ячейки */
.number-cell {
    flex: 1; /* Ячейки равного размера */
    margin: 2px; /* Отступы между ячейками */
    border: 1px solid #ccc; /* Рамка вокруг каждой ячейки */
    border-radius: 5px; /* Закругленные углы ячеек */
    display: flex; /* Используем flexbox для центрирования содержимого */
    align-items: center; /* Центрируем по вертикали */
    justify-content: center; /* Центрируем по горизонтали */
    height: 40px; /* Высота ячеек */
    background-color: #fff; /* Фон ячеек */
}

/* Стили для полей ввода */
.number-cell input {
    border: none; /* Убираем рамку у инпута */
    width: 100%; /* Ширина инпута на всю ячейку */
    height: 100%; /* Высота инпута на всю ячейку */
    text-align: center; /* Центрируем текст */
    font-size: 18px; /* Размер шрифта */
    outline: none; /* Убираем обводку при фокусе */
}

/* Стили для ячейки при наведении */
.number-cell:hover {
    border: 1px solid #D67940; /* Цвет рамки при наведении */
}

/* Контейнер для изображения с номерами */
.plate-container {
    position: relative;
    width: 600px;
    height: 130px;
    background-image: url('img/uanumber.png'); /* Путь к вашему изображению номерного знака */
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    z-index: 2000; /* Z-index для изображения */
}

/* Стили для строки номеров */
.plate-numbers {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: move;
    z-index: 2100; /* Z-index для цифр */
}

/* Стили для отображения цифр на изображении */
.plate-number {
    font-size: 82px;
    font-family: 'Arial', sans-serif;
    color: black;
    width: 30px;
    text-align: center;
    padding: 15px;
}

.caraddcont {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
  }
  
  .image-frame {
    position: relative;
    width: 800px;  /* Фиксированная ширина 800px */
    height: 300px;  /* Фиксированная высота 300px */
   
    overflow: hidden;  /* Скрывает выходящие за пределы рамки части изображения */
  }
  
  .image-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;  /* Масштабирует изображение, сохраняя пропорции и вписывая его в рамку */
    display: block;
    cursor: pointer;
  }
  
  
  .image-frame:hover {
    border-color: #999; /* Изменение цвета рамки при наведении */
  }
  .plus-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);  /* Центрирование плюса */
    font-size: 60px;
    font-weight: bold;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);  /* Полупрозрачный черный фон */
    border-radius: 20%;  /* Круглая форма фона */
    padding: 20px;  /* Пространство вокруг плюса */
    cursor: pointer;
    pointer-events: none;  /* Плюс не должен блокировать события */
  }
  
  .image-frame:hover .plus-icon {
    pointer-events: auto;  /* Включаем кликабельность при наведении на контейнер */
  }
  .plus-icon:hover {
    background-color: #99999940;
  }

  #current-year {
    margin-left: 3px;
    font-size: 16px;
    color: #000;
  }
  .color-option {
    display: flex;
    align-items: center;
    margin-bottom: 10px; /* Відступ між рядками */
  }
  
  .color-option label {
    display: flex;
    align-items: center;
  }
  
  .color-option span {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 10px; /* Відступ між кружком і назвою кольору */
    border: 1px solid #0000001a; /* Обведення кружка для кращої видимості */
  }
  
  .label_car {
    flex: 1;
    display: flex;
    padding: 10px;
    align-items: center;
    font-size: 14px;
    justify-content: center;
}
.pulsing-circle {
    position: absolute;
    top: -5px; /* Розташування над кнопкою */
    right: -5px; /* Розташування праворуч від кнопки */
    width: 10px;
    height: 10px;
    background-color: red;
    border-radius: 50%;
    animation: pulse 1.5s infinite ease-in-out;
    pointer-events: none; /* Щоб кружок не заважав клікам */
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.5);
    }
    100% {
        transform: scale(1);
    }
}
.hidden {
    display: none;
}
/* Стиль для дзвіночка за замовчуванням */
.bell-icon {
    color: black; /* Чорний колір за замовчуванням */
    
}

/* Зміна кольору на оранжевий при наведенні */
.bell-icon:hover {
    color: #D67940; /* Оранжевий колір */
}


.messages i {
    color: #D67940;
    cursor: pointer;
}


.notification-popup {
    display: none;
    position: absolute;
    top: 50px;
    right: 0;
    width: 300px;
    background-color: #fff;
    border: 1px solid rgba(128, 128, 128, 0.3);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    z-index: 1000;
    font-weight: bold;
    overflow: hidden;
}

.editmessages {
    padding: 10px;
    background-color: #f5f5f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(128, 128, 128, 0.3);
}

.close-icon {
    color: #ff0000;
    cursor: pointer;
}

/* Оформление уведомлений */
.notification-content {
    max-height: 400px; /* Максимальная высота для прокрутки */
    overflow-y: auto; /* Включаем вертикальную прокрутку */
}

.notification-message {
    padding: 15px;
  
    background-color: #ffffff;
   height: 300px;
    box-shadow: 0px 4px 8px rgba(0.1, 0.1, 0.1, 0.1);
    display: flex;
    flex-direction: column;
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
    position: relative;
}


.notification-timestamp {
    font-size: 11px; /* Увеличен шрифт для улучшенной видимости */
    color: #555; /* Более темный цвет для улучшенной читаемости */
    text-align: right;
    margin-top: 8px;
    font-weight: bold; /* Полужирный шрифт для выделения */
   
}


.no-notifications {
    text-align: center; /* Центрируем текст */
    border:none;
    box-shadow: none;
    justify-content: center;
}





@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.messages {
    position: relative;
  
    cursor: pointer;
}

.notification-popup.show {
    display: block;
    
}

.notification-popup {
    display: none;
    /* Добавьте стили для всплывающего уведомления */
  }
  .clear-messages-button {
    background-color: transparent; /* Прозрачный фон */
    color: #D67940; /* Оранжевый цвет текста */
    border: 2px solid #D67940; /* Оранжевая рамка */
    border-radius:  0px 0px 5px 5px; /* Скругленные углы */
    padding: 8px 16px; /* Отступы внутри кнопки */
    font-size: 12px; /* Размер текста */
    font-weight: bold; /* Жирный текст */
    cursor: pointer; /* Курсор при наведении */
    transition: background-color 0.3s, color 0.3s; /* Плавный переход для фона и цвета текста */
    width: 100%;
}

.clear-messages-button:hover {
    background-color: #D67940; /* Оранжевый фон при наведении */
    color: white; /* Белый текст при наведении */
}
.notification-count {
    position: absolute;
    top: -5px; /* Регулируйте по необходимости */
    right: -13px; /* Регулируйте по необходимости */
    background-color: red;
    color: white;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    animation: pulse 1.5s infinite ease-in-out;
}


/* Устанавливаем максимальную ширину для текста "9+" */
.notification-count::after {
    content: attr(data-count);
}

.delete-button {
    background-color: #ff0000;
    color: #fff;
    border: none;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 4px;
    cursor: pointer;
    position: absolute;
    top: 5px;
    right: 5px;
}
.reviews-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    background-color: var(--navbar-first-color); /* Использует переменную для цвета */
    width: 95%;
    margin: 20px auto;
}

.reviews-title {
    font-size: 1.5em;
    color: #333;
    margin: 0;
    text-align: left;
}

.review-field {
    padding: 20px;
   text-align: center;
    border-radius: 6px;
    background-color: #fff;
    color: #666;
    font-size: 1em;
}

.divider_rew {
    border-bottom: 1px solid #666;
    width: 70%;
   
    margin-left: auto;
    margin-right: auto;
  
}
.input-label {
    display: block;
    text-align: center;
    font-weight: bold;
    margin-bottom: 5px;
}

/* Стиль для прямоугольника загрузки файла */
.file-upload-box {
    width: 150px;
    height: 120px;
    border: 2px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    margin: 0 auto;
    border-radius: 5px;
}

.file-upload-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.plus_form {
    font-size: 36px;
    color: #9a9a9a;
}

/* Стиль для кнопки Зберегти */
.save-button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    text-align: center;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.save-button:hover {
    background-color: #0056b3;
}

/* Стиль для добавленного автомобиля */
.car-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    margin-top: 10px;
    border: 3px solid #D67940;
    border-radius: 6px;
    background-color: #f9f9f9;
    justify-content: center;
}

.car-color-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.car-icon {
    cursor: pointer;
    font-size: 12px;
    color: #555;
}

/* Ползунок для скролла в списке подсказок */
.suggestions-container {
    max-height: 150px;
    overflow-y: auto;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    position: relative;
    z-index: 100;
}

.suggestion-item {
    padding: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.suggestion-item:hover {
    background-color: #f0f0f0;
}
.year-select {
    width: 50%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    margin-top: 5px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.label-year {
    text-align: center;
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

/* Стиль для кнопки Зберегти авто */
.save_button_car {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    text-align: center;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.save_button_car:hover {
    background-color: #0056b3;
}

/* Стиль для иконок карандаша и мусорки */
.car-icon {
    cursor: pointer;
    font-size: 10px;
    width: 10px;
    height: 10px;
    color: #555;
    margin-left: 5px;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.controls {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
}
#avatarPreview {
    max-width: 100%;
    display: block;
    margin: auto;
}
.button_edits {
    display: flex;
    justify-content: space-around;
    width: 320px; /* Ширина немного больше холста */
    margin: 10px auto 0; /* Центрируем кнопки под холстом */
    padding: 0 20px;
    position: relative;
    top: -20px; /* Подвигаем кнопки вверх, чтобы они располагались ближе к холсту */
}

.edits-button {
    background-color:#D67940; /* Оранжевый цвет фона */
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.edits-button:hover {
    background-color: darkorange; /* Более темный оранжевый при наведении */
}
#map { height: 300px; margin-top: 10px; }
.step-container { display: none; }
.step-container.active { display: block; }
ul {
    list-style: none;
    padding: 0;
    margin: 0 auto; /* Центрирует ul по горизонтали */
    width: 500px; /* Задаёт фиксированную ширину списка */
  }
  
  li {
    cursor: pointer;
    padding: 10px; /* Увеличен padding для удобства выбора */
    border: 1px solid #ddd;
    text-align: center;
    margin-bottom: 5px; /* Добавляем небольшой отступ между элементами */
    background-color: #fff; /* Добавляем фон для элементов */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Лёгкая тень для визуальной отделённости */
  }
  
  li:hover {
    background-color: #f0f0f0;
  }
  #mapStart, #mapDestination {
    width: 80%;               /* Увеличенный размер */
    max-width: 900px;         /* Ограничение максимальной ширины */
    height: 500px;            /* Увеличенная высота */
    margin: 10px auto;        /* Центрирование по горизонтали */
    border: 1px solid #ddd;   /* Рамка для визуализации */
    border-radius: 8px;       /* Скругленные углы */
}

  .notification.success {
    background-color: #28a745;
}

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

.notification.warning {
    background-color: #ffc107;
}
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px;
    border-radius: 5px;
    color: #fff;
    font-weight: bold;
    opacity: 0.9;
    z-index: 1000;
    transition: opacity 0.5s ease;
}
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.page-button {
    cursor: pointer;
    padding: 10px;
    margin: 0 5px;
    background-color: #007BFF;
    border-radius: 50%;
    font-weight: bold;
    transition: background-color 0.3s;
}

.page-button:hover {
    background-color: #0056b3;
    color: #fff;
}
.promo-message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
    display: none;
}

.promo-message.success {
    color: #fff;
    background-color: #28a745;
}

.promo-message.warning {
    color: #856404;
    background-color: #ffc107;
}

.promo-message.error {
    color: #721c24;
    background-color: #f8d7da;
}
.button_next_drive {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 4px;
    transition: background-color 0.2s ease-in-out;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width:500px;
}
.button_back_drive {
    display: inline-block;
    padding: 10px 20px;
    background-color: #666;
    color: #fff;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 4px;
    transition: background-color 0.2s ease-in-out;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width:200px;
}
#mapEnd{
    width: 80%;               /* Увеличенный размер */
    max-width: 900px;         /* Ограничение максимальной ширины */
    height: 500px;            /* Увеличенная высота */
    margin: 10px auto;        /* Центрирование по горизонтали */
    border: 1px solid #ddd;   /* Рамка для визуализации */
    border-radius: 8px;       /* Скругленные углы */
}
.achievement-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    justify-content: space-between;
}

.achievement-box {
    flex: 1 1 calc(30% - 20px);
    border-radius: 6px;
    display: flex;
    gap: 15px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    align-items: center;
    max-width: 300px;
    min-width: 200px;
    margin: 10px 0;
}

.achievement-text {
    flex: 1;
    text-align: center;
    color:#555555;
}

.achievement-text h3 {
    margin: 0;
    font-size: 18px;
    color: black;
}

.achievement-text p {
    margin-top: 5px;
    font-size: 12px;
    color: black;
}

.vertical-line {
    width: 2px;
    background-color: #ccc;
    height: 60%;
}

.icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-container i {
    font-size: 24px;
    color: #D67940; /* Цвет иконки */
  
}
.car-star {
    color: gray;
    cursor: pointer;
    transition: color 0.3s ease;
    width: 20px;
    height: 20px;
    display: inline-block;
    text-align: center;
   
}

.car-star.active-star {
    color: gold; /* Золотой цвет для активной звезды */
}

.car-item {
    position: relative; /* Контейнер должен быть с относительным позиционированием */
}

.car-item:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-15px);
}
.tooltip-container {
    position: relative;
    display: inline-block;
}

.tooltip_edits {
    position: absolute;
    bottom: 25px; /* Расстояние над иконкой */
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 10;
}

/* Отображение тултипа только при наведении на контейнер */
.tooltip-container:hover .tooltip_edits {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-20px);
}
.car-item_edits{
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    margin-top: 10px;
 
    border-radius: 6px;
    background-color: #f9f9f9;
    justify-content: center;
}


/* Слайдер */
.car-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
}

.slider-content {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    justify-content: center;
    gap: 30px;
    overflow: visible; /* Позволяет элементам выходить за границы */
}


.car-info-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    overflow: hidden;
    transition: transform 0.3s;
}

.car-info-card:hover {
    transform: translateY(-10px);
}

.car-info-header {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eaeaea;
}

.car-info-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
    cursor: pointer;
}

.car-info-brand h3 {
    margin: 0;
    font-size: 20px;
    color: #333;
}

.car-info-brand p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.car-info-details {
    padding: 15px;
}

.car-info-details p {
    margin: 10px 0;
    font-size: 14px;
    color: #555;
}

.car-info-images {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    justify-content: center;
}

.car-info-images img {
    width: 60px;
    height: 60px;
    border-radius: 5px;
    object-fit: cover;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.car-info-images img:hover {
    transform: scale(1.1);
}

.main-car-label {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    background-color: #ffcc00;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    border-radius: 20px;
    text-transform: uppercase;
    text-align: center;
}
.main-car-label-no {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    background-color: #666;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    border-radius: 20px;
    text-transform: uppercase;
    text-align: center;
}

/* Слайдер кнопки */
.slider-btn-car {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: black; /* Цвет иконки */
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 100;
    background: none; /* Убираем фон */
    box-shadow: none; /* Убираем тень */
    padding: 0; /* Убираем внутренние отступы */
}

.prev-btn-car {
    left: 50px;
}

.next-btn-car {
    right: 50px;
}


/* Модальное окно */
/* Модальное окно */
.modal_car_zoom {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal_car_zoom-content {
    width: 80%; /* Устанавливаем фиксированную ширину */
    height: 80%; /* Устанавливаем фиксированную высоту */
    object-fit: contain; /* Сохраняем пропорции изображения */
    border-radius: 10px;
    
}




.modal_car_zoom.open {
    display: flex;
}
  /* Стили для анимации */
  .animation-container {
    position: relative;
    width: 500px;
    height: 200px;
    margin-top: 20px; /* Отступ между текстом и анимацией */
    overflow: hidden;
    background-color: #ffffff;
}

.anim_line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #5d5e5f, #b0b1b2);
    transform: translateY(-50%);
}

.anim_car {
    position: absolute;
    top: 35%;
    left: 0;
    transform: translate(-50%, -50%);
    font-size: 64px;
    color: #D67940;
    animation: moveCar 4s ease-in-out infinite;
}

@keyframes moveCar {
    0% {
        left: 7%; /* Начало с небольшим отступом от левого края */
        transform: translate(-50%, -50%) rotateY(0deg);
    }
    50% {
        left: 95%; /* Машина не доезжает до правого края */
        transform: translate(-50%, -50%) rotateY(0deg);
    }
    50.01% {
        transform: translate(-50%, -50%) rotateY(180deg); /* Разворот машины */
    }
    100% {
        left: 5%; /* Завершение с небольшим отступом от левого края */
        transform: translate(-50%, -50%) rotateY(180deg);
    }
}


/* Дымовые элементы */
.smoke {
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(93, 94, 95, 0.7); /* Цвет дыма с прозрачностью */
    border-radius: 50%;
    opacity: 0;
    animation: smokeTrail 2s ease-out infinite;
    pointer-events: none;
}

/* Анимация движения дыма */
@keyframes smokeTrail {
    0% {
        opacity: 0.7;
        transform: translate(0, 0) scale(0.5);
    }
    50% {
        opacity: 0.4;
        transform: translate(-20px, -30px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50px, -70px) scale(1.5);
    }
}
.no-cars-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 200px; /* Общая высота */
}

.no-cars-message {
    margin-top: 10px; /* Отступ сверху */
    font-size: 18px;
    color: #555;
    text-align: center;
}

/* Основной контейнер */
.single_column {
    font-size: 16px;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
  
   
  
}

/* Стили для абзацев */
.single_column p {
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

/* Последний элемент без линии */
.single_column p:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Выделение заголовков */
.single_column strong {
    color: #000;
    font-weight: bold;
    font-size: 18px;
}

/* Текст справа */
.single_column span {
    color: #555;
    font-style: normal;
    text-align: right;
    font-size: 18px;
}

.single_column i {
    color: #D67940;
    font-size: 18px;
    margin-right: 10px;
    flex-shrink: 0;
}
#about-me-input {
    border:none;
    box-shadow: none;
}
#about-me-text {
    display: block; /* Делаем текст блочным для растягивания */
    width: 100%; /* Занимает всю ширину контейнера */
    text-align: justify; /* Выравнивание текста по ширине */
    font-size: 18px; /* Размер текста */
    line-height: 1.4; /* Более компактный межстрочный интервал */
    padding: 10px; /* Внутренние отступы */
    word-break: break-word; /* Перенос длинных слов */
    white-space: pre-wrap; /* Сохраняем ручные переносы строк */
    hyphens: auto; /* Автоматический перенос слов */
    max-width: 600px; /* Ограничиваем максимальную ширину текста */
    margin: 0 auto; /* Центрируем текстовый блок */
}

#about-me-text::after {
    content: ''; /* Пустое содержимое */
    display: inline-block;
    width: 2px;
    height: 1em;
    background-color: #555555;
    margin-left: 5px;
    animation: blink 0.6s steps(2, start) infinite; /* Анимация мигания */
    position: absolute;
}

/* Анимация мигания */
@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}
.verification-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: #ffffff; /* Более чистый цвет фона */
    border-radius: 12px; /* Более плавное скругление */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1); /* Более мягкая тень */
    flex: 1; /* Чтобы контейнеры растягивались равномерно */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.verification-container:hover {
    transform: translateY(-5px); /* Лёгкий подъем при наведении */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); /* Усиленная тень при наведении */
}

.email-container {
    display: flex;
    flex-direction: column;
    gap: 8px; /* Более компактное расстояние */
}

.verify-button {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px; /* Более современное скругление */
    padding: 12px 24px; /* Увеличенный размер кнопки */
    font-size: 16px;
    font-weight: bold; /* Подчеркнутый текст */
    cursor: pointer;
 
    text-transform: uppercase; /* Преобразование текста в верхний регистр */
}

.verify-button:hover {
    background-color: #0056b3;

}

#email-status {
    font-size: 20px; /* Размер иконки */
    color: #ff4d4f; /* Красный цвет по умолчанию */
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Стиль для спиннера */
#email-status.fa-spinner {
    color: #007bff; /* Синий цвет для процесса изменения */
}

/* Подтверждение */
#email-status.fa-check {
    color: #52c41a; /* Зеленый для подтверждения */
    transform: scale(1.1); /* Эффект увеличения */
}

/* Ошибка */
#email-status.fa-xmark {
    color: #ff4d4f; /* Красный для ошибки */
}


.verify-button:active {
    transform: scale(0.95); /* Эффект нажатия */
    background-color: #004080; /* Темный синий при клике */
}
.verify-button:disabled {
    background-color: #d6d6d6;
    color: #777;
    cursor: not-allowed;
}
.span_email {
    text-align: center; /* Выравнивание текста по центру */
    font-size: 18px; /* Размер шрифта */
    color: #555555; /* Цвет текста */
  
    margin: 10px 0; /* Отступы сверху и снизу для визуальной гармонии */
    line-height: 1.6; /* Межстрочный интервал для улучшения читаемости */
}


.change-email-button:disabled {
    background-color: #999;
    cursor: not-allowed;
}

.change-email-button,
.change-phone-button {
    background-color: #D67940;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.change-email-button:hover,
.change-phone-button:hover {
    background-color: #e3732e;
}

#email-timer, #phone-timer {
    font-size: 12px;
    color: #555555;
    margin-top: 10px;
}

.change-email-button {
    background-color: #D67940;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.change-email-button:hover:enabled {
    background-color: #e3732e;
}

.phone-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    
}

.span_phone {
    font-size: 16px;
    color: #555555;
    font-weight: bold;
}
.verification-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 10px; /* Уменьшенное расстояние между контейнерами */
    margin: 20px auto;
    max-width: 800px; /* Ограничиваем ширину всего блока */
}



.email-verification .span_email,
.phone-verification .span_phone {
    font-size: 16px;
    color: #555555;
    font-weight: bold;
}
.input_phone {
    width: 200px;
    height: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
    font-family: Arial, sans-serif;
    margin:10px 0;
}

.input_phone:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}


.input_phone:hover {
    background-color: transparent; /* Фон остается прозрачным */
    color: inherit; /* Цвет текста не меняется */
    border-color: inherit; /* Цвет границы не меняется */
}
.social-verify-button {
    display: inline-flex;
    align-items: center;
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    margin-right: 10px;
    transition: background-color 0.3s;
    margin: 10px 0;
    width: 250px;
}

.social-verify-button i {
    margin-right: 8px;
}

#verify-telegram-button {
    background-color: #0088cc; /* Цвет Telegram */
}

#verify-viber-button {
    background-color: #7360f2; /* Цвет Viber */
}

.social-verify-button:hover {
    opacity: 0.9;
}
#phone-status {
    font-size: 20px; /* Уменьшает размер значка */
    margin-left: 5px; /* Уменьшает отступ */
}
#phone-verified-message {
    font-size: 16px;
    font-weight: bold;
    color: green;
    text-align: center;
    margin-top: 20px;
}
.verified-button {
    background-color: #D6D6D6;
    color: #777777;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    cursor: not-allowed; /* Указатель недоступности */
    display: inline-block;
    text-align: center;
    width: auto;
    text-transform: uppercase; /* Все буквы заглавные */
}

.change_number_button {
    background-color: #D67940; /* Светло-серый фон */
    color: #ffffff; /* Тёмно-серый текст */
  border:none;
    border-radius: 5px; /* Сглаженные углы */
    padding: 12px 24px; /* Пространство внутри кнопки */
    font-size: 14px; /* Размер текста */
    font-weight: bold; /* Жирный текст */
    cursor: pointer; /* Указатель мыши */
    text-transform: uppercase; /* Все буквы заглавные */
    display: inline-block;
    margin: 10px auto; /* Центрирование и отступ */
    text-align: center;
}

.change_number_button:hover {
    background-color: #e3732e; /* Цвет при наведении */
    color: #ffffff; /* Более тёмный текст при наведении */
}
.icon-wrapper {
    position: relative;
    display: inline-block;
    width: 40px; /* Размер белого круга */
    height: 40px;
}

.icon-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 40px; /* Диаметр белого круга */
    height: 40px;
    background-color: #ffffff; /* Белый цвет */
    border-radius: 50%; /* Делаем круг */
    z-index: -1; /* Круг под иконкой */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Лёгкая тень для объёма */
}

#user-confirmed-icon {
    position: relative;
    font-size: 20px; /* Размер иконки */
    color: #007bff; /* Синий цвет для иконки */
    display: none; /* По умолчанию скрыта */
    margin-left: 10px; /* Сместить немного */
    margin-top: 10px;
}
/********************************ПОМИЛКИ**************************************************/
.error-container {
    display: none; /* Скрываем контейнер по умолчанию */
    background-color: rgba(255, 255, 255, 0.9); /* Белый фон с легкой прозрачностью */
    border: 1px solid #ccc; /* Легкая граница */
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    text-align: center;
    margin: 20px auto; /* Центрируем блок относительно страницы */
    width: 800px;
}

.error-container .error-icon {
    color: red;
    font-size: 36px;
    margin-bottom: 10px;
}

.error-container .error-simple-text {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.error-message {
    color: red;
    font-size: 16px;
    margin: 0;
}

/* Адаптация для устройств с шириной экрана до 768px */
@media (max-width: 768px) {
    .error-container {
        width: 90%; /* Уменьшаем ширину контейнера */
        padding: 12px;
        border-radius: 6px; /* Немного уменьшаем радиус */
    }

    .error-container .error-icon {
        font-size: 28px; /* Уменьшаем размер иконки */
    }

    .error-container .error-simple-text {
        font-size: 14px; /* Уменьшаем текст */
    }

    .error-message {
        font-size: 14px;
    }
}

/* Адаптация для устройств с шириной экрана до 480px */
@media (max-width: 480px) {
    .error-container {
        width: 90%; /* Почти на всю ширину экрана */
        padding: 8px;
        border-radius: 4px; /* Уменьшаем радиус границ */
    }

    .error-container .error-icon {
        font-size: 24px; /* Еще меньше размер иконки */
        margin-bottom: 5px; /* Уменьшаем отступы */
    }

    .error-container .error-simple-text {
        font-size: 12px; /* Меньше размер текста */
    }

    .error-message {
        font-size: 14px; /* Уменьшаем текст ошибки */
    }
}

/**************************************************************************************************************
/* Сповіщення про нові чат-повідомлення */
.chat-unread-alert {
    background: #fff8f0;               /* светлый фон */
    border-left: 4px solid #D67940;   /* яркий акцент слева */
    padding: 12px 16px;               /* внутренние отступы */
    margin-bottom: 20px;              /* отступ снизу */
    border-radius: 8px;               /* скругления */
    display: flex;                    /* выстраиваем по флекс */
    align-items: center;              /* выравниваем по центру по вертикали */
    gap: 12px;                        /* расстояние между иконкой и текстом */
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  }
  
  .chat-unread-alert i {
    font-size: 20px;
    color: #D67940;
    flex-shrink: 0;
  }
  
  .chat-unread-alert .notif-text {
    font-size: 15px;
    color: #333;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .chat-unread-alert .notif-text strong {
    color: #D67940;
    font-weight: 600;
  }
/* по умолчанию скрываем попап */
.notification-popup {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    width: 320px;
    max-height: 400px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 6px;
    z-index: 10;
  }
  
  /* когда нужно показать */
  .notification-popup.visible {
    display: block;
  }
  
  /* стилизуем кружок на колокольчике */
  .notification-count {
    position: absolute;
    top: -4px;
    right: -15px;
    background: #D67940;
    color: #fff;
    font-size: 10px;
    line-height: 1;
    padding: 1px 1px;
    border-radius: 50%;
  }
  .buttoncreatedrive {
    margin: 20px auto 0;
    display: block;
}
.buttongroup {
  display: flex;
    flex-direction: column;
    align-items: center; /* <-- это центрирует всё по горизонтали */
}
.button_create_trip_link.disabled {
  pointer-events: none;
  opacity: 0.6;
  cursor: not-allowed;
}
.work-of-web {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  padding: 15px;
  max-width: 300px;
  margin: 20px auto;
}

.like-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.like-btn {
  background: #f5f5f5;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  transition: all 0.3s ease;
}

.like-btn:hover {
  background: #ffe7d2;
  color: #f57c00;
}

.like-btn.active {
  background: #f57c00;
  color: #fff;
}

.like-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
