body.cv-analyzer-mode .hero-search-dock {
    padding: 14px 16px !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    box-shadow: 0 12px 35px -8px rgba(0, 0, 0, 0.22) !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
}

body.cv-analyzer-mode #job-search-fields {
    display: none !important;
}

body.cv-analyzer-mode #cv-search-fields {
    display: block !important;
    width: 100%;
}

.cv-header-dock-full {
    width: 100%;
}

.cv-dock-full-card {
    width: 100%;
}

.cv-dock-step-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.cv-dock-step-card:hover {
    border-color: #cbd5e1;
}

.cv-dock-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cv-dock-card-title {
    font-size: 0.8rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.cv-dock-dropzone {
    background: #ffffff;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 12px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cv-dock-dropzone:hover {
    border-color: #2563eb;
    background: #f0f7ff;
}

.cv-dock-upload-icon {
    margin-bottom: 4px;
}

.cv-dock-upload-text strong {
    display: block;
    font-size: 0.85rem;
    color: #0f172a;
}

.cv-dock-upload-sub {
    display: block;
    font-size: 0.725rem;
    color: #64748b;
    margin-top: 2px;
}

.cv-dock-file-preview {
    width: 100%;
}

.cv-file-chip-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 8px 12px;
    width: 100%;
}

.cv-file-chip-left {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
}

.cv-file-icon {
    font-size: 1.2rem;
}

.cv-file-details {
    display: flex;
    flex-direction: column;
    text-align: left;
    overflow: hidden;
}

.cv-file-name {
    font-size: 0.825rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}

.cv-file-status {
    font-size: 0.7rem;
    color: #16a34a;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.cv-status-dot {
    color: #22c55e;
    font-size: 0.65rem;
}

.cv-file-remove-btn {
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.cv-file-remove-btn:hover {
    color: #ef4444;
    background: #fee2e2;
}

.cv-ats-dropdown-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 0.825rem;
    font-weight: 600;
    color: #0f172a;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.cv-ats-dropdown-btn:hover,
.cv-ats-dropdown-btn:focus,
.cv-ats-dropdown-btn[aria-expanded="true"] {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
    background: #ffffff;
    color: #0f172a;
}

.btn-cv-scan-main {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 0 18px;
    font-size: 0.825rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    white-space: nowrap;
}

.btn-cv-scan-main:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45);
}

.btn-text-mode {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 3px 10px;
    font-size: 0.775rem;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-text-mode:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.btn-text-mode.active {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

.cv-dock-textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 0.825rem;
    color: #0f172a;
    outline: none;
    resize: none;
    transition: all 0.2s ease;
}

.cv-dock-textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

@media (max-width: 991px) {
    .cv-header-dock-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .btn-cv-scan-main {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 0.8rem;
        padding: 0 12px;
        white-space: normal !important;
        height: auto !important;
        min-height: 40px;
    }

    .cv-dock-right-header {
        flex-direction: column !important;
        align-items: stretch !important;
        text-align: center;
        gap: 10px !important;
    }

    .cv-dock-right-header > div {
        width: 100% !important;
        justify-content: center !important;
        flex-wrap: wrap;
    }

    .cv-ats-dropdown-container {
        width: 100% !important;
    }

    .cv-ats-dropdown-btn {
        width: 100% !important;
        justify-content: space-between !important;
    }

    #cv-analysis-results-container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        box-sizing: border-box;
    }

    .cv-dock-card-title {
        text-align: center;
        width: 100%;
        display: block;
    }
}

.inline-svg {
    vertical-align: -0.15em;
    display: inline-block;
}
