*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

html,body{
    height:100%;
}

body{
    background:#212121;
    color:#fff;
    display:flex;
    overflow:hidden;
}

/* ===========================
   Sidebar
=========================== */
/*
.sidebar{
    width:260px;
    background:#171717;
    padding:15px;
    display:flex;
    flex-direction:column;
    transition:.3s;
}
*/
/*
.sidebar{

    width:260px;
    height:100vh;
    background:#171717;

    display:flex;
    flex-direction:column;

    padding:15px;
    transition:.3s;
}
*/

.sidebar{
    width:260px;
    height:100%;

    background:#171717;

    display:flex;
    flex-direction:column;

    padding:15px;
    transition:.3s;
}
.sidebar-items{

    flex:1;

    min-height:0;      /* <-- importante sa flex layout */
    overflow-y:auto;
    overflow-x:hidden;

}

.logo{
    font-size:22px;
    font-weight:bold;
    margin-bottom:20px;
}

.new-chat{
    background:#2f2f2f;
    border-radius:8px;
    padding:12px;
    text-align:center;
    cursor:pointer;
    margin-bottom:20px;
}

.chat-item{
    padding:10px;
    border-radius:8px;
    margin-bottom:1px;
    color:#ccc;
    cursor:pointer;
}

.chat-item:hover{
    background:#2b2b2b;
}

/* ===========================
   Main
=========================== */

.main{
    flex:1;
    display:flex;
    flex-direction:column;
    min-width:0;
}

/* ===========================
   Header
=========================== */

.header{
    height:60px;
    border-bottom:1px solid #333;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 20px;
    flex-shrink:0;
}

.left-header{
    display:flex;
    align-items:center;
    gap:12px;
}

.menu-btn{
    display:none;
    background:none;
    border:none;
    color:#fff;
    font-size:24px;
    cursor:pointer;
}

.profile{
    background:#2f2f2f;
    padding:8px 15px;
    border-radius:20px;
}

/* ===========================
   Chat Area
=========================== */
/*
.chat-area{
    flex:1;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:20px;
}
*/
.chat-area{
    flex:1;
    overflow-y:auto;
    padding:30px;
    display:flex;
    flex-direction:column;
}

.welcome{
    margin:auto;
    text-align:center;
}

.user-message{

    align-self:flex-end;

    background:#10a37f;

    color:#fff;

    padding:12px 16px;

    border-radius:18px;

    max-width:75%;

    margin:8px 0;

    word-break:break-word;

}

.chat-area h1{
    font-size:42px;
    margin-bottom:15px;
}

.chat-area p{
    color:#aaa;
}

.bot-message{

    align-self:flex-start;

    background:#2f2f2f;

    color:#fff;

    padding:12px 16px;

    border-radius:18px;

    max-width:75%;

    margin:8px 0;

    word-break:break-word;

}

.bot-message a{

    color:#7dd3fc;

    text-decoration:underline;

}

.bot-message a:hover{

    color:#bae6fd;

}

/* ===========================
   Input
=========================== */

.input-area{
    padding:20px;
    flex-shrink:0;
}

.input-box{
    background:#2f2f2f;
    border-radius:16px;
    display:flex;
    align-items:center;
    padding:10px;
}

.input-box input{
    flex:1;
    background:none;
    border:none;
    outline:none;
    color:#fff;
    font-size:16px;
}

.input-box button{
    background:#10a37f;
    color:#fff;
    border:none;
    padding:10px 18px;
    border-radius:10px;
    cursor:pointer;
}

.profile-wrapper{
    position:relative;
    display:inline-block;
}

.profile{
    cursor:pointer;
}

.profile-dropdown{

    display:none !important;

    position:absolute;

    top:calc(100% + 8px);
    right:0;

    min-width:220px;

    background:#fff;

    border-radius:12px;

    box-shadow:0 10px 25px rgba(0,0,0,.15);

    z-index:9999;

}

.profile-dropdown.show{
    display:block !important;
}

.profile-dropdown a{

    display:block;

    padding:12px 16px;

    color:#333;

    text-decoration:none;

}

/* ===========================
   Floating AYA Button
=========================== */

.aya-floating-btn{

    position:fixed;

    right:20px;
    bottom:90px;

    width:70px;
    height:36px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:#2f2f2f;

    color:#fff;

    text-decoration:none;

    font-size:13px;
    font-weight:600;

    border:1px solid #555;
    border-radius:50px;

    z-index:9999;

    transition:.25s;

    user-select:none;

}

.aya-floating-btn:hover{

    background:#10a37f;
    border-color:#10a37f;

    transform:translateY(-2px);

}

@media(max-width:768px){

    .aya-floating-btn{

        right:15px;
        bottom:85px;

        width:70px;
        height:34px;

        font-size:12px;

    }

}

/* ===========================
   Overlay
=========================== */

.overlay{
    display:none;
}

/* ===========================
   Mobile
=========================== */

@media (max-width:768px){

    .menu-btn{
        display:block;
    }

    .sidebar{
        position:fixed;
        top:0;
        left:-260px;
        height:100%;
        z-index:1000;
    }

    .sidebar.show{
        left:0;
    }

    .overlay.show{
        display:block;
        position:fixed;
        inset:0;
        background:rgba(0,0,0,.5);
        z-index:999;
    }

    .header{
        padding:0 15px;
    }

    .profile{
        padding:6px 12px;
        font-size:14px;
    }

    .chat-area h1{
        font-size:34px;
    }

    .input-area{
        padding:15px;
    }

}

.logo{
    text-align:center;
    padding:20px;
}

.round-logo-wrap{
    width:80px;
    height:80px;
    margin:0 auto 10px;

    border-radius:50%;
    overflow:hidden;

    border:3px solid #fff;
}

.round-logo{
    display:block;

    width:100%;
    height:100%;

    object-fit:cover;
}

.company-logo{
    display:block;
    margin:0 auto 10px;

    width:160px;
    height:70px;

    object-fit:contain;
}
.company-title{

    font-size:18px;
    font-weight:bold;
    color:#fff;
    text-align:center;
    line-height:1.3;

}