body {
    background-color: #f8f9fa;
}

/* Logo */
.navbar-brand img {
    color: #0d6efd;
}

.navbar-brand span {
    font-weight: 600;
}

/* Nav auth divider - only on desktop */
@media (min-width: 992px) {
    .border-start-lg { border-left: 1px solid #dee2e6 !important; }
}

.upload-zone {
    border: 2px dashed #dee2e6;
    border-radius: 0.375rem;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

.upload-zone:hover {
    border-color: #0d6efd;
    background-color: #f8f9fa;
}

.upload-zone.dragover {
    border-color: #0d6efd;
    background-color: #e7f1ff;
}

.upload-zone.has-file {
    border-style: solid;
    border-color: #198754;
    background-color: #d1e7dd;
}

.upload-content {
    color: #6c757d;
}

.file-selected {
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-name {
    font-weight: 500;
    color: #198754;
}

.table th {
    background-color: #f8f9fa;
    position: sticky;
    top: 0;
}

.table-responsive {
    max-height: 400px;
    overflow-y: auto;
}

.amount-positive {
    color: #198754;
}

.amount-negative {
    color: #dc3545;
}

/* Bank Tiles */
.bank-tile {
    background: white;
    border-radius: 12px;
    padding: 1.25rem 1rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #e9ecef;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.bank-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.bank-tile.supported {
    border-color: #198754;
    border-width: 2px;
}

.bank-tile.coming-soon {
    opacity: 0.7;
}

.bank-tile.coming-soon:hover {
    opacity: 1;
}

.bank-logo {
    width: 100%;
    max-width: 120px;
    height: 48px;
    margin-bottom: 0.25rem;
    object-fit: contain;
}

.bank-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: #212529;
    line-height: 1.2;
}

.bank-status {
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bank-tile.supported .bank-status {
    background-color: #d1e7dd;
    color: #0f5132;
}

.bank-tile.coming-soon .bank-status {
    background-color: #e9ecef;
    color: #6c757d;
}

/* How It Works */
.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #0d6efd;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#how-it-works h5 {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

#supported-banks {
    margin-top: 0;
}

#supported-banks h2 {
    font-weight: 400;
}

/* Demo Section */
.demo-container {
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.demo-animation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 20px 0;
}

.demo-left,
.demo-middle,
.demo-right {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.demo-left {
    width: 140px;
    height: 140px;
}

.demo-dropzone {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: dropzone-fade 11s ease-in-out infinite;
}

.dropzone-border {
    width: 100%;
    height: 100%;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    animation: dropzone-highlight 11s ease-in-out infinite;
}

@keyframes dropzone-highlight {
    0%, 5% { border-color: #dee2e6; background: #f8f9fa; }
    8%, 14% { border-color: #0d6efd; background: #e7f1ff; }
    17%, 100% { border-color: #dee2e6; background: #f8f9fa; }
}

@keyframes dropzone-fade {
    0%, 14% { opacity: 1; }
    17%, 95% { opacity: 0; }
    98%, 100% { opacity: 1; }
}

.demo-dragging {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: drag-drop 11s ease-in-out infinite;
    opacity: 0;
    z-index: 10;
}

.demo-pdf-file {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.demo-filename {
    font-size: 0.7rem;
    font-weight: 500;
    margin-top: 4px;
}

.demo-cursor {
    position: absolute;
    bottom: -8px;
    right: -8px;
    filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.3));
}

@keyframes drag-drop {
    0% { transform: translate(-80px, -40px); opacity: 0; }
    3% { transform: translate(-80px, -40px); opacity: 1; }
    12% { transform: translate(0, 0); opacity: 1; }
    14% { transform: translate(0, 5px); opacity: 0; }
    100% { opacity: 0; }
}

.demo-dropped {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    animation: dropped-show 11s ease-in-out infinite;
}

.demo-dropped .demo-pdf-file {
    box-shadow: none;
    background: #fff5f5;
    border: 2px solid #f8d7da;
}

@keyframes dropped-show {
    0%, 14% { opacity: 0; }
    17%, 93% { opacity: 1; }
    97%, 100% { opacity: 0; }
}

.demo-middle {
    width: 60px;
}

.demo-arrow {
    opacity: 0;
    animation: arrow-show 11s ease-in-out infinite;
}

@keyframes arrow-show {
    0%, 17% { opacity: 0; transform: translateX(-10px); }
    22%, 93% { opacity: 1; transform: translateX(0); }
    97%, 100% { opacity: 0; transform: translateX(0); }
}

.demo-right {
    width: 140px;
    height: 140px;
}

.demo-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    animation: result-show 11s ease-in-out infinite;
}

.demo-excel-file {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f0fff4;
    padding: 8px 12px;
    border-radius: 8px;
    border: 2px solid #c3e6cb;
}

@keyframes result-show {
    0%, 22% { opacity: 0; transform: scale(0.8); }
    28%, 93% { opacity: 1; transform: scale(1); }
    97%, 100% { opacity: 0; transform: scale(1); }
}

.demo-table-container {
    opacity: 0;
    animation: table-show 11s ease-in-out infinite;
}

@keyframes table-show {
    0%, 28% { opacity: 0; }
    33%, 93% { opacity: 1; }
    97%, 100% { opacity: 0; }
}

.demo-row {
    opacity: 0;
    animation: row-show 11s ease-in-out infinite;
}

.demo-row-1 { animation-delay: 0.15s; }
.demo-row-2 { animation-delay: 0.3s; }
.demo-row-3 { animation-delay: 0.45s; }

@keyframes row-show {
    0%, 29% { opacity: 0; transform: translateY(10px); }
    34%, 93% { opacity: 1; transform: translateY(0); }
    97%, 100% { opacity: 0; transform: translateY(0); }
}

.demo-table {
    font-size: 0.875rem;
}

/* Floating Feedback Button */
.feedback-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 12px 20px;
    border-radius: 50px;
    background-color: #0d6efd;
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    z-index: 1000;
}

.feedback-fab:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(13, 110, 253, 0.5);
    background-color: #0b5ed7;
}

.feedback-fab:active {
    transform: scale(0.98);
}

@media (max-width: 576px) {
    .demo-animation {
        gap: 15px;
    }
    .demo-left, .demo-right {
        width: 100px;
        height: 100px;
    }
    .demo-pdf-file svg, .demo-excel-file svg {
        width: 30px;
        height: 30px;
    }
    .demo-middle svg {
        width: 24px;
        height: 24px;
    }
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .bank-tile {
        padding: 1rem 0.75rem;
    }

    .bank-logo {
        width: 60px;
        height: 36px;
    }

    .bank-name {
        font-size: 0.75rem;
    }

    .bank-status {
        font-size: 0.6rem;
    }
}
