/* AI Matcher Widget Styles */
.ai-widget-container {
    perspective: 1000px;
}

.ai-card {
    background: #ffffff;
    border-radius: 3.5rem;
    border: 1px solid #f1f5f9;
    box-shadow: 0 32px 64px -15px rgba(109, 40, 217, 0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 40px 80px -20px rgba(109, 40, 217, 0.2);
}

.ai-glow-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, #7c3aed, #3b82f6);
    z-index: 20;
}

.ai-header-image {
    position: relative;
    height: 180px;
    border-radius: 3rem 3rem 0 0;
    overflow: hidden;
}

.ai-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ai-header-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(2px);
}

.ai-header-content {
    position: relative;
    z-index: 10;
    padding: 1.5rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.ai-job-selector {
    padding: 1.5rem;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
}

.ai-select {
    width: 100%;
    padding: 0.75rem 1.25rem;
    border-radius: 1rem;
    border: 2px solid #e2e8f0;
    background: white;
    font-weight: 600;
    color: #1e293b;
    outline: none;
    transition: all 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.5rem;
}

.ai-select:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.ai-iframe-wrapper {
    padding: 1rem;
}

.ai-iframe-container {
    border-radius: 2rem;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    background: #ffffff;
}

.ai-accuracy-badge {
    position: absolute;
    right: -10px;
    top: 150px;
    background: #10b981;
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 30;
    animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
