:root {
    --primary-color: #22c55e;
    --primary-hover: #16a34a;
    --primary-gradient: linear-gradient(135deg, #22c55e, #10b981);
    --ai-gradient: linear-gradient(90deg, #22c55e, #3b82f6, #6366f1);
    --soft-shadow: 0 4px 12px rgba(0,0,0,0.05);
    --card-border-radius: 5px;
    --btn-border-radius: 5px;
    --accent-color: #10b981;
}

body {
    font-family: 'Inter', sans-serif;
    color: #374151;
    letter-spacing: -0.01em;
}

.container{
    max-width: 1660px;
}

h1, h2, h3, h4, .fw-bold {
    font-family: 'Instrument Sans', sans-serif;
}

.bg-light {
    background-color: #f9fafb !important;
}

/* Sidebar Styling */
.sidebar .nav-link {
    color: #4b5563;
    padding: 10px 16px;
    border-radius: var(--btn-border-radius);
    font-weight: 500;
    transition: all 0.2s ease;
    margin-bottom: 2px;
}

.sidebar .nav-link:hover {
    background-color: #f3f4f6;
    color: var(--primary-color);
}

.sidebar .nav-link.active {
    background-color: #f0fdf4;
    color: var(--primary-color);
}

.sidebar .nav-link i {
    font-size: 1.1rem;
}

/* Card Styling */
.card {
    border: 1px solid #e5e7eb;
    border-radius: var(--card-border-radius);
    box-shadow: var(--soft-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

.card-header {
    background-color: transparent;
    border-bottom: 1px solid #f1f3f4;
    padding: 1.25rem;
}

/* Button Styling */
.btn {
    font-weight: 500;
    border-radius: var(--btn-border-radius);
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-hover);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: #15803d;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(34, 197, 94, 0.2);
}

.btn-pill {
    border-radius: 50px; /* Overridden if max 5px is strict, but "pill" usually means rounded */
}

/* Forms */
.form-control, .form-select {
    border-radius: 5px;
    padding: 0.6rem 0.75rem;
    border: 1px solid #d1d5db;
    background-color: #fff;
    transition: all 0.2s ease;
}

.form-control:focus {
    background-color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
}

/* Gemini Highlights */
.ai-badge {
    background: var(--ai-gradient);
    color: white;
    padding: 4px 12px;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ai-card {
    border: 1px solid transparent;
    background: linear-gradient(white, white) padding-box,
                var(--ai-gradient) border-box;
}

/* Pricing Page */
.pricing-card {
    border-radius: 10px;
    overflow: hidden;
}

.pricing-card.popular {
    transform: scale(1.02);
    border: 2px solid var(--primary-color);
    z-index: 10;
}

/* Dashboard Metrics */
.metric-card .value {
    font-size: 2.25rem;
    font-weight: 700;
    color: #111827;
}

.trend-up {
    color: #16a34a;
    background-color: #f0fdf4;
    padding: 2px 8px;
    border-radius: 5px;
    font-size: 0.85rem;
}

.trend-down {
    color: #dc2626;
    background-color: #fef2f2;
    padding: 2px 8px;
    border-radius: 5px;
    font-size: 0.85rem;
}

/* Tables */
.table th {
    background-color: #f9fafb;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: #6b7280;
    padding: 1rem;
    border-top: none;
}

.table td {
    padding: 1rem;
    vertical-align: middle;
}

/* Visual Workflow / Automation Builder */
.workflow-item {
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    padding: 15px;
    text-align: center;
    position: relative;
    background: white;
}

.workflow-connector {
    width: 2px;
    height: 30px;
    background: #e5e7eb;
    margin: 0 auto;
}

/* Utilities */
.text-muted {
    color: #6b7280 !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.smaller {
    font-size: 0.8rem;
}

/* Override Bootstrap rounded-pill to respect max 5px */
.rounded-pill, .btn-pill {
    border-radius: 5px !important;
}

/* Modal Styling */
.modal-content {
    border-radius: 5px;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.modal-header {
    border-bottom: 1px solid #f3f4f6;
    padding: 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.badge {
    border-radius: 4px;
}

.breadcrumb{
    align-items: center;
}

.btn {
    display: flex;
    align-items: center;
}