/**
 * DMV Engineer - Bootstrap Customizations
 * Site-specific styles that extend Bootstrap
 */

/* Ensure list-group items stack vertically */
.list-group {
    display: flex;
    flex-direction: column;
}

/* Job row link styling */
.list-group-item-action {
    cursor: pointer;
    transition: all 0.15s ease-in-out;
}

/* Prevent flexbox from creating columns */
.list-group-item {
    display: block;
    width: 100%;
}

/* Custom colors for the site */
:root {
    --salary-green: #198754;
}

.text-success.fw-medium {
    color: var(--salary-green) !important;
    font-weight:bold;
    border:1px solid var(--salary-green);
    padding: 2px;
}

.text-estimate.fw-medium {
    color: var(--salary-green) !important;
}

/* Ensure featured items have proper background */
.bg-warning.bg-opacity-10 {
    background-color: rgba(255, 193, 7, 0.1) !important;
}

/* Prose styling for markdown content */
.prose h2 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.prose h3 {
    font-size: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
}

.prose ul, .prose ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.prose li {
    margin-bottom: 0.25rem;
}

.prose code {
    background: #f8f9fa;
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
    font-size: 0.875em;
}

.prose pre {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 0.375rem;
    overflow-x: auto;
}

.prose pre code {
    background: transparent;
    padding: 0;
}


.job-title {
    border-bottom: 1px solid #000000;
}
.dashboard-job-card{
    margin-bottom:12px;
}

/* Brand/Logo styling */
.brand-title {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.brand-tagline {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.navbar-brand {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    white-space: nowrap;
}

.navbar-brand img:last-child {
    max-height: 28px;
    width: auto;
}

/* Adzuna attribution badge — required by the Adzuna API Terms of Service:
   minimum 116x23px, "Jobs" linking to adzuna.co.uk and "Adzuna" linking to
   adzuna.co.uk via their logo. Sized to that minimum on purpose. */
.adzuna-attribution {
    display: inline-flex;
    align-items: stretch;
    height: 23px;
    min-width: 116px;
    border: 1px solid #ced4da;
    border-radius: 0.2rem;
    overflow: hidden;
    font-size: 0.7rem;
    line-height: 1;
    vertical-align: middle;
}

.adzuna-attribution__jobs,
.adzuna-attribution__logo {
    display: inline-flex;
    align-items: center;
    padding: 0 8px;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.adzuna-attribution__jobs {
    background: #f1f3f5;
    color: #212529;
    font-weight: 600;
}

.adzuna-attribution__jobs:hover,
.adzuna-attribution__logo:hover {
    background: #e9ecef;
}

.adzuna-attribution__logo {
    background: #fff;
    flex: 1;
    justify-content: center;
}

.adzuna-attribution__logo img {
    height: 16px;
    width: auto;
    display: block;
}

/* Adzuna Jobsworth salary-estimate icon — required by the Adzuna API Terms
   of Service whenever a shown salary is a Jobsworth *predicted* estimate
   rather than an employer-stated range: minimum 20x20px, links to Adzuna's
   salary predictor tool. Placeholder icon — swap for Adzuna's own Jobsworth
   icon asset if/when available, same as the logo in .adzuna-attribution. */
.jobsworth-attribution {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 20px;
    border-radius: 50%;
    background: #f1f3f5;
    color: #1a9c46;
    font-size: 0.8rem;
    cursor: pointer;
}

.jobsworth-attribution:hover {
    background: #e9ecef;
}