/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-0ho4zvaa6q] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-0ho4zvaa6q] {
    flex: 1;
}

.top-row[b-0ho4zvaa6q] {
    background-color: var(--bg-secondary, #ffffff);
    border-bottom: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-0ho4zvaa6q]  a, .top-row[b-0ho4zvaa6q]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-0ho4zvaa6q]  a:hover, .top-row[b-0ho4zvaa6q]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-0ho4zvaa6q]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-0ho4zvaa6q] {
        justify-content: space-between;
    }

    .top-row[b-0ho4zvaa6q]  a, .top-row[b-0ho4zvaa6q]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-0ho4zvaa6q] {
        flex-direction: row;
    }

    .top-row[b-0ho4zvaa6q] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-0ho4zvaa6q]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-0ho4zvaa6q], article[b-0ho4zvaa6q] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-0ho4zvaa6q] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-0ho4zvaa6q] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Pages/JobSearch.razor.rz.scp.css */
.job-search-page[b-uzprrn19zd] {
    min-height: 100vh;
    background: #f9fafb;
}

.page-content[b-uzprrn19zd] {
    padding: 80px 20px 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.page-header[b-uzprrn19zd] {
    text-align: center;
    margin-bottom: 32px;
}

.header-icon[b-uzprrn19zd] {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: white;
}

.page-header h1[b-uzprrn19zd] {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.subtitle[b-uzprrn19zd] {
    color: #6b7280;
    margin: 8px 0 0;
}

/* Tabs */
.tabs[b-uzprrn19zd] {
    display: flex;
    gap: 4px;
    background: white;
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow-x: auto;
}

.tab[b-uzprrn19zd] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    background: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    transition: all 0.15s;
    white-space: nowrap;
}

.tab:hover[b-uzprrn19zd] {
    background: #f3f4f6;
}

.tab.active[b-uzprrn19zd] {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.tab-content[b-uzprrn19zd] {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Search Form */
.search-form[b-uzprrn19zd] {
}

.search-form h2[b-uzprrn19zd] {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px;
    color: #1f2937;
}

.form-row[b-uzprrn19zd] {
    margin-bottom: 16px;
}

.form-row.two-cols[b-uzprrn19zd] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group[b-uzprrn19zd] {
    margin-bottom: 16px;
}

.form-group label[b-uzprrn19zd] {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}

.form-group input[b-uzprrn19zd],
.form-group select[b-uzprrn19zd],
.form-group textarea[b-uzprrn19zd] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.15s;
    box-sizing: border-box;
}

.form-group input:focus[b-uzprrn19zd],
.form-group select:focus[b-uzprrn19zd],
.form-group textarea:focus[b-uzprrn19zd] {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.price-info[b-uzprrn19zd] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: #f9fafb;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #4b5563;
}

.price-info .balance[b-uzprrn19zd] {
    color: #6b7280;
}

.free-badge[b-uzprrn19zd] {
    background: #d1fae5;
    color: #059669;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 500;
}

.free-service-notice[b-uzprrn19zd] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border: 1px solid #6ee7b7;
    border-radius: 10px;
    margin-bottom: 20px;
}

.notice-icon[b-uzprrn19zd] {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: #059669;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.notice-content[b-uzprrn19zd] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.notice-label[b-uzprrn19zd] {
    font-size: 14px;
    color: #065f46;
}

.notice-reason[b-uzprrn19zd] {
    font-size: 13px;
    color: #047857;
    font-style: italic;
}

.notice-savings[b-uzprrn19zd] {
    font-size: 12px;
    color: #059669;
    margin-top: 4px;
}

.free-service-notice.results-notice[b-uzprrn19zd] {
    margin-bottom: 20px;
}

.btn-search[b-uzprrn19zd] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
}

.btn-search:hover:not(:disabled)[b-uzprrn19zd] {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-search:disabled[b-uzprrn19zd] {
    opacity: 0.6;
    cursor: not-allowed;
}

.spinner[b-uzprrn19zd] {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin-b-uzprrn19zd 0.8s linear infinite;
}

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

/* Results */
.results-section[b-uzprrn19zd] {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid #e5e7eb;
}

.results-section h2[b-uzprrn19zd] {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px;
    color: #1f2937;
}

.results-list[b-uzprrn19zd] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.job-card[b-uzprrn19zd] {
    padding: 20px;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: border-color 0.15s;
}

.job-card:hover[b-uzprrn19zd] {
    border-color: #3b82f6;
}

.job-card.previously-seen[b-uzprrn19zd] {
    opacity: 0.7;
}

.job-header[b-uzprrn19zd] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.job-main h3[b-uzprrn19zd] {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 4px;
}

.job-main .company[b-uzprrn19zd] {
    color: #6b7280;
    font-size: 14px;
}

.match-score[b-uzprrn19zd] {
    background: #d1fae5;
    color: #059669;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.job-meta[b-uzprrn19zd] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.meta-item[b-uzprrn19zd] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #6b7280;
}

.meta-item.salary[b-uzprrn19zd] {
    color: #059669;
    font-weight: 500;
}

.meta-item.type[b-uzprrn19zd] {
    background: #dbeafe;
    color: #1d4ed8;
    padding: 2px 8px;
    border-radius: 4px;
}

.meta-item.platform[b-uzprrn19zd] {
    background: #dbeafe;
    color: #1d4ed8;
    padding: 2px 8px;
    border-radius: 4px;
}

.job-description[b-uzprrn19zd] {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.5;
    margin: 0 0 16px;
}

.job-actions[b-uzprrn19zd] {
    display: flex;
    gap: 12px;
}

.btn-apply[b-uzprrn19zd], .btn-cover-letter[b-uzprrn19zd], .btn-view-letter[b-uzprrn19zd] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s;
}

.btn-apply[b-uzprrn19zd] {
    background: #1f2937;
    color: white;
    border: none;
}

.btn-apply:hover[b-uzprrn19zd] {
    background: #374151;
}

.btn-cover-letter[b-uzprrn19zd] {
    background: #3b82f6;
    color: white;
    border: none;
}

.btn-cover-letter:hover[b-uzprrn19zd] {
    background: #2563eb;
}

.btn-cover-letter.free[b-uzprrn19zd] {
    background: linear-gradient(135deg, #059669, #10b981);
}

.btn-free-badge[b-uzprrn19zd] {
    background: rgba(255,255,255,0.3);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 6px;
}

.btn-price-badge[b-uzprrn19zd] {
    background: rgba(255,255,255,0.2);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    margin-left: 6px;
}

.btn-view-letter[b-uzprrn19zd] {
    background: #dbeafe;
    color: #1d4ed8;
    border: none;
}

/* Profiles */
.section-header[b-uzprrn19zd] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-header h2[b-uzprrn19zd] {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.btn-add[b-uzprrn19zd] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.profile-form[b-uzprrn19zd] {
    background: #f9fafb;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.profile-form h3[b-uzprrn19zd] {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 20px;
    color: #1f2937;
}

.checkbox-group[b-uzprrn19zd] {
    display: flex;
    align-items: center;
}

.checkbox-group label[b-uzprrn19zd] {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.form-actions[b-uzprrn19zd] {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.btn-cancel[b-uzprrn19zd] {
    padding: 10px 20px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
}

.btn-save[b-uzprrn19zd] {
    padding: 10px 20px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.profiles-grid[b-uzprrn19zd] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.profile-card[b-uzprrn19zd] {
    background: #f9fafb;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    position: relative;
}

.profile-card.default[b-uzprrn19zd] {
    border-color: #3b82f6;
}

.default-badge[b-uzprrn19zd] {
    position: absolute;
    top: -8px;
    right: 12px;
    background: #3b82f6;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.profile-card h3[b-uzprrn19zd] {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 8px;
}

.profile-card .job-title[b-uzprrn19zd] {
    color: #6b7280;
    font-size: 14px;
    margin: 0 0 4px;
}

.profile-card .experience[b-uzprrn19zd] {
    color: #9ca3af;
    font-size: 13px;
    margin: 0 0 12px;
}

.skills[b-uzprrn19zd] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.skill-tag[b-uzprrn19zd] {
    background: #dbeafe;
    color: #1d4ed8;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
}

.skill-more[b-uzprrn19zd] {
    color: #9ca3af;
    font-size: 12px;
}

.profile-actions[b-uzprrn19zd] {
    display: flex;
    gap: 8px;
}

.btn-set-default[b-uzprrn19zd], .btn-edit-profile[b-uzprrn19zd], .btn-delete-profile[b-uzprrn19zd] {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    border: none;
}

.btn-set-default[b-uzprrn19zd] {
    background: #dbeafe;
    color: #1d4ed8;
}

.btn-edit-profile[b-uzprrn19zd] {
    background: #e5e7eb;
    color: #374151;
}

.btn-delete-profile[b-uzprrn19zd] {
    background: #fee2e2;
    color: #dc2626;
}

/* History */
.history-list[b-uzprrn19zd] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.history-item[b-uzprrn19zd] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #f9fafb;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s;
}

.history-item:hover[b-uzprrn19zd] {
    background: #f3f4f6;
}

.history-query[b-uzprrn19zd] {
    font-weight: 500;
    color: #1f2937;
    display: block;
}

.history-meta[b-uzprrn19zd] {
    font-size: 13px;
    color: #6b7280;
    margin-top: 4px;
}

.history-stats[b-uzprrn19zd] {
    text-align: right;
}

.jobs-count[b-uzprrn19zd] {
    display: block;
    font-weight: 500;
    color: #3b82f6;
}

.history-date[b-uzprrn19zd] {
    font-size: 12px;
    color: #9ca3af;
}

/* Cover Letters */
.coverletters-grid[b-uzprrn19zd] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.coverletter-card[b-uzprrn19zd] {
    background: #f9fafb;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.coverletter-card.expired[b-uzprrn19zd] {
    opacity: 0.6;
}

.letter-header h3[b-uzprrn19zd] {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 4px;
}

.letter-header .company[b-uzprrn19zd] {
    color: #6b7280;
    font-size: 13px;
}

.letter-preview[b-uzprrn19zd] {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.5;
    margin: 12px 0;
}

.letter-meta[b-uzprrn19zd] {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 12px;
}

.expires[b-uzprrn19zd] {
    color: #f59e0b;
}

.expired-badge[b-uzprrn19zd] {
    background: #fee2e2;
    color: #dc2626;
    padding: 2px 8px;
    border-radius: 4px;
}

.letter-actions[b-uzprrn19zd] {
    display: flex;
    gap: 8px;
}

.btn-view[b-uzprrn19zd], .btn-download[b-uzprrn19zd] {
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
    border: none;
}

.btn-view[b-uzprrn19zd] {
    background: #dbeafe;
    color: #1d4ed8;
}

.btn-download[b-uzprrn19zd] {
    background: #1f2937;
    color: white;
}

/* Empty State */
.empty-state[b-uzprrn19zd] {
    text-align: center;
    padding: 60px 20px;
    color: #9ca3af;
}

.empty-state svg[b-uzprrn19zd] {
    margin-bottom: 16px;
}

.empty-state p[b-uzprrn19zd] {
    font-size: 15px;
}

/* Modal */
.modal-overlay[b-uzprrn19zd] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-content[b-uzprrn19zd] {
    background: white;
    border-radius: 16px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 32px;
}

.modal-close[b-uzprrn19zd] {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    color: #6b7280;
    padding: 4px;
}

.modal-close:hover[b-uzprrn19zd] {
    color: #374151;
}

.cover-letter-modal h2[b-uzprrn19zd] {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 8px;
    color: #1f2937;
}

.letter-for[b-uzprrn19zd] {
    color: #6b7280;
    margin-bottom: 24px;
    font-size: 14px;
}

.letter-content[b-uzprrn19zd] {
    background: #f9fafb;
    padding: 24px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 24px;
}

.modal-actions[b-uzprrn19zd] {
    display: flex;
    gap: 12px;
}

.btn-copy[b-uzprrn19zd], .btn-download-pdf[b-uzprrn19zd] {
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
}

.btn-copy[b-uzprrn19zd] {
    background: #dbeafe;
    color: #1d4ed8;
    border: none;
}

.btn-download-pdf[b-uzprrn19zd] {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
}

/* Error Toast */
.error-toast[b-uzprrn19zd] {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: #dc2626;
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1001;
}

.error-toast button[b-uzprrn19zd] {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
}

/* Mobile */
@media (max-width: 768px) {
    .page-content[b-uzprrn19zd] {
        padding: 70px 12px 24px;
    }

    .form-row.two-cols[b-uzprrn19zd] {
        grid-template-columns: 1fr;
    }

    .job-header[b-uzprrn19zd] {
        flex-direction: column;
        gap: 8px;
    }

    .job-actions[b-uzprrn19zd] {
        flex-direction: column;
    }

    .profiles-grid[b-uzprrn19zd], .coverletters-grid[b-uzprrn19zd] {
        grid-template-columns: 1fr;
    }

    .modal-content[b-uzprrn19zd] {
        margin: 12px;
        padding: 20px;
    }
}
