/* ══════════════════════════════════════════════════════════════════
   HackTheJD — Profile Page Styles
   Matches the existing light-theme design system with premium feel
   ══════════════════════════════════════════════════════════════════ */

/* ── Page Layout ─────────────────────────────────────────────────── */

.profile-page {
    min-height: 100vh;
    padding: 100px 20px 60px;
    max-width: 860px;
    margin: 0 auto;
}

.profile-page h1 {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #0B132B;
    margin-bottom: 8px;
}

.profile-subtitle {
    color: #545b62;
    font-size: 0.95rem;
    margin-bottom: 32px;
}

/* ── Import Bar ──────────────────────────────────────────────────── */

.profile-import-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.import-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 12px;
    border: 1px solid rgba(0, 123, 255, 0.2);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    color: #1C2541;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.import-btn:hover {
    background: #f0f6ff;
    border-color: rgba(0, 123, 255, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.1);
}

.import-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.import-btn.linkedin { border-color: rgba(10, 102, 194, 0.3); color: #0a66c2; }
.import-btn.linkedin:hover { background: rgba(10, 102, 194, 0.06); border-color: rgba(10, 102, 194, 0.5); }

.import-btn.naukri { border-color: rgba(74, 144, 226, 0.3); color: #4a90e2; }
.import-btn.naukri:hover { background: rgba(74, 144, 226, 0.06); border-color: rgba(74, 144, 226, 0.5); }

.import-btn.resume { border-color: rgba(32, 201, 151, 0.3); color: #1c9d6f; }
.import-btn.resume:hover { background: rgba(32, 201, 151, 0.06); border-color: rgba(32, 201, 151, 0.5); }

/* ── Resume Generation Bar ──────────────────────────────────────── */

.profile-resume-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    margin-bottom: 28px;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.04), rgba(111, 66, 193, 0.04));
    border: 1px solid rgba(0, 123, 255, 0.12);
    border-radius: 14px;
    flex-wrap: wrap;
}

.resume-bar-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: #475569;
    flex: 1;
    min-width: 200px;
}

.resume-bar-info svg {
    flex-shrink: 0;
    color: #007BFF;
}

.resume-bar-actions {
    display: flex;
    gap: 10px;
}

.resume-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: 10px;
    font-size: 0.83rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.resume-btn.preview {
    background: rgba(0, 123, 255, 0.06);
    border: 1px solid rgba(0, 123, 255, 0.2);
    color: #007BFF;
}

.resume-btn.preview:hover {
    background: rgba(0, 123, 255, 0.1);
    border-color: rgba(0, 123, 255, 0.4);
    transform: translateY(-1px);
}

.resume-btn.download {
    background: linear-gradient(135deg, #007BFF, #3A86FF);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}

.resume-btn.download:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 123, 255, 0.3);
}

.resume-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* ── Profile Strength Meter ────────────────────────────────────────── */
.profile-strength-container {
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.04);
}

.strength-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

#strengthPercentage {
    color: var(--accent-blue);
}

.strength-bar-bg {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.strength-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #10b981);
    border-radius: 4px;
    width: 0%;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.strength-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.template-select {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.83rem;
    color: var(--text-primary);
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s;
}

.template-select:focus {
    border-color: var(--accent-blue);
}

/* ── Section Cards ───────────────────────────────────────────────── */

.profile-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(11, 19, 43, 0.08);
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 20px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.profile-section:hover {
    border-color: rgba(0, 123, 255, 0.15);
    box-shadow: 0 4px 16px rgba(0, 123, 255, 0.06);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #0B132B;
}

.section-title svg {
    width: 20px;
    height: 20px;
    color: #007BFF;
}

.section-edit-btn {
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid rgba(0, 123, 255, 0.2);
    background: transparent;
    color: #007BFF;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.section-edit-btn:hover {
    background: rgba(0, 123, 255, 0.06);
    border-color: rgba(0, 123, 255, 0.4);
}

.section-save-btn {
    padding: 6px 14px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(135deg, #007BFF, #3A86FF);
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.section-save-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

/* ── Form Fields ─────────────────────────────────────────────────── */

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }
}

.profile-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.profile-field.full-width {
    grid-column: 1 / -1;
}

.profile-field label {
    font-size: 0.78rem;
    font-weight: 500;
    color: #545b62;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-field input,
.profile-field select,
.profile-field textarea {
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(11, 19, 43, 0.12);
    background: rgba(255, 255, 255, 0.95);
    color: #0B132B;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.profile-field input:focus,
.profile-field select:focus,
.profile-field textarea:focus {
    border-color: rgba(0, 123, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.08);
}

.profile-field input:disabled,
.profile-field select:disabled,
.profile-field textarea:disabled {
    opacity: 0.7;
    background: rgba(245, 247, 250, 0.8);
    cursor: not-allowed;
}

.profile-field textarea {
    resize: vertical;
    min-height: 60px;
}

.profile-field select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 5l3 3 3-3' stroke='%23007BFF' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

/* ── Skills Tags ─────────────────────────────────────────────────── */

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.skill-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
}

.skill-tag.advanced {
    background: rgba(32, 201, 151, 0.1);
    border: 1px solid rgba(32, 201, 151, 0.25);
    color: #1c9d6f;
}

.skill-tag.intermediate {
    background: rgba(0, 123, 255, 0.08);
    border: 1px solid rgba(0, 123, 255, 0.2);
    color: #006ee6;
}

.skill-tag.beginner {
    background: rgba(253, 126, 20, 0.08);
    border: 1px solid rgba(253, 126, 20, 0.2);
    color: #d06400;
}

.skill-tag .remove-skill {
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s;
    width: 14px;
    height: 14px;
}

.skill-tag:hover .remove-skill {
    opacity: 0.7;
}

.skill-tag .remove-skill:hover {
    opacity: 1;
}

.skill-level-dot {
    font-size: 0.7rem;
    opacity: 0.7;
}

.add-skill-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.add-skill-row input {
    flex: 1;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid rgba(11, 19, 43, 0.12);
    background: #fff;
    color: #0B132B;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    outline: none;
}

.add-skill-row input:focus {
    border-color: rgba(0, 123, 255, 0.5);
}

.add-skill-row select {
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid rgba(11, 19, 43, 0.12);
    background: #fff;
    color: #0B132B;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    outline: none;
}

.add-skill-btn {
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid rgba(32, 201, 151, 0.3);
    background: rgba(32, 201, 151, 0.06);
    color: #1c9d6f;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.add-skill-btn:hover {
    background: rgba(32, 201, 151, 0.12);
    border-color: rgba(32, 201, 151, 0.5);
}

/* ── Target Tags (roles, companies) ──────────────────────────────── */

.tags-input-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(11, 19, 43, 0.12);
    background: rgba(255, 255, 255, 0.95);
    min-height: 42px;
    cursor: text;
}

.tags-input-container:focus-within {
    border-color: rgba(0, 123, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.08);
}

.tag-chip {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 16px;
    background: rgba(0, 123, 255, 0.08);
    border: 1px solid rgba(0, 123, 255, 0.2);
    color: #006ee6;
    font-size: 0.82rem;
    font-weight: 500;
}

.tag-chip .remove-tag {
    cursor: pointer;
    opacity: 0.5;
    font-size: 1rem;
    line-height: 1;
    transition: opacity 0.2s;
}

.tag-chip .remove-tag:hover {
    opacity: 1;
}

.tags-input {
    border: none;
    background: transparent;
    color: #0B132B;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    flex: 1;
    min-width: 120px;
}

.tags-input::placeholder {
    color: #aab0b6;
}

/* ── Memory Section (What the Bot Knows) ─────────────────────────── */

.memory-section {
    border: 1px solid rgba(111, 66, 193, 0.15);
    background: rgba(111, 66, 193, 0.02);
}

.memory-section:hover {
    border-color: rgba(111, 66, 193, 0.25);
    box-shadow: 0 4px 16px rgba(111, 66, 193, 0.06);
}

.memory-section .section-title svg {
    color: #6F42C1;
}

.memory-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.memory-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 10px;
    background: rgba(111, 66, 193, 0.04);
    border: 1px solid rgba(111, 66, 193, 0.08);
}

.memory-item-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #6F42C1;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    min-width: 140px;
    flex-shrink: 0;
    padding-top: 2px;
}

.memory-item-value {
    font-size: 0.9rem;
    color: #1C2541;
    flex: 1;
    line-height: 1.5;
}

.memory-empty {
    text-align: center;
    padding: 32px 20px;
    color: #aab0b6;
    font-size: 0.9rem;
}

.memory-empty svg {
    display: block;
    margin: 0 auto 12px;
    opacity: 0.4;
    color: #6F42C1;
}

/* ── Import Modal ────────────────────────────────────────────────── */

.import-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(11, 19, 43, 0.6);
    backdrop-filter: blur(6px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.import-modal-overlay.active {
    display: flex;
}

.import-modal {
    background: #fff;
    border: 1px solid rgba(11, 19, 43, 0.1);
    border-radius: 20px;
    padding: 32px;
    max-width: 520px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 24px 48px rgba(11, 19, 43, 0.15);
}

.import-modal h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #0B132B;
    margin-bottom: 8px;
}

.import-modal .modal-subtitle {
    color: #545b62;
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.import-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    counter-reset: step;
}

.import-steps li {
    position: relative;
    padding: 12px 0 12px 40px;
    color: #1C2541;
    font-size: 0.9rem;
    line-height: 1.5;
    counter-increment: step;
}

.import-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 12px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(0, 123, 255, 0.08);
    border: 1px solid rgba(0, 123, 255, 0.2);
    color: #007BFF;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.import-steps li + li {
    border-top: 1px solid rgba(11, 19, 43, 0.06);
}

.upload-zone {
    border: 2px dashed rgba(0, 123, 255, 0.25);
    border-radius: 14px;
    padding: 32px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 16px;
}

.upload-zone:hover,
.upload-zone.dragover {
    border-color: rgba(0, 123, 255, 0.5);
    background: rgba(0, 123, 255, 0.03);
}

.upload-zone svg {
    margin-bottom: 12px;
    color: #007BFF;
}

.upload-zone p {
    color: #007BFF;
    font-size: 0.9rem;
    margin: 0;
}

.upload-zone .upload-hint {
    color: #aab0b6;
    font-size: 0.8rem;
    margin-top: 6px;
}

.upload-zone.processing {
    pointer-events: none;
    opacity: 0.6;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
}

.modal-cancel-btn {
    padding: 10px 20px;
    border-radius: 10px;
    border: 1px solid rgba(11, 19, 43, 0.12);
    background: transparent;
    color: #545b62;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
}

.modal-cancel-btn:hover {
    background: rgba(11, 19, 43, 0.04);
}

/* ── Toast Notification ──────────────────────────────────────────── */

.profile-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    z-index: 2000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.profile-toast.success {
    background: #e8faf4;
    border: 1px solid rgba(32, 201, 151, 0.3);
    color: #1c9d6f;
}

.profile-toast.error {
    background: #fef2f2;
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #dc2626;
}

.profile-toast.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ── Loading State ───────────────────────────────────────────────── */

.profile-loading {
    text-align: center;
    padding: 60px 20px;
    color: #545b62;
}

.profile-loading .spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(0, 123, 255, 0.15);
    border-top-color: #007BFF;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

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

/* ── Auth Gate ───────────────────────────────────────────────────── */

.profile-auth-gate {
    text-align: center;
    padding: 80px 20px;
}

.profile-auth-gate h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #0B132B;
    margin-bottom: 12px;
}

.profile-auth-gate p {
    color: #545b62;
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.profile-auth-gate .login-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #007BFF, #3A86FF);
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
}

.profile-auth-gate .login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
}

/* ── Back Link ───────────────────────────────────────────────────── */

.profile-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #007BFF;
    font-size: 0.85rem;
    text-decoration: none;
    margin-bottom: 24px;
    transition: color 0.2s;
}

.profile-back-link:hover {
    color: #3A86FF;
}

/* ── Extracted Data Cards ────────────────────────────────────────── */

.extracted-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.no-data-hint {
    color: #8b8fa3;
    font-size: 0.85rem;
    font-style: italic;
    padding: 12px 0;
}

.ext-card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    padding: 14px 16px;
    transition: box-shadow 0.2s;
}

.ext-card:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.ext-card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 2px;
}

.ext-card-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #0B132B;
}

.ext-card-date {
    font-size: 0.82rem;
    color: #64748b;
    white-space: nowrap;
    padding-left: 12px;
}

.ext-card-subtitle {
    font-size: 0.85rem;
    color: #475569;
    font-style: italic;
    margin-bottom: 6px;
}

.ext-card-bullets {
    list-style: disc;
    padding-left: 18px;
    margin: 6px 0 0;
}

.ext-card-bullets li {
    font-size: 0.85rem;
    color: #334155;
    line-height: 1.45;
    margin-bottom: 3px;
}

.ext-card-tech {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 6px;
}

.ext-card-tech strong {
    color: #475569;
}

.ext-card-score {
    font-size: 0.82rem;
    color: #475569;
    margin-top: 2px;
}

/* Publications specific */
.pub-item {
    font-size: 0.85rem;
    color: #334155;
    margin-bottom: 4px;
    line-height: 1.4;
}

.pub-item strong {
    color: #0B132B;
}

/* Awards as inline tags */
.award-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 123, 255, 0.06);
    border: 1px solid rgba(0, 123, 255, 0.12);
    border-radius: 20px;
    font-size: 0.82rem;
    color: #1C2541;
    margin: 3px 4px 3px 0;
}

/* ── Extracted Data Inline Editors ───────────────────────────────── */

.ext-edit-form {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.ext-edit-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.ext-edit-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ext-edit-field label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ext-edit-field input, .ext-edit-field textarea {
    padding: 8px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.85rem;
    font-family: inherit;
    color: #0f172a;
    transition: border-color 0.2s;
}

.ext-edit-field input:focus, .ext-edit-field textarea:focus {
    outline: none;
    border-color: #007BFF;
}

.ext-edit-field textarea {
    resize: vertical;
    min-height: 60px;
}

/* Bullet list editor */
.ext-bullet-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.ext-bullet-item {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.ext-bullet-item textarea {
    flex: 1;
    min-height: 40px;
    padding: 6px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.85rem;
    resize: vertical;
}

.ext-btn-icon {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.ext-btn-icon:hover {
    background: #f1f5f9;
    color: #ef4444; /* red for delete */
}

.ext-btn-add {
    background: none;
    border: 1px dashed #cbd5e1;
    color: #64748b;
    padding: 8px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s;
}

.ext-btn-add:hover {
    border-color: #007BFF;
    color: #007BFF;
    background: #f0f7ff;
}

/* Actions */
.ext-edit-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
}

.ext-btn-save {
    background: #007BFF;
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
}

.ext-btn-save:hover {
    background: #0056b3;
}

.ext-btn-cancel {
    background: #f1f5f9;
    color: #475569;
    border: none;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
}

.ext-btn-cancel:hover {
    background: #e2e8f0;
}

.ext-section-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 8px;
}
