/*!
 * Shepherd.js USWDS Theme Integration
 * Custom styling to match US Web Design System
 */

/* Shepherd element positioning and z-index */
.shepherd-element {
    z-index: 10000 !important;
}

/* Tour content styling */
.shepherd-content {
    font-family: 'Public Sans Web', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid #dfe1e2 !important;
    max-width: 400px !important;
}

/* Header styling */
.shepherd-header {
    background-color: #f8f9fa !important;
    border-bottom: 1px solid #dfe1e2 !important;
    padding: 16px 20px !important;
    border-top-left-radius: 8px !important;
    border-top-right-radius: 8px !important;
}

.shepherd-title {
    color: #005ea2 !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    margin: 0 !important;
}

/* Text content styling */
.shepherd-text {
    padding: 20px !important;
    color: #21272a !important;
    line-height: 1.5 !important;
}

.shepherd-text h4 {
    color: #1b1b1b !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
}

.shepherd-text ul {
    margin: 8px 0 !important;
    padding-left: 20px !important;
}

.shepherd-text li {
    margin-bottom: 4px !important;
    color: #21272a !important;
}

.shepherd-text strong {
    color: #1b1b1b !important;
    font-weight: 600 !important;
}

/* Footer/buttons styling */
.shepherd-footer {
    background-color: #f8f9fa !important;
    border-top: 1px solid #dfe1e2 !important;
    padding: 16px 20px !important;
    text-align: right !important;
    border-bottom-left-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
}

/* Button styling to match USWDS */
.shepherd-button {
    font-family: 'Public Sans Web', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    padding: 8px 16px !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: all 0.15s ease-in-out !important;
    margin-left: 8px !important;
    border: 1px solid !important;
    cursor: pointer !important;
}

.shepherd-button-primary {
    background-color: #005ea2 !important;
    border-color: #005ea2 !important;
    color: #ffffff !important;
}

.shepherd-button-primary:hover {
    background-color: #0b4778 !important;
    border-color: #0b4778 !important;
    color: #ffffff !important;
}

.shepherd-button-secondary {
    background-color: #ffffff !important;
    border-color: #71767a !important;
    color: #21272a !important;
}

.shepherd-button-secondary:hover {
    background-color: #f0f0f0 !important;
    border-color: #565c65 !important;
    color: #21272a !important;
}

/* Cancel button styling */
.shepherd-cancel-icon {
    background-color: #1b1b1b !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    color: #ffffff !important;
    font-size: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.shepherd-cancel-icon:hover {
    background-color: #565c65 !important;
}

/* Modal overlay */
.shepherd-modal-overlay-container {
    background-color: rgba(0, 0, 0, 0.5) !important;
}

/* Arrow/pointer styling */
.shepherd-arrow {
    border-color: #ffffff !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .shepherd-content {
        max-width: 320px !important;
    }

    .shepherd-text {
        font-size: 14px !important;
    }

    .shepherd-button {
        padding: 6px 12px !important;
        font-size: 13px !important;
    }
}