* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #fef7ed; /* Soft cream background */
    color: #374151; /* Dark gray text */
}

.container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    background: linear-gradient(135deg, #f97316, #fbbf24); /* Orange to yellow gradient */
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}

.sidebar h2 {
    margin-bottom: 20px;
    font-weight: 600;
}

.sidebar ul {
    list-style: none;
}

.sidebar a {
    color: white;
    text-decoration: none;
    padding: 10px;
    display: block;
    border-radius: 5px;
    transition: background 0.3s;
}

.sidebar a:hover {
    background-color: rgba(255,255,255,0.2);
}

.sidebar a.active {
    background-color: #10b981; /* Green for active */
}

.main-content {
    flex: 1;
    padding: 20px;
}

h1 {
    margin-bottom: 20px;
    color: #f97316; /* Orange headings */
}

.card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-left: 5px solid #f97316; /* Orange accent */
    margin-bottom: 10px;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.summary-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.charts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.chart-placeholder {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-top: 5px solid #fbbf24; /* Yellow accent */
    text-align: center;
}

.table-container {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

th {
    background-color: #fef7ed; /* Cream header */
    color: #f97316; /* Orange text */
}

.form {
    display: grid;
    gap: 15px;
    max-width: 500px;
    margin-bottom: 20px;
}

input, select, textarea, button {
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input:focus, select:focus, textarea:focus {
    border-color: #f97316; /* Orange focus */
    outline: none;
}

button {
    background: linear-gradient(135deg, #f97316, #fbbf24); /* Orange to yellow */
    color: white;
    cursor: pointer;
    border: none;
    font-weight: 600;
}

button:hover {
    background: linear-gradient(135deg, #ea580c, #f59e0b); /* Darker shades */
}

.btn-primary {
    background: linear-gradient(135deg, #f97316, #fbbf24);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    margin-bottom: 20px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ea580c, #f59e0b);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.report-card {
    cursor: pointer;
    border: 2px solid #fbbf24; /* Yellow border */
}

.report-card:hover {
    background-color: #fef7ed; /* Cream hover */
    border-color: #f97316; /* Orange border on hover */
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #fef7ed, #fbbf24); /* Cream to yellow */
    position: relative;
}

.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="%23f97316" opacity="0.1"/></svg>') repeat;
    opacity: 0.3;
}

.login-card {
    background: white;
    padding: 80px; /* Increased padding for bigger size */
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    text-align: center;
    width: 700px; /* Increased width for bigger size */
    height: auto; /* Auto height to accommodate bigger content */
    position: relative;
    z-index: 1;
    border: 3px solid #f97316; /* Orange border */
}

.login-card h1 {
    color: #f97316; /* Orange logo */
    margin-bottom: 10px;
    font-size: 3.5em; /* Bigger font for logo */
}

.login-card h2 {
    font-size: 1.5em; /* Bigger font for subtitle */
    margin-bottom: 40px;
    color: #374151;
}

.ai-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.chat-window {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    height: 300px;
    overflow-y: auto;
    border: 1px solid #e5e7eb;
}

.message {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 5px;
}

.message.user {
    background-color: #fef7ed; /* Cream */
    text-align: right;
}

.message.ai {
    background-color: #e0f2fe; /* Light blue for AI */
}

.suggestions {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
}

.chat-input {
    display: flex;
    gap: 10px;
}

.chat-input input {
    flex: 1;
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive: Mobile-first adjustments */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        height: auto;
        padding: 10px;
    }
    .sidebar ul {
        display: flex;
        overflow-x: auto;
        gap: 10px;
    }
    .sidebar a {
        white-space: nowrap;
    }
    .summary-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .charts {
        grid-template-columns: 1fr;
    }
    .main-content {
        padding: 10px;
    }
    .login-card {
        width: 95%; /* Responsive on mobile, still big but fits screen */
        padding: 50px; /* Slightly reduced for mobile */
    }
    .login-card h1 {
        font-size: 2.5em; /* Smaller on mobile */
    }
    .login-card h2 {
        font-size: 1.2em; /* Smaller on mobile */
    }
}