:root {
    --black1: rgb(40, 40, 40);
    --black2: #6a6a6a;
    --black3: #6a6a6a;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-size: 16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: 100vh;
    overflow: hidden;
}

.wrapper {
    height: 100vh;
    width: 100%;
    display: flex;
    background-color: rgb(237, 237, 237);
}

.nav {
    background-color: #ffffff;
    padding: 20px;
    box-shadow: 5px 0 15px 0px rgba(91, 91, 91, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 260px;
}

#google-auth-container {
    position: absolute;
    top: 10px;
    right: 20px;
    /*    width: 50px;
    height: 50px;
    border: solid 1px #dcdcdc;
    border-radius: 50%;
    padding: 10px;
    background-color: white;
    cursor: pointer; */
}

#google-signin-btn {
    border: none;
    /* border-radius: 50%; */
    width: 100%;
    cursor: pointer;
}

/*
#google-signin-btn img{
    border-radius: 50%;
    width: 100%;
} */

#start-message {
    text-align: center;
}

.footer p {
    color: #7c7c7c;
    font-size: 14px;
    cursor: pointer;
    margin: 5px 0;
}

.copy-block {
    display: flex;

    margin: 0 200px;
    padding: 20px 0;
    color: #7c7c7c;
    justify-content: space-between;
}

.menu {
    flex-grow: 1;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 20px;
    margin: 30px 0;
    text-align: center;
    color: #636363;
    font-weight: 500;
}

.menu li {
    cursor: pointer;
    transition: 0.5s;
}

.menu li:hover {
    color: #8d5ba4;
}



.logo {
    max-width: 100%;
    display: flex;
    justify-content: center;
}

.logo img {
    width: 180px;
}

.container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

h1 {
    text-align: center;
    margin: 20px 0;
    flex-shrink: 0;
    font-weight: 300;
    font-size: 2rem;
    color: #5a2d7a;
}

.loading {
    font-weight: 500;
    font-size: 16px;
}

.dialog-content {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 150px);
    width: 100%;
    position: relative;

}

.page-content {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 150px);
    width: 100%;
    position: relative;
    padding: 30px 200px;
    overflow-y: auto;

}

.page-price {
    padding: 30px 100px;
}



.page-history,
.page-reviews,
.page-tips,
.page-contacts {
    padding-top: 0;
}

.page-contacts {
    padding: 0 50px;
}

.page-text h2 {
    margin: 20px 0;
}

.page-text p {
    margin: 15px 0;
    line-height: 130%;
}


.input-block {
    height: 60px;
    padding: 10px 10px 10px 25px;
    border: solid 1px #d5d5d5;
    display: flex;
    border-radius: 10px;
    background-color: white;
    margin: 0 200px 20px;
    position: relative;
    flex-shrink: 0;
}

.input-block::before {
    content: 'Осталось 3 вопроса';
    position: absolute;
    top: -18px;
    right: 10px;
    color: #b3b3b3;
    font-size: 12px;

}

.input::placeholder {
    font-size: 16px;
}

.input:focus::placeholder {
    color: white;
}

.input {
    flex: 1;
    outline: none;
    border: none;
    font-size: 16px;
}

.btn {
    padding: 10px;
    border-radius: 8px;
    background-color: rgb(249, 249, 249);
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    outline: none;
    cursor: pointer;
}

.btn:hover {
    background-color: rgb(120, 21, 212);
    transition: 0.5s;
}

.send-img {
    width: 30px;
    height: 30px;
}

h4 {
    font-weight: 400;
    font-size: 16px;
}

.output {
    flex: 1;
    overflow-y: auto;
    padding: 20px 200px;
    margin-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
    scroll-behavior: smooth;
    /* Добавляем плавный скролл */

}

.output::-webkit-scrollbar {
    width: 8px;
}

.output::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.output::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.output::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.output p {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    margin-bottom: 16px;
    line-height: 1.6;
    font-size: 1.05rem;
}

.output p.fade-in {
    opacity: 1 !important;
    transform: translateY(0);
}

.d-none {
    display: none;
}

.messageUser {
    background-color: #ffffff;
    padding: 12px 18px;
    border-radius: 30px;
    color: rgb(0, 0, 0);
    line-height: 100%;
    max-width: 75%;
    margin: 15px 0;
}

.message-wrapper {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.star {
    display: inline-block;
    animation: twinkle 2s infinite;
    font-size: 10px;
}

.countQwest {
    margin-bottom: 10px;
    color: #a0a0a0;
}

.star:nth-child(1) {
    animation-delay: 0s;
}

.star:nth-child(2) {
    animation-delay: 0.4s;
}

.star:nth-child(3) {
    animation-delay: 0.8s;
}

@keyframes twinkle {
    0% {
        opacity: 0.2;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }

    100% {
        opacity: 0.2;
        transform: scale(0.8);
    }
}

/* Лучше сделать более специфичным */
.menu li.active {
    color: #8d5ba4;
    font-weight: 700;
}



.cookie-consent {
    position: fixed;
    bottom: -200px;
    /* Начальное положение за пределами экрана */
    right: 0;
    left: 0;
    text-align: center;
    
    background: #ffffff;
    color: #333;
    height: auto;
    padding: 20px 30px;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    z-index: 100000000001;
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);
    transition: bottom 1s ease-out;
}

.cookie-consent.show {
    bottom: 0px;
    /* Конечное положение */
}

.cookie-text {
    margin-right: 20px;
    font-size: 16px;
}

.cookie-link {
    color: #5a2d7a;
}

.cookie-link:hover {
    color: #3d1d54;
}


.cookie-btn {
    border: solid 2px #5a2d7a;
    background: white;
    color: #5a2d7a;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.5s ease all;
}

.cookie-btn:hover {
    background: #5a2d7a;
    color: white;
}

@media(max-width: 768px){
    .cookie-consent{
        display: none !important;
    }
}

.personal, .personal a{
    color: #7c7c7c !important;
}
.personal{
    margin-bottom: 20px;
}