/**
 * Enhanced Job Details - Rating CSS
 * Module-specific styles for job rating functionality
 * Uses CSS variables for theming
 */

/* Job Rating Button */
.rate-job-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
}

/* Rating Modal Styles */
#jobRatingModal {
    z-index: 1050; /* Higher than Leaflet map controls (usually 1000) */
    /* display: flex; is now handled by JS to show the modal */
    align-items: center; /* Vertically center */
    justify-content: center; /* Horizontally center */
}

#jobRatingModal .application-modal-content {
    margin-top: 0; /* Remove the top margin inherited from other modals */
}

.ejd-rating-section {
    margin-bottom: 1.5rem;
}

.ejd-rating-section label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text, #212529);
}

.ejd-star-rating {
    display: flex;
    gap: 0.5rem;
    cursor: pointer;
}

.ejd-star-rating i {
    font-size: 24px;
    color: var(--color-border, #dee2e6);
    transition: color 0.2s ease, transform 0.2s ease;
}

.ejd-star-rating i:hover {
    transform: scale(1.1);
}

.ejd-star-rating i.fas {
    color: var(--color-warning, #ffc107); /* Gold color for selected stars */
}

.ejd-comment-section label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

#rating-feedback .alert {
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

#rating-feedback .alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

#rating-feedback .alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}
