/* ========== MOBILE RECONNECT STYLING ========== */

/* Verberg de standaard Blazor reconnect modal */
#components-reconnect-modal {
    display: none !important;
}

/* Subtiele verbindingsstatus indicator bovenaan */
#connection-status-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #28a745;
    z-index: 20000;
    transition: background-color 0.3s ease;
    display: none;
}

#connection-status-bar.reconnecting {
    background: #ffc107;
    animation: pulse 1.5s ease-in-out infinite;
}

#connection-status-bar.offline {
    background: #dc3545;
}

#connection-status-bar.show {
    display: block;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Custom reconnect UI voor mobiele devices */
.mobile-reconnect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 20000;
}

/* Verberg de custom modal standaard */
.mobile-reconnect.components-reconnect-hide {
    display: none !important;
}

/* Toon de custom modal alleen wanneer nodig */
.mobile-reconnect:not(.components-reconnect-hide) {
    display: flex !important;
}

/* Verberg alle reconnect states standaard */
.mobile-reconnect .show,
.mobile-reconnect .failed,
.mobile-reconnect .rejected {
    display: none;
}

/* Toon alleen de actieve state */
.mobile-reconnect .show.active,
.mobile-reconnect .failed.active,
.mobile-reconnect .rejected.active {
    display: block;
}

.reconnect-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    max-width: 300px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.reconnect-content p {
    margin: 10px 0;
    color: #333;
    font-size: 16px;
}

.reconnect-content button {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
}

.reconnect-content button:hover {
    background: #0056b3;
}

.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========== MOBIELE LAYOUT STYLING ========== */

/* Forceer altijd light mode - geen dark mode */
html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color-scheme: light;
}

/* Zorg ervoor dat alle elementen altijd light mode gebruiken */
* {
    color-scheme: light;
}

/* Forceer light mode voor alle componenten */
.mobile-layout,
.mobile-top-bar,
.mobile-card,
.mobile-list-item,
.mobile-input,
.bottom-tab-bar,
.mobile-page,
.menu-sheet-alt,
.filter-sheet,
.login-card {
    color-scheme: light !important;
}

/* SPECIFIEKE MENU LIGHT MODE FORCERING */
.menu-overlay-alt,
.menu-sheet-alt,
.menu-header,
.menu-content,
.menu-item,
.btn-logout {
    background-color: white !important;
    color: #1a1a1a !important;
    color-scheme: light !important;
}

/* SPECIFIEKE LOGIN PAGINA LIGHT MODE FORCERING */
.login-container,
.login-card,
.login-header,
.login-content,
.login-footer,
.logo-container,
.login-info {
    background-color: white !important;
    color: #1a1a1a !important;
    color-scheme: light !important;
}

/* Login specifieke elementen */
.login-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.login-card {
    background: white !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.login-title {
    color: #1a1a1a !important;
}

.login-subtitle {
    color: #6c757d !important;
}

.login-info {
    background: #f8f9fa !important;
}

.login-info p {
    color: #495057 !important;
}

.footer-text {
    color: #6c757d !important;
}

/* Bootstrap dropdown override voor light mode */
.dropdown-menu,
.dropdown-item,
.dropdown-header {
    background-color: white !important;
    color: #1a1a1a !important;
    border-color: #e0e0e0 !important;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #f8f9fa !important;
    color: #1a1a1a !important;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: #007bff !important;
    color: white !important;
}

/* Basis mobiele layout */
.mobile-layout {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: #f8f9fa;
    overflow: hidden;
}

/* Initial Loading Overlay */
.initial-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Top App Bar */
.mobile-top-bar {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.mobile-toolbar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    min-height: 3.5rem;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: #1a1a1a;
}

/* Knoppen */
.btn-back {
    background: none;
    border: none;
    padding: 0.5rem;
    border-radius: 50%;
    color: #007bff;
    font-size: 1.25rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    min-width: 2.75rem;
    min-height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .btn-back:hover {
        background-color: rgba(0, 123, 255, 0.1);
    }

    .btn-back:active {
        transform: scale(0.95);
    }

.btn-icon {
    background: none;
    border: none;
    padding: 0.5rem;
    border-radius: 50%;
    color: #6c757d;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 2.75rem;
    min-height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .btn-icon:hover {
        background-color: rgba(108, 117, 125, 0.1);
        color: #495057;
    }

    .btn-icon:active {
        transform: scale(0.95);
    }

.btn-close {
    background: none;
    border: none;
    padding: 0.5rem;
    border-radius: 50%;
    color: #6c757d;
    cursor: pointer;
    transition: background-color 0.2s ease;
    min-width: 2rem;
    min-height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .btn-close:hover {
        background-color: rgba(108, 117, 125, 0.1);
    }

/* Zoekbalk */
.search-bar {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
}

.search-input {
    flex: 1;
    border: 1px solid #dee2e6;
    border-radius: 1.5rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    background: white;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

    .search-input:focus {
        outline: none;
        border-color: #007bff;
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    }

/* Hoofdinhoud */
.mobile-content {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    padding-bottom: calc(1rem + 4rem); /* Ruimte voor bottom tab bar */
}

/* Bottom Tab Bar */
.bottom-tab-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding-bottom: max(env(safe-area-inset-bottom), 0.5rem);
    z-index: 50;
}

.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #6c757d;
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.4rem 0.25rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    flex: 1;
    min-width: 0;
    min-height: 3rem;
}

    .tab-item:hover {
        color: #007bff;
        background-color: rgba(0, 123, 255, 0.1);
    }

    .tab-item.active {
        color: #007bff;
    }

    .tab-item i {
        font-size: 1.25rem;
        margin-bottom: 0.25rem;
    }

    .tab-item span {
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        line-height: 1.2;
    }

/* ========== OVERLAY EN SHEETS ========== */

/* Filter Overlay */
.filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 200;
    display: flex;
    align-items: flex-end;
    pointer-events: all;
    touch-action: manipulation;
}

.filter-sheet {
    background: white;
    border-radius: 1rem 1rem 0 0;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    animation: slideUp 0.3s ease-out;
    z-index: 201;
    pointer-events: all;
    position: relative;
}

/* Menu Overlay - Alternatieve implementatie */
.menu-overlay-alt {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    pointer-events: all !important;
    touch-action: manipulation !important;
}

.menu-sheet-alt {
    background: white !important;
    border-radius: 0 0 1rem 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    animation: slideDownAlt 0.3s ease-out !important;
    position: relative !important;
    z-index: 10000 !important;
    margin-top: 0 !important;
}

/* Animations */
@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes slideUpAlt {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes slideDownAlt {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* Sheet Headers en Content */
.filter-header,
.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

    .filter-header h3,
    .menu-header h3 {
        margin: 0;
        font-size: 1.125rem;
        font-weight: 600;
    }

.filter-content,
.menu-content {
    padding: 1rem;
    max-height: calc(80vh - 4rem);
    overflow-y: auto;
}

/* ========== MOBIELE COMPONENTEN ========== */

/* Menu styling */
.menu-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f0f0f0;
}

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

.btn-menu-item {
    width: 100%;
    background: none;
    border: none;
    padding: 0.75rem 0;
    color: #1a1a1a;
    font-size: 1rem;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 0.5rem;
}

.btn-menu-item:hover {
    background-color: #f8f9fa;
    color: #007bff;
}

.btn-menu-item:active {
    background-color: #e9ecef;
    transform: scale(0.98);
}

.btn-menu-item i {
    font-size: 1.25rem;
    color: #6c757d;
}

.btn-menu-item:hover i {
    color: #007bff;
}

.menu-divider {
    height: 1px;
    background-color: #e0e0e0;
    margin: 0.5rem 1rem;
}

.logout-item {
    border-top: 2px solid #f0f0f0;
    margin-top: 0.5rem;
}

.btn-logout {
    width: 100%;
    background: none;
    border: none;
    padding: 0.75rem 0;
    color: #dc3545;
    font-size: 1rem;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 0.5rem;
}

.btn-logout:hover {
    background-color: #fff5f5;
    color: #c82333;
}

.btn-logout:active {
    background-color: #ffe6e6;
    transform: scale(0.98);
}

.btn-logout i {
    font-size: 1.25rem;
    color: #dc3545;
}

.btn-logout:hover i {
    color: #c82333;
}

/* Kaartjes */
.mobile-card {
    background: white;
    border-radius: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

    .mobile-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    }

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

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.card-subtitle {
    font-size: 0.875rem;
    color: #6c757d;
    margin: 0.25rem 0 0 0;
}

.card-actions {
    display: flex;
    gap: 0.5rem;
}

/* Lijst items */
.mobile-list-item {
    background: white;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    cursor: pointer;
    min-height: 3.5rem;
}

    .mobile-list-item:hover {
        background-color: #f8f9fa;
        transform: translateX(4px);
    }

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

    .mobile-list-item.unread {
        background-color: #f8f9ff;
        border-left: 3px solid #007bff;
    }

.list-item-content {
    flex: 1;
}

.list-item-main {
    flex: 1;
    min-width: 0;
}

.list-item-title {
    font-size: 1rem;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0 0 0.25rem 0;
}

.list-item-subtitle {
    font-size: 0.875rem;
    color: #6c757d;
    margin: 0;
}

.list-item-details {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.list-item-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.list-item-chevron {
    color: #adb5bd;
    font-size: 1.125rem;
}

/* Status indicators */
.status-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    display: inline-block;
}

.status-active {
    background-color: #28a745;
}

.status-verified {
    background-color: #007bff; /* Blauw voor succesvolle verificatie */
}

.status-failed {
    background-color: #dc3545; /* Rood voor failed/mismatch verificatie */
}

.status-pending {
    background-color: #ffc107; /* Geel voor pending verificatie */
}

.status-none {
    background-color: #6c757d; /* Grijs voor geen verificatie */
}

.status-inactive {
    background-color: #dc3545;
}

.unread-indicator {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: #007bff;
    display: inline-block;
    margin-right: 0.5rem;
}

/* Knoppen */
.mobile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 3rem;
    min-width: 6rem;
    gap: 0.5rem; /* Ruimte tussen icoon en tekst */
}

.mobile-btn-primary {
    background: #007bff;
    color: white;
}

    .mobile-btn-primary:hover {
        background: #0056b3;
        transform: translateY(-1px);
    }

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

.mobile-btn-secondary {
    background: #6c757d;
    color: white;
}

    .mobile-btn-secondary:hover {
        background: #545b62;
        transform: translateY(-1px);
    }

.mobile-btn-outline {
    background: transparent;
    color: #007bff;
    border: 2px solid #007bff;
}

    .mobile-btn-outline:hover {
        background: #007bff;
        color: white;
    }

/* Formulieren */
.mobile-form-group {
    margin-bottom: 1.5rem;
}

.mobile-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
}

.mobile-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #dee2e6;
    border-radius: 0.75rem;
    font-size: 1rem;
    background: white;
    transition: all 0.2s ease;
    min-height: 3rem;
}

    .mobile-input:focus {
        outline: none;
        border-color: #007bff;
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    }

    .mobile-input.error {
        border-color: #dc3545;
    }

.mobile-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Loading states */
.mobile-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 0.5rem;
}

.loading-skeleton {
    padding: 1rem;
}

.skeleton-item {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 0.375rem;
    margin-bottom: 0.75rem;
    min-height: 4rem;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Dashboard en layout */
.dashboard-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.info-label {
    font-weight: 500;
    color: #6c757d;
    font-size: 0.875rem;
}

.info-value {
    color: #1a1a1a;
    font-size: 0.875rem;
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

    .quick-actions .mobile-btn {
        justify-content: flex-start;
        text-align: left;
    }

/* Empty states */
.mobile-empty-state,
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

.empty-state-icon,
.empty-icon {
    font-size: 4rem;
    color: #adb5bd;
    margin-bottom: 1rem;
}

.empty-state-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #495057;
}

.empty-state-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.empty-state h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #495057;
}

.empty-state p {
    font-size: 1rem;
    margin-bottom: 0;
}

/* ========== KLANTEN PAGINA ========== */

.mobile-page {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    padding-top: 4.5rem; /* Ruimte voor de fixed toolbar (min-height: 3.5rem + padding: 0.75rem) */
    padding-bottom: calc(1rem + 4rem); /* Ruimte voor bottom tab bar */
    background: #f8f9fa;
}

/* Home pagina heeft full-width cards */
.mobile-page.home-page .dashboard-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Chat pagina heeft eigen layout - geen padding nodig */
.mobile-page.chat-page {
    padding-top: 0;
    padding-bottom: 0;
}

.klanten-list {
    padding: 0;
}

/* ========== UITLOG STYLING ========== */

.logout-item {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
    /* Chrome-specifieke fixes */
    position: relative;
    z-index: 1;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.btn-logout {
    width: 100%;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
    /* Chrome-specifieke fixes */
    position: relative;
    z-index: 2;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    /* Force visibility */
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

    .btn-logout:hover {
        background: linear-gradient(135deg, #c82333, #a71e2a);
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(220, 53, 69, 0.4);
    }

    .btn-logout:active {
        transform: scale(0.98);
        box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
    }

    .btn-logout i {
        font-size: 1.1rem;
        /* Chrome-specifieke fixes */
        display: inline-block;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

/* ========== LOGIN PAGINA ========== */

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.login-header {
    margin-bottom: 2rem;
}

.logo-container {
    margin-bottom: 1rem;
}

.logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.login-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.5rem 0;
}

.login-subtitle {
    font-size: 1rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

.login-content {
    margin-bottom: 2rem;
}

.btn-login {
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #0078d4, #106ebe);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 120, 212, 0.3);
    margin-bottom: 1.5rem;
}

    .btn-login:hover {
        background: linear-gradient(135deg, #106ebe, #005a9e);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 120, 212, 0.4);
    }

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

    .btn-login i {
        font-size: 1.25rem;
    }

.login-info {
    background: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1rem;
    border-left: 4px solid #0078d4;
}

    .login-info p {
        margin: 0;
        font-size: 0.9rem;
        color: #495057;
        line-height: 1.4;
    }

.login-footer {
    border-top: 1px solid #e9ecef;
    padding-top: 1.5rem;
}

.footer-text {
    margin: 0;
    font-size: 0.8rem;
    color: #6c757d;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 480px) {
    .mobile-content {
        padding: 0.75rem;
    }

    .mobile-card {
        padding: 0.75rem;
    }

    .mobile-list-item {
        padding: 0.75rem;
    }

    .page-title {
        font-size: 1.125rem;
    }

    .dashboard-cards {
        grid-template-columns: 1fr;
    }
}

/* ========== DARK MODE UITGESCHAKELD - ALTIJD LIGHT MODE ========== */

/* Dark mode is uitgeschakeld om altijd de light mode te gebruiken */
/* Alle dark mode styling is gecommentarieerd */

/*
@media (prefers-color-scheme: dark) {
    .mobile-layout {
        background: #1a1a1a;
        color: #ffffff;
    }

    .mobile-top-bar {
        background: rgba(26, 26, 26, 0.95);
        border-bottom-color: #333;
    }

    .mobile-card,
    .mobile-list-item {
        background: #2d2d2d;
        color: #ffffff;
    }

        .mobile-list-item:hover {
            background-color: #3d3d3d;
        }

    .list-item-title {
        color: #ffffff;
    }

    .list-item-subtitle {
        color: #adb5bd;
    }

    .mobile-input {
        background: #2d2d2d;
        color: #ffffff;
        border-color: #444;
    }

    .bottom-tab-bar {
        background: rgba(26, 26, 26, 0.95);
        border-top-color: #333;
    }

    .mobile-page {
        background: #1a1a1a;
        padding-top: 4.5rem; /* Ruimte voor de fixed toolbar (consistent met light mode) */
    }

    /* Chat pagina heeft eigen layout - geen padding-top nodig */
    .mobile-page.chat-page {
        padding-top: 0;
    }

    .skeleton-item {
        background: linear-gradient(90deg, #2d2d2d 25%, #3d3d3d 50%, #2d2d2d 75%);
    }

    .mobile-empty-state,
    .empty-state {
        color: #adb5bd;
    }

    .empty-state-title {
        color: #ffffff;
    }

    .empty-state-description {
        color: #adb5bd;
    }

    .empty-state h3 {
        color: #ffffff;
    }

    /* Dark mode voor menu en overlay */
    .menu-sheet-alt {
        background: #2d2d2d !important;
        color: #ffffff;
    }

    .filter-sheet {
        background: #2d2d2d;
        color: #ffffff;
    }

    /* Dark mode voor uitlog knop */
    .logout-item {
        border-top-color: #495057;
    }

    .btn-logout {
        background: linear-gradient(135deg, #dc3545, #c82333);
        box-shadow: 0 2px 4px rgba(220, 53, 69, 0.4);
    }

        .btn-logout:hover {
            background: linear-gradient(135deg, #c82333, #a71e2a);
            box-shadow: 0 4px 8px rgba(220, 53, 69, 0.5);
    }

    /* Dark mode voor login pagina */
    .login-card {
        background: #2d2d2d;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    }
}



/* ========== LENING DETAILS STYLING ========== */

/* Payment List Styling */
.payment-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.payment-item {
    background: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1rem;
    border-left: 4px solid #28a745;
}

.payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-wrap: nowrap;
    min-width: 0;
}

.payment-date {
    font-weight: 600;
    color: #495057;
    flex: 1;
    min-width: 0;
    margin-right: 0.5rem;
}

.payment-amount {
    font-weight: 700;
    color: #28a745;
    font-size: 1.1rem;
    flex-shrink: 0;
    white-space: nowrap;
}

.payment-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.payment-type {
    font-weight: 500;
    color: #6c757d;
}

.payment-reference {
    font-size: 0.875rem;
    color: #6c757d;
}

/* Cost List Styling */
.cost-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cost-item {
    background: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1rem;
    border-left: 4px solid #ffc107;
}

.cost-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-wrap: nowrap;
    min-width: 0;
}

.cost-description {
    font-weight: 600;
    color: #495057;
    flex: 1;
    min-width: 0;
    margin-right: 0.5rem;
}

.cost-amount {
    font-weight: 700;
    color: #ffc107;
    font-size: 1.1rem;
    flex-shrink: 0;
    white-space: nowrap;
}

.cost-date {
    font-size: 0.875rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Term List Styling */
.term-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.term-item {
    background: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1rem;
    border-left: 4px solid #007bff;
}

.term-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    flex-wrap: nowrap;
    min-width: 0;
}

.term-number {
    font-weight: 700;
    color: #007bff;
    font-size: 1.1rem;
    flex: 1;
    min-width: 0;
    margin-right: 0.5rem;
}

.term-date {
    font-weight: 600;
    color: #495057;
    flex-shrink: 0;
    white-space: nowrap;
}

.term-amounts {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.amount-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.amount-label {
    font-weight: 500;
    color: #6c757d;
}

.amount-value {
    font-weight: 600;
    color: #495057;
}

/* Reservation List Styling */
.reservation-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.reservation-item {
    background: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1rem;
    border-left: 4px solid #6f42c1;
}

.reservation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-wrap: nowrap;
    min-width: 0;
}

.reservation-date {
    font-weight: 600;
    color: #495057;
    flex: 1;
    min-width: 0;
    margin-right: 0.5rem;
}

.reservation-amount {
    font-weight: 700;
    color: #6f42c1;
    font-size: 1.1rem;
    flex-shrink: 0;
    white-space: nowrap;
}

.reservation-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.reservation-ratio {
    font-size: 0.875rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Section Title Styling */
.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #495057;
}

/* Empty State Styling */
.empty-state {
    text-align: center;
    padding: 2rem 1rem;
    color: #6c757d;
}

.empty-state i {
    opacity: 0.5;
}

/* Skeleton Loading Styling */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
}

.skeleton-title {
    height: 1.5rem;
    width: 60%;
    margin-bottom: 0.5rem;
}

.skeleton-line {
    height: 1rem;
    width: 100%;
    margin-bottom: 0.5rem;
}

.skeleton-line.short {
    width: 70%;
    height: 0.875rem;
}

.skeleton-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.skeleton-item {
    background: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1rem;
    border-left: 4px solid #dee2e6;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Mobile Responsive for Lening Details */
@media (max-width: 576px) {
    .section-title {
        font-size: 1.1rem;
    }

    .payment-header,
    .cost-header,
    .term-header,
    .reservation-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .payment-amount,
    .cost-amount,
    .term-date,
    .reservation-amount {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1rem;
    }
}

/* ========== LEENBOEK STYLING ========== */

.list-item-details {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-top: 0.25rem;
}

.list-item-amount {
    font-weight: 600;
    color: var(--bs-success);
    text-align: right;
    margin-bottom: 0.25rem;
}

.badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
}

.badge.status-actief {
    background-color: var(--bs-success);
}

.badge.status-afgesloten {
    background-color: var(--bs-secondary);
}

.badge.status-in-behandeling {
    background-color: var(--bs-warning);
}

/* ========== HISTORIE STYLING ========== */

.clickable-card {
    cursor: pointer;
    transition: all 0.2s ease;
}

.clickable-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.clickable-card:active {
    transform: translateY(0);
}

/* ========== CASHFLOW DASHBOARD STYLING ========== */

.dashboard-controls {
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.dashboard-controls h4 {
    margin: 0;
    color: #495057;
    font-size: 1.2rem;
}

.chart-container {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.chart-header {
    text-align: center;
    margin-bottom: 20px;
}

.chart-header h5 {
    margin: 0;
    color: #495057;
    font-size: 1rem;
}

.chart-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f1f3f4;
}

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

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
}

.legend-label {
    flex: 1;
    font-size: 0.9rem;
    color: #495057;
}

.legend-value {
    font-weight: 600;
    font-size: 0.9rem;
    color: #495057;
}

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

.action-card {
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    gap: 16px;
}

.action-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.action-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.action-content {
    flex: 1;
}

.action-content h6 {
    margin: 0 0 4px 0;
    color: #495057;
    font-size: 1rem;
    font-weight: 600;
}

.action-content p {
    margin: 0;
    color: #6c757d;
    font-size: 0.875rem;
}

.action-arrow {
    color: #6c757d;
    font-size: 1.2rem;
}

/* ========== CASHFLOW DETAILS STYLING ========== */

.cashflow-monthly-list {
    padding: 0;
}

.month-card {
    background: white;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.month-card.clickable {
    cursor: pointer;
}

.month-card.clickable:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.month-card.non-clickable {
    cursor: default;
    opacity: 0.7;
}

.month-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
}

.month-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.month-title h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
}

.forecast-badge {
    background: #ffc107;
    color: #212529;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
}

.actual-badge {
    background: #28a745;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
}

.month-total {
    font-weight: 700;
    font-size: 1.2rem;
}

.month-total.positive {
    color: #28a745;
}

.month-total.negative {
    color: #dc3545;
}

.month-details {
    padding: 16px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f1f3f4;
}

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

.detail-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

.detail-value {
    font-weight: 600;
    font-size: 0.9rem;
}

.detail-value.positive {
    color: #28a745;
}

.detail-value.negative {
    color: #dc3545;
}

.forecast-detail-row {
    align-items: flex-start;
    gap: 0.5rem;
}

.detail-label-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    flex: 1;
}

.fixed-badge {
    background: #28a745;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
}

.variable-badge {
    background: #ffc107;
    color: #212529;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
}

.method-badge {
    background: #6c757d;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 500;
    font-family: monospace;
}

.month-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
    background: #f8f9fa;
    color: #6c757d;
}

.month-footer i {
    font-size: 1.2rem;
}

.month-card.forecast-card {
    cursor: default;
}

.month-card.forecast-card:hover {
    background-color: #f8f9fa;
}

/* Forecast Info Card */
.forecast-info-card {
    background: white;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #007bff;
}

.forecast-info-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.forecast-info-header .btn {
    margin-left: auto;
    white-space: nowrap;
}

.forecast-info-header i {
    font-size: 1.25rem;
    color: #007bff;
}

.forecast-info-header h6 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.forecast-info-content p {
    margin: 0 0 1rem 0;
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
}

.forecast-update-info {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background-color: #e7f3ff;
    border-left: 3px solid #007bff;
    border-radius: 4px;
    color: #004085;
}

.forecast-methods-list {
    margin: 0;
    padding-left: 1.5rem;
    list-style-type: disc;
}

.forecast-methods-list li {
    margin-bottom: 0.5rem;
    color: #495057;
    font-size: 0.875rem;
    line-height: 1.5;
}

.forecast-methods-list li strong {
    color: #007bff;
    font-weight: 600;
}

/* ========== CATEGORIE ANALYSE STYLING ========== */

.filters-container {
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.filter-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.filter-row:last-child {
    margin-bottom: 0;
}

.filter-group {
    flex: 1;
}

.filter-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 4px;
}

.form-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 0.875rem;
}

.results-container {
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #dee2e6;
}

.results-header h4 {
    margin: 0;
    color: #495057;
    font-size: 1.1rem;
}

.total-amount {
    font-weight: 700;
    font-size: 1.2rem;
}

.total-amount.positive {
    color: #28a745;
}

.total-amount.negative {
    color: #dc3545;
}

.transacties-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Recategorisatie styling */
.transactie-actions {
    margin-top: 0.5rem;
    display: flex;
    gap: 0.5rem;
}

/* Extra small button size */
.btn-xs {
    font-size: 0.65rem;
    padding: 0.2rem 0.4rem;
    line-height: 1.2;
}

.recategorise-btn {
    font-size: 0.6rem !important;
    padding: 0.15rem 0.3rem !important;
    white-space: nowrap;
    background-color: #0056b3 !important;
    border-color: #0056b3 !important;
    color: white !important;
    font-weight: 500;
    line-height: 1 !important;
    min-height: auto !important;
    height: auto !important;
    border-radius: 0.2rem !important;
}

.recategorise-btn:hover:not(:disabled) {
    background-color: #004085 !important;
    border-color: #004085 !important;
}

.recategorise-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.recategorise-btn i {
    font-size: 0.55rem !important;
    margin-right: 0.1rem;
    line-height: 1;
}

/* Inline modal binnen transactie-item */
.recategorise-modal-inline {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    border-left: 3px solid #007bff;
}

.recategorise-modal-inline .recategorise-result {
    padding: 0;
    margin-bottom: 0.75rem;
}

.recategorise-modal-inline .result-section {
    margin-bottom: 1rem;
}

.recategorise-modal-inline .result-section:last-child {
    margin-bottom: 0;
}

.recategorise-modal-inline .result-section h6 {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 0.35rem;
}

.recategorise-modal-inline .current-category,
.recategorise-modal-inline .new-category {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 0.2rem;
}

.recategorise-modal-inline .new-category {
    color: #007bff;
}

.recategorise-modal-inline .merchant-name,
.recategorise-modal-inline .confidence {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 0.15rem;
}

.recategorise-modal-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #dee2e6;
}

.recategorise-modal-actions .btn {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    min-width: 70px;
}

.transaction-type-selector {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #dee2e6;
}

.transaction-type-selector .form-label-small {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    display: block;
    color: #495057;
}

.transaction-type-selector .form-select-sm {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    margin-bottom: 0.25rem;
}

.transaction-type-selector .form-text {
    font-size: 0.7rem;
    color: #6c757d;
    display: block;
    margin-top: 0.25rem;
    font-style: italic;
}

.ai-suggestion {
    font-size: 0.875rem;
    margin: 0.5rem 0;
    padding: 0.5rem;
    background-color: #e7f3ff;
    border-left: 3px solid #007bff;
    border-radius: 4px;
}

.ai-suggestion strong {
    color: #007bff;
    font-weight: 600;
}

.ai-badge-small {
    display: inline-block;
    font-size: 0.6rem;
    padding: 0.1rem 0.3rem;
    margin-left: 0.5rem;
    background-color: #007bff;
    color: white;
    border-radius: 3px;
    font-weight: 600;
    vertical-align: middle;
}

.btn-manual-select {
    font-size: 0.6rem !important;
    padding: 0.15rem 0.35rem !important;
    margin-top: 0.5rem;
    line-height: 1.2 !important;
    min-height: auto !important;
    height: auto !important;
}

.btn-manual-select i {
    font-size: 0.65rem !important;
    margin-right: 0.2rem;
}

/* AI badge voor AI-gegenereerde waarden */
.ai-badge {
    display: inline-block;
    font-size: 0.6rem;
    padding: 0.1rem 0.3rem;
    margin-left: 0.3rem;
    background-color: #007bff;
    color: white;
    border-radius: 3px;
    font-weight: 600;
    vertical-align: middle;
    line-height: 1.2;
}

.recategorise-result {
    padding: 1rem 0;
}

.result-section {
    margin-bottom: 1.5rem;
}

.result-section h6 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.current-category,
.new-category {
    font-size: 1rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

/* ========== CASHFLOW ACTUALS PAGE STYLING ========== */

.month-switcher {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 1rem;
}

.month-switcher .btn {
    min-width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.month-display {
    flex: 1;
    text-align: center;
}

.month-display h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
}

.chart-container {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.chart-header {
    margin-bottom: 1rem;
}

.chart-header h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.chart-wrapper {
    position: relative;
    width: 100%;
    overflow-x: auto;
}

.chart-wrapper canvas {
    max-width: 100%;
    height: auto;
}

.category-summary {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.category-summary h5 {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #007bff;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.category-item.clickable {
    cursor: pointer;
    transition: background-color 0.2s ease;
    padding: 0.75rem;
    margin: 0 -0.75rem;
    border-radius: 4px;
}

.category-item.clickable:hover {
    background-color: #f8f9fa;
}

.category-item.clickable:active {
    background-color: #e9ecef;
}

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

.category-item.total {
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 2px solid #dee2e6;
    font-size: 1.1rem;
}

.category-item.total.clickable {
    cursor: default;
}

.category-item.total.clickable:hover {
    background-color: transparent;
}

.category-arrow {
    margin-left: 0.5rem;
    color: #6c757d;
    font-size: 0.875rem;
}

.category-label {
    flex: 1;
    font-size: 0.9rem;
    color: #333;
}

.category-value {
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 100px;
    text-align: right;
}

.category-value.positive {
    color: #28a745;
}

.category-value.negative {
    color: #dc3545;
}

.category-item.total .category-value {
    font-size: 1.1rem;
}

.new-category {
    color: #007bff;
}

.merchant-name,
.confidence {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.transactie-item {
    padding: 12px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: #f8f9fa;
}

.transactie-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.transactie-description {
    flex: 1;
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
    margin-right: 12px;
}

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

.transactie-amount.positive {
    color: #28a745;
}

.transactie-amount.negative {
    color: #dc3545;
}

.transactie-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.transactie-date {
    font-size: 0.8rem;
    color: #6c757d;
}

.transactie-category {
    font-size: 0.8rem;
    color: #495057;
    font-weight: 500;
}

.transactie-merchant {
    font-size: 0.8rem;
    color: #6c757d;
    font-style: italic;
}

/* ========== ABONNEMENT PAGE - MOBILE OPTIMIZATION ========== */
@media (max-width: 576px) {
    .cancel-subscription-card {
        padding: 0.875rem;
    }

    .cancel-subscription-info {
        font-size: 0.85rem;
    }

    .btn-cancel-subscription {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* ========== iOS PWA INSTALL MODAL ========== */
.ios-install-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease-out;
}

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

.ios-install-content {
    background: white;
    border-radius: 20px;
    padding: 28px 24px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideUp 0.3s ease-out;
}

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

.ios-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.ios-header i {
    font-size: 32px;
    color: #667eea;
}

.ios-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
}

.ios-install-content p {
    color: #495057;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

.ios-install-content ol {
    text-align: left;
    color: #495057;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 24px;
    padding-left: 24px;
}

.ios-install-content ol li {
    margin-bottom: 12px;
}

.ios-install-content ol li strong {
    color: #667eea;
    font-weight: 600;
}

.ios-install-content ol li i {
    color: #667eea;
    margin: 0 4px;
}

.btn-close-ios {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-close-ios:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.btn-close-ios:active {
    transform: translateY(0);
}

.ios-arrow {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 32px;
    animation: bounce 1s ease-in-out infinite;
    pointer-events: none;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}