/* ============================================================
   Finans Asistanı - Modern CSS Design System
   Premium dark theme with glassmorphism and animations
   Multi-page version
   ============================================================ */

/* === CSS Variables === */
:root {
    /* Colors */
    --color-bg-primary: #0a0a0f;
    --color-bg-secondary: #12121a;
    --color-bg-tertiary: #1a1a25;
    --color-bg-card: rgba(26, 26, 37, 0.7);

    --color-text-primary: #ffffff;
    --color-text-secondary: #a0a0b0;
    --color-text-muted: #6b6b80;

    --color-accent-primary: #6366f1;
    --color-accent-secondary: #8b5cf6;
    --color-accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);

    --color-success: #10b981;
    --color-success-bg: rgba(16, 185, 129, 0.15);
    --color-danger: #ef4444;
    --color-danger-bg: rgba(239, 68, 68, 0.15);
    --color-warning: #f59e0b;
    --color-info: #3b82f6;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;

    /* Font */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* === Reset & Base === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* === Background Effects === */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(168, 85, 247, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: -2;
}

.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
}

/* === Container === */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* === Header === */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.8);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) 0;
    gap: var(--space-xl);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 1.75rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

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

.logo-accent {
    background: var(--color-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    gap: var(--space-sm);
}

.nav-link {
    padding: var(--space-sm) var(--space-md);
    color: var(--color-text-secondary);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition-base);
}

.nav-link:hover {
    color: var(--color-text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: var(--color-text-primary);
    background: var(--color-accent-gradient);
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    border: none;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
}

.btn-primary {
    background: var(--color-accent-gradient);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-glow {
    background: transparent;
    color: var(--color-accent-primary);
    border: 1px solid var(--color-accent-primary);
}

.btn-glow:hover {
    background: var(--color-accent-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-danger {
    background: var(--color-danger);
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

/* === Main Content === */
.main {
    padding: var(--space-2xl) 0;
    min-height: calc(100vh - 200px);
}

/* === Hero Section === */
.hero {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-2xl);
    align-items: center;
    padding: var(--space-2xl) 0;
    margin-bottom: var(--space-2xl);
}

.hero-greeting {
    display: block;
    font-size: 1rem;
    color: var(--color-text-secondary);
    font-weight: 400;
    margin-bottom: var(--space-xs);
}

.hero-name {
    font-size: 3rem;
    font-weight: 800;
    background: var(--color-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    margin-top: var(--space-sm);
}

.hero-stats {
    display: flex;
    gap: var(--space-md);
}

.stat-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    min-width: 180px;
}

.stat-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
}

.stat-primary .stat-icon {
    background: rgba(99, 102, 241, 0.2);
}

.stat-success .stat-icon {
    background: var(--color-success-bg);
}

.stat-info .stat-icon {
    background: rgba(59, 130, 246, 0.2);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xs);
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

/* === Search Section === */
.search-section {
    margin-bottom: var(--space-2xl);
}

.search-box {
    display: flex;
    background: var(--color-bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: var(--transition-base);
}

.search-box:focus-within {
    border-color: var(--color-accent-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.search-input {
    flex: 1;
    padding: var(--space-lg) var(--space-xl);
    background: transparent;
    border: none;
    color: var(--color-text-primary);
    font-size: 1rem;
    font-family: inherit;
}

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

.search-input:focus {
    outline: none;
}

.search-btn {
    padding: var(--space-lg) var(--space-xl);
    background: var(--color-accent-gradient);
    border: none;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition-base);
}

.search-btn:hover {
    filter: brightness(1.1);
}

.search-result {
    margin-top: var(--space-md);
    padding: var(--space-lg);
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    display: none;
}

.search-result.active {
    display: block;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-result-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search-result-info h4 {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

.search-result-info p {
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.search-result-price {
    font-size: 2rem;
    font-weight: 700;
    background: var(--color-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === Section === */
.section {
    margin-bottom: var(--space-3xl);
}

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

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.section-badge {
    padding: var(--space-xs) var(--space-md);
    background: var(--color-success-bg);
    color: var(--color-success);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* === Market Grid === */
.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--space-md);
}

.market-card {
    padding: var(--space-lg);
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-base);
}

.market-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-accent-primary);
    box-shadow: var(--shadow-lg);
}

.market-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.market-symbol {
    padding: var(--space-xs) var(--space-sm);
    background: var(--color-accent-gradient);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
}

.market-name {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

.market-price {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.market-source {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* === Portfolio Table === */
.portfolio-table-wrapper {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.portfolio-table {
    width: 100%;
    border-collapse: collapse;
}

.portfolio-table th,
.portfolio-table td {
    padding: var(--space-md) var(--space-lg);
    text-align: left;
}

.portfolio-table th {
    background: rgba(255, 255, 255, 0.03);
    color: var(--color-text-muted);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.portfolio-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.portfolio-table tr:last-child {
    border-bottom: none;
}

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

.loading-row {
    text-align: center;
    color: var(--color-text-muted);
    padding: var(--space-2xl) !important;
}

.symbol-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    background: var(--color-accent-gradient);
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.875rem;
}

/* === History List === */
.history-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

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

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

.history-icon.buy {
    background: var(--color-success-bg);
}

.history-icon.sell {
    background: var(--color-danger-bg);
}

.history-info {
    flex: 1;
}

.history-title {
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

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

.history-amount {
    font-weight: 700;
    font-size: 1rem;
}

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

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

/* === Modal === */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: var(--color-bg-secondary);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-xl);
    width: 100%;
    max-width: 450px;
    animation: slideUp 0.3s ease;
}

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

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: var(--radius-md);
    color: var(--color-text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-base);
}

.modal-close:hover {
    background: var(--color-danger);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 500;
    color: var(--color-text-secondary);
}

.form-group input {
    width: 100%;
    padding: var(--space-md);
    background: var(--color-bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-base);
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-accent-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.form-actions {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.form-actions .btn {
    flex: 1;
    justify-content: center;
    padding: var(--space-md);
}

/* === Toast === */
.toast {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: var(--color-bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-success);
    box-shadow: var(--shadow-lg);
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition-base);
    z-index: 1001;
}

.toast.active {
    transform: translateY(0);
    opacity: 1;
}

.toast-icon {
    font-size: 1.25rem;
}

/* === Footer === */
.footer {
    padding: var(--space-xl) 0;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* === Skeleton Loading === */
.skeleton {
    position: relative;
    overflow: hidden;
}

.skeleton::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.skeleton-text {
    height: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
}

.skeleton-text.short {
    width: 60%;
}

/* === Page Header (Multi-page) === */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-xl) 0;
    margin-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: var(--space-xs);
}

.page-subtitle {
    color: var(--color-text-secondary);
    font-size: 1rem;
}

/* === Summary Cards === */
.summary-cards {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.summary-card {
    flex: 1;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.summary-card.summary-success {
    border-color: rgba(16, 185, 129, 0.3);
}

.summary-card.summary-danger {
    border-color: rgba(239, 68, 68, 0.3);
}

.summary-icon {
    font-size: 2rem;
}

.summary-label {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xs);
}

.summary-value {
    font-size: 1.5rem;
    font-weight: 700;
}

/* === Filter Section === */
.filter-section {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-xl);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.filter-group label {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

.filter-input,
.filter-select {
    padding: var(--space-sm) var(--space-md);
    background: var(--color-bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-text-primary);
    font-family: inherit;
    font-size: 0.9rem;
}

.filter-input:focus,
.filter-select:focus {
    outline: none;
    border-color: var(--color-accent-primary);
}

/* === History List Full === */
.history-list-full .history-item {
    padding: var(--space-lg);
}

.history-symbol {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    background: var(--color-accent-gradient);
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.875rem;
    margin-right: var(--space-sm);
}

.history-type {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

.history-details {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    margin: var(--space-xs) 0;
}

.history-profit {
    font-weight: 700;
    font-size: 1.1rem;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
}

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

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

.history-icon.update {
    background: rgba(59, 130, 246, 0.2);
}

/* === Button Variants === */
.btn-sm {
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.8rem;
}

.btn-success {
    background: var(--color-success);
    color: white;
}

.btn-success:hover {
    background: #059669;
}

.action-buttons {
    display: flex;
    gap: var(--space-sm);
}

/* === Time Display === */
.time-display {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

/* === Logo Link === */
a.logo {
    text-decoration: none;
}

/* === Responsive === */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-wrap: wrap;
    }

    .stat-card {
        flex: 1;
        min-width: 150px;
    }

    .summary-cards {
        flex-wrap: wrap;
    }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }

    .nav {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: var(--space-md);
    }

    .hero-name {
        font-size: 2rem;
    }

    .stat-card {
        flex-direction: column;
        text-align: center;
    }

    .market-grid {
        grid-template-columns: 1fr 1fr;
    }

    .filter-section {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    .market-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
    }

    .portfolio-table-wrapper {
        overflow-x: auto;
    }

    .summary-cards {
        flex-direction: column;
    }
}

/* === Select/Option Dark Theme === */
.filter-select option,
select option {
    background: var(--color-bg-secondary);
    color: var(--color-text-primary);
}

/* === Custom Scrollbar === */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-primary);
}

::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.3);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.5);
}

/* === Loading Spinner === */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-left-color: var(--color-accent-primary);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

/* === Empty State === */
.empty-state {
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
    color: var(--color-text-muted);
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    opacity: 0.5;
}

.empty-state-text {
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
}

.empty-state-hint {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* === Smooth Page Load === */
.main {
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Card Hover Glow === */
.summary-card {
    transition: var(--transition-base);
}

.summary-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.15);
}

/* === Market Card Loading State === */
.market-card .loading-spinner {
    margin: var(--space-md) auto;
}

/* === History Item Animation === */
.history-item {
    transition: var(--transition-base);
}

.history-item:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translateX(4px);
}

/* === Table Row Animation === */
.portfolio-table tbody tr {
    transition: var(--transition-base);
}

.portfolio-table tbody tr:hover {
    background: rgba(99, 102, 241, 0.05) !important;
}

/* === Nav Link Transition === */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-accent-gradient);
    transition: var(--transition-base);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 60%;
}

.nav-link.active::after {
    display: none;
}

/* === Search Loading State === */
.search-box.loading .search-btn {
    pointer-events: none;
    opacity: 0.7;
}

/* === Toast Error State === */
.toast.error {
    border-color: var(--color-danger);
}

/* === Button Ripple === */
.btn {
    position: relative;
    overflow: hidden;
}

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

/* ============================================================
   LIGHT THEME
   ============================================================ */

[data-theme="light"] {
    --color-bg-primary: #f5f5f7;
    --color-bg-secondary: #ffffff;
    --color-bg-tertiary: #eeeef0;
    --color-bg-card: rgba(255, 255, 255, 0.9);

    --color-text-primary: #1a1a2e;
    --color-text-secondary: #555570;
    --color-text-muted: #8888a0;
}

[data-theme="light"] .bg-gradient {
    background:
        radial-gradient(ellipse at 20% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
}

[data-theme="light"] .bg-grid {
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.04) 1px, transparent 1px);
}

[data-theme="light"] .header {
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .nav-link:hover {
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .stat-card,
[data-theme="light"] .summary-card,
[data-theme="light"] .market-card,
[data-theme="light"] .history-item,
[data-theme="light"] .filter-section,
[data-theme="light"] .chart-card,
[data-theme="light"] .alert-item {
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .portfolio-table-wrapper {
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .portfolio-table th {
    background: rgba(0, 0, 0, 0.03);
    color: var(--color-text-muted);
}

[data-theme="light"] .portfolio-table tr {
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .search-box {
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .footer {
    border-top-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .toast {
    background: var(--color-bg-secondary);
    color: var(--color-text-primary);
}

[data-theme="light"] .modal-content {
    background: var(--color-bg-secondary);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .form-group input,
[data-theme="light"] .filter-input,
[data-theme="light"] .filter-select {
    background: var(--color-bg-tertiary);
    border-color: rgba(0, 0, 0, 0.1);
    color: var(--color-text-primary);
}

[data-theme="light"] .btn-secondary {
    background: rgba(0, 0, 0, 0.06);
    color: var(--color-text-primary);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .modal-close {
    background: rgba(0, 0, 0, 0.06);
    color: var(--color-text-primary);
}

[data-theme="light"] ::-webkit-scrollbar-track {
    background: var(--color-bg-primary);
}

/* === Theme Toggle Button === */
.theme-toggle {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-base);
    font-size: 1.1rem;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(15deg);
}

[data-theme="light"] .theme-toggle {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

/* ============================================================
   CHATBOT WIDGET
   ============================================================ */

.chatbot-fab {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    transition: var(--transition-base);
    z-index: 999;
    border: none;
    animation: fabPulse 3s ease-in-out infinite;
}

@keyframes fabPulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(99, 102, 241, 0.6);
    }
}

.chatbot-fab:hover {
    transform: scale(1.1);
}

.chatbot-fab.hidden {
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}

.chatbot-panel {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 380px;
    height: 520px;
    background: var(--color-bg-secondary);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transform: scale(0.8) translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.chatbot-panel.active {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: all;
}

[data-theme="light"] .chatbot-panel {
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.chatbot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    background: var(--color-accent-gradient);
    color: white;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.chatbot-avatar {
    font-size: 1.5rem;
}

.chatbot-header h4 {
    font-size: 0.95rem;
    font-weight: 600;
}

.chatbot-status {
    font-size: 0.7rem;
    opacity: 0.8;
}

.chatbot-header-actions {
    display: flex;
    gap: var(--space-xs);
}

.chatbot-btn-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    cursor: pointer;
    font-size: 0.8rem;
    transition: var(--transition-fast);
}

.chatbot-btn-icon:hover {
    background: rgba(255, 255, 255, 0.3);
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.chat-message {
    display: flex;
    max-width: 85%;
}

.chat-message.user {
    align-self: flex-end;
}

.chat-message.bot {
    align-self: flex-start;
}

.chat-bubble {
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    line-height: 1.5;
    word-break: break-word;
}

.chat-message.user .chat-bubble {
    background: var(--color-accent-gradient);
    color: white;
    border-bottom-right-radius: var(--radius-xs);
}

.chat-message.bot .chat-bubble {
    background: var(--color-bg-tertiary);
    color: var(--color-text-primary);
    border-bottom-left-radius: var(--radius-xs);
}

.chat-bubble code {
    background: rgba(99, 102, 241, 0.15);
    padding: 1px 4px;
    border-radius: 3px;
    font-size: 0.8rem;
}

.typing-dots {
    display: flex;
    gap: 4px;
    padding: 4px 0;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-text-muted);
    animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) {
    animation-delay: 0s;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {

    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: 0.4;
    }

    30% {
        transform: translateY(-6px);
        opacity: 1;
    }
}

.chatbot-input-area {
    display: flex;
    padding: var(--space-sm) var(--space-md);
    gap: var(--space-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--color-bg-primary);
}

[data-theme="light"] .chatbot-input-area {
    border-top-color: rgba(0, 0, 0, 0.06);
    background: var(--color-bg-tertiary);
}

.chatbot-input {
    flex: 1;
    padding: var(--space-sm) var(--space-md);
    background: var(--color-bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: var(--color-text-primary);
    font-family: inherit;
    font-size: 0.875rem;
}

[data-theme="light"] .chatbot-input {
    background: var(--color-bg-secondary);
    border-color: rgba(0, 0, 0, 0.1);
}

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

.chatbot-send {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--color-accent-gradient);
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.chatbot-send:hover {
    transform: scale(1.1);
}

/* ============================================================
   CHART & PERFORMANCE STYLES
   ============================================================ */

.performance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.chart-card {
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}

.chart-card--mt {
    margin-top: var(--space-md);
}

.chart-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
}

.chart-container {
    position: relative;
    height: 250px;
}

.chart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 250px;
    color: var(--color-text-muted);
}

/* Performance Summary */
.performance-summary {
    max-height: 320px;
    overflow-y: auto;
}

.perf-loading {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    justify-content: center;
    padding: var(--space-3xl);
    color: var(--color-text-muted);
}

.perf-total {
    text-align: center;
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
}

.perf-total.positive {
    background: var(--color-success-bg);
}

.perf-total.negative {
    background: var(--color-danger-bg);
}

.perf-total-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xs);
}

.perf-total-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.perf-total.positive .perf-total-value {
    color: var(--color-success);
}

.perf-total.negative .perf-total-value {
    color: var(--color-danger);
}

.perf-total-pct {
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: var(--space-xs);
}

.perf-total.positive .perf-total-pct {
    color: var(--color-success);
}

.perf-total.negative .perf-total-pct {
    color: var(--color-danger);
}

.perf-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: var(--space-md) 0;
}

[data-theme="light"] .perf-divider {
    background: rgba(0, 0, 0, 0.06);
}

.perf-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) 0;
}

.perf-summary-row {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

.perf-symbol {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

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

.perf-values {
    text-align: right;
}

.perf-current {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
}

.perf-change {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
}

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

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

/* ============================================================
   ALERT STYLES
   ============================================================ */

.alerts-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.alert-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.alert-item:hover {
    transform: translateX(4px);
}

.alert-item.triggered {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.05);
}

.alert-info {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.alert-condition {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.alert-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.alert-status {
    font-size: 0.8rem;
    font-weight: 600;
}

.alert-item.active .alert-status {
    color: var(--color-warning);
}

.alert-item.triggered .alert-status {
    color: var(--color-success);
}

.alert-date {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.alert-select {
    width: 100%;
}

/* ============================================================
   CONVERTER WIDGET (Döviz Çevirici)
   ============================================================ */

/* Ana kart: glassmorphism efekti ile yarı saydam arka plan */
.converter-card {
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

/* Yatay satır: Miktar, Birim, Ok, Sonuç yan yana */
.converter-row {
    display: flex;
    align-items: flex-end;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

/* Her input grubunun genel stili: label + input/select */
.converter-input-group {
    flex: 1;
    min-width: 140px;
}

.converter-input-group label {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
    font-weight: 500;
}

/* Miktar input'u */
.converter-input {
    width: 100%;
    padding: var(--space-md);
    background: var(--color-bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-text-primary);
    font-size: 1.1rem;
    font-family: inherit;
    font-weight: 600;
    transition: var(--transition-base);
}

.converter-input:focus {
    outline: none;
    border-color: var(--color-accent-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

/* Birim seçme dropdown'u */
.converter-select {
    width: 100%;
    padding: var(--space-md);
    background: var(--color-bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition-base);
    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 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.converter-select:focus {
    outline: none;
    border-color: var(--color-accent-primary);
}

/* Ok işareti (→) */
.converter-arrow {
    font-size: 1.5rem;
    color: var(--color-accent-primary);
    padding-bottom: var(--space-sm);
    flex-shrink: 0;
}

/* Sonuç kutusu */
.converter-result {
    padding: var(--space-md);
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: var(--radius-md);
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
    min-height: 50px;
}

.converter-result-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.converter-result-currency {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* Alt bilgi satırı (kur oranı) */
.converter-info {
    margin-top: var(--space-md);
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-align: center;
}

/* ============================================================
   HAMBURGER MENU
   ============================================================ */

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-base);
    z-index: 201;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.15);
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text-primary);
    border-radius: 2px;
    transition: var(--transition-base);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    z-index: 199;
}

.nav-overlay.active {
    display: block;
}

/* ============================================================
   RESPONSIVE - TABLET (max-width: 1024px)
   ============================================================ */

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .hero-stats {
        flex-wrap: wrap;
    }

    .stat-card {
        min-width: 150px;
        flex: 1;
    }

    .hero-name {
        font-size: 2.25rem;
    }

    .performance-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   RESPONSIVE - MOBILE (max-width: 768px)
   ============================================================ */

@media (max-width: 768px) {

    /* Hamburger visible */
    .hamburger {
        display: flex;
    }

    /* Mobile Nav */
    .nav {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        flex-direction: column;
        background: var(--color-bg-secondary);
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        padding: 5rem var(--space-lg) var(--space-lg);
        gap: var(--space-xs);
        transition: right 0.3s ease;
        z-index: 200;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav.active {
        right: 0;
    }

    .nav-link {
        padding: var(--space-md) var(--space-lg);
        font-size: 1rem;
        border-radius: var(--radius-md);
    }

    .nav-link.active {
        background: var(--color-accent-gradient);
    }

    /* Header */
    .header-content {
        padding: var(--space-sm) 0;
    }

    .logo {
        font-size: 1.25rem;
    }

    .logo-icon {
        font-size: 1.5rem;
    }

    .time-display {
        display: none;
    }

    /* Hero */
    .hero {
        padding: var(--space-lg) 0;
        margin-bottom: var(--space-lg);
    }

    .hero-name {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
    }

    .stat-card {
        min-width: unset;
    }

    /* Sections */
    .section {
        margin-bottom: var(--space-xl);
    }

    .section-header {
        flex-wrap: wrap;
        gap: var(--space-sm);
    }

    .section-title {
        font-size: 1.25rem;
    }

    /* Market */
    .market-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    .market-price {
        font-size: 1.25rem;
    }

    /* Portfolio Table */
    .portfolio-table-wrapper {
        overflow-x: auto;
    }

    .portfolio-table {
        min-width: 600px;
    }

    /* Search */
    .search-result-price {
        font-size: 1.5rem;
    }

    /* Summary */
    .summary-cards {
        flex-direction: column;
    }

    .page-header {
        flex-direction: column;
        gap: var(--space-md);
        align-items: flex-start;
    }

    /* Chatbot */
    .chatbot-panel {
        width: calc(100% - 2rem);
        height: calc(100% - 6rem);
        bottom: 1rem;
        right: 1rem;
    }

    /* Alert */
    .alert-item {
        flex-direction: column;
        gap: var(--space-sm);
        align-items: flex-start;
    }

    .alert-meta {
        width: 100%;
        justify-content: space-between;
    }

    /* Modal */
    .modal-content {
        margin: var(--space-md);
        max-width: calc(100% - 2rem);
    }

    /* Main */
    .main {
        padding: var(--space-lg) 0;
    }

    .container {
        padding: 0 var(--space-md);
    }

    /* History filter */
    .filter-bar {
        flex-wrap: wrap;
    }
}

/* ============================================================
   RESPONSIVE - SMALL MOBILE (max-width: 480px)
   ============================================================ */

@media (max-width: 480px) {
    .hero-name {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .market-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-sm);
    }

    .market-card {
        padding: var(--space-md);
    }

    .market-price {
        font-size: 1.1rem;
    }

    .chatbot-panel {
        width: 100%;
        height: 100%;
        bottom: 0;
        right: 0;
        border-radius: 0;
    }

    .chatbot-fab {
        width: 50px;
        height: 50px;
        bottom: 1rem;
        right: 1rem;
    }

    .btn-sm {
        padding: var(--space-xs) var(--space-sm);
        font-size: 0.8rem;
    }

    .search-input {
        padding: var(--space-md);
        font-size: 0.9rem;
    }

    .search-btn {
        padding: var(--space-md);
    }

    .toast {
        left: var(--space-md);
        right: var(--space-md);
        bottom: var(--space-md);
    }
}