/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    --bg-hover: #f9fafb;
    
    --border-color: #e5e7eb;
    --border-hover: #d1d5db;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #64748b;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

/* Dark Mode Variables */
body.dark-mode {
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #60a5fa;
    
    --bg-primary: #1e293b;
    --bg-secondary: #0f172a;
    --bg-tertiary: #334155;
    --bg-hover: #334155;
    
    --border-color: #334155;
    --border-hover: #475569;
    
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 50%, #e2e8f0 100%);
    min-height: 100vh;
    padding: 0;
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background 0.3s ease, color 0.3s ease;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../Ground.jpg') center center / cover no-repeat;
    z-index: -1;
    opacity: 0;
    animation: fadeInBackground 1.5s ease-in-out forwards;
}

@keyframes fadeInBackground {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.3;
    }
}

body.dark-mode::before {
    opacity: 0.3;
}

/* Force dark mode styles to apply */
body.dark-mode * {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.app-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 2rem;
    position: relative;
}

.dark-mode-toggle {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    pointer-events: auto;
}

.dark-mode-toggle:hover {
    background: var(--bg-hover);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
    transform: scale(1.05);
}

.dark-mode-toggle:active {
    transform: scale(0.95);
}

.dark-mode-toggle svg {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dark-mode-toggle .sun-icon {
    opacity: 1;
    transform: rotate(0deg);
}

.dark-mode-toggle .moon-icon {
    opacity: 0;
    transform: rotate(90deg);
    position: absolute;
}

body.dark-mode .dark-mode-toggle .sun-icon {
    opacity: 0;
    transform: rotate(90deg);
}

body.dark-mode .dark-mode-toggle .moon-icon {
    opacity: 1;
    transform: rotate(0deg);
}

.app-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

body.dark-mode .app-title {
    color: var(--text-primary);
}

body.dark-mode .app-subtitle,
body.dark-mode .app-description {
    color: var(--text-secondary);
}

.app-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.app-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Drag and Drop Zone */
.upload-section {
    margin-bottom: 3rem;
}

.drop-zone {
    background: linear-gradient(135deg, rgba(30, 30, 35, 0.98) 0%, rgba(30, 30, 35, 0.95) 100%);
    backdrop-filter: blur(10px);
    border: 3px dashed rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    color: white;
    position: relative;
}

body.dark-mode .drop-zone {
    background: linear-gradient(135deg, rgba(30, 30, 35, 0.98) 0%, rgba(30, 30, 35, 0.95) 100%);
}

.drop-zone:hover {
    border-color: var(--primary-color);
    border-width: 3px;
    background: linear-gradient(135deg, rgba(30, 30, 35, 1) 0%, rgba(30, 30, 35, 0.9) 100%);
    box-shadow: 
        0 0 0 4px rgba(37, 99, 235, 0.2),
        0 0 30px rgba(37, 99, 235, 0.5),
        0 10px 25px -5px rgba(0, 0, 0, 0.4);
    transform: translateY(-4px) scale(1.02);
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 
            0 0 0 4px rgba(37, 99, 235, 0.2),
            0 0 30px rgba(37, 99, 235, 0.5),
            0 10px 25px -5px rgba(0, 0, 0, 0.4);
    }
    50% {
        box-shadow: 
            0 0 0 6px rgba(37, 99, 235, 0.3),
            0 0 40px rgba(37, 99, 235, 0.7),
            0 10px 25px -5px rgba(0, 0, 0, 0.4);
    }
}

.drop-zone:hover .upload-icon {
    transform: translateY(-5px) scale(1.1);
    color: var(--primary-color);
}

body.dark-mode .drop-zone:hover {
    background: linear-gradient(135deg, rgba(30, 30, 35, 1) 0%, rgba(30, 30, 35, 0.9) 100%);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.5), 0 10px 25px -5px rgba(0, 0, 0, 0.4);
}

.drop-zone.drag-over {
    border-color: var(--success-color);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(30, 30, 35, 0.95) 100%);
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.5), 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    transform: scale(1.03);
    border-width: 4px;
    animation: pulse-border 1.5s ease-in-out infinite;
}

@keyframes pulse-border {
    0%, 100% {
        border-color: var(--success-color);
        box-shadow: 0 0 40px rgba(16, 185, 129, 0.5), 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    }
    50% {
        border-color: rgba(16, 185, 129, 0.7);
        box-shadow: 0 0 60px rgba(16, 185, 129, 0.7), 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    }
}

.drop-zone-content {
    position: relative;
    z-index: 1;
}

.drop-zone-content h2 {
    margin: 1rem 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    transition: color 0.3s ease;
}

.drop-zone:hover .drop-zone-content h2 {
    color: var(--primary-color);
}

.drop-zone-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.drop-zone:hover .drop-zone-content p {
    color: rgba(255, 255, 255, 1);
}

.upload-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.file-info {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Keyfile Controls */
.keyfile-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.keyfile-upload-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, var(--info-color) 0%, #2563eb 100%);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px 0 rgba(59, 130, 246, 0.3), 0 1px 3px 0 rgba(59, 130, 246, 0.2);
    position: relative;
    overflow: hidden;
}

.keyfile-upload-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.keyfile-upload-btn:hover::before {
    left: 100%;
}

.keyfile-upload-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px 0 rgba(59, 130, 246, 0.4), 0 2px 4px 0 rgba(59, 130, 246, 0.3);
}

.keyfile-upload-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px 0 rgba(59, 130, 246, 0.3);
}

.keyfile-upload-btn svg {
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.keyfile-upload-btn:hover svg {
    transform: translateY(2px);
}

body.dark-mode .keyfile-upload-btn {
    background: linear-gradient(135deg, var(--info-color) 0%, #2563eb 100%);
    box-shadow: 0 2px 8px 0 rgba(59, 130, 246, 0.4), 0 1px 3px 0 rgba(59, 130, 246, 0.3);
}

body.dark-mode .keyfile-upload-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 4px 12px 0 rgba(59, 130, 246, 0.5), 0 2px 4px 0 rgba(59, 130, 246, 0.4);
}

.keyfile-status {
    padding: 0.625rem 1rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    min-height: 2.5rem;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
}

body.dark-mode .keyfile-status {
    color: var(--text-secondary);
}

/* Loading Indicator */
.loading-indicator {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.spinner {
    border: 3px solid var(--bg-tertiary);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Summary Cards */
.summary-section {
    margin-bottom: 3rem;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.summary-card {
    background: linear-gradient(135deg, rgba(30, 30, 35, 0.98) 0%, rgba(30, 30, 35, 0.95) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
    color: white;
}

body.dark-mode .summary-card {
    background: linear-gradient(135deg, rgba(30, 30, 35, 0.98) 0%, rgba(30, 30, 35, 0.95) 100%);
}

.summary-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    color: var(--text-secondary);
}

.income-card .card-icon {
    background: #ecfdf5;
    color: var(--success-color);
}

.expense-card .card-icon {
    background: #fef2f2;
    color: var(--danger-color);
}

.savings-card .card-icon {
    background: #fffbeb;
    color: var(--warning-color);
}

.budget-card .card-icon {
    background: #eff6ff;
    color: var(--info-color);
}

.summary-card h3 {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.card-value {
    font-size: 1.875rem;
    font-weight: 700;
    margin: 0;
    color: white;
    letter-spacing: -0.02em;
}

.income-card {
    border-left: 3px solid var(--success-color);
}

.expense-card {
    border-left: 3px solid var(--danger-color);
}

.savings-card {
    border-left: 3px solid var(--warning-color);
}

.budget-card {
    border-left: 3px solid var(--info-color);
}

/* Category Section */
.category-section {
    margin-bottom: 3rem;
}

.section-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.category-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(30, 30, 35, 0.98) 0%, rgba(30, 30, 35, 0.96) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    color: white;
}

body.dark-mode .category-grid {
    background: linear-gradient(135deg, rgba(30, 30, 35, 0.98) 0%, rgba(30, 30, 35, 0.96) 100%);
}

.category-list-item {
    background: rgba(40, 40, 45, 0.4);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    transition: all 0.2s ease;
}

body.dark-mode .category-list-item {
    background: rgba(40, 40, 45, 0.4);
}

.category-list-item:hover {
    background: rgba(40, 40, 45, 0.6);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-sm);
}

.category-list-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
    position: relative;
}

.category-list-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: white;
    flex: 1;
    min-width: 0;
    z-index: 1;
}

.category-percentage-watermark {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
    white-space: nowrap;
    letter-spacing: -0.02em;
}

.category-list-details {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
    z-index: 1;
}

.category-list-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.category-list-count {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    white-space: nowrap;
}

.category-progress-container {
    margin-top: 0.5rem;
}

.category-progress {
    width: 100%;
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    overflow: hidden;
}

.category-progress-bar {
    height: 100%;
    background: var(--warning-color);
    transition: width 0.3s ease;
    border-radius: 2px;
}

/* Transaction Section */
.transaction-section {
    margin-bottom: 3rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.controls {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1d4ed8 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    white-space: nowrap;
    box-shadow: 0 1px 3px 0 rgba(37, 99, 235, 0.3), 0 1px 2px 0 rgba(37, 99, 235, 0.2);
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.download-btn:hover::before {
    left: 100%;
}

.download-btn:hover {
    background: linear-gradient(135deg, var(--primary-hover) 0%, #1e40af 100%);
    box-shadow: 0 4px 12px 0 rgba(37, 99, 235, 0.4), 0 2px 4px 0 rgba(37, 99, 235, 0.3);
    transform: translateY(-1px);
}

.download-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px 0 rgba(37, 99, 235, 0.3);
}

.download-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2), 0 4px 12px 0 rgba(37, 99, 235, 0.4);
}

.download-btn svg {
    display: inline-block;
    width: 18px;
    height: 18px;
    stroke-width: 2.5;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.download-btn:hover svg {
    transform: translateY(2px);
}

.download-btn.keyfile-btn {
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
    box-shadow: 0 1px 3px 0 rgba(16, 185, 129, 0.3), 0 1px 2px 0 rgba(16, 185, 129, 0.2);
}

.download-btn.keyfile-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 4px 12px 0 rgba(16, 185, 129, 0.4), 0 2px 4px 0 rgba(16, 185, 129, 0.3);
}

.download-btn.keyfile-btn:focus {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2), 0 4px 12px 0 rgba(16, 185, 129, 0.4);
}

/* Keyfile Button Tooltip */
.keyfile-btn-wrapper {
    position: relative;
    display: inline-block;
}

.keyfile-tooltip {
    position: absolute !important;
    bottom: calc(100% + 15px) !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(10px) !important;
    background: linear-gradient(135deg, rgba(30, 30, 35, 0.98) 0%, rgba(30, 30, 35, 0.96) 100%) !important;
    backdrop-filter: blur(10px) !important;
    border: 2px solid rgba(16, 185, 129, 0.5) !important;
    border-radius: var(--radius-lg) !important;
    padding: 1.25rem !important;
    min-width: 280px !important;
    max-width: 320px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(16, 185, 129, 0.3) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    display: none !important;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    pointer-events: none !important;
    z-index: 1000 !important;
}

.keyfile-btn-wrapper:hover .keyfile-tooltip {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    transform: translateX(-50%) translateY(0) !important;
}

/* Ensure tooltip works when hovering over the label inside wrapper */
.keyfile-btn-wrapper:hover label + .keyfile-tooltip,
.keyfile-btn-wrapper label:hover + .keyfile-tooltip {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    transform: translateX(-50%) translateY(0) !important;
}

.tooltip-arrow {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid rgba(16, 185, 129, 0.5);
}

.tooltip-arrow::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid rgba(30, 30, 35, 0.98);
}

.tooltip-content {
    color: white;
}

.tooltip-content strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--success-color);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.tooltip-content p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
}

.search-input,
.filter-select {
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    font-family: inherit;
}

body.dark-mode .search-input,
body.dark-mode .filter-select {
    background: var(--bg-primary);
    color: var(--text-primary);
    border-color: var(--border-color);
}

.search-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.search-input:focus,
.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-input {
    min-width: 200px;
}

.filter-select {
    cursor: pointer;
    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='%236b7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
    appearance: none;
}

.filter-select option {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 0.5rem;
}

.table-container {
    background: linear-gradient(135deg, rgba(30, 30, 35, 0.98) 0%, rgba(30, 30, 35, 0.96) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    overflow-x: auto;
    box-shadow: var(--shadow-sm);
    color: white;
}

body.dark-mode .table-container {
    background: linear-gradient(135deg, rgba(30, 30, 35, 0.98) 0%, rgba(30, 30, 35, 0.96) 100%);
}

.transaction-table {
    width: 100%;
    border-collapse: collapse;
    color: white;
}

.transaction-table thead {
    background: rgba(40, 40, 45, 0.6);
}

body.dark-mode .transaction-table thead {
    background: rgba(40, 40, 45, 0.6);
}

.transaction-table th {
    padding: 0.875rem 1rem;
    text-align: left;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.sortable {
    cursor: pointer;
    user-select: none;
    transition: background 0.15s ease;
    position: relative;
}

.sortable:hover {
    background: var(--bg-tertiary);
}

.transaction-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    color: white;
    font-size: 0.9375rem;
    font-weight: 500;
}

.transaction-table tbody tr {
    transition: background 0.15s ease;
}

.transaction-table tbody tr:hover {
    background: rgba(50, 50, 55, 0.6);
}

.transaction-table tbody tr:hover td {
    color: white;
}

body.dark-mode .transaction-table tbody tr:nth-child(even) {
    background: rgba(30, 41, 59, 0.3);
}

body.dark-mode .transaction-table tbody tr:hover {
    background: rgba(50, 50, 55, 0.6);
}

.transaction-table tbody tr:last-child td {
    border-bottom: none;
}

.category-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 600;
    background: var(--bg-secondary);
    color: var(--text-secondary);
}

.category-cell {
    position: relative;
}

.category-select {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    min-width: 160px;
    transition: all 0.2s ease;
    font-family: inherit;
    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='%236b7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
}

.category-select:hover {
    border-color: var(--border-hover);
    background-color: var(--bg-hover);
}

.category-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.category-select option {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 0.5rem;
}

.transaction-row {
    cursor: default;
}

.transaction-row:hover {
    background: var(--bg-hover);
}

.transaction-row.ignored {
    opacity: 0.5;
    background: var(--bg-secondary);
}

.transaction-row.ignored td {
    text-decoration: line-through;
    color: var(--text-tertiary);
}

.ignore-cell {
    text-align: center;
    padding: 0.5rem;
}

.ignore-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

/* Duplicate notification animations */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.amount-positive {
    color: var(--success-color);
    font-weight: 600;
}

.amount-negative {
    color: var(--danger-color);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .app-container {
        padding: 1rem;
    }

    .app-title {
        font-size: 2rem;
    }

    .app-subtitle {
        font-size: 1rem;
    }

    .summary-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
        align-items: stretch;
    }

    .controls {
        width: 100%;
    }

    .search-input,
    .filter-select {
        flex: 1;
        min-width: 100%;
    }

    .drop-zone {
        padding: 2rem 1.5rem;
    }

    .dark-mode-toggle {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
}

/* Home Loan Section */
.home-loan-section {
    margin-bottom: 3rem;
}

.loan-container {
    background: linear-gradient(135deg, rgba(30, 30, 35, 0.98) 0%, rgba(30, 30, 35, 0.96) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    color: white;
}

body.dark-mode .loan-container {
    background: linear-gradient(135deg, rgba(30, 30, 35, 0.98) 0%, rgba(30, 30, 35, 0.96) 100%);
}

.loan-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-size: 0.875rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.input-group input {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.2s ease;
    font-family: inherit;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

body.dark-mode .input-group input {
    background: var(--bg-primary);
    color: var(--text-primary);
    border-color: var(--border-color);
}

.loan-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.loan-result-card {
    background: rgba(40, 40, 45, 0.4);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    text-align: center;
    color: white;
}

body.dark-mode .loan-result-card {
    background: rgba(40, 40, 45, 0.4);
}

.loan-result-card.savings-card {
    background: #ecfdf5;
    border-color: var(--success-color);
}

body.dark-mode .loan-result-card.savings-card {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--success-color);
}

.loan-result-label {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.loan-result-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.loan-result-value.savings {
    color: var(--success-color);
}

.loan-summary {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.loan-summary-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.loan-summary-text strong {
    color: white;
}

.loan-summary-text span {
    color: var(--success-color);
    font-weight: 600;
}

.apply-loan-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--success-color);
}

.apply-loan-cell {
    text-align: center;
    padding: 0.5rem;
}

/* ============================================
   Landing Page Styles
   ============================================ */

/* Landing Page Hero Section */
.landing-hero {
    text-align: center;
    padding: 4rem 2rem;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, rgba(30, 30, 35, 0.98) 0%, rgba(30, 30, 35, 0.96) 100%);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    color: white;
}

body.dark-mode .landing-hero {
    background: linear-gradient(135deg, rgba(30, 30, 35, 0.98) 0%, rgba(30, 30, 35, 0.96) 100%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--success-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--success-color);
    font-weight: 500;
}

.hero-feature-item svg {
    flex-shrink: 0;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-hover) 0%, #1e40af 100%);
}

.cta-button:active {
    transform: translateY(0);
}

/* Features Section */
.features-section {
    margin-bottom: 4rem;
}

.features-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature-card {
    background: linear-gradient(135deg, rgba(30, 30, 35, 0.98) 0%, rgba(30, 30, 35, 0.96) 100%);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    color: white;
}

body.dark-mode .feature-card {
    background: linear-gradient(135deg, rgba(30, 30, 35, 0.98) 0%, rgba(30, 30, 35, 0.96) 100%);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-weight: 500;
}

/* How It Works Section */
.how-it-works-section {
    margin-bottom: 4rem;
}

.how-it-works-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: white;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.step-card {
    background: linear-gradient(135deg, rgba(30, 30, 35, 0.98) 0%, rgba(30, 30, 35, 0.96) 100%);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-color);
    position: relative;
    transition: all 0.3s ease;
    color: white;
}

body.dark-mode .step-card {
    background: linear-gradient(135deg, rgba(30, 30, 35, 0.98) 0%, rgba(30, 30, 35, 0.96) 100%);
}

.step-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 2rem;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--success-color) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.step-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    margin-top: 0.5rem;
}

.step-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.step-tip {
    background: rgba(16, 185, 129, 0.1);
    border-left: 3px solid var(--success-color);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-top: 1rem;
    color: var(--text-primary);
}

body.dark-mode .step-tip {
    background: rgba(16, 185, 129, 0.15);
}

/* Privacy Section */
.privacy-section {
    background: linear-gradient(135deg, rgba(30, 30, 35, 0.98) 0%, rgba(30, 30, 35, 0.96) 100%);
    backdrop-filter: blur(10px);
    padding: 4rem 2rem;
    border-radius: var(--radius-xl);
    margin-bottom: 4rem;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    color: white;
}

body.dark-mode .privacy-section {
    background: linear-gradient(135deg, rgba(30, 30, 35, 0.98) 0%, rgba(30, 30, 35, 0.96) 100%);
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(16, 185, 129, 0.15) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    border: 2px solid rgba(37, 99, 235, 0.2);
}

.privacy-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.privacy-description {
    font-size: 1.125rem;
    color: white;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-weight: 500;
}

.privacy-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.privacy-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--success-color);
    font-weight: 600;
    justify-content: center;
    font-size: 0.9375rem;
}

.privacy-feature svg {
    flex-shrink: 0;
}

/* App Section */
.app-section {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Footer Section */
.footer-section {
    margin-top: 4rem;
    padding: 3rem 2rem 2rem;
    background: linear-gradient(135deg, rgba(30, 30, 35, 0.98) 0%, rgba(30, 30, 35, 0.96) 100%) !important;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    color: white !important;
}

body.dark-mode .footer-section {
    background: linear-gradient(135deg, rgba(30, 30, 35, 0.98) 0%, rgba(30, 30, 35, 0.96) 100%) !important;
}

.footer-content {
    display: flex !important;
    justify-content: center !important;
    gap: 4rem !important;
    margin-bottom: 2rem !important;
    flex-wrap: wrap !important;
}

.footer-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.75rem !important;
    text-align: center !important;
}

.footer-item svg {
    color: rgba(255, 255, 255, 0.8) !important;
    margin-bottom: 0.25rem;
}

.footer-item span {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 500;
}

.footer-link {
    color: white !important;
    text-decoration: none !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    padding: 0.625rem 1.25rem !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: var(--radius-md) !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    background: transparent !important;
}
    display: inline-block;
    word-break: break-all;
    text-align: center;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.05);
}

.footer-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.footer-link.coffee-link {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(249, 115, 22, 0.2) 100%);
    border-color: rgba(245, 158, 11, 0.5);
}

.footer-link.coffee-link:hover {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.3) 0%, rgba(249, 115, 22, 0.3) 100%);
    border-color: rgba(245, 158, 11, 0.7);
}

.footer-link.share-link {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(37, 99, 235, 0.2) 100%);
    border-color: rgba(59, 130, 246, 0.5);
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.footer-link.share-link:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3) 0%, rgba(37, 99, 235, 0.3) 100%);
    border-color: rgba(59, 130, 246, 0.7);
}

/* Social Share Buttons */
.social-share-buttons {
    display: none !important;
    justify-content: center !important;
    gap: 0.75rem !important;
    margin-top: 1.5rem !important;
    flex-wrap: wrap !important;
}

.social-share-buttons.show {
    display: flex !important;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.social-share-btn {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.625rem 1rem !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    background: rgba(30, 30, 35, 0.95) !important;
    color: white !important;
    border-radius: var(--radius-md) !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-family: inherit !important;
}

.social-share-btn:hover {
    background: rgba(40, 40, 45, 0.95) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-2px) !important;
}

.social-share-btn svg {
    flex-shrink: 0;
    color: white !important;
}

/* Remove all platform-specific colors - use uniform dark grey styling */
.social-share-btn.twitter,
.social-share-btn.facebook,
.social-share-btn.linkedin,
.social-share-btn.instagram,
.social-share-btn.gmail,
.social-share-btn.whatsapp,
.social-share-btn.telegram,
.social-share-btn.pinterest,
.social-share-btn.reddit,
.social-share-btn.copy-link {
    border-color: rgba(255, 255, 255, 0.3) !important;
    background: rgba(30, 30, 35, 0.95) !important;
    color: white !important;
}

.social-share-btn.twitter:hover,
.social-share-btn.facebook:hover,
.social-share-btn.linkedin:hover,
.social-share-btn.instagram:hover,
.social-share-btn.gmail:hover,
.social-share-btn.whatsapp:hover,
.social-share-btn.telegram:hover,
.social-share-btn.pinterest:hover,
.social-share-btn.reddit:hover,
.social-share-btn.copy-link:hover {
    background: rgba(40, 40, 45, 0.95) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.footer-copyright {
    text-align: center !important;
    padding-top: 2rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin-top: 2rem !important;
    color: white !important;
}

.footer-copyright p {
    font-size: 0.8125rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
    margin: 0 !important;
}

/* Copy Notification */
.copy-notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.95) 0%, rgba(5, 150, 105, 0.95) 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    z-index: 10000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.copy-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.copy-notification svg {
    flex-shrink: 0;
    stroke-width: 3;
}

@media (max-width: 768px) {
    .copy-notification {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        padding: 0.875rem 1.25rem;
        font-size: 0.875rem;
    }
}

/* Responsive Design for Landing Page */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .features-section .section-title,
    .how-it-works-section .section-title,
    .privacy-section h2 {
        font-size: 2rem;
    }
    
    .step-card {
        padding: 1.5rem;
    }
    
    .step-number {
        left: 1.5rem;
    }
    
    .privacy-features {
        grid-template-columns: 1fr;
    }
    
    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-item {
        width: 100%;
    }
}