*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,
body{
    width:100%;
    min-height:100%;
    overflow-x:hidden;
    background:#fff;
    color:#111;
    font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

button{
    border:none;
    outline:none;
    cursor:pointer;
}

input{
    border:none;
    outline:none;
}


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

.site-footer{

    width:100%;

    background:#202020;

    color:#AFAFAF;

    margin-top:70px;

    font-weight:400;

}


/*=========================
TOP
=========================*/

.footer-top{

    width:100%;

    max-width:1200px;

    margin:auto;

    height:92px;

    padding:0 28px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    border-bottom:1px solid #323232;

}


/*=========================
LOGO
=========================*/

.footer-brand{

    display:flex;

    align-items:center;

}

.footer-brand img{

    width:180px;

    height:auto;

    display:block;

}


/*=========================
SOCIAL
=========================*/

.footer-social{

    display:flex;

    align-items:center;

    gap:24px;

}

.footer-social a{

    color:#D0D0D0;

    display:flex;

    align-items:center;

    justify-content:center;

}

.footer-social svg{

    width:22px;

    height:22px;

    fill:none;

    stroke:currentColor;

    stroke-width:1.8;

}


/*=========================
CONTENT
=========================*/

.footer-content{

    max-width:1200px;

    margin:auto;

    padding:36px 28px 55px;

}


/*=========================
COUNTRY
=========================*/

.footer-country{

    display:flex;

    align-items:center;

    gap:12px;

    font-size:16px;

    color:#D8D8D8;

    margin-bottom:26px;

}

.uk-flag{

    font-size:20px;

}


/*=========================
LINKS
=========================*/

.footer-links{

    display:flex;

    flex-wrap:wrap;

    gap:14px 34px;

    margin-bottom:42px;

}

.footer-links a{

    text-decoration:none;

    color:#BFBFBF;

    font-size:16px;

    font-weight:400;

}

.footer-links a:hover{

    color:#fff;

}


/*=========================
COPYRIGHT
=========================*/

.footer-copyright{

    font-size:15px;

    color:#BDBDBD;

    margin-bottom:30px;

    font-weight:400;

}


/*=========================
TEXT
=========================*/

.footer-text{

    color:#B8B8B8;

    font-size:15px;

    line-height:1.65;

    font-weight:400;

}

.footer-text p{

    margin-bottom:30px;

}

.footer-text a{

    color:#D7D7D7;

}

.footer-text a:hover{

    color:#fff;

}


/*=========================
SEO
=========================*/

.footer-seo{

    margin-top:30px;

    font-size:15px;

    line-height:1.7;

    color:#B8B8B8;

    font-weight:400;

}

.footer-seo p{

    margin-bottom:24px;

}

.footer-seo strong{

    font-weight:600;

}

.footer-seo a{

    color:#D5D5D5;

}

.footer-seo a:hover{

    color:#fff;

}


/*=========================
MOBILE
=========================*/

@media(max-width:700px){

.footer-top{

    padding:0 20px;

    height:82px;

}

.footer-brand img{

    width:100px;

}

.footer-social{

    gap:16px;

}

.footer-social svg{

    width:20px;

    height:20px;

}

.footer-content{

    padding:32px 20px 50px;

}

.footer-links{

    gap:12px 28px;

}

.footer-links a{

    font-size:15px;

}

.footer-country{

    font-size:15px;

}

.footer-text{

    font-size:15px;

}

.footer-seo{

    font-size:15px;

}

}

/*==================================
CHAT HISTORY CARDS
==================================*/

#chatHistory{

    width:100%;

    max-width:950px;

    margin:34px auto 0;

    padding:0 10px 30px;

}


/* CARD */

.chat-history-card{

    width:100%;

    background:#fff;

    border:1px solid #E6E8EC;

    border-radius:22px;

    padding:16px 18px;

    margin-bottom:14px;

    box-shadow:
    0 8px 24px rgba(0,0,0,.07);

    animation:chatCardIn .35s ease forwards;

}


.chat-history-card:hover{

    transform:translateY(-2px);

    box-shadow:
    0 18px 38px rgba(0,0,0,.12);

}



/* TITLE */

.chat-history-title{

    display:flex;

    align-items:center;

    justify-content:space-between;

    font-size:18px;

    font-weight:700;

    color:#111;

    margin-bottom:12px;

}



/* MESSAGE PREVIEW */

.chat-history-preview{

    font-size:14px;

    line-height:1.4;

    color:#666;

    background:#F8F9FB;

    border-radius:12px;

    padding:10px 12px;

    margin-bottom:12px;

    display:-webkit-box;

    -webkit-line-clamp:1;

    -webkit-box-orient:vertical;

    overflow:hidden;

}



/* TIME */

.chat-history-time{

    font-size:12px;

    color:#999;

    margin-bottom:12px;

}



/* BUTTONS */

.chat-history-actions{

    display:flex;

    gap:12px;

}


.chat-history-actions button{

    flex:1;

    height:40px;

    border-radius:13px;

    font-size:13px;

    font-weight:600;

}


.chat-history-actions button:active{

    transform:scale(.97);

}



.continue-chat-btn{

    background:#111;

    color:#fff;

}



.close-chat-btn{

    background:#F2F3F5;

    color:#111;

}



.new-chat-btn{

    width:100%;

    height:46px;

    border-radius:15px;

    background:#111;

    color:#fff;

    font-weight:600;

}



/* ANIMATION */

@keyframes chatCardIn{

from{

    opacity:0;

    transform:translateY(20px);

}

to{

    opacity:1;

    transform:translateY(0);

}

}



/* UNREAD BADGE */

.chat-unread{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-width:24px;

    height:24px;

    padding:0 8px;

    border-radius:50px;

    background:#111;

    color:#fff;

    font-size:12px;

    font-weight:700;

    animation:badgePulse 1.8s infinite;

}



@keyframes badgePulse{

0%,100%{

    transform:scale(1);

}

50%{

    transform:scale(1.08);

}

}