/* ==========================================
   OMGoracle AI Chat
   Part 4
========================================== */

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
}

body{
background:#eef5ff;
color:#222;
overflow-x:hidden;
}

.container{
display:flex;
width:100%;
min-height:100vh;
}

/* =========================
SIDEBAR
========================= */

.sidebar{
width:280px;
background:#0d6efd;
color:#fff;
padding:30px 20px;
display:flex;
flex-direction:column;
position:fixed;
left:0;
top:0;
bottom:0;
overflow-y:auto;
}

.logo h2{
font-size:28px;
margin-bottom:8px;
}

.logo p{
font-size:14px;
opacity:.9;
margin-bottom:30px;
}

.new-chat{
width:100%;
padding:14px;
border:none;
border-radius:12px;
background:#ffffff;
color:#0d6efd;
font-size:16px;
font-weight:600;
cursor:pointer;
transition:.3s;
margin-bottom:25px;
}

.new-chat:hover{
transform:translateY(-3px);
}

.menu{
display:flex;
flex-direction:column;
gap:12px;
}

.menu a{
text-decoration:none;
color:#fff;
padding:14px;
border-radius:10px;
transition:.3s;
display:flex;
align-items:center;
gap:12px;
}

.menu a:hover{
background:rgba(255,255,255,.18);
}

/* =========================
CHAT AREA
========================= */

.chat-area{
margin-left:280px;
width:calc(100% - 280px);
display:flex;
flex-direction:column;
min-height:100vh;
}

.chat-header{
display:flex;
justify-content:space-between;
align-items:center;
padding:22px 30px;
background:#ffffff;
box-shadow:0 5px 15px rgba(0,0,0,.08);
position:sticky;
top:0;
z-index:100;
}

.chat-header h1{
font-size:28px;
color:#0d6efd;
}

.header-icons{
display:flex;
gap:18px;
font-size:22px;
cursor:pointer;
}

.header-icons i:hover{
color:#0d6efd;
}
/* =========================
WELCOME SCREEN
========================= */

.welcome-screen{
flex:1;
padding:40px 30px;
}

.welcome-box{
background:rgba(255,255,255,.75);
backdrop-filter:blur(15px);
border-radius:20px;
padding:35px;
box-shadow:0 10px 30px rgba(0,0,0,.08);
margin-bottom:35px;
}

.welcome-box h2{
font-size:36px;
color:#0d6efd;
margin-bottom:15px;
}

.welcome-box p{
font-size:18px;
color:#555;
line-height:1.8;
}

/* =========================
SUGGESTION CARDS
========================= */

.suggestion-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:25px;
margin-bottom:40px;
}

.suggestion-card{
background:#ffffff;
padding:30px;
border-radius:18px;
box-shadow:0 10px 25px rgba(0,0,0,.08);
transition:.35s;
cursor:pointer;
}

.suggestion-card:hover{
transform:translateY(-10px);
box-shadow:0 20px 40px rgba(13,110,253,.15);
}

.suggestion-card i{
font-size:42px;
color:#0d6efd;
margin-bottom:18px;
}

.suggestion-card h3{
font-size:24px;
margin-bottom:12px;
}

.suggestion-card p{
font-size:16px;
line-height:1.7;
color:#666;
}

/* =========================
CHAT WINDOW
========================= */

.chat-window{
background:#ffffff;
border-radius:20px;
padding:30px;
min-height:350px;
box-shadow:0 10px 25px rgba(0,0,0,.08);
overflow-y:auto;
}

.message{
display:flex;
gap:15px;
margin-bottom:25px;
align-items:flex-start;
}

.avatar{
width:55px;
height:55px;
border-radius:50%;
background:#0d6efd;
color:#fff;
display:flex;
align-items:center;
justify-content:center;
font-size:24px;
flex-shrink:0;
}

.bubble{
background:#eef5ff;
padding:20px;
border-radius:18px;
line-height:1.8;
color:#333;
flex:1;
}

.bubble ul{
margin-top:15px;
padding-left:20px;
}

.bubble li{
margin-bottom:8px;
}
/* =========================
CHAT INPUT AREA
========================= */

.chat-input-area{
padding:25px 30px;
background:#ffffff;
border-top:1px solid #e5e7eb;
position:sticky;
bottom:0;
}

.input-container{
display:flex;
align-items:center;
gap:12px;
background:#eef5ff;
padding:15px;
border-radius:18px;
box-shadow:0 5px 15px rgba(0,0,0,.05);
}

.tool-btn{
width:48px;
height:48px;
border:none;
border-radius:50%;
background:#ffffff;
color:#0d6efd;
font-size:20px;
cursor:pointer;
transition:.3s;
box-shadow:0 5px 12px rgba(0,0,0,.08);
}

.tool-btn:hover{
background:#0d6efd;
color:#ffffff;
transform:scale(1.08);
}

#chatInput{
flex:1;
border:none;
outline:none;
resize:none;
background:transparent;
font-size:16px;
min-height:45px;
max-height:140px;
padding:10px;
color:#222;
}

.send-btn{
border:none;
padding:14px 24px;
border-radius:12px;
background:#0d6efd;
color:#ffffff;
font-size:16px;
font-weight:600;
cursor:pointer;
transition:.3s;
}

.send-btn:hover{
background:#0b5ed7;
transform:translateY(-2px);
}

/* =========================
QUICK ACTION BUTTONS
========================= */

.quick-actions{
display:flex;
flex-wrap:wrap;
gap:12px;
margin-top:18px;
}

.quick-btn{
border:none;
padding:12px 20px;
border-radius:30px;
background:#eef5ff;
color:#0d6efd;
font-weight:600;
cursor:pointer;
transition:.3s;
}

.quick-btn:hover{
background:#0d6efd;
color:#ffffff;
}

/* =========================
SCROLLBAR
========================= */

::-webkit-scrollbar{
width:8px;
}

::-webkit-scrollbar-thumb{
background:#0d6efd;
border-radius:10px;
}

::-webkit-scrollbar-track{
background:#eef5ff;
}
/* =========================
TABLET RESPONSIVE
========================= */

@media (max-width:992px){

.sidebar{
width:230px;
}

.chat-area{
margin-left:230px;
width:calc(100% - 230px);
}

.chat-header h1{
font-size:24px;
}

.suggestion-grid{
grid-template-columns:1fr;
}

.welcome-box h2{
font-size:30px;
}

.input-container{
flex-wrap:wrap;
}

.send-btn{
width:100%;
}

}

/* =========================
MOBILE RESPONSIVE
========================= */

@media (max-width:768px){

.container{
flex-direction:column;
}

.sidebar{
position:fixed;
left:-280px;
top:0;
width:260px;
height:100%;
z-index:999;
transition:.35s;
}

.sidebar.active{
left:0;
}

.chat-area{
margin-left:0;
width:100%;
}

.chat-header{
padding:18px;
}

.chat-header h1{
font-size:22px;
}

.welcome-screen{
padding:20px;
}

.welcome-box{
padding:25px;
}

.welcome-box h2{
font-size:26px;
}

.chat-window{
min-height:280px;
padding:20px;
}

.message{
flex-direction:column;
}

.avatar{
width:45px;
height:45px;
font-size:20px;
}

.input-container{
padding:12px;
gap:10px;
}

.tool-btn{
width:42px;
height:42px;
font-size:18px;
}

.send-btn{
padding:12px;
font-size:15px;
}

.quick-actions{
justify-content:center;
}

.quick-btn{
font-size:14px;
padding:10px 16px;
}

}

/* =========================
SMALL MOBILE
========================= */

@media (max-width:480px){

.logo h2{
font-size:22px;
}

.logo p{
font-size:13px;
}

.chat-header h1{
font-size:18px;
}

.welcome-box h2{
font-size:22px;
}

.welcome-box p{
font-size:15px;
}

.suggestion-card{
padding:22px;
}

.bubble{
font-size:15px;
padding:16px;
}

#chatInput{
font-size:15px;
}

}