﻿/*
    =================================
    DASHBOARD & MOBILE UI STYLES
    =================================
*/

:root {
    --primary-color: #5A67D8;
    --success-color: #38A169;
    --danger-color: #E53E3E;
    --warning-color: #D69E2E;
    --gray-color: #718096;
    --light-gray-bg: #edf2f7;
}

body {
    background-color: var(--light-gray-bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.summary-card {
    border: 1px solid #e2e8f0;
    border-left-width: 5px;
    border-radius: 0.5rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background-color: #fff;
}

    .summary-card:hover {
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.08);
        z-index: 10;
    }

    .summary-card .card-body {
        padding: 1.5rem;
    }

    .summary-card .card-subtitle {
        font-weight: 600;
        text-transform: uppercase;
        font-size: 0.8rem;
        letter-spacing: 0.5px;
    }

    .summary-card .card-title {
        font-size: 2rem;
        font-weight: 700;
    }

.summary-income {
    border-color: var(--success-color);
}

.summary-expense {
    border-color: var(--danger-color);
}

.summary-savings {
    border-color: var(--primary-color);
}

.summary-balance {
    border-color: var(--gray-color);
}

.feature-card {
    border-radius: 0.75rem;
    border: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease-in-out;
    background-color: #fff;
}

    .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    }

    .feature-card .icon-wrapper {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1rem auto;
        background-image: linear-gradient(135deg, var(--primary-color) 0%, #818cf8 100%);
        color: #fff;
        font-size: 2rem;
        box-shadow: 0 4px 12px rgba(90, 103, 216, 0.4);
    }

    .feature-card .card-title {
        font-weight: 600;
        color: #1a202c;
    }

    .feature-card .btn {
        border-radius: 9999px;
        font-weight: 600;
        padding: 0.6rem 1.5rem;
    }

.landing-page {
    min-height: 75vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

    .landing-page .icon-showcase {
        font-size: 6rem;
        background: -webkit-linear-gradient(45deg, var(--primary-color), #34D399);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-bottom: 1.5rem;
    }

    .landing-page .display-4 {
        font-weight: 800;
        color: #2d3748;
    }

    .landing-page .lead {
        max-width: 600px;
        color: var(--gray-color);
        font-size: 1.15rem;
    }

/*
    =========================================
    BOTTOM NAVIGATION BAR (MOBILE ONLY)
    =========================================
*/

@media (max-width: 767.98px) {

    body {
        padding-bottom: 80px;
    }

    .bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 65px;
        background-color: #ffffff;
        display: flex;
        justify-content: space-around;
        align-items: center;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        border-top: 1px solid #e2e8f0;
    }

    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex-grow: 1;
        text-decoration: none;
        color: var(--gray-color);
        transition: color 0.2s ease-in-out;
        font-size: 0.7rem;
        font-weight: 500;
    }

        .bottom-nav-item i {
            font-size: 1.5rem;
            margin-bottom: 4px;
        }

        .bottom-nav-item.active {
            color: var(--primary-color);
            font-weight: 600;
        }

    .bottom-nav-item--add {
        margin-top: -35px;
        width: 60px;
        height: 60px;
        background-image: linear-gradient(135deg, var(--primary-color) 0%, #818cf8 100%);
        color: white;
        border-radius: 50%;
        box-shadow: 0 4px 15px rgba(90, 103, 216, 0.5);
        border: 4px solid white;
        transition: transform 0.2s ease;
    }

        .bottom-nav-item--add:hover {
            transform: scale(1.1);
            color: white;
        }

        .bottom-nav-item--add i {
            font-size: 2rem;
            margin-bottom: 0;
        }
}
