/* Visually hidden content for screen readers */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Simplified Recall Widget CSS */
.recall-widget {
    --primary: #2256A0;
    --secondary: #3c3c3b;
    --bg: #e6e6e6;
    --text: #000;
    --border: #fff;
    --spacing: 0.5rem;
    font-family: 'Archivo Narrow', sans-serif;
    line-height: 1.5;
    color: var(--text);
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 0;
}

.recall-widget *, .recall-widget *::before, .recall-widget *::after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

/* Accessibility */
.recall-widget *:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* Layout */
.recall-widget .header-container {
    position: relative;
    width: 100%;
    /* Fallback background color for when image doesn't load */
    background-color: var(--primary);
    min-height: 200px;
}

.recall-widget .header-image {
    display: none;
    width: 100%;
    height: auto;
}

.recall-widget .header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex; /* To hide the hero banner image: change 'flex' to 'none'  */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    /* Semi-transparent background for contrast when image fails to load */
    background-color: rgba(34, 86, 160, 0.9);
}

.recall-widget .header-overlay h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
    padding: 0 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

@media (max-width: 767px) {
    .recall-widget .header-overlay h1 {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 984px) {
    .recall-widget .header-overlay h1 {
        font-size: 2rem;
    }
}

.recall-widget .steps-container {
    display: grid;
    gap: 1rem;
    background-color: var(--border);
    grid-template-columns: 1fr;
}

.recall-widget .step {
    background-color: var(--bg);
    padding: var(--spacing);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    opacity: 1;
}

.recall-widget .step > * {
    max-width: 100%;
}

/* Headers */
.recall-widget .step-header {
    margin-bottom: calc(var(--spacing) * 2);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.recall-widget .step-number {
    font-size: 52px;
    font-weight: bold;
    line-height: 1.2;
    margin: 5px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.recall-widget .divider {
    width: 20%;
    height: 2px;
    background-color: var(--text);
    margin: 0 0 10px 0;
    border: none;
}

.recall-widget .step-subtitle {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 10px;
    text-transform: uppercase;
}

/* VIN visibility - Fixed scoping to avoid global HTML modifications */
.recall-widget:not(.has-vin-parameter) .steps-container .step:nth-child(2) {
    visibility: hidden;
}

.recall-widget.step1-focused .steps-container .step:nth-child(2) {
    visibility: visible;
}

/* Content elements */
.recall-widget .vin-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 10px;
}

.recall-widget .vin-location-container {
    padding: var(--spacing);
    width: 100%;
    max-width: 240px;
}

.recall-widget .vin-location-container h3,
.recall-widget .cta-section h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
    width: 100%;
    text-transform: uppercase;
}

#recall-widget-container {
    margin: var(--spacing) 0;
    padding: var(--spacing);
    background-color: rgba(255, 255, 255, 0.5);
    width: 100%;
    max-width: 500px;
}

.recall-widget .cta-section {
    padding: var(--spacing);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Phone link */
.recall-widget .phone-link {
    display: inline-block;
    color: var(--text);
    text-decoration: none;
    font-size: 2rem;
    font-weight: bold;
    padding: 0.5rem;
    margin: 0.5rem 0 1rem;
}

.recall-widget .phone-link:hover,
.recall-widget .phone-link:focus {
    background-color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

/* Lists */
.recall-widget .checked-list {
    list-style: none;
    margin: 0;
    flex-grow: 1;
    text-align: left;
    width: 100%;
    max-width: 400px;
}

.recall-widget .checked-list li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1rem;
}

.recall-widget .checked-list li::before {
    content: "-";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Button */
.recall-widget .button {
    background-color: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    margin-top: 1rem;
    width: 100%;
    max-width: 300px;
}

.recall-widget .button:hover,
.recall-widget .button:focus {
    background-color: var(--secondary);
}

/* Mobile styles */
@media (max-width: 767px) {
    .recall-widget .step { min-height: auto; padding: 20px; }
    .recall-widget .step, .recall-widget .step-header, .recall-widget .cta-section {
        align-items: center; text-align: center;
    }
    .recall-widget .step-number { justify-content: center; }
    .recall-widget .divider { margin: 0 auto 10px; }
    .recall-widget .phone-link { width: 100%; text-align: center; }
    .recall-widget .amenities-list, .recall-widget .vin-location-list {
        margin: 0 auto; display: inline-block; text-align: left;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .recall-widget * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Desktop styles */
@media (min-width: 768px) {
    .recall-widget .header-image { display: block; }
    .recall-widget .header-overlay {
        /* Make overlay transparent when image is displayed */
        background-color: transparent;
    }
    .recall-widget .steps-container { grid-template-columns: repeat(3, 1fr); gap: 2px; }
    .recall-widget .step { min-height: 450px; padding: 3rem; }
    .recall-widget .step-number { font-size: 5dvw; }
    .recall-widget .step-subtitle { font-size: 2.5dvw; }
    .recall-widget .button { width: auto; min-width: 250px; }
}

@media (min-width: 985px) {
    .recall-widget .step-number { font-size: 64px; }
    .recall-widget .step-subtitle { font-size: 36px; }
}


























