/* static/css/career_goals.css */

/* AI Suggestions Section */
#aiSuggestionsSection {
    animation: slideIn 0.3s ease-out;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.ai-suggestion-card {
    transition: all 0.2s ease;
    border-left: 4px solid #3b82f6;
}

.ai-suggestion-card:hover {
    transform: translateX(4px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* AI Buttons */
.ai-button {
    transition: all 0.2s ease;
    background: linear-gradient(to right, #3b82f6, #8b5cf6);
}

.ai-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.ai-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Role Suggestions Dropdown */
#roleSuggestions {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    animation: fadeIn 0.2s ease-out;
}

.role-suggestion-item {
    transition: all 0.15s ease;
}

.role-suggestion-item:hover {
    background-color: #f3f4f6;
    padding-left: 1rem;
}

/* Loading States */
.career-goals .ai-loading {
    position: relative;
}

.career-goals .ai-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #e5e7eb;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes ai-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Tooltips */
.ai-tooltip {
    position: relative;
}

.ai-tooltip:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 0.75rem;
    background-color: #1f2937;
    color: white;
    font-size: 0.75rem;
    border-radius: 0.25rem;
    white-space: nowrap;
    z-index: 10;
    margin-bottom: 0.5rem;
}

/* Industry Selection Enhancement */
.industry-checkbox:checked + span {
    font-weight: 600;
    color: #1e40af;
}

.industry-checkbox:checked {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ai-button {
        width: 100%;
        justify-content: center;
    }
    
    #aiSuggestionsSection {
        margin-left: -1rem;
        margin-right: -1rem;
        border-radius: 0;
    }
}