/* মডার্ন রিসেট ও ফন্ট */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f1f5f9;
    color: #1e293b;
}

.dashboard-container {
    display: flex;
    height: 100vh;
}

/* সাইডবার (ডিপ ডার্ক থিম) */
.sidebar {
    width: 280px;
    background: #0f172a;
    color: white;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 15px rgba(0,0,0,0.05);
    z-index: 10;
}

.logo h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: 1px;
}

.logo span {
    color: #3b82f6;
}

.nav-links {
    list-style: none;
}

.nav-links li {
    padding: 14px 18px;
    margin-bottom: 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    color: #94a3b8;
}

.nav-links li i {
    width: 25px;
    font-size: 18px;
    margin-right: 10px;
}

.nav-links li:hover {
    background: #1e293b;
    color: #fff;
    transform: translateX(5px);
}

.nav-links li.active {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.4);
}

/* প্রো ব্যাজ ডিজাইন */
.pro-tab {
    position: relative;
    border: 1px solid #334155;
}
.badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    margin-left: auto;
    letter-spacing: 1px;
}

/* মেইন কন্টেন্ট */
.main-content {
    flex: 1;
    padding: 40px 50px;
    overflow-y: auto;
    background-image: radial-gradient(#e2e8f0 1px, transparent 1px);
    background-size: 20px 20px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

header h1 {
    font-size: 28px;
    font-weight: 600;
    color: #0f172a;
}

header p {
    color: #64748b;
    font-size: 15px;
    margin-top: 5px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    background: white;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.user-profile i {
    font-size: 24px;
    color: #3b82f6;
}

/* টুল বক্স (গ্লাস বা প্রফেশনাল কার্ড ডিজাইন) */
.tool-box {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
}

.tool-box h2 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #1e293b;
}

.tool-box p {
    color: #64748b;
    margin-bottom: 25px;
    font-size: 15px;
}

/* ইনপুট ফিল্ড ও বাটন */
input, textarea, select {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s;
    background: #f8fafc;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    background: white;
}

button {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: white;
    padding: 15px 25px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

#result-box {
    margin-top: 30px;
    padding: 25px;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
    font-size: 15px;
    line-height: 1.7;
    color: #334155;
}/* চ্যাট সিস্টেমের স্পেশাল ডিজাইন */
.chat-container {
    display: flex;
    flex-direction: column;
    height: 450px;
}

#chat-display {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}

.chat-bubble {
    margin-bottom: 15px;
    padding: 10px 15px;
    border-radius: 12px;
    max-width: 85%;
    font-size: 14px;
    line-height: 1.5;
}

.user-message {
    background: #3b82f6;
    color: white;
    align-self: flex-end;
    margin-left: auto;
    border-bottom-right-radius: 2px;
}

.ai-message {
    background: #e2e8f0;
    color: #1e293b;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.chat-input-group {
    display: flex;
    gap: 10px;
}

.chat-input-group input {
    margin-bottom: 0;
    flex: 1;
}

.chat-input-group button {
    width: auto;
    padding: 0 25px;
}