/* Dashboard Specific Styles */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.chart-container {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    min-height: 400px;
}
/* ==========================================================================
   DASHBOARD MAIN
   ========================================================================== */
.dash-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 4rem;
}

.dash-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 0 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.dash-welcome {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
}

.dash-welcome-sub {
    color: var(--text-secondary);
    margin: 0.25rem 0 0;
    font-size: 1rem;
}

.dash-signout-btn {
    padding: 8px 18px;
    border-radius: 10px;
    border: 1.5px solid var(--border-color);
    background: none;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}

.dash-signout-btn:hover {
    border-color: #ef4444;
    color: #ef4444;
}

/* ── Portfolio value card ── */
.portfolio-value-card {
    background: linear-gradient(135deg, rgba(59,130,246,0.12), rgba(16,185,129,0.08));
    border: 1px solid rgba(59,130,246,0.25);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.portfolio-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.portfolio-value {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.portfolio-change {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

.portfolio-change--up { color: #10b981; }
.portfolio-change--down { color: #ef4444; }

.portfolio-edit-btn {
    padding: 10px 20px;
    border-radius: 12px;
    border: 1.5px solid rgba(59,130,246,0.4);
    background: rgba(59,130,246,0.08);
    color: #60a5fa;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}

.portfolio-edit-btn:hover {
    background: rgba(59,130,246,0.16);
    border-color: #3b82f6;
}

/* ── Two-column layout ── */
.dash-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

/* ── Section card ── */
.dash-section-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.75rem;
}

.dash-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 1.25rem;
}

/* ── Holdings list ── */
.holding-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.holding-row:last-child { border-bottom: none; }

.holding-sym { font-weight: 700; font-size: 1rem; }
.holding-alloc { color: var(--text-secondary); font-size: 1rem; margin-top: 2px; }

.holding-value { font-weight: 700; text-align: right; }
.holding-change { font-size: 1rem; text-align: right; margin-top: 2px; }
.holding-change--up   { color: #10b981; }
.holding-change--down { color: #ef4444; }

/* ── Pie chart ── */
.pie-wrapper {
    position: relative;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Signals list ── */
.signal-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border-color);
}

.signal-row:last-child { border-bottom: none; }

.signal-action {
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    flex-shrink: 0;
    margin-top: 2px;
}

.signal-action--buy {
    background: rgba(16,185,129,0.12);
    color: #10b981;
    border: 1px solid rgba(16,185,129,0.3);
}

.signal-action--sell {
    background: rgba(239,68,68,0.12);
    color: #ef4444;
    border: 1px solid rgba(239,68,68,0.3);
}

.signal-sym { font-weight: 700; font-size: 1rem; }
.signal-target { font-size: 1rem; color: #10b981; margin-top: 2px; }
.signal-note { font-size: 1rem; color: var(--text-secondary); margin-top: 3px; line-height: 1.4; }

/* ── Edit portfolio modal ── */
.edit-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9997;
    padding: 1rem;
    backdrop-filter: blur(6px);
}

.edit-modal-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    max-width: 460px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    animation: fadeIn 0.2s ease;
}

.edit-modal-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.edit-holding-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.6rem;
}

.edit-holding-sym {
    font-weight: 700;
    width: 60px;
    flex-shrink: 0;
}

.edit-holding-input {
    flex: 1;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1.5px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.15s;
}

.edit-holding-input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.edit-modal-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.edit-save-btn {
    flex: 1;
    padding: 11px;
    border-radius: 10px;
    border: none;
    background: var(--color-primary);
    color: white;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.15s;
}

.edit-save-btn:hover { background: var(--color-primary-hover); }

.edit-cancel-btn {
    flex: 1;
    padding: 11px;
    border-radius: 10px;
    border: 1.5px solid var(--border-color);
    background: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.edit-cancel-btn:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

/* ── Watchlist (dashboard sidebar) — legacy classes kept for safety ── */
.dash-watchlist-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--border-color);
}

.dash-watchlist-item:last-child { border-bottom: none; }

.dash-watchlist-sym { font-weight: 700; }
.dash-watchlist-price { font-size: 1rem; color: var(--text-secondary); margin-top: 2px; }

.dash-watchlist-change {
    font-size: 1rem;
    font-weight: 600;
    text-align: right;
}

.dash-watchlist-change--up   { color: #10b981; }
.dash-watchlist-change--down { color: #ef4444; }

/* ── Empty state ── */
.dash-empty {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
    padding: 1.5rem 0;
}

/* Misc layout helpers used in dashboard template */
.dash-btn-row { display: flex; gap: 0.6rem; align-items: center; }
.dash-link { font-size: 1rem; color: #60a5fa; text-decoration: none; }
.signal-mini-badge { font-size: 0.75rem; padding: 2px 6px; border-radius: 100px; background: #1e293b; color: #94a3b8; }

/* Inline delete / edit buttons on holding rows */
.holding-card .delete-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: background .15s, color .15s, border-color .15s;
    flex-shrink: 0;
}
.holding-card .delete-btn:hover {
    background: rgba(239, 68, 68, .12);
    border-color: rgba(239, 68, 68, .4);
    color: #ef4444;
}

/* ==========================================================================
   PORTFOLIO SUMMARY CARD — secondary stats
   ========================================================================== */
.portfolio-stats          { display: flex; gap: 2rem; }
.portfolio-stat           { text-align: right; }
.portfolio-stat-value     { font-weight: 700; font-family: monospace; font-size: 1rem; }
.portfolio-stat-count     { font-weight: 700; font-size: 1rem; }

/* ==========================================================================
   SECTION HEADER ROWS (title + action button)
   ========================================================================== */
.section-header           { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; }
.section-header .dash-section-title { margin: 0; }
.section-header-btn       { padding: 7px 14px; font-size: 1rem; }

/* ==========================================================================
   HOLDING ROWS
   ========================================================================== */
.holding-card             { border: 1px solid var(--border-color); border-radius: 12px; padding: 1rem; margin-bottom: .75rem; transition: border-color .2s; }
.holding-card:hover       { border-color: rgba(59,130,246,.5); }
.holding-card-inner       { display: flex; justify-content: space-between; align-items: flex-start; }
.holding-card-left        { display: flex; align-items: center; gap: .75rem; }
.holding-ticker-icon      { width: 40px; height: 40px; border-radius: 10px; background: rgba(59,130,246,.1); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1rem; color: #60a5fa; letter-spacing: -.5px; }
.holding-meta             { display: flex; align-items: center; gap: 6px; }
.holding-type-badge       { font-size: 1rem; padding: 2px 7px; border-radius: 100px; }
.holding-card-right       { display: flex; align-items: center; gap: .4rem; }
.holding-value-col        { text-align: right; margin-right: .3rem; }

/* ── Holding type badge colour variants ── */
.holding-type-badge--crypto {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
}
.holding-type-badge--etf {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
}
.holding-type-badge--stock {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

/* ==========================================================================
   SIGNAL ROWS
   ========================================================================== */
.signal-live-dot          { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3b82f6; box-shadow: 0 0 6px #3b82f6; }
.signal-title-row         { display: flex; align-items: center; gap: 8px; }
.signal-card              { border: 1px solid var(--border-color); border-radius: 12px; padding: 1rem 1.1rem; margin-bottom: .6rem; display: flex; justify-content: space-between; align-items: center; gap: .75rem; transition: border-color .2s; }
.signal-card:hover        { border-color: rgba(59,130,246,.5); }
.signal-card-left         { display: flex; align-items: center; gap: .875rem; min-width: 0; }
.signal-ticker-icon       { width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px; background: rgba(16,185,129,.1); color: #10b981; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1rem; }
.signal-card-meta         { min-width: 0; }
.signal-badge-row         { display: flex; align-items: center; gap: 5px; margin-bottom: 3px; flex-wrap: wrap; }
.signal-card-right        { text-align: right; flex-shrink: 0; }

/* ==========================================================================
   PIE / DISTRIBUTION SECTION
   ========================================================================== */
.dash-col                 { display: flex; flex-direction: column; gap: 1.5rem; }
.pie-chart-wrap           { position: relative; height: 220px; margin-bottom: 1rem; }
.pie-legend               { display: flex; flex-direction: column; gap: .4rem; }
.pie-legend-row           { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-radius: 8px; background: var(--bg-primary); }
.pie-legend-label         { display: flex; align-items: center; gap: 8px; }
.pie-dot                  { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; background: var(--dot-color, #3b82f6); }

/* Left side: dot + symbol stack */
.pie-legend-left          { display: flex; align-items: center; gap: 8px; min-width: 0; }
.pie-legend-info          { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pie-legend-sub           { display: flex; align-items: center; gap: 6px; }
.pie-legend-price         { font-size: 0.75rem; color: var(--text-secondary); font-family: monospace; }

/* Right side: total value + allocation % */
.pie-legend-right         { text-align: right; flex-shrink: 0; }
.pie-legend-val           { font-weight: 700; font-size: 1rem; }
.pie-legend-alloc         { font-size: 0.75rem; color: var(--text-secondary); margin-top: 1px; }

/* Daily change colours */
.pie-change               { font-size: 0.72rem; font-weight: 600; }
.pie-change--up           { color: #10b981; }
.pie-change--down         { color: #ef4444; }
.dash-empty-chart         { height: 180px; display: flex; align-items: center; justify-content: center; }

/* Pie legend symbol link */
.pie-legend-sym           { font-weight: 700; font-size: 0.9rem; }
.pie-legend-sym--link     { color: var(--text-primary); text-decoration: none; font-weight: 700; font-size: 0.9rem; transition: color 0.15s; }
.pie-legend-sym--link:hover { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   WATCHLIST SECTION
   ========================================================================== */
.watchlist-header         { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.watchlist-header .dash-section-title { margin: 0; }
.watchlist-hint           { margin: 0; font-size: 1rem; opacity: .65; }
.watchlist-badge          { font-size: 1rem; padding: 2px 8px; border-radius: 100px; background: rgba(59,130,246,.12); color: #60a5fa; }

/* ── Watchlist card (live-price variant used on dashboard) ── */
.watchlist-card {
    display: flex;
    flex-direction: column;
}

.watchlist-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.watchlist-item:last-child { border-bottom: none; }

/* Symbol link */
.watchlist-sym--link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    transition: color 0.15s;
}

.watchlist-sym--link:hover {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* External-link icon inside symbol */
.watchlist-sym-icon {
    opacity: 0.5;
    margin-left: 3px;
    vertical-align: middle;
}

/* Price line */
.watchlist-price {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 2px;
    display: flex;
    align-items: center;
}

/* Change badge */
.wl-change         { margin-left: 4px; font-weight: 600; }
.wl-change--up     { color: #10b981; }
.wl-change--down   { color: #ef4444; }

/* Remove button */
.watchlist-remove-btn {
    color: #ef4444;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.7rem;
    font-weight: 600;
    font-family: inherit;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background 0.15s;
    flex-shrink: 0;
}

.watchlist-remove-btn:hover {
    background: rgba(239, 68, 68, 0.1);
}

/* ==========================================================================
   SIGN-OUT VARIANT BUTTON
   ========================================================================== */
.dash-signout-btn--danger { border-color: rgba(239,68,68,.3); background: rgba(239,68,68,.08); color: #ef4444; }

/* ==========================================================================
   EDIT MODAL FORM
   ========================================================================== */
.edit-form                { display: flex; flex-direction: column; gap: .875rem; }
.edit-input-full          { width: 100%; }

/* ==========================================================================
   AUTH TAB ROW — no-margin variant inside email form
   ========================================================================== */
.auth-tab-row--flush      { margin-bottom: 0; }

/* ==========================================================================
   ONBOARDING WRAPPER, STEP-CIRCLE NAV & PROGRESS BAR
   ========================================================================== */
.onboarding-wrapper       { max-width: 800px; width: 95%; margin: 0 auto; }
.onboarding-card-inner    { background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 16px; padding: 2rem; margin-top: 1.5rem; }

/* Step circle nav */
.onboarding-steps-nav {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem 2rem 0;
    position: relative;
}
.onboarding-steps-nav::before {
    content: '';
    position: absolute;
    top: 2.6rem;
    left: calc(2rem + 26px);
    right: calc(2rem + 26px);
    height: 1px;
    background: var(--border-color);
    pointer-events: none;
}
.onboarding-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    position: relative;
}
.onboarding-step-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}
.onboarding-step-circle svg { stroke: var(--text-secondary); transition: stroke 0.3s ease; }
.onboarding-step-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
    transition: color 0.3s ease;
    white-space: nowrap;
}
/* Active */
.step-active .onboarding-step-circle { background: #3b82f6; border-color: #3b82f6; box-shadow: 0 0 18px rgba(59,130,246,0.4); }
.step-active .onboarding-step-circle svg { stroke: #fff; }
.step-active .onboarding-step-label { color: #3b82f6; font-weight: 700; }
/* Done */
.step-done .onboarding-step-circle { background: rgba(16,185,129,0.12); border-color: rgba(16,185,129,0.5); }
.step-done .onboarding-step-circle svg { stroke: #10b981; }
.step-done .onboarding-step-label { color: #10b981; }

/* Progress bar (below nav, above card) */
.onboarding-progress-bar-track { height: 4px; background: var(--border-color); border-radius: 100px; overflow: hidden; margin: 1rem 0 0; }
.onboarding-progress-bar-fill  { height: 100%; background: linear-gradient(90deg, #3b82f6, #10b981); border-radius: 100px; transition: width 0.4s ease; }

/* Select options — checkmark style */
.onboarding-select-option { display: flex; align-items: center; justify-content: space-between; }
.onboarding-select-option svg { stroke: #3b82f6; flex-shrink: 0; }
.onboarding-multi-options { display: flex; flex-wrap: wrap; gap: .6rem; }
.onboarding-pill          { border-radius: 100px; padding: 9px 18px; font-size: 1rem; }

/* Number input with $ prefix */
.onboarding-number-wrap {
    display: flex;
    align-items: center;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 0 1rem;
    transition: border-color 0.15s;
}
.onboarding-number-wrap:focus-within { border-color: var(--color-primary); }
.onboarding-currency { color: var(--text-secondary); font-size: 1rem; font-weight: 600; margin-right: 0.5rem; }

/* Slider */
.onboarding-slider-wrap  { display: flex; flex-direction: column; gap: 1rem; }
.onboarding-slider-labels { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--text-secondary); }
.onboarding-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 100px;
    background: var(--border-color);
    outline: none;
    cursor: pointer;
}
.onboarding-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #3b82f6;
    border: 3px solid #fff;
    box-shadow: 0 0 10px rgba(59,130,246,0.5);
    cursor: pointer;
    transition: box-shadow 0.2s;
}
.onboarding-slider::-webkit-slider-thumb:hover { box-shadow: 0 0 18px rgba(59,130,246,0.7); }
.onboarding-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #3b82f6;
    border: 3px solid #fff;
    box-shadow: 0 0 10px rgba(59,130,246,0.5);
    cursor: pointer;
}
.onboarding-slider-value { text-align: center; font-size: 2rem; font-weight: 800; color: #3b82f6; letter-spacing: -0.02em; }

.auth-loading-spinner-wrap { display: flex; align-items: center; }
.auth-submit-btn--loading  { opacity: 0.7; }

@media (max-width: 600px) {
    .onboarding-step-label  { display: none; }
    .onboarding-steps-nav   { padding: 1rem 1rem 0; }
    .onboarding-card-inner  { padding: 1.5rem 1rem; }
    .onboarding-step-circle { width: 42px; height: 42px; }
}

/* ==========================================================================
   AUTH SKELETON — prevents FOUC on dashboard page transition.
   Occupies the same minimum height as the real content so Vue's
   page transition never sees a zero-height flash.
   ========================================================================== */
.dash-auth-skeleton {
    min-height: calc(100vh - 72px - 4rem);
    /* Transparent — no spinner, no shimmer, just stable space */
}

/* ==========================================================================
   SYMBOL LINKS — shared hover behaviour for all clickable symbols
   ========================================================================== */

/* Shared base for all sym links */
.holding-sym--link,
.signal-sym--link,
.pie-legend-sym--link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.15s;
}

.holding-sym--link:hover,
.signal-sym--link:hover,
.pie-legend-sym--link:hover {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Ticker icon as a link — keeps the square badge look but is now clickable */
.holding-ticker-icon--link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: -0.5px;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    flex-shrink: 0;
}

.holding-ticker-icon--link:hover {
    background: rgba(59, 130, 246, 0.22);
    color: #93c5fd;
}

/* Signal ticker icon as a link */
.signal-ticker-icon--link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.signal-ticker-icon--link:hover {
    background: rgba(16, 185, 129, 0.22);
    color: #34d399;
}



/* Edit button (pencil) — blue tint to distinguish from delete (trash) */
.holding-card .delete-btn:first-of-type:hover {
    background: rgba(59, 130, 246, .12);
    border-color: rgba(59, 130, 246, .4);
    color: #60a5fa;
}

/* ==========================================================================
   RECOMMENDATIONS PAGE — ADVISOR CONTROLS
   ========================================================================== */
.reco-header           { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.reco-advisor-controls { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.reco-advisor-badge    { display: flex; align-items: center; gap: 0.35rem; padding: 0.35rem 0.75rem; background: rgba(59,130,246,0.12); border: 1px solid rgba(59,130,246,0.3); border-radius: 100px; font-size: 0.75rem; font-weight: 700; color: #60a5fa; }
.reco-publish-btn      { display: flex; align-items: center; gap: 0.4rem; padding: 0.5rem 1.1rem; background: #3b82f6; border: none; border-radius: 8px; color: #fff; font-size: 0.85rem; font-weight: 700; font-family: inherit; cursor: pointer; transition: background 0.15s; }
.reco-publish-btn:hover { background: #2563eb; }
