/* ==============================================
   ATS SCANNER STYLES — DARK MODE
   ============================================== */
.scanner-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.input-group {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.input-label {
    font-weight: 700;
    color: #0f172a;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

textarea {
    width: 100%;
    height: 300px;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(0, 0, 0, 0.04);
    color: #0f172a;
    font-family: monospace;
    resize: none;
    outline: none;
    transition: all 0.2s;
}

textarea::placeholder {
    color: #94a3b8;
}

textarea:focus {
    background: rgba(0, 0, 0, 0.06);
    border-color: #0085FF;
    box-shadow: 0 0 0 3px rgba(0, 133, 255, 0.15);
}

.scan-action {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

.btn-scan {
    background: linear-gradient(135deg, #0085FF 0%, #005099 100%);
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 1rem 3rem;
    border-radius: 99px;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 133, 255, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-scan:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 133, 255, 0.5);
}

.results-panel {
    grid-column: 1 / -1;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    display: none;
    animation: fadeInUp 0.5s ease;
}

.score-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: conic-gradient(#0085FF 0%, rgba(0, 0, 0, 0.08) 0%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    position: relative;
}

.score-circle::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    background: #ffffff;
    border-radius: 50%;
}

.score-text {
    position: relative;
    z-index: 2;
    font-size: 3rem;
    font-weight: 800;
    color: #0f172a;
}

.keyword-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.keyword-tag {
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.tag-missing {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.tag-found {
    background: rgba(16, 185, 129, 0.15);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

@media(max-width: 900px) {
    .scanner-container {
        grid-template-columns: 1fr;
    }
}