/* Color Palette & Basic Setup (Beautiful Pastel Colors) */
:root {
    --bg-color: #efebf4; /* Soft pastel purplish base */
    --text-main: #2D3748;
    --text-muted: #718096;
    --shadow-light: #ffffff;
    --shadow-dark: #d1cddb;
    --btn-blue: #a3c4f3; /* Soft UI Blue for Submit Button */
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
}

.dashboard-container {
    display: flex;
    height: 100vh;
    padding: 20px;
    gap: 20px;
    box-sizing: border-box;
}

/* THE NEUMORPHISM EFFECT (Ubhara Hua) */
.neumorphic-box {
    background-color: var(--bg-color);
    border-radius: 20px;
    box-shadow: 8px 8px 16px var(--shadow-dark), 
               -8px -8px 16px var(--shadow-light);
    padding: 20px;
}

/* THE INSET EFFECT (Andar Daba Hua - for input fields) */
.inset-input {
    background-color: var(--bg-color);
    border: none;
    border-radius: 12px;
    padding: 15px;
    box-shadow: inset 5px 5px 10px var(--shadow-dark), 
                inset -5px -5px 10px var(--shadow-light);
    outline: none;
    color: var(--text-main);
    font-family: inherit;
}

/* Layout Styling */
.sidebar { width: 220px; }
.logo { font-size: 20px; font-weight: bold; margin-bottom: 30px; color: #5a67d8; }
ul { list-style: none; padding: 0; }
li { padding: 15px; margin-bottom: 10px; border-radius: 10px; cursor: pointer; color: var(--text-muted); font-weight: 500;}
li.active { background-color: var(--bg-color); box-shadow: inset 3px 3px 6px var(--shadow-dark), inset -3px -3px 6px var(--shadow-light); color: #5a67d8; }

.main-content { flex: 1; display: flex; flex-direction: column; gap: 20px; overflow-y: auto;}

.top-bar { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.stat-card h3 { font-size: 14px; color: var(--text-muted); margin-bottom: 10px; margin-top: 0; }
.stat-card h2 { font-size: 28px; margin: 0; }

/* Bottom Grid Layout */
.bottom-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
.section-title { font-size: 12px; letter-spacing: 1px; color: var(--text-muted); margin-top: 0; margin-bottom: 20px; }
.ai-title { color: #9f7aea; }

/* Form Styling */
.form-row { display: flex; gap: 20px; margin-bottom: 20px; }
.input-group { display: flex; flex-direction: column; flex: 1; gap: 8px; }
.input-group label { font-size: 12px; font-weight: bold; color: var(--text-muted); }

/* Buttons */
.neumorphic-btn {
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s ease;
}
.neumorphic-btn:active {
    box-shadow: inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--shadow-light);
}
.primary-btn {
    background-color: var(--btn-blue);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    box-shadow: 5px 5px 15px #b8c4d4, -5px -5px 15px var(--shadow-light);
}

.ai-card { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; padding: 15px; }
.ai-card h4 { margin: 0; font-size: 14px; }
.ai-card p { margin: 5px 0 0 0; font-size: 12px; color: var(--text-muted); }
.small-btn { padding: 8px 15px; border-radius: 15px; background: var(--bg-color); color: var(--text-main); }

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    .dashboard-container { flex-direction: column; height: auto; }
    .sidebar { display: none; /* Hide sidebar on mobile for now */ }
    .bottom-grid { grid-template-columns: 1fr; /* Stack form and AI cards vertically */ }
    .form-row { flex-direction: column; }
}