/* Content Sections */
.content-section {
    min-height: 100vh;
    background: var(--bg-primary);
}

.section-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--bg-primary);
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    border-bottom: 1px solid var(--border-color);
}

.section-header h2 {
    flex: 1;
    font-size: var(--font-size-lg);
    font-weight: 700;
}

.back-btn,
.add-section-btn,
.export-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.back-btn:hover,
.add-section-btn:hover,
.export-btn:hover {
    background: var(--bg-card);
    color: var(--text-primary);
}

.back-btn svg,
.add-section-btn svg,
.export-btn svg {
    width: 20px;
    height: 20px;
}

/* Section Summary */
.section-summary {
    margin: var(--spacing-lg);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.gold-summary {
    background: rgba(240, 185, 11, 0.06);
    border-left: 3px solid var(--gold-primary);
}

.currency-summary {
    background: rgba(14, 203, 129, 0.06);
    border-left: 3px solid var(--currency-primary);
}

.crypto-summary {
    background: rgba(247, 147, 26, 0.06);
    border-left: 3px solid #F7931A;
}

.bist-summary {
    background: rgba(29, 155, 240, 0.06);
    border-left: 3px solid #1d9bf0;
}

.summary-total {
    margin-bottom: var(--spacing-md);
}

.summary-label {
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
    display: block;
    margin-bottom: var(--spacing-xs);
}

.summary-value {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.summary-stats {
    display: flex;
    gap: var(--spacing-xl);
}

.summary-stat .stat-label {
    font-size: var(--font-size-xs);
    color: var(--text-tertiary);
    display: block;
    margin-bottom: 2px;
}

.summary-stat .stat-value {
    font-size: var(--font-size-md);
    font-weight: 700;
}

.summary-stat .stat-value.positive {
    color: var(--positive);
}

.summary-stat .stat-value.negative {
    color: var(--negative);
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: var(--spacing-sm);
    padding: 0 var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.filter-tabs::-webkit-scrollbar {
    display: none;
}

.filter-tab {
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.filter-tab:hover {
    background: var(--bg-card);
    color: var(--text-primary);
}

.filter-tab.active {
    background: var(--gold-gradient);
    color: var(--bg-primary);
    border-color: transparent;
}

/* Assets List */
.assets-list {
    padding: 0 var(--spacing-lg) var(--spacing-2xl);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.asset-item {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.asset-item:hover {
    border-color: rgba(240, 185, 11, 0.2);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.asset-item:active {
    transform: scale(0.98);
}

.asset-header {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.asset-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.asset-icon svg {
    width: 28px;
    height: 28px;
}

.asset-icon.gold {
    background: rgba(240, 185, 11, 0.1);
}

.asset-icon.currency {
    background: rgba(14, 203, 129, 0.1);
}

.asset-info {
    flex: 1;
    min-width: 0;
}

.asset-name {
    font-size: var(--font-size-md);
    font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.asset-meta {
    font-size: var(--font-size-xs);
    color: var(--text-tertiary);
}

.asset-value-container {
    text-align: right;
}

.asset-current-value {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.asset-profit {
    font-size: var(--font-size-xs);
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    display: inline-block;
    transition: all 0.3s ease;
}

.asset-profit.positive {
    background: var(--positive-bg);
    color: var(--positive);
}

.asset-profit.negative {
    background: var(--negative-bg);
    color: var(--negative);
}

/* High profit celebration styles */
.asset-profit.high-profit {
    background: linear-gradient(135deg, rgba(0, 255, 106, 0.2), rgba(0, 255, 106, 0.1));
    animation: positive-pulse 2s ease infinite;
}

.asset-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

.asset-detail {
    text-align: center;
}

.detail-label {
    font-size: var(--font-size-xs);
    color: var(--text-tertiary);
    display: block;
    margin-bottom: 2px;
}

.detail-value {
    font-size: var(--font-size-sm);
    font-weight: 600;
}

/* Spread/Makas Info */
.asset-spread-info {
    margin-top: var(--spacing-sm);
    padding-top: var(--spacing-xs);
    border-top: 1px dashed var(--border-color);
    text-align: center;
}

.spread-label {
    font-size: 10px;
    color: var(--text-tertiary);
    opacity: 0.8;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-modal);
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.modal.hidden {
    display: none;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: 85vh;
    background: rgba(22, 27, 34, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    overflow: hidden;
    animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-xl);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-size: var(--font-size-lg);
    font-weight: 700;
}

.modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--bg-card);
    color: var(--text-primary);
}

.modal-close svg {
    width: 20px;
    height: 20px;
}

.modal-body {
    padding: var(--spacing-lg);
    overflow-y: auto;
    flex: 1;
    max-height: calc(85vh - 140px);
    -webkit-overflow-scrolling: touch;
}

/* Type Selection */
.type-selection {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.type-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-xl);
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.type-btn:hover {
    border-color: var(--border-light);
}

.type-btn:active {
    transform: scale(0.98);
}

.type-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.type-icon svg {
    width: 32px;
    height: 32px;
}

.gold-icon {
    background: rgba(240, 185, 11, 0.12);
    color: var(--gold-primary);
}

.currency-icon {
    background: rgba(14, 203, 129, 0.12);
    color: var(--currency-primary);
}

.crypto-icon {
    background: rgba(59, 130, 246, 0.12);
    color: var(--accent-primary);
}

.bes-icon {
    background: rgba(59, 130, 246, 0.12);
    color: var(--accent-primary);
}

.type-btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    position: relative;
}

.coming-soon-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 10px;
    font-weight: 700;
    color: var(--accent-primary);
    background: rgba(59, 130, 246, 0.12);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.5px;
}

.type-btn span {
    font-size: var(--font-size-md);
    font-weight: 600;
    color: var(--text-primary);
}

/* Asset Form */
.asset-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.form-group label {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--spacing-md);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: var(--font-size-md);
    font-family: var(--font-family);
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group 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 fill='%23A0A0B0' d='M6 8L2 4h8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Price Info Box - Alış/Satış Gösterimi */
.price-info-box {
    margin-top: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.price-info-box.hidden {
    display: none;
}

.price-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    font-size: var(--font-size-sm);
}

.price-info-row:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.price-info-row .price-label {
    color: var(--text-secondary);
}

.price-info-row .price-value {
    font-weight: 600;
    font-family: var(--font-mono);
}

.price-info-row .price-value.buy {
    color: var(--gold-primary);
}

.price-info-row .price-value.sell {
    color: #00d4aa;
}

.price-info-row.spread .price-value {
    color: var(--text-secondary);
    font-size: var(--font-size-xs);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--font-size-md);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    margin-top: var(--spacing-md);
}

.submit-btn svg {
    width: 20px;
    height: 20px;
}

.submit-btn.gold-btn {
    background: var(--gold-gradient);
    color: var(--bg-primary);
}

.submit-btn.gold-btn:hover {
    box-shadow: var(--gold-glow);
}

.submit-btn.currency-btn {
    background: var(--currency-gradient);
    color: var(--bg-primary);
}

.submit-btn.currency-btn:hover {
    box-shadow: var(--currency-glow);
}

.submit-btn:active {
    transform: scale(0.98);
}

/* Detail Modal */
.detail-modal {
    max-height: 85vh;
}

.detail-section {
    margin-bottom: var(--spacing-md);
}

.detail-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0 var(--spacing-sm);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: var(--spacing-sm);
}

.price-dual {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
}

.price-sell-val {
    font-size: var(--font-size-sm);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    color: var(--text-primary);
    text-align: right;
    white-space: nowrap;
    line-height: 1.3;
}

.price-buy-val {
    font-size: 10px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    color: var(--text-muted);
    text-align: right;
    white-space: nowrap;
    line-height: 1.3;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
}

.detail-item {
    background: var(--bg-tertiary);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.detail-item.highlight {
    background: rgba(240, 185, 11, 0.08);
    border: 1px solid rgba(240, 185, 11, 0.2);
}

.detail-item.positive-bg {
    background: rgba(14, 203, 129, 0.08);
    border: 1px solid rgba(14, 203, 129, 0.15);
}

.detail-item.negative-bg {
    background: rgba(246, 70, 93, 0.08);
    border: 1px solid rgba(246, 70, 93, 0.15);
}

.detail-item-label {
    font-size: 10px;
    color: var(--text-tertiary);
    display: block;
    margin-bottom: 2px;
}

.detail-item-value {
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.detail-item-value.large {
    font-size: var(--font-size-md);
    font-weight: 700;
}

.detail-item-value.positive {
    color: var(--positive);
}

.detail-item-value.negative {
    color: var(--negative);
}

.detail-note {
    background: var(--bg-tertiary);
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--gold-primary);
}

.detail-note-label {
    font-size: var(--font-size-xs);
    color: var(--text-tertiary);
    margin-bottom: var(--spacing-xs);
}

.detail-note-text {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

.modal-actions {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.action-btn svg {
    width: 18px;
    height: 18px;
}

.action-btn.edit-btn {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.action-btn.edit-btn:hover {
    background: var(--bg-card);
}

.action-btn.delete-btn {
    background: var(--negative-bg);
    color: var(--negative);
}

/* Real Return Explainer Box */
.real-return-explainer {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background: rgba(14, 203, 129, 0.06);
    border: 1px solid rgba(14, 203, 129, 0.15);
    border-radius: var(--radius-md);
}

.real-return-explainer .explainer-title {
    font-weight: 600;
    color: var(--currency-primary);
    margin-bottom: var(--spacing-xs);
    font-size: var(--font-size-sm);
}

.real-return-explainer p {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.action-btn.delete-btn:hover {
    background: rgba(255, 71, 87, 0.2);
}

/* Settings Modal */
.settings-modal .modal-body {
    padding: var(--spacing-lg);
}

.settings-group {
    margin-bottom: var(--spacing-xl);
}

.settings-group h4 {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-md);
}

.settings-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    width: 100%;
    padding: var(--spacing-md);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: var(--font-size-md);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    margin-bottom: var(--spacing-sm);
}

.settings-btn:hover {
    background: var(--bg-card);
    border-color: var(--border-light);
}

.settings-btn svg {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
}

.settings-btn.danger {
    color: var(--negative);
    border-color: rgba(255, 71, 87, 0.3);
}

.settings-btn.danger:hover {
    background: var(--negative-bg);
}

.settings-btn.danger svg {
    color: var(--negative);
}

.danger-zone h4 {
    color: var(--negative);
}

/* TOS Modal */
.tos-modal {
    z-index: var(--z-tos);
}

.tos-modal .modal-overlay.no-close {
    pointer-events: none;
}

.tos-modal-content {
    max-width: 600px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.tos-body {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.tos-text {
    flex: 1;
    overflow-y: auto;
    max-height: 55vh;
    padding: var(--spacing-md);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    margin-bottom: var(--spacing-lg);
    font-size: 12px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.tos-text h4 {
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 700;
    margin: 16px 0 8px 0;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--border-color);
}

.tos-text h4:first-of-type {
    margin-top: 8px;
}

.tos-text p {
    margin-bottom: 8px;
}

.tos-text ul {
    margin: 4px 0 12px 0;
    padding-left: 20px;
}

.tos-text ul li {
    margin-bottom: 4px;
    list-style: disc;
}

.tos-text strong {
    color: var(--text-primary);
}

.tos-date {
    text-align: right;
    opacity: 0.6;
    font-size: 11px;
}

.tos-checkbox-area {
    padding: var(--spacing-md);
    background: rgba(29, 155, 240, 0.06);
    border: 1px solid rgba(29, 155, 240, 0.2);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
}

.tos-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-primary);
    font-weight: 500;
}

.tos-checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: var(--accent-primary);
}

.tos-accept-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--accent-primary);
    color: white;
}

.tos-accept-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: var(--text-tertiary);
}

.tos-accept-btn:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(29, 155, 240, 0.3);
}

/* Detail modal legal disclaimer */
.detail-legal-disclaimer {
    margin-top: 16px;
    padding: 10px 12px;
    background: rgba(244, 33, 46, 0.06);
    border: 1px solid rgba(244, 33, 46, 0.15);
    border-radius: var(--radius-md);
}

.detail-legal-disclaimer p {
    font-size: 10px;
    line-height: 1.5;
    color: var(--text-tertiary);
    margin: 0;
}

/* Dashboard hero disclaimer */
.hero-disclaimer {
    text-align: center;
    font-size: 10px;
    color: var(--text-tertiary);
    opacity: 0.5;
    margin: 8px 0 0 0;
    letter-spacing: 0.2px;
}

/* Dashboard micro legal text */
.legal-micro {
    font-size: 10px;
    opacity: 0.5;
    font-style: italic;
}

.settings-legal-text {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    border: 1px solid var(--border-color);
}

.settings-legal-text p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 6px;
}

.settings-legal-text p:last-child {
    margin-bottom: 0;
}

.settings-legal-text strong {
    color: var(--text-primary);
}

.settings-info {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
}

.settings-info p {
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
    margin-bottom: var(--spacing-xs);
}

/* History Section */
.history-filters {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    padding-top: 0;
}

.history-filter {
    flex: 1;
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: var(--font-size-sm);
    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 fill='%23A0A0B0' d='M6 8L2 4h8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.history-list {
    padding: 0 var(--spacing-lg) var(--spacing-2xl);
}

.history-date-group {
    margin-bottom: var(--spacing-lg);
}

.history-date {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-tertiary);
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-sm);
}

.history-items {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.history-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.history-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.history-icon.gold {
    background: rgba(240, 185, 11, 0.1);
}

.history-icon.currency {
    background: rgba(14, 203, 129, 0.1);
}

.history-info {
    flex: 1;
}

.history-title {
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: 2px;
}

.history-subtitle {
    font-size: var(--font-size-xs);
    color: var(--text-tertiary);
}

.history-amount {
    text-align: right;
}

.history-value {
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.history-profit {
    font-size: var(--font-size-xs);
}

.history-profit.positive {
    color: var(--positive);
}

.history-profit.negative {
    color: var(--negative);
}

/* Toast */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: var(--z-toast);
    animation: toastIn 0.3s ease;
}

.toast.hidden {
    display: none;
}

@keyframes toastIn {
    from {
        transform: translateX(-50%) translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.toast-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
}

.toast-icon {
    font-size: var(--font-size-md);
}

.toast-message {
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.toast.success .toast-icon::before {
    content: '✓';
    color: var(--positive);
}

.toast.error .toast-icon::before {
    content: '✕';
    color: var(--negative);
}

.toast.warning .toast-icon::before {
    content: '⚠';
    color: var(--warning);
}

.toast.info .toast-icon::before {
    content: 'ℹ';
    color: var(--info);
}

/* ============================================
   Currency Section - New Design
   ============================================ */

/* Search Box */
.currency-search-container {
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--bg-primary);
    position: sticky;
    top: 60px;
    z-index: var(--z-dropdown);
}

.search-box {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-sm) var(--spacing-md);
    transition: all var(--transition-fast);
}

.search-box:focus-within {
    border-color: var(--currency-primary);
    box-shadow: 0 0 0 3px rgba(14, 203, 129, 0.1);
}

.search-icon {
    width: 20px;
    height: 20px;
    color: var(--text-tertiary);
    flex-shrink: 0;
}

.search-box input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: var(--font-size-md);
    outline: none;
}

.search-box input::placeholder {
    color: var(--text-tertiary);
}

.clear-search {
    width: 24px;
    height: 24px;
    border: none;
    background: var(--bg-secondary);
    border-radius: 50%;
    color: var(--text-tertiary);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
}

.clear-search.visible {
    display: flex;
}

.clear-search:hover {
    background: var(--negative);
    color: white;
}

/* Section Subtitle */
.section-subtitle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
}

.section-subtitle h3 {
    font-size: var(--font-size-md);
    font-weight: 600;
    color: var(--text-primary);
}

.portfolio-summary-mini {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.portfolio-summary-mini span:first-child {
    font-weight: 700;
    color: var(--text-primary);
}

.profit-badge {
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
}

.profit-badge.positive {
    background: var(--positive-bg);
    color: var(--positive);
}

.profit-badge.negative {
    background: var(--negative-bg);
    color: var(--negative);
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: var(--font-size-xs);
    color: #00FF00;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.live-dot-small {
    width: 6px;
    height: 6px;
    background: #00FF00;
    border-radius: 50%;
    animation: live-dot 1s ease-in-out infinite;
}

/* My Assets Section */
.my-assets-section {
    margin-bottom: var(--spacing-lg);
}

.my-assets-list {
    padding: var(--spacing-md) var(--spacing-lg);
}

.my-asset-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.my-asset-card:hover {
    border-color: rgba(14, 203, 129, 0.2);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.my-asset-card:active {
    transform: scale(0.98);
}

.my-asset-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.my-asset-flag {
    font-size: 28px;
}

.my-asset-info {
    flex: 1;
}

.my-asset-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: var(--font-size-md);
}

.my-asset-amount {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.my-asset-values {
    text-align: right;
}

.my-asset-current {
    font-weight: 700;
    color: var(--text-primary);
    font-size: var(--font-size-md);
}

.my-asset-profit {
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.my-asset-profit.positive {
    color: var(--positive);
}

.my-asset-profit.negative {
    color: var(--negative);
}

/* Real Return Styles */
.real-positive {
    color: #00D26A !important;
    font-weight: 600;
}

.real-negative {
    color: #FF4757 !important;
    font-weight: 600;
}

/* Asset Meta Info */
.my-asset-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-sm);
    margin-top: var(--spacing-sm);
    border-top: 1px dashed var(--border-color);
    font-size: var(--font-size-xs);
    color: var(--text-tertiary);
}

.meta-date, .meta-inflation {
    display: flex;
    align-items: center;
    gap: 4px;
}

.my-asset-profit.negative {
    color: var(--negative);
}

.my-asset-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-sm);
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--border-color);
}

.my-asset-detail {
    text-align: center;
}

.my-asset-detail-label {
    font-size: var(--font-size-xs);
    color: var(--text-tertiary);
    display: block;
}

.my-asset-detail-value {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: 500;
}

/* All Currencies List */
.all-currencies-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.currencies-list {
    padding: var(--spacing-sm) var(--spacing-lg);
}

.currency-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(13, 17, 23, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.currency-item:hover {
    border-color: rgba(14, 203, 129, 0.2);
    background: rgba(14, 203, 129, 0.04);
}

.currency-item:active {
    transform: scale(0.98);
}

.currency-flag {
    font-size: 32px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.currency-info {
    flex: 1;
}

.currency-code {
    font-weight: 700;
    color: var(--text-primary);
    font-size: var(--font-size-md);
}

.currency-name {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.currency-price-info {
    text-align: right;
}

.currency-rate {
    font-weight: 700;
    color: var(--currency-primary);
    font-size: var(--font-size-md);
}

.currency-change {
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.currency-change.positive {
    color: var(--positive);
}

.currency-change.negative {
    color: var(--negative);
}

.currency-add-btn {
    width: 40px;
    height: 40px;
    border: 2px dashed var(--currency-primary);
    background: transparent;
    border-radius: var(--radius-md);
    color: var(--currency-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all var(--transition-fast);
}

.currency-add-btn:hover {
    background: var(--currency-primary);
    color: var(--bg-primary);
    border-style: solid;
}

/* Empty State for My Assets */
.my-assets-empty {
    text-align: center;
    padding: var(--spacing-xl);
    color: var(--text-tertiary);
}

.my-assets-empty-icon {
    font-size: 48px;
    margin-bottom: var(--spacing-sm);
    opacity: 0.5;
}

.my-assets-empty-text {
    font-size: var(--font-size-sm);
}

/* No Results */
.no-results {
    text-align: center;
    padding: var(--spacing-xl);
    color: var(--text-tertiary);
}

.no-results-icon {
    font-size: 48px;
    margin-bottom: var(--spacing-sm);
    opacity: 0.5;
}

/* Currency Add Modal */
.currency-add-modal-content {
    padding: var(--spacing-lg);
}

.selected-currency-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
}

.selected-currency-flag {
    font-size: 40px;
}

.selected-currency-info h4 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-primary);
}

.selected-currency-info p {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.current-rate-display {
    margin-left: auto;
    text-align: right;
}

.current-rate-label {
    font-size: var(--font-size-xs);
    color: var(--text-tertiary);
}

.current-rate-value {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--currency-primary);
}

/* API Status */
.api-status {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.api-update-time {
    font-size: var(--font-size-xs);
    color: var(--text-tertiary);
}

/* Price Update Animation */
.price-updating {
    animation: priceFlash 0.5s ease;
}

@keyframes priceFlash {
    0% { opacity: 1; }
    25% { opacity: 0.5; color: var(--currency-primary); }
    50% { opacity: 1; transform: scale(1.02); }
    100% { opacity: 1; transform: scale(1); }
}

.currency-rate.updated {
    animation: rateUpdate 0.8s ease;
}

@keyframes rateUpdate {
    0% { color: var(--currency-primary); }
    30% { color: #00FF00; text-shadow: 0 0 8px rgba(0,255,0,0.5); }
    100% { color: var(--currency-primary); }
}

/* Güncel Kurlar Grid */
.price-update-hint {
    font-size: var(--font-size-xs);
    color: var(--text-tertiary);
    font-weight: 400;
}

.prices-grid {
    padding: var(--spacing-sm) 0;
}

.prices-section {
    margin-bottom: var(--spacing-md);
}

.prices-section:last-child {
    margin-bottom: 0;
}

.prices-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
    padding-bottom: var(--spacing-xs);
    border-bottom: 1px solid var(--border-color);
}

.prices-section-title {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--text-secondary);
    margin: 0;
}

.prices-col-labels {
    display: flex;
    gap: var(--spacing-md);
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.prices-col-labels span {
    min-width: 72px;
    text-align: right;
}

.prices-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
    padding-bottom: var(--spacing-xs);
    border-bottom: 1px solid var(--border-color);
}

.prices-header-row h4 {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin: 0;
}

.prices-header-labels {
    display: flex;
    gap: var(--spacing-lg);
    font-size: var(--font-size-xs);
    color: var(--text-tertiary);
    text-transform: uppercase;
}

.prices-header-labels span {
    min-width: 70px;
    text-align: right;
}

.prices-section h4 {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    padding-bottom: var(--spacing-xs);
    border-bottom: 1px solid var(--border-color);
}

.prices-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px var(--spacing-md);
    background: transparent;
    border-radius: var(--radius-sm);
    transition: background 0.15s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

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

.price-row:hover {
    background: rgba(240, 185, 11, 0.04);
}

.price-row.price-updated {
    animation: price-row-flash 0.6s ease;
}

@keyframes price-row-flash {
    0% { background: transparent; }
    30% { background: rgba(240, 185, 11, 0.08); }
    100% { background: transparent; }
}

.price-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex: 1;
    min-width: 0;
}

.price-icon-svg {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.price-icon-svg svg {
    width: 22px;
    height: 22px;
}

.price-icon-flag {
    font-size: 22px;
    width: 28px;
    text-align: center;
    flex-shrink: 0;
}

.price-icon-crypto {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.price-icon-crypto svg {
    width: 22px;
    height: 22px;
    border-radius: 50%;
}

.crypto-coin-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
}

.crypto-coin-icon svg {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.price-icon {
    font-size: 20px;
    width: 28px;
    text-align: center;
}

.price-name-group {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.price-code {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 500;
}

.price-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 0;
    overflow: hidden;
    gap: 2px;
    flex-shrink: 0;
}

.price-value {
    font-size: var(--font-size-sm);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--text-primary);
}

.price-badge {
    font-size: 10px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: var(--radius-sm);
}

.price-badge.positive {
    color: var(--positive);
    background: var(--positive-bg);
}

.price-badge.negative {
    color: var(--negative);
    background: var(--negative-bg);
}

.price-name {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-primary);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.price-change-badge {
    font-size: 10px;
    font-weight: 500;
    padding: 2px 4px;
    border-radius: var(--radius-sm);
    margin-left: auto;
}

.price-change-badge.positive {
    color: var(--positive);
    background: var(--positive-bg);
}

.price-change-badge.negative {
    color: var(--negative);
    background: var(--negative-bg);
}

.price-values-dual {
    display: flex;
    gap: var(--spacing-md);
}

.price-values-dual span {
    min-width: 70px;
    text-align: right;
    font-size: var(--font-size-xs);
    font-weight: 600;
}

.price-sell {
    color: var(--negative);
}

.price-buy {
    color: var(--positive);
}

.price-values {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.price-change {
    font-size: var(--font-size-xs);
    font-weight: 500;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
}

.price-change.positive {
    color: var(--positive);
    background: var(--positive-bg);
}

.price-change.negative {
    color: var(--negative);
    background: var(--negative-bg);
}

/* Pulse animation for real-time price updates */
@keyframes pulseUpdate {
    0% { transform: scale(1); }
    30% { transform: scale(1.04); }
    100% { transform: scale(1); }
}

@keyframes flashGreen {
    0% { background: transparent; }
    20% { background: rgba(0, 186, 124, 0.15); }
    100% { background: transparent; }
}

@keyframes flashRed {
    0% { background: transparent; }
    20% { background: rgba(244, 33, 46, 0.15); }
    100% { background: transparent; }
}

.pulse-update {
    animation: pulseUpdate 0.5s ease-out;
}

.flash-positive {
    animation: flashGreen 0.8s ease-out;
}

.flash-negative {
    animation: flashRed 0.8s ease-out;
}

.price-row.flash-up {
    animation: flashGreen 0.8s ease-out;
}

.price-row.flash-down {
    animation: flashRed 0.8s ease-out;
}

/* ============================================
   ACCORDION - Kurlar Sayfası
   ============================================ */
.accordion-section {
    margin-bottom: 8px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    transition: background 0.2s ease;
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.03);
}

.accordion-title {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
    font-size: var(--font-size-sm);
}

.accordion-count {
    font-size: 10px;
    color: var(--text-muted);
    background: var(--bg-tertiary);
    padding: 1px 6px;
    border-radius: 10px;
}

.accordion-summary {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.accordion-price {
    font-size: var(--font-size-sm);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--text-primary);
}

.accordion-chevron {
    transition: transform 0.25s ease;
    flex-shrink: 0;
    color: var(--text-muted);
}

.accordion-header.open .accordion-chevron {
    transform: rotate(180deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-body.open {
    max-height: 2000px;
}

.accordion-col-labels {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
    padding: 4px 14px 4px 44px;
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-top: 1px solid var(--border-color);
}

/* Watch star button */
.watch-star {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    flex-shrink: 0;
    opacity: 0.4;
    transition: opacity 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
}

.watch-star:hover {
    opacity: 0.8;
    transform: scale(1.15);
}

.watch-star.active {
    opacity: 1;
}

/* Price row with star */
.accordion-body .price-row {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px 8px 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    transition: background 0.15s ease;
}

.accordion-body .price-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* BIST type button icon */
.bist-icon {
    background: rgba(29, 155, 240, 0.15);
    color: #1d9bf0;
}

/* BIST Endeks Kartları */
.bist-section {
    margin-top: var(--spacing-sm);
}

.bist-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.bist-card {
    background: rgba(13, 17, 23, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 10px 12px;
}

.bist-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.bist-name {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    font-weight: 600;
}

.bist-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
}

.bist-badge.positive {
    color: var(--positive);
    background: rgba(0, 186, 124, 0.12);
}

.bist-badge.negative {
    color: var(--negative);
    background: rgba(244, 33, 46, 0.12);
}

.bist-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.bist-range {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 2px;
    opacity: 0.7;
}

/* Watchlist on dashboard */
.watchlist-section {
    margin-top: var(--spacing-sm);
}

.watchlist-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-xs);
}

.watchlist-title {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

#watchlistPrices .price-row {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border-radius: var(--radius-sm);
    background: rgba(13, 17, 23, 0.4);
    margin-bottom: 4px;
}

.empty-state-sm {
    text-align: center;
    color: var(--text-muted);
    font-size: var(--font-size-xs);
    padding: var(--spacing-sm);
}

/* ============================================
   OYAK BES — Premium Design
   ============================================ */
.oyak-content {
    padding: var(--spacing-md);
    padding-bottom: 80px;
}

/* Mode Tabs */
.oyak-mode-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 3px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 14px;
}

.oyak-mode-tab {
    flex: 1;
    padding: 10px 4px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.oyak-mode-tab:hover { color: rgba(255, 255, 255, 0.65); }

.oyak-mode-tab.active {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-weight: 700;
}

/* Manual Input */
.oyak-input {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: var(--text-primary);
    padding: 14px 16px;
    font-size: 18px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.oyak-input::placeholder {
    color: rgba(255, 255, 255, 0.2);
    font-weight: 400;
    font-size: 14px;
}

.oyak-input:focus {
    outline: none;
    border-color: rgba(29, 155, 240, 0.5);
    box-shadow: 0 0 0 3px rgba(29, 155, 240, 0.1);
}

.oyak-manual-actions {
    display: flex;
    gap: 8px;
}

/* Selection Card */
.oyak-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
    background: linear-gradient(145deg, rgba(15, 20, 30, 0.85), rgba(12, 16, 24, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 18px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

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

.oyak-select-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.oyak-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Status Tabs */
.oyak-status-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 3px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.oyak-status-tab {
    flex: 1;
    padding: 9px 4px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.oyak-status-tab:hover { color: rgba(255, 255, 255, 0.65); }

.oyak-status-tab.active {
    background: linear-gradient(135deg, #1d9bf0, #1a7fd4);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 2px 12px rgba(29, 155, 240, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Select Inputs */
.oyak-select {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: var(--text-primary);
    padding: 11px 14px;
    font-size: 13px;
    font-weight: 500;
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: border-color 0.2s;
}

.oyak-select:focus {
    outline: none;
    border-color: rgba(29, 155, 240, 0.5);
    box-shadow: 0 0 0 3px rgba(29, 155, 240, 0.1);
}

/* Calculate Button */
.oyak-calc-btn {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #1d9bf0, #1a7fd4);
    border: 1px solid rgba(29, 155, 240, 0.3);
    color: #fff;
    padding: 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    box-shadow: 0 4px 16px rgba(29, 155, 240, 0.25);
}

.oyak-calc-btn:hover {
    background: linear-gradient(135deg, #3aabf7, #1d9bf0);
    box-shadow: 0 6px 24px rgba(29, 155, 240, 0.35);
    transform: translateY(-2px);
}

.oyak-calc-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(29, 155, 240, 0.2);
}

/* Warning Box */
.oyak-warning {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: linear-gradient(135deg, rgba(244, 33, 46, 0.06), rgba(244, 33, 46, 0.02));
    border: 1px solid rgba(244, 33, 46, 0.15);
    border-left: 3px solid #ef4444;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    line-height: 1.7;
}

.oyak-warning svg { flex-shrink: 0; margin-top: 2px; stroke: #ef4444; }
.oyak-warning strong { color: #ef4444; }

/* Result Cards — Compact Premium */
.oyak-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px;
}

.oyak-card {
    border-radius: 12px;
    padding: 12px 14px;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.oyak-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 100%;
    border-radius: 3px 0 0 3px;
}

.oyak-card-green { border-color: rgba(255, 255, 255, 0.08); }
.oyak-card-green::before { background: rgba(255, 255, 255, 0.5); }

.oyak-card-blue { border-color: rgba(255, 255, 255, 0.06); }
.oyak-card-blue::before { background: rgba(255, 255, 255, 0.25); }

.oyak-card-gold { border-color: rgba(255, 255, 255, 0.06); }
.oyak-card-gold::before { background: rgba(255, 255, 255, 0.25); }

/* Ana kart (toplam birikim) — full width */
.oyak-card-main {
    grid-column: 1 / -1;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    padding: 14px 16px;
}
.oyak-card-main::before { background: rgba(255, 255, 255, 0.6); }

.oyak-card-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.oyak-card-sublabel {
    display: none;
}

.oyak-card-value {
    font-size: 16px;
    font-weight: 700;
    margin-top: 4px;
    font-variant-numeric: tabular-nums;
    color: rgba(255, 255, 255, 0.85);
}

.oyak-card-main .oyak-card-value {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
}

.oyak-card-main .oyak-card-label {
    color: rgba(255, 255, 255, 0.5);
}

/* Duration & Progress */
.oyak-duration {
    text-align: center;
    margin-bottom: 16px;
    padding: 16px;
    background: linear-gradient(145deg, rgba(15, 20, 30, 0.7), rgba(12, 16, 24, 0.8));
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.oyak-duration > span:first-child {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    display: block;
    margin-bottom: 4px;
}

.oyak-progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    margin: 12px 0 8px;
    overflow: hidden;
}

.oyak-progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
}

.oyak-progress-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

/* Yearly Breakdown Table */
.oyak-breakdown {
    margin-top: 12px;
    background: linear-gradient(145deg, rgba(15, 20, 30, 0.7), rgba(12, 16, 24, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
}

.oyak-breakdown-title {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    padding: 14px 16px 10px;
    letter-spacing: 0.2px;
}

.oyak-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.oyak-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.oyak-table th {
    text-align: left;
    padding: 8px 10px;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-size: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.2);
}

.oyak-table td {
    padding: 10px 10px;
    color: rgba(255, 255, 255, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.025);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    font-size: 11px;
}

.oyak-table tbody tr:last-child td { border-bottom: none; }

.oyak-table tr:hover td { background: rgba(255, 255, 255, 0.02); }

.oyak-total-cell {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Nema Badges */
.oyak-nema-active {
    display: inline-block;
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.15), rgba(52, 211, 153, 0.05));
    color: #34d399;
    font-weight: 700;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid rgba(52, 211, 153, 0.2);
}

.oyak-nema-inactive {
    display: inline-block;
    color: rgba(255, 255, 255, 0.2);
    font-size: 10px;
    padding: 2px 8px;
}

/* Year Badge */
.oyak-year-badge {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
}

/* Action Row */
.oyak-action-row {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

/* Save Button */
.oyak-save-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #1d9bf0, #1a8cd8);
    border: 1px solid rgba(29, 155, 240, 0.3);
    color: #fff;
    box-shadow: 0 4px 16px rgba(29, 155, 240, 0.25);
}

.oyak-save-btn:hover {
    background: linear-gradient(135deg, #3aabf7, #1d9bf0);
    box-shadow: 0 6px 24px rgba(29, 155, 240, 0.35);
    transform: translateY(-2px);
}

.oyak-save-btn:active {
    transform: translateY(0);
}

.oyak-save-btn-saved {
    background: linear-gradient(135deg, #2d6a4f, #1b4332);
    border-color: rgba(45, 106, 79, 0.4);
    box-shadow: 0 4px 16px rgba(27, 67, 50, 0.3);
}

.oyak-save-btn-saved:hover {
    background: linear-gradient(135deg, #40916c, #2d6a4f);
    box-shadow: 0 6px 24px rgba(27, 67, 50, 0.4);
}

/* Remove Button */
.oyak-remove-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    background: rgba(244, 33, 46, 0.08);
    border: 1px solid rgba(244, 33, 46, 0.15);
    color: rgba(244, 33, 46, 0.7);
}

.oyak-remove-btn:hover {
    background: rgba(244, 33, 46, 0.15);
    border-color: rgba(244, 33, 46, 0.3);
    color: #F4212E;
}

.oyak-remove-btn:active {
    transform: scale(0.97);
}

/* Success State */
.oyak-save-btn-success {
    background: linear-gradient(135deg, #34d399, #059669) !important;
    border-color: rgba(52, 211, 153, 0.5) !important;
    box-shadow: 0 0 30px rgba(52, 211, 153, 0.4), 0 4px 16px rgba(52, 211, 153, 0.3) !important;
    transform: scale(1.03);
    animation: oyak-btn-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes oyak-btn-pop {
    0% { transform: scale(1); }
    40% { transform: scale(1.08); }
    100% { transform: scale(1.03); }
}

/* Check icon draw animation */
.oyak-check-anim {
    animation: oyak-check-draw 0.5s ease 0.1s both;
}
.oyak-check-anim polyline {
    stroke-dasharray: 30;
    stroke-dashoffset: 30;
    animation: oyak-stroke-draw 0.5s ease 0.15s forwards;
}
@keyframes oyak-stroke-draw {
    to { stroke-dashoffset: 0; }
}

/* Card pulse on save */
.oyak-card-pulse {
    animation: oyak-card-glow 0.6s ease;
}
@keyframes oyak-card-glow {
    0% { transform: scale(1); box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
    40% { transform: scale(1.025); box-shadow: 0 0 24px rgba(52, 211, 153, 0.3); }
    100% { transform: scale(1); box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
}

/* Confetti particles */
.oyak-confetti {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    pointer-events: none;
    z-index: var(--z-overlay);
    animation: oyak-confetti-fly 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.oyak-confetti:nth-child(odd) {
    width: 6px;
    height: 10px;
    border-radius: 2px;
}
@keyframes oyak-confetti-fly {
    0% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1); }
    80% { opacity: 1; }
    100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(720deg) scale(0.3); }
}

/* ============================================
   ANALYSIS MODAL
   ============================================ */
.analysis-modal {
    max-width: 480px;
    width: 95%;
}

.analysis-period-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: var(--spacing-md);
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 4px;
}

.period-tab {
    flex: 1;
    padding: 8px 4px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.period-tab.active {
    background: var(--accent-primary);
    color: #fff;
}

.period-tab:hover:not(.active) {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.analysis-chart-container {
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    position: relative;
    min-height: 200px;
}

.analysis-chart-container canvas {
    width: 100% !important;
    height: 200px !important;
}

.analysis-chart-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

.analysis-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.analysis-stat-card {
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) var(--spacing-md);
}

.analysis-stat-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.analysis-stat-value {
    font-size: var(--font-size-md);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.analysis-info {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    text-align: center;
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--border-color);
}

/* ============================================
   GÜNLÜK RAPOR — DASHBOARD BUTON
   ============================================ */
.daily-report-btn-wrap {
    padding: 0 var(--spacing-lg) 8px;
}

.daily-report-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(29, 155, 240, 0.08), rgba(212, 175, 55, 0.08));
    border: 1px solid rgba(29, 155, 240, 0.15);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.daily-report-btn:hover {
    background: linear-gradient(135deg, rgba(29, 155, 240, 0.14), rgba(212, 175, 55, 0.14));
    border-color: rgba(29, 155, 240, 0.3);
}

.daily-report-btn:active { transform: scale(0.98); }

.daily-report-btn-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.daily-report-btn-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.daily-report-btn-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary, #fff);
}

.daily-report-btn-sub {
    font-size: 11px;
    color: var(--text-muted, #888);
    margin-top: 1px;
}

.daily-report-btn-arrow {
    font-size: 22px;
    color: var(--text-muted, #888);
    font-weight: 300;
}

/* ============================================
   GÜNLÜK RAPOR — PREMIUM MODAL
   ============================================ */
.report-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: var(--z-overlay);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: reportFadeIn 0.35s ease;
}

@keyframes reportFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.report-modal {
    background: linear-gradient(180deg, #1a1d25 0%, #12141a 100%);
    border-radius: 24px;
    width: 100%;
    max-width: 420px;
    max-height: 88vh;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    animation: reportSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.report-modal::-webkit-scrollbar { width: 4px; }
.report-modal::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

@keyframes reportSlideUp {
    from { transform: translateY(40px) scale(0.96); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.report-header {
    position: relative;
    text-align: center;
    padding: 24px 20px 16px;
    background: linear-gradient(180deg, rgba(29, 155, 240, 0.06) 0%, transparent 100%);
}

.report-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-primary, #1d9bf0);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.report-date {
    font-size: 14px;
    color: var(--text-secondary, #aaa);
    margin-top: 4px;
    font-weight: 500;
}

.report-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: none;
    color: var(--text-muted, #888);
    font-size: 18px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border-radius: 50%;
    transition: all 0.2s;
}

.report-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.report-summary {
    text-align: center;
    padding: 8px 20px 24px;
}

.report-emoji {
    font-size: 56px;
    margin-bottom: 12px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

.report-total-msg {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary, #fff);
    margin-bottom: 12px;
}

.report-total-change {
    font-size: 28px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.5px;
}

.report-total-change.positive { color: var(--positive, #00BA7C); text-shadow: 0 0 30px rgba(0, 186, 124, 0.3); }
.report-total-change.negative { color: var(--negative, #F4212E); text-shadow: 0 0 30px rgba(244, 33, 46, 0.3); }

.report-total-pct {
    font-size: 15px;
    font-weight: 600;
    opacity: 0.75;
}

.report-total-values {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
    font-size: 12px;
    color: var(--text-muted, #666);
    background: rgba(255, 255, 255, 0.03);
    padding: 8px 16px;
    border-radius: 10px;
    display: inline-flex;
}

.report-categories {
    padding: 0 16px 8px;
}

.report-category {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: border-color 0.2s;
}

.report-category:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.report-cat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.report-cat-icon {
    font-size: 22px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
}

.report-cat-name {
    flex: 1;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary, #fff);
}

.report-cat-change {
    font-size: 15px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.report-cat-change.positive { color: var(--positive, #00BA7C); }
.report-cat-change.negative { color: var(--negative, #F4212E); }

.report-cat-values {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.report-val-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary, #999);
    font-variant-numeric: tabular-nums;
    padding: 2px 0;
}

.report-val-row.positive { color: var(--positive, #00BA7C); font-weight: 700; }
.report-val-row.negative { color: var(--negative, #F4212E); font-weight: 700; }

.report-assets {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.report-asset-row {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-muted, #666);
    padding: 3px 0;
    font-variant-numeric: tabular-nums;
}

.report-asset-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 8px;
}

.report-no-asset {
    font-size: 12px;
    color: var(--text-muted, #555);
    text-align: center;
    padding: 10px 0;
    font-style: italic;
    opacity: 0.7;
}

.report-section {
    padding: 4px 16px 16px;
}

.report-section-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-primary, #1d9bf0);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.report-price-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.report-price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.report-price-name {
    color: var(--text-secondary, #999);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.report-price-val {
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    margin-left: 6px;
}

.report-price-val.positive { color: var(--positive, #00BA7C); }
.report-price-val.negative { color: var(--negative, #F4212E); }

.report-dismiss {
    display: block;
    width: calc(100% - 32px);
    margin: 8px 16px 20px;
    padding: 16px;
    background: linear-gradient(135deg, var(--accent-primary, #1d9bf0), #1a8cd8);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 20px rgba(29, 155, 240, 0.25);
    letter-spacing: 0.3px;
}

.report-dismiss:hover {
    box-shadow: 0 6px 28px rgba(29, 155, 240, 0.35);
    transform: translateY(-1px);
}

.report-dismiss:active {
    transform: scale(0.98) translateY(0);
    box-shadow: 0 2px 12px rgba(29, 155, 240, 0.2);
}

/* ============================================
   ASSET CATEGORY PILLS — Varlıklarım Kategori Tabları
   ============================================ */
.asset-cat-pills {
    display: flex;
    gap: 6px;
    padding: 0 var(--spacing-lg) 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.asset-cat-pills::-webkit-scrollbar { display: none; }

.cat-pill {
    flex-shrink: 0;
    padding: 8px 14px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    background: rgba(255,255,255,0.03);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    min-height: 36px;
}
.cat-pill:active { transform: scale(0.96); }
.cat-pill.active {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

.asset-panel { padding: 0; }
.asset-panel.hidden { display: none; }

/* Varlıklarım summary blur — ana göz veya kategori blur aktifken */
/* Panel eye toggle — summary içinde göz ikonu */
.panel-eye-toggle {
    position: absolute;
    top: 10px;
    right: 12px;
    background: rgba(255,255,255,0.06);
    border: none;
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s;
}
.panel-eye-toggle:active { transform: scale(0.92); }
.panel-eye-toggle:hover { background: rgba(255,255,255,0.12); color: var(--text-primary); }
.section-summary { position: relative; }

.asset-panel.summary-blurred .summary-value,
.asset-panel.summary-blurred .stat-value,
.asset-panel.summary-blurred .asset-current-value,
.asset-panel.summary-blurred .asset-profit,
.asset-panel.summary-blurred .detail-value,
.asset-panel.summary-blurred .asset-value-container {
    filter: blur(8px);
    user-select: none;
    pointer-events: none;
}

/* Security status in settings */
.security-status {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 10px;
}
.security-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}
.security-row + .security-row { border-top: 1px solid rgba(255,255,255,0.04); }
.security-label { font-size: 13px; color: var(--text-secondary); }
.security-value { font-size: 13px; font-weight: 600; }
.sec-active { color: #00BA7C; }
.sec-inactive { color: var(--text-muted); }

/* Add hint + button wrapper */
.assets-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.add-hint-text {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

@media (max-width: 480px) {
    .asset-cat-pills { padding: 0 var(--spacing-md) 10px; gap: 5px; }
    .cat-pill { padding: 7px 11px; font-size: 11px; min-height: 34px; }
}

/* ============================================
   AWAY REPORT v2 — Çevrimdışı Değişim Raporu
   ============================================ */
.away-overlay {
    position: fixed;
    inset: 0;
    z-index: var(--z-overlay);
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    padding: 40px 12px 12px;
    overflow-y: auto;
}
.away-overlay.visible { opacity: 1; }

.ar-modal {
    position: relative;
    background: var(--bg-primary);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    width: 100%;
    max-width: 380px;
    padding: 0 0 16px;
    transform: translateY(30px);
    transition: transform 0.3s cubic-bezier(.2,.9,.3,1);
    box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
.away-overlay.visible .ar-modal { transform: translateY(0); }

/* X butonu */
.ar-x {
    position: absolute;
    top: 12px;
    right: 14px;
    background: rgba(255,255,255,0.06);
    border: none;
    color: var(--text-muted);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.ar-x:hover { background: rgba(255,255,255,0.12); color: var(--text-primary); }

/* Üst alan */
.ar-top {
    text-align: center;
    padding: 28px 20px 12px;
}
.ar-wave { font-size: 32px; margin-bottom: 6px; }
.ar-title { font-size: 17px; font-weight: 700; color: var(--text-primary); }
.ar-dur { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* Hero number */
.ar-hero {
    text-align: center;
    padding: 8px 20px 18px;
}
.ar-hero-num {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.1;
}
.ar-hero-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
}
.ar-hero-pct {
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
}
.ar-hero-rate {
    font-size: 11px;
    font-weight: 600;
    opacity: 0.7;
}

/* Badges (best/worst) */
.ar-badges {
    display: flex;
    gap: 6px;
    padding: 0 16px 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.ar-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 8px;
}
.ar-badge b { font-weight: 800; }
.ar-badge-pos { background: rgba(0,186,124,0.1); color: #00BA7C; }
.ar-badge-neg { background: rgba(244,33,46,0.1); color: #F4212E; }

/* Section */
.ar-section {
    padding: 14px 16px 10px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.ar-sec-title {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

/* Category bands */
.ar-band {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    margin-bottom: 4px;
    border-radius: 8px;
    background: rgba(255,255,255,0.02);
}
.ar-band-name {
    flex: 1;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
}
.ar-band-val {
    font-size: 12px;
    font-weight: 700;
    margin-right: 8px;
}
.ar-band-pct {
    font-size: 11px;
    font-weight: 700;
    min-width: 42px;
    text-align: right;
}

/* Asset rows */
.ar-row {
    display: flex;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.ar-row:last-child { border-bottom: none; }
.ar-row-name {
    flex: 1;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}
.ar-row-val {
    font-size: 12px;
    font-weight: 700;
    margin-right: 8px;
}
.ar-row-pct {
    font-size: 11px;
    font-weight: 600;
    min-width: 48px;
    text-align: right;
}

/* Market rows */
.ar-mkt {
    display: flex;
    align-items: center;
    padding: 5px 0;
}
.ar-mkt-name {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-primary);
    min-width: 70px;
}
.ar-mkt-price {
    flex: 1;
    font-size: 11px;
    color: var(--text-muted);
    text-align: right;
    margin-right: 8px;
}
.ar-mkt-pct {
    font-size: 11px;
    font-weight: 700;
    min-width: 50px;
    text-align: right;
}

/* OK button */
.ar-btn {
    display: block;
    width: calc(100% - 32px);
    margin: 14px 16px 0;
    padding: 12px;
    background: linear-gradient(135deg, var(--gold-primary), #F4E4BA);
    color: #000;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s, opacity 0.2s;
}
.ar-btn:active { transform: scale(0.98); }
.ar-btn:hover { opacity: 0.9; }

/* Mobile responsive — Away Report */
@media (max-width: 480px) {
    .away-overlay {
        padding: 16px 8px 8px;
        align-items: flex-start;
    }
    .ar-modal {
        max-width: 100%;
        border-radius: 16px;
        max-height: calc(100vh - 32px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .ar-top { padding: 24px 16px 10px; }
    .ar-wave { font-size: 28px; }
    .ar-title { font-size: 16px; }
    .ar-hero { padding: 6px 16px 14px; }
    .ar-hero-num { font-size: 26px; }
    .ar-hero-row { gap: 8px; }
    .ar-hero-pct { font-size: 11px; padding: 2px 6px; }
    .ar-hero-rate { font-size: 10px; }
    .ar-section { padding: 12px 12px 8px; }
    .ar-band { padding: 7px 8px; }
    .ar-band-name { font-size: 11px; }
    .ar-band-val { font-size: 11px; }
    .ar-band-pct { font-size: 10px; min-width: 38px; }
    .ar-row { padding: 5px 0; }
    .ar-row-name { font-size: 11px; }
    .ar-row-val { font-size: 11px; }
    .ar-row-pct { font-size: 10px; min-width: 44px; }
    .ar-mkt-name { font-size: 10px; min-width: 60px; }
    .ar-mkt-price { font-size: 10px; }
    .ar-mkt-pct { font-size: 10px; min-width: 44px; }
    .ar-badges { padding: 0 12px 10px; }
    .ar-badge { font-size: 10px; padding: 4px 8px; }
    .ar-btn {
        width: calc(100% - 24px);
        margin: 12px 12px 0;
        padding: 14px;
        font-size: 15px;
        min-height: 48px;
    }
    .ar-x {
        width: 36px;
        height: 36px;
        font-size: 16px;
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 360px) {
    .ar-hero-num { font-size: 22px; }
    .ar-hero-row { flex-wrap: wrap; gap: 4px; }
    .ar-band { flex-wrap: wrap; gap: 2px; }
    .ar-band-val { margin-right: 4px; }
    .ar-row-val { font-size: 10px; margin-right: 4px; }
}

.bes-oyak-pills {
    display: flex;
    gap: 4px;
    padding: 3px;
    background: rgba(255,255,255,0.04);
    border-radius: 12px;
    margin: 0 var(--spacing-lg) var(--spacing-md);
    border: 1px solid rgba(255,255,255,0.06);
}
.bes-oyak-pill {
    flex: 1;
    padding: 10px 0;
    border: none;
    background: transparent;
    color: #7c85a6;
    font-size: 13px;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.bes-oyak-pill.active {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(99,102,241,0.3);
}

.bes2-summary {
    background: linear-gradient(160deg, #161d30 0%, #111827 50%, #0d1117 100%);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 24px;
    padding: 28px 22px 20px;
    margin: 0 var(--spacing-lg) 14px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.03);
    position: relative;
    overflow: hidden;
}
.bes2-summary::before {
    content: '';
    position: absolute;
    top: -60%;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(52,211,153,0.06) 0%, transparent 60%);
    pointer-events: none;
}
.bes2-summary-label {
    font-size: 10px;
    font-weight: 800;
    color: #7c85a6;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 10px;
    position: relative;
}
.bes2-summary-total {
    font-size: 40px;
    font-weight: 800;
    color: #34d399;
    font-variant-numeric: tabular-nums;
    letter-spacing: -1.5px;
    line-height: 1;
    text-shadow: 0 0 40px rgba(52,211,153,0.3);
    position: relative;
}
.bes2-summary-sublabel {
    font-size: 12px;
    color: #5b6384;
    margin-top: 6px;
    margin-bottom: 20px;
    position: relative;
}
.bes2-summary-row {
    display: flex;
    gap: 12px;
    position: relative;
}
.bes2-summary-box {
    flex: 1;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 16px 10px;
    text-align: center;
}
.bes2-box-danger {
    border-color: rgba(244, 33, 46, 0.25);
    background: rgba(244, 33, 46, 0.05);
}
.bes2-summary-val {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: #e2e8f0;
    font-variant-numeric: tabular-nums;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}
.bes2-box-danger .bes2-summary-val {
    color: #F4212E;
    text-shadow: 0 0 20px rgba(244,33,46,0.3);
}
.bes2-box-danger .bes2-summary-val::before {
    content: '\26A0 ';
    font-size: 14px;
}
.bes2-summary-desc {
    font-size: 10px;
    color: #5b6384;
    line-height: 1.5;
    font-weight: 500;
}
.bes2-box-danger .bes2-summary-desc {
    color: rgba(244, 33, 46, 0.7);
}
.bes2-reel-toggle {
    margin-top: 18px;
    font-size: 11px;
    color: #5b6384;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: relative;
}
.bes2-reel-label { font-weight: 600; }
.bes2-reel-val .positive { color: var(--positive); font-weight: 700; }
.bes2-reel-val .negative { color: var(--negative); font-weight: 700; }

/* Journey Timeline */
.bes2-journey {
    margin: 0 var(--spacing-lg) 14px;
    padding: 20px 20px 14px;
    background: linear-gradient(160deg, #161d30 0%, #111827 100%);
    border: 1px solid rgba(99, 102, 241, 0.12);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.bes2-journey-title {
    font-size: 13px;
    font-weight: 700;
    color: #e2e8f0;
    text-align: center;
    margin-bottom: 20px;
}
.bes2-journey-track {
    position: relative;
    height: 75px;
    margin: 0 12px;
}
.bes2-journey-track::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    height: 3px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 2px;
    z-index: 0;
}
.bes2-jn-fill {
    position: absolute;
    top: 10px;
    left: 10px;
    height: 3px;
    background: linear-gradient(90deg, #34d399, #6366f1);
    z-index: 1;
    border-radius: 2px;
    transition: width 0.6s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 0 8px rgba(52,211,153,0.3);
}
.bes2-jn-node {
    position: absolute;
    top: 0;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transform: translateX(-50%);
}
.bes2-jn-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #1a2236;
    border: 3px solid rgba(99, 102, 241, 0.25);
    transition: all 0.3s;
    flex-shrink: 0;
}
.bes2-jn-node.passed .bes2-jn-dot {
    background: #34d399;
    border-color: #34d399;
    box-shadow: 0 0 12px rgba(52, 211, 153, 0.6), 0 0 4px rgba(52,211,153,0.8);
}
.bes2-jn-node.current .bes2-jn-dot {
    background: #6366f1;
    border-color: #818cf8;
    box-shadow: 0 0 14px rgba(99, 102, 241, 0.6), 0 0 4px rgba(99,102,241,0.8);
    animation: bes2-pulse 2s infinite;
}
@keyframes bes2-pulse {
    0%, 100% { box-shadow: 0 0 14px rgba(99,102,241,0.6); }
    50% { box-shadow: 0 0 20px rgba(99,102,241,0.8), 0 0 6px rgba(99,102,241,0.9); }
}
.bes2-jn-text {
    font-size: 11px;
    font-weight: 700;
    color: #5b6384;
    white-space: nowrap;
}
.bes2-jn-node.passed .bes2-jn-text { color: #34d399; }
.bes2-jn-node.current .bes2-jn-text { color: #818cf8; }
.bes2-jn-pct {
    font-size: 10px;
    color: #4a5272;
    font-weight: 600;
}
.bes2-jn-node.passed .bes2-jn-pct { color: #6ee7b7; }
.bes2-jn-node.current .bes2-jn-pct { color: #a5b4fc; }

/* Hesap Kartlari */
.bes2-accounts {
    padding: 0 var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 14px;
}
.bes2-card {
    background: linear-gradient(160deg, #161d30 0%, #111827 100%);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}
.bes2-card:hover, .bes2-card.open {
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(99,102,241,0.08);
}
.bes2-card-head {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    cursor: pointer;
    gap: 12px;
}
.bes2-avatar {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, #6366f1, #818cf8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(99,102,241,0.3);
}
.bes2-card-info {
    flex: 1;
    min-width: 0;
}
.bes2-card-name {
    font-size: 15px;
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1.3;
}
.bes2-card-company {
    font-size: 11px;
    color: #5b6384;
    margin-top: 1px;
}
.bes2-card-actions {
    display: flex;
    gap: 2px;
    align-items: center;
    opacity: 0;
    transition: opacity 0.2s;
}
.bes2-card:hover .bes2-card-actions,
.bes2-card.open .bes2-card-actions { opacity: 1; }
.bes2-card-actions button {
    background: none;
    border: none;
    color: #5b6384;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    opacity: 0.7;
    transition: all 0.2s;
}
.bes2-card-actions button:hover { opacity: 1; background: rgba(99,102,241,0.1); color: #818cf8; }
.bes2-delete-btn:hover { color: #fb7185 !important; }
.bes2-chevron {
    color: #5b6384;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
    flex-shrink: 0;
}
.bes2-card.open .bes2-chevron { transform: rotate(180deg); color: #818cf8; }
.bes2-card-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
}
.bes2-card.open .bes2-card-body { max-height: 700px; }
.bes2-card-inner {
    padding: 0 16px 16px;
    border-top: 1px solid rgba(99,102,241,0.06);
}
.bes2-net-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding-top: 14px;
    margin-bottom: 14px;
}
.bes2-net-val {
    font-size: 28px;
    font-weight: 800;
    color: #f1f5f9;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.5px;
}
.bes2-net-label {
    font-size: 11px;
    color: #5b6384;
    font-weight: 500;
}
.bes2-sparkline {
    width: 80px;
    height: 32px;
    opacity: 0.85;
    flex-shrink: 0;
}
.bes2-fon-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 12px;
    padding: 8px 10px;
    background: rgba(255,255,255,0.015);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.04);
}
.bes2-fon-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    padding: 5px 0;
}
.bes2-fon-code {
    color: #e2e8f0;
    font-weight: 600;
    min-width: 0;
}
.bes2-fon-chg {
    font-size: 10px;
    color: #5b6384;
}
.bes2-fon-right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.bes2-fon-val {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #e2e8f0;
    min-width: 70px;
    text-align: right;
}
.bes2-fon-pct {
    font-size: 11px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    min-width: 55px;
    text-align: right;
}
.bes2-fon-pct.positive { color: var(--positive); }
.bes2-fon-pct.negative { color: var(--negative); }
.bes2-card-vest {
    padding: 10px 12px;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.06);
}
.bes2-vest-bar {
    height: 5px;
    background: rgba(99, 102, 241, 0.12);
    border-radius: 3px;
    margin-bottom: 8px;
    overflow: hidden;
}
.bes2-vest-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #34d399);
    border-radius: 3px;
    transition: width 0.6s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 0 8px rgba(99,102,241,0.3);
}
.bes2-vest-text {
    font-size: 10px;
    color: #7c85a6;
    font-weight: 600;
}

/* Eski Hero Card (geriye uyumluluk icin gizle) */
.bes-hero-card {
    background: linear-gradient(145deg, #141b2d 0%, #0f1724 100%);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 20px;
    padding: 22px 20px;
    margin: 0 var(--spacing-lg) var(--spacing-md);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.bes-hero-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 18px;
}

.bes-hero-label {
    display: block;
    font-size: 11px;
    color: #7c85a6;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
    margin-bottom: 6px;
}

.bes-hero-total {
    display: block;
    font-size: 30px;
    font-weight: 800;
    color: #f1f5f9;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.5px;
}

.bes-hero-profit-wrap {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.bes-hero-profit {
    font-size: 15px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.bes-hero-profit.positive, .bes-hero-profit-pct.positive { color: #34d399; }
.bes-hero-profit.negative, .bes-hero-profit-pct.negative { color: #fb7185; }

.bes-hero-profit-pct {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(52, 211, 153, 0.12);
    color: #34d399;
}

.bes-hero-profit-pct.negative {
    background: rgba(251, 113, 133, 0.12);
    color: #fb7185;
}

.bes-hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 14px 0 0;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
}

.bes-hero-stat {
    flex: 1;
    text-align: center;
}

.bes-hero-divider {
    width: 1px;
    height: 32px;
    background: rgba(99, 102, 241, 0.1);
}

.bes-hs-label {
    display: block;
    font-size: 10px;
    color: #5b6384;
    font-weight: 600;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.bes-hs-value {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #e2e8f0;
    font-variant-numeric: tabular-nums;
}

/* Asset List */
.bes-assets-list {
    padding: 0 var(--spacing-lg) var(--spacing-sm);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* BES Card */
.bes-card {
    background: #141b2d;
    border: 1px solid rgba(99, 102, 241, 0.08);
    border-radius: 14px;
    padding: 12px 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}

.bes-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #6366f1, #818cf8);
    border-radius: 3px 0 0 3px;
}

.bes-card:hover {
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 4px 24px rgba(99, 102, 241, 0.08);
}

.bes-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.bes-card-owner {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bes-owner-avatar {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, #6366f1, #818cf8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}

.bes-owner-name {
    font-weight: 700;
    font-size: 14px;
    color: #f1f5f9;
}

.bes-card-actions {
    display: flex;
    gap: 2px;
}

.bes-card-actions button {
    background: none;
    border: none;
    color: #5b6384;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    opacity: 0.6;
    transition: all 0.2s;
}

.bes-card-actions button:hover {
    opacity: 1;
    background: rgba(99, 102, 241, 0.08);
    color: #818cf8;
}

.bes-delete-btn:hover { color: #fb7185 !important; }

.bes-card-company {
    font-size: 10px;
    color: #5b6384;
    margin-bottom: 8px;
    padding-left: 38px;
}

.bes-card-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 12px;
    margin-bottom: 8px;
}

.bes-val-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.bes-real-return {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px 10px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.bes-real-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.bes-real-label {
    font-size: 11px;
    color: var(--text-muted);
}
.bes-real-val {
    font-size: 12px;
    font-weight: 700;
}
.bes-real-val.positive { color: var(--positive); }
.bes-real-val.negative { color: var(--negative); }

.bes-val-label {
    font-size: 10px;
    color: #5b6384;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.bes-val-amount {
    font-size: 14px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #e2e8f0;
}

.bes-val-amount.positive { color: #34d399; }
.bes-val-amount.negative { color: #fb7185; }

/* Fund sparkline mini chart */
.bes-fund-sparkline {
    width: 100%;
    height: 32px;
    margin: 6px 0;
    opacity: 0.7;
}

/* Vesting Bar */
.bes-vesting-bar {
    padding: 8px 10px;
    background: rgba(99, 102, 241, 0.06);
    border: 1px solid rgba(99, 102, 241, 0.08);
    border-radius: 12px;
    margin-bottom: 8px;
}

.bes-vesting-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.bes-vesting-track {
    position: relative;
    height: 6px;
    background: rgba(99, 102, 241, 0.12);
    border-radius: 3px;
    margin-bottom: 14px;
}

.bes-vesting-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #a78bfa);
    border-radius: 3px;
    transition: width 0.6s ease;
    position: relative;
    z-index: 1;
}

.bes-vesting-wait {
    position: absolute;
    top: 0;
    height: 100%;
    background: repeating-linear-gradient(90deg, rgba(99, 102, 241, 0.2) 0px, rgba(99, 102, 241, 0.2) 4px, transparent 4px, transparent 8px);
    border-radius: 0 3px 3px 0;
    z-index: 1;
}

.bes-vesting-mark {
    position: absolute;
    top: -2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #1e2740;
    border: 2px solid rgba(99, 102, 241, 0.3);
    transform: translateX(-50%);
    z-index: 2;
}

.bes-vesting-mark.passed {
    background: #6366f1;
    border-color: #a78bfa;
    box-shadow: 0 0 6px rgba(99, 102, 241, 0.4);
}

.bes-vesting-mark span {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8px;
    font-weight: 700;
    color: #5b6384;
    white-space: nowrap;
}

.bes-vesting-mark.passed span {
    color: #a78bfa;
}

.bes-vesting-label {
    font-size: 11px;
    color: #a78bfa;
    font-weight: 700;
}

.bes-vesting-info {
    font-size: 10px;
    color: #7c85a6;
    font-weight: 600;
}

/* Projeksiyon satiri */
.bes-proj-row {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.bes-proj-title {
    font-size: 10px;
    font-weight: 700;
    color: #5b6384;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bes-proj-chip {
    font-size: 10px;
    font-weight: 700;
    color: #a78bfa;
    background: rgba(99, 102, 241, 0.08);
    padding: 2px 8px;
    border-radius: 6px;
    font-variant-numeric: tabular-nums;
}

/* Tax Info */
.bes-tax-info {
    font-size: 10px;
    color: #5b6384;
    margin-bottom: 8px;
    padding: 0 2px;
}

/* Card Footer */
.bes-card-footer {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: #5b6384;
    flex-wrap: wrap;
}

.bes-badge {
    padding: 3px 8px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 10px;
}

.bes-badge-duration {
    background: rgba(99, 102, 241, 0.1);
    color: #a78bfa;
}

.bes-badge-fund {
    background: rgba(52, 211, 153, 0.1);
    color: #34d399;
}

.bes-badge-change { font-weight: 700; }
.bes-badge-change.positive { color: #34d399; }
.bes-badge-change.negative { color: #fb7185; }

.bes-note {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 180px;
    color: #5b6384;
    font-style: italic;
}

/* BES Exit Summary */
.bes-exit-summary {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
}

.ex-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 5px 0;
}

.ex-name {
    flex: 1;
    font-size: 13px;
    font-weight: 700;
    color: #e2e8f0;
}

.ex-net {
    font-size: 13px;
    font-weight: 800;
    color: #e2e8f0;
    font-variant-numeric: tabular-nums;
}

.ex-loss {
    font-size: 11px;
    font-weight: 700;
    color: #fb7185;
    font-variant-numeric: tabular-nums;
}

.ex-loss::before { content: '-'; }

.ex-hint {
    font-size: 10px;
    color: #5b6384;
    padding: 0 0 6px;
    border-bottom: 1px solid rgba(99, 102, 241, 0.06);
    margin-bottom: 4px;
}

.ex-hint-ok {
    color: #34d399;
}

/* Projeksiyon banner */
.bes-proj-banner {
    margin: 0 var(--spacing-lg) var(--spacing-md);
    padding: 12px 16px;
    background: #141b2d;
    border: 1px solid rgba(99, 102, 241, 0.08);
    border-radius: 12px;
}

.bes-proj-line {
    font-size: 11px;
    color: #7c85a6;
    padding: 3px 0;
}

.bes-proj-line strong {
    color: #e2e8f0;
    font-weight: 700;
}

/* Grand total for multiple accounts */
.bes-exit-grand {
    margin-top: 12px;
    padding: 10px 12px;
    background: rgba(99, 102, 241, 0.04);
    border: 1px solid rgba(99, 102, 241, 0.08);
    border-radius: 10px;
}

.bes-exit-grand-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    font-size: 12px;
    color: var(--text-secondary);
}

.bes-exit-grand-row strong {
    font-weight: 800;
    color: var(--text-primary);
}

.bes-exit-total {
    margin-top: 4px;
}

.bes-exit-ok {
    font-size: 13px;
    color: var(--positive);
    font-weight: 700;
    text-align: center;
    padding: 6px 0;
}

/* Form Section Labels */
.bes-form-section-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 14px 0 6px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Checkbox Row */
.bes-checkbox-row {
    margin-bottom: 6px;
}

.bes-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 6px 0;
}

.bes-checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #10b981;
    flex-shrink: 0;
}

/* Disclaimer */
.bes-disclaimer {
    padding: 12px var(--spacing-lg);
    font-size: 10px;
    color: var(--text-tertiary);
    text-align: center;
    line-height: 1.5;
    font-style: italic;
}

/* BES Form Styles */
.bes-form-mode-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    padding: 3px;
}

.bes-mode-tab {
    flex: 1;
    padding: 8px 12px;
    border: none;
    background: none;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
}

.bes-mode-tab.active {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.bes-fund-input-row {
    display: flex;
    gap: 8px;
}

.bes-fund-input-row input {
    flex: 1;
    text-transform: uppercase;
}

.bes-fund-fetch-btn {
    width: 42px;
    height: 42px;
    border: 1px solid var(--glass-border);
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.bes-fund-fetch-btn:hover {
    background: rgba(16, 185, 129, 0.2);
    border-color: #10b981;
}

.bes-fund-fetch-btn.loading {
    animation: pulse 1s infinite;
}

.bes-fund-info {
    margin-top: 6px;
    padding: 8px 10px;
    background: rgba(16, 185, 129, 0.06);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bes-fund-name {
    font-size: 11px;
    color: var(--text-secondary);
    max-width: 70%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bes-fund-price {
    font-size: 12px;
    font-weight: 700;
    color: #10b981;
}

.bes-auto-calc-badge {
    font-size: 10px;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    padding: 1px 6px;
    border-radius: 8px;
    font-weight: 600;
    vertical-align: middle;
    margin-left: 4px;
}

/* BES form button */
.submit-btn.bes-btn {
    background: linear-gradient(135deg, #10b981, #059669);
}

/* BES type icon in modal */
.type-icon.bes-type-icon {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

/* OYAK Extra Sections (KOBF, EMS) */
.oyak-extra-section {
    margin-top: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    overflow: hidden;
}

.oyak-extra-header {
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
}

.oyak-toggle-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
}

.oyak-toggle-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #f59e0b;
}

.oyak-extra-fields {
    padding: 12px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.oyak-kobf-card,
.oyak-ems-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 10px 12px;
    margin-top: 8px;
}

.oyak-kobf-row,
.oyak-ems-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    font-size: 12px;
    color: var(--text-secondary);
}

.oyak-kobf-row strong,
.oyak-ems-row strong {
    color: var(--text-primary);
    font-weight: 700;
}

.oyak-ems-disclaimer {
    margin-top: 8px;
    font-size: 10px;
    color: var(--text-tertiary);
    font-style: italic;
    line-height: 1.4;
}

/* OYAK Opportunity Cost */
.oyak-opportunity-cost {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 12px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: 8px;
}

.oyak-opp-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.oyak-opp-text {
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.oyak-opp-text strong {
    color: #f59e0b;
    font-weight: 700;
}

/* OYAK Milestone Row */
.oyak-milestone-row {
    background: rgba(245, 158, 11, 0.06);
}

.oyak-milestone-row td {
    font-weight: 700;
}

/* OYAK Legal Disclaimer */
.oyak-legal-disclaimer {
    padding: 12px var(--spacing-lg);
    font-size: 10px;
    color: var(--text-tertiary);
    text-align: center;
    line-height: 1.5;
    font-style: italic;
}

/* ============================================
   BES Form — Mode Toggle + Auto Fon Rows
   ============================================ */

.bes-optional {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 10px;
}

/* Fon rows */
.bes-fon-row {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-bottom: 6px;
}

.bes-fon-search-wrap {
    flex: 2;
    position: relative;
}

.bes-fon-kod {
    width: 100%;
    padding: 8px 10px;
    background: rgba(15, 20, 25, 0.6);
    border: 1px solid rgba(99, 102, 241, 0.12);
    border-radius: 8px;
    color: #e2e8f0;
    font-size: 12px;
    font-weight: 600;
    box-sizing: border-box;
}

.bes-fon-kod:focus {
    border-color: rgba(99, 102, 241, 0.4);
    outline: none;
}

.bes-fon-kod.bes-fon-verified {
    border-color: rgba(52, 211, 153, 0.5);
    background: rgba(52, 211, 153, 0.06);
    color: #34d399;
}

.bes-fon-name-label {
    font-size: 10px;
    color: #34d399;
    line-height: 1.2;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bes-fon-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a2235;
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 8px;
    max-height: 160px;
    overflow-y: auto;
    z-index: var(--z-dropdown);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.bes-fon-result-item {
    padding: 8px 10px;
    cursor: pointer;
    font-size: 11px;
    color: #c8d0e0;
    border-bottom: 1px solid rgba(99, 102, 241, 0.06);
    transition: background 0.15s;
}

.bes-fon-result-item:hover {
    background: rgba(99, 102, 241, 0.1);
}

.bes-fon-result-item .fon-code {
    font-weight: 800;
    color: #a78bfa;
    margin-right: 6px;
}

.bes-fon-result-item .fon-name {
    font-size: 10px;
    color: #7c85a6;
}

.bes-fon-oran {
    width: 52px;
    padding: 8px 6px;
    background: rgba(15, 20, 25, 0.6);
    border: 1px solid rgba(99, 102, 241, 0.12);
    border-radius: 8px;
    color: #e2e8f0;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    -moz-appearance: textfield;
    appearance: textfield;
}

.bes-fon-oran::-webkit-inner-spin-button,
.bes-fon-oran::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.bes-fon-pay {
    flex: 1;
    padding: 8px 6px;
    background: rgba(15, 20, 25, 0.6);
    border: 1px solid rgba(99, 102, 241, 0.12);
    border-radius: 8px;
    color: #e2e8f0;
    font-size: 12px;
    font-weight: 600;
    text-align: right;
}

.bes-fon-remove {
    width: 28px;
    height: 28px;
    border: none;
    background: rgba(244, 33, 46, 0.1);
    color: #fb7185;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bes-fon-remove:hover {
    background: rgba(244, 33, 46, 0.2);
}

.bes-fon-add-btn {
    width: 100%;
    padding: 8px;
    border: 1px dashed rgba(99, 102, 241, 0.2);
    background: transparent;
    color: #818cf8;
    font-size: 12px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 8px;
    transition: all 0.2s;
}

.bes-fon-add-btn:hover {
    background: rgba(99, 102, 241, 0.06);
    border-color: rgba(99, 102, 241, 0.3);
}

.bes-fon-oran-info {
    font-size: 10px;
    font-weight: 600;
    margin-bottom: 8px;
    text-align: right;
}

.bes-fon-oran-info.ok { color: #34d399; }
.bes-fon-oran-info.warn { color: #fbbf24; }
.bes-fon-oran-info.error { color: #fb7185; }

/* BES Kart — Fon breakdown */
.bes-fon-breakdown {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
}

.bes-fon-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 6px;
    background: rgba(99, 102, 241, 0.04);
    border-radius: 6px;
    font-size: 11px;
}

.bes-fon-item-code {
    font-weight: 800;
    color: #a78bfa;
    min-width: 36px;
}

.bes-fon-item-pay {
    color: #5b6384;
    font-size: 10px;
}

.bes-fon-item-val {
    margin-left: auto;
    font-weight: 700;
    color: #e2e8f0;
    font-variant-numeric: tabular-nums;
}

.bes-fon-item-chg {
    font-size: 10px;
    font-weight: 600;
    min-width: 40px;
    text-align: right;
}

.bes-fon-item-chg.positive { color: #34d399; }
.bes-fon-item-chg.negative { color: #fb7185; }

/* ============================================
   FİYAT ALARM SİSTEMİ
   ============================================ */

/* Kompakt alarm strip — tek satır */
.alarm-strip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 var(--spacing-md);
    margin-bottom: 6px;
}
.alarm-strip-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    color: var(--text-muted);
    padding: 5px 8px;
    cursor: pointer;
    transition: all 0.15s;
    position: relative;
}
.alarm-strip-btn:hover { background: rgba(255,255,255,0.1); color: var(--text-primary); }
.alarm-strip-btn svg { color: var(--accent-primary); }
.alarm-badge {
    background: var(--negative);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 14px;
    height: 14px;
    line-height: 14px;
    text-align: center;
    border-radius: 7px;
    padding: 0 3px;
}
.alarm-strip-add {
    background: none;
    border: 1px dashed rgba(255,255,255,0.12);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 11px;
    padding: 5px 10px;
    cursor: pointer;
    transition: all 0.15s;
}
.alarm-strip-add:hover { border-color: var(--accent-primary); color: var(--accent-primary); }

/* Alarm Panel — akordiyon */
.alarm-panel {
    margin: 0 var(--spacing-md) 6px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}
.alarm-list { max-height: 240px; overflow-y: auto; }
.alarm-empty {
    padding: 16px 14px;
    text-align: center;
    color: var(--text-muted);
    font-size: 11px;
}

/* Alarm Item — kompakt kart */
.alarm-item {
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.alarm-item:last-child { border-bottom: none; }
.alarm-item-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}
.alarm-item-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
}
.alarm-item-status {
    font-size: 10px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 4px;
    letter-spacing: 0.3px;
}
.alarm-active .alarm-item-status {
    background: rgba(0,186,124,0.15);
    color: #00BA7C;
}
.alarm-disabled .alarm-item-status {
    background: rgba(255,255,255,0.06);
    color: var(--text-muted);
}
.alarm-triggered .alarm-item-status {
    background: rgba(29,155,240,0.15);
    color: var(--accent-primary);
}
.alarm-item-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.4;
}
.alarm-item-detail b { color: var(--text-primary); }
.alarm-item-now { color: var(--text-muted); font-size: 10px; }
.alarm-item-note {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 1px;
    font-style: italic;
}
.alarm-item-actions {
    display: flex;
    gap: 4px;
    margin-top: 4px;
}
.alarm-item-actions button {
    background: rgba(255,255,255,0.05);
    border: none;
    padding: 3px 6px;
    border-radius: 5px;
    font-size: 11px;
    cursor: pointer;
    transition: background 0.15s;
    line-height: 1;
}
.alarm-item-actions button:hover { background: rgba(255,255,255,0.12); }
.alarm-item-dist {
    font-size: 10px;
    font-weight: 600;
    margin-left: 3px;
}
.alarm-item-repeat {
    font-size: 10px;
    color: var(--accent-primary);
    margin-top: 1px;
}

/* Alarm Modal — ortada aç */
#alarmModal {
    align-items: center;
    padding: 16px;
}
#alarmModal .modal-content {
    border-radius: 16px;
    animation: alarmFadeIn 0.25s ease;
}
@keyframes alarmFadeIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.alarm-modal { max-width: 380px; }
.alarm-form .form-group { margin-bottom: 8px; }
.alarm-form .form-group label {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 2px;
    display: block;
}
.alarm-form select,
.alarm-form input[type="text"] {
    font-size: 13px;
    padding: 8px 10px;
}
.alarm-form-row {
    display: flex;
    gap: 8px;
}
.alarm-form-half { flex: 1; min-width: 0; }
.alarm-price-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(29,155,240,0.06);
    border: 1px solid rgba(29,155,240,0.15);
    border-radius: 8px;
    padding: 6px 12px;
    margin-bottom: 8px;
}
.alarm-price-label {
    font-size: 11px;
    color: var(--text-muted);
}
.alarm-current-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-primary);
    font-variant-numeric: tabular-nums;
}
.alarm-preview {
    min-height: 14px;
    margin-bottom: 6px;
}
.alarm-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 4px;
}
.alarm-repeat-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-secondary);
    cursor: pointer;
    white-space: nowrap;
}
.alarm-repeat-label input[type="checkbox"] {
    width: 14px;
    height: 14px;
    accent-color: var(--accent-primary);
    cursor: pointer;
    flex-shrink: 0;
}
.alarm-save-btn {
    padding: 8px 24px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

/* ============================================
   YATIRIM FONU (TEFAS) SECTION
   ============================================ */
.fund-section { margin-top: var(--spacing-md); }
.fund-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 10px;
    transition: border-color 0.2s;
}
.fund-card:hover { border-color: rgba(255,255,255,0.12); }
.fund-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.fund-card-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}
.fund-card-code {
    font-size: 11px;
    font-weight: 500;
    color: var(--accent-primary);
    background: rgba(29,155,240,0.1);
    padding: 2px 8px;
    border-radius: 6px;
}
.fund-card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-secondary);
    padding: 3px 0;
}
.fund-card-row b { color: var(--text-primary); }
.fund-card-profit {
    font-size: 14px;
    font-weight: 700;
    margin-top: 6px;
    text-align: right;
}
.fund-card-profit.positive { color: var(--positive); }
.fund-card-profit.negative { color: var(--negative); }
.fund-card-actions {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    justify-content: flex-end;
}
.fund-card-actions button {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-secondary);
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.15s;
}
.fund-card-actions button:hover { background: rgba(255,255,255,0.1); }
.fund-card-actions .fund-delete-btn:hover { color: var(--negative); border-color: var(--negative); }
.fund-empty {
    text-align: center;
    padding: 30px 14px;
    color: var(--text-muted);
    font-size: 12px;
}
.fund-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}
/* Fon arama input */
.fund-search-wrap { position: relative; }
.fund-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    max-height: 200px;
    overflow-y: auto;
    z-index: var(--z-dropdown);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.fund-search-item {
    padding: 8px 12px;
    font-size: 12px;
    color: var(--text-secondary);
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.1s;
}
.fund-search-item:hover { background: rgba(255,255,255,0.06); }
.fund-search-item strong { color: var(--text-primary); }

/* ============================================
   Piyasa Nabzi — Kart Tasarimi
   ============================================ */
.pn-wrap { padding: 0 var(--spacing-lg) var(--spacing-lg); }
.pn-live-badge {
    display: flex; align-items: center; gap: 6px;
    font-size: 11px; color: var(--text-muted); font-weight: 600;
    margin-left: auto;
}
.pn-ticker {
    display: flex; gap: 8px; overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; padding: 4px 0 12px;
}
.pn-ticker::-webkit-scrollbar { display: none; }
.pn-ticker-pill {
    display: flex; align-items: center; gap: 6px;
    padding: 6px 14px; border-radius: 20px;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
    white-space: nowrap; flex-shrink: 0; cursor: pointer;
    transition: all 0.15s;
}
.pn-ticker-pill:hover { border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.07); }
.pn-ticker-pill .pn-pill-icon {
    width: 22px; height: 22px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 11px;
}
.pn-ticker-pill .pn-pill-name { font-size: 11px; font-weight: 700; color: var(--text-secondary); }
.pn-ticker-pill .pn-pill-val { font-size: 11px; font-weight: 800; color: var(--text-primary); }
.pn-ticker-pill .pn-pill-chg { font-size: 10px; font-weight: 700; }
.pn-ticker-pill .pn-pill-chg.positive { color: var(--positive); }
.pn-ticker-pill .pn-pill-chg.negative { color: var(--negative); }

.pn-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.pn-grid .pn-card-full { grid-column: 1 / -1; }
.pn-grid .pn-row-3 {
    grid-column: 1 / -1;
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px;
}

.pn-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px; padding: 14px;
    position: relative; overflow: hidden;
    cursor: pointer; transition: all 0.2s;
}
.pn-card:hover { border-color: rgba(255,255,255,0.12); background: rgba(255,255,255,0.05); }
.pn-card::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 3px; height: 100%; border-radius: 3px 0 0 3px;
}
.pn-card.pn-gold::before { background: #F0B90B; }
.pn-card.pn-crypto::before { background: #3B82F6; }
.pn-card.pn-currency::before { background: #8B5CF6; }
.pn-card.pn-bist::before { background: #EF4444; }
.pn-card.pn-us::before { background: #6366F1; }
.pn-card.pn-fon::before { background: #A855F7; }

.pn-card-head {
    display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
}
.pn-card-icon {
    width: 28px; height: 28px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; flex-shrink: 0;
}
.pn-gold .pn-card-icon { background: rgba(240,185,11,0.12); color: #F0B90B; }
.pn-crypto .pn-card-icon { background: rgba(59,130,246,0.12); color: #3B82F6; }
.pn-currency .pn-card-icon { background: rgba(139,92,246,0.12); color: #8B5CF6; }
.pn-bist .pn-card-icon { background: rgba(239,68,68,0.12); color: #EF4444; }
.pn-us .pn-card-icon { background: rgba(99,102,241,0.12); color: #6366F1; }
.pn-fon .pn-card-icon { background: rgba(168,85,247,0.12); color: #A855F7; }

.pn-card-title {
    font-size: 12px; font-weight: 700; color: var(--text-secondary);
    flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pn-card-count {
    font-size: 10px; font-weight: 800; color: var(--text-muted);
    background: rgba(255,255,255,0.06); padding: 2px 6px; border-radius: 6px;
}

.pn-card-value {
    display: flex; align-items: baseline; gap: 6px;
    margin-bottom: 6px;
}
.pn-card-price {
    font-size: 18px; font-weight: 800; color: var(--text-primary);
    letter-spacing: -0.5px; line-height: 1;
}
.pn-card-chg {
    font-size: 10px; font-weight: 700; padding: 2px 6px;
    border-radius: 6px;
}
.pn-card-chg.positive { color: var(--positive); background: var(--positive-bg); }
.pn-card-chg.negative { color: var(--negative); background: var(--negative-bg); }

.pn-card-spark {
    height: 32px; margin: 4px -4px 8px; opacity: 0.6;
}
.pn-card-spark canvas { width: 100%; height: 100%; }

.pn-card-items { display: flex; flex-direction: column; gap: 4px; }
.pn-card-item {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 11px; padding: 3px 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.pn-card-item:last-child { border-bottom: none; }
.pn-item-name { color: var(--text-muted); font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pn-item-price { color: var(--text-primary); font-weight: 700; margin: 0 8px; white-space: nowrap; }
.pn-item-chg { font-size: 10px; font-weight: 700; white-space: nowrap; min-width: 42px; text-align: right; }
.pn-item-chg.positive { color: var(--positive); }
.pn-item-chg.negative { color: var(--negative); }

.pn-card-more {
    font-size: 10px; color: var(--text-muted); text-align: center;
    margin-top: 6px; font-weight: 600; opacity: 0.6;
}

.pn-card.open { border-color: rgba(255,255,255,0.15); }
.pn-card-expanded { display: none; }
.pn-card.open .pn-card-expanded { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }
.pn-card.open .pn-card-more { display: none; }

@media (max-width: 400px) {
    .pn-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .pn-grid .pn-row-3 { grid-template-columns: 1fr; }
    .pn-card-price { font-size: 15px; }
    .pn-card { padding: 10px; }
}

/* Top Movers — Gunun En Cok Yukselen */
.top-movers-section {
    margin-top: 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    overflow: hidden;
}
.top-movers-header {
    display: flex; align-items: center; gap: 8px;
    padding: 14px 16px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.top-movers-title {
    font-size: 13px; font-weight: 800; color: var(--text-primary);
    letter-spacing: -0.3px;
}
.top-movers-tabs {
    display: flex; gap: 4px; padding: 0 16px 10px;
}
.top-movers-tab {
    flex: 1; padding: 6px 0; border: none; border-radius: 8px;
    background: rgba(255,255,255,0.04); color: var(--text-muted);
    font-size: 11px; font-weight: 700; cursor: pointer;
    transition: all 0.2s;
}
.top-movers-tab.active {
    background: rgba(99,102,241,0.15); color: #818cf8;
}
.top-movers-tab:hover:not(.active) {
    background: rgba(255,255,255,0.07);
}
.top-movers-list { display: flex; flex-direction: column; min-height: 120px; }
.top-mover-row {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    transition: background 0.15s;
}
.top-mover-row:last-child { border-bottom: none; }
.top-mover-row:hover { background: rgba(255,255,255,0.03); }
.top-mover-rank {
    width: 20px; height: 20px; border-radius: 6px;
    background: rgba(255,255,255,0.06); font-size: 10px;
    font-weight: 800; color: var(--text-muted);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.top-mover-row:nth-child(1) .top-mover-rank { background: rgba(240,185,11,0.15); color: #F0B90B; }
.top-mover-row:nth-child(2) .top-mover-rank { background: rgba(192,192,192,0.12); color: #C0C0C0; }
.top-mover-row:nth-child(3) .top-mover-rank { background: rgba(205,127,50,0.12); color: #CD7F32; }
.top-mover-info {
    flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px;
}
.top-mover-name {
    font-size: 12px; font-weight: 700; color: var(--text-primary);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.top-mover-cat {
    font-size: 10px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.5px;
}
.top-mover-price {
    font-size: 12px; font-weight: 700; color: var(--text-secondary);
    white-space: nowrap; margin: 0 4px;
    font-variant-numeric: tabular-nums;
}
.top-mover-chg {
    font-size: 11px; font-weight: 800; white-space: nowrap;
    min-width: 52px; text-align: right;
    font-variant-numeric: tabular-nums;
}
.top-mover-chg.positive { color: var(--positive); }
.top-mover-chg.negative { color: var(--negative); }
