/* Reason for Inclusion Section Styles */
.rating-compact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.stars-compact {
    font-size: 0.8em;
    margin-top: 2px;
}

.stars-compact i {
    margin-right: 1px;
}

.score-summary {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.375rem;
    border: 1px solid #dee2e6;
}

.score-item {
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

.score-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.criteria-met {
    background-color: #f8fff9;
    padding: 1rem;
    border-radius: 0.375rem;
    border-left: 4px solid #28a745;
    margin-top: 1rem;
}

/* Experience Tags Styling */
.badge.badge-outline-primary {
    background-color: transparent;
    border: 1px solid #007bff;
    color: #007bff;
}

/* Search Progress Indicator Styles */
#searchButton {
    position: relative;
    transition: all 0.3s ease;
}

#searchButton:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

#searchButton .button-text,
#searchButton .button-spinner {
    transition: opacity 0.3s ease;
}

#searchButton.searching .button-text {
    opacity: 0;
}

#searchButton.searching .button-spinner {
    opacity: 1;
}

.progress {
    height: 2rem;
    background-color: #e9ecef;
    border-radius: 0.375rem;
    overflow: hidden;
}

.progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 500;
    font-size: 0.875rem;
    background-color: #007bff;
    transition: width 0.6s ease;
}

.progress-text {
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Loading animation for search states */
@keyframes searchPulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.searching-animation {
    animation: searchPulse 2s ease-in-out infinite;
}

/* Accessibility improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}