/* 1. Import a Modern Font (Inter is the standard for professional UI) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

/* 2. Modernize the Base Typography */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #2d3748; /* Softer than pure black */
    background-color: white; /* Very light gray, easier on the eyes than pure white */
    line-height: 1.6;
    -webkit-font-smoothing: antialiased; /* Makes fonts look crisp on Mac */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #1a202c; /* Darker heading color */
    letter-spacing: -0.025em; /* Tighter tracking for a modern look */
}

/* 3. Upgrade the Color Palette (Replacing the default Bootstrap Blue) */
/* This overrides the .bg-primary, .btn-primary, etc. visually */

:root {
    --primary-color: #3182ce; /* A more sophisticated blue */
    --primary-hover: #2b6cb0;
    --accent-color: #ed8936;
}

/* 4. Modernize Buttons */
.btn {
    padding: 0.6rem 1.2rem;
    font-weight: 500;
    border-radius: 6px; /* Slightly rounder */
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-1px); /* Subtle lift effect */
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* 5. Modernize Cards (The "SaaS" Look) */
.card {
    border: none; /* Remove the heavy border */
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-2px); /* Lift on hover */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid #edf2f7;
    font-weight: 600;
}

/* 6. Clean up Form Inputs */
.form-control {
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    padding: 0.75rem 1rem;
    background-color: #fff;
    box-shadow: none;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2); /* Soft blue glow */
}

/* 7. Refine the Navbar */
.navbar {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    background-color: #fff !important; /* Force white background */
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.navbar-brand {
    font-weight: 800;
    color: var(--primary-color) !important;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    color: #4a5568 !important;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}