:root {
    --navy-dark: #0F172A;
    --navy-light: #1E293B;
    --orange-primary: #F97316;
    --orange-hover: #EA580C;
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --white: #FFFFFF;
    --slate-bg: #F1F5F9;
}

body {
    background-color: var(--navy-dark);
    color: var(--text-main);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
}

h1, h2, h3, .fw-bold {
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: -0.025em;
}

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

.bg-slate {
    background-color: var(--slate-bg);
    color: #1e293b;
}

.bg-navy-light {
    background-color: var(--navy-light);
}

.btn-primary {
    background-color: var(--orange-primary);
    border: none;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    transition: all 0.2s ease-in-out;
}

.btn-primary:hover {
    background-color: var(--orange-hover);
    transform: translateY(-2px);
}

/* Navbar Style */
.navbar {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    background: rgba(15, 23, 42, 0.95);
}

/* Feature Cards (4 Columns) */
.feature-card {
    background: var(--navy-light);
    border: 4px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--orange-primary);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(249, 115, 22, 0.1);
    color: var(--orange-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* Metrics Section */
.metrics-panel {
    background: #111827;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.metric-row {
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.weight-input {
    width: 80px;
    background: #0F172A;
    border: 1px solid var(--orange-primary);
    color: white;
    text-align: center;
    border-radius: 4px;
}

/* Ranking Results */
.ranking-card {
    background: var(--white);
    color: var(--navy-dark);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.3);
}

.card-header-top {
    background: #F1F5F9;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.star-rating {
    color: #FBBF24;
    font-size: 1.2rem;
}

.fit-badge {
    background: #DCFCE7;
    color: #166534;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.875rem;
}

.gap-badge {
    background: #FEE2E2;
    color: #991B1B;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.875rem;
}

.score-breakdown {
    padding: 1.5rem;
}

.score-bar {
    height: 8px;
    background: #E2E8F0;
    border-radius: 4px;
    margin-top: 4px;
}

.score-fill {
    height: 100%;
    background: var(--orange-primary);
    border-radius: 4px;
}
/* Metrics Container & Cards */
.metric-config-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 1.25rem;
    transition: all 0.2s ease;
}

    .metric-config-card:focus-within {
        border-color: var(--orange-primary);
        background: #fff;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }

    .metric-config-card label {
        text-transform: none;
        letter-spacing: normal;
    }

.border-orange-left {
    border-left: 4px solid var(--orange-primary);
}

.btn-ai-regen {
    background-color: #6366F1; /* Indigo color from screenshots */
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
}

    .btn-ai-regen:hover {
        background-color: #4F46E5;
        color: white;
    }

/* Adjusting the ranking-card to be used as a container */
.ranking-card.shadow-sm {
    border: 1px solid rgba(0,0,0,0.05);
}

.card-header-top h4 {
    color: var(--navy-dark);
    font-size: 1.1rem;
}

/* Form Styles */
.form-control {
    border: 1px solid #CBD5E1;
    padding: 0.6rem;
    font-size: 0.95rem;
}

    .form-control:focus {
        border-color: var(--orange-primary);
        box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.1);
    }