/* Mobile First Styles */
:root {
    --primary-color: #4CAF50;
    --secondary-color: #8BC34A;
    --dark-color: #333;
    --light-color: #f4f4f4;
    --danger-color: #dc3545;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    padding-bottom: 70px;
    /* Space for bottom nav */
    overflow-x: hidden;
}

/* Card Styles */
.custom-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    background: white;
    margin-bottom: 15px;
}

.custom-card:active {
    transform: scale(0.98);
}

.stats-card {
    text-align: center;
    padding: 20px;
}

.stats-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.stats-label {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 1000;
}

.nav-item {
    text-align: center;
    color: #6c757d;
    text-decoration: none;
    font-size: 0.8rem;
    flex: 1;
}

.nav-item.active {
    color: var(--primary-color);
}

.nav-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 2px;
}

/* Form Styles */
.form-control-lg {
    border-radius: 10px;
    padding: 12px;
}

.btn-primary-custom {
    background-color: var(--primary-color);
    border: none;
    border-radius: 10px;
    padding: 12px;
    width: 100%;
    font-weight: bold;
    color: white;
}

.btn-primary-custom:hover {
    background-color: #43a047;
}

/* Header */
.app-header {
    background-color: white;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 999;
}

.app-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--dark-color);
    margin: 0;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    body {
        font-size: 16px;
        /* Base size for readability */
        padding-bottom: 80px;
    }

    .container {
        padding-top: 80px;
        /* Increased space for fixed navbar */
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-logo {
        font-size: 3rem;
    }

    .custom-card {
        margin-bottom: 20px;
    }

    .stats-value {
        font-size: 1.8rem;
    }

    .bottom-nav {
        height: 60px;
        padding: 5px 0;
    }

    .nav-icon {
        font-size: 1.2rem;
    }

    .nav-item {
        font-size: 0.75rem;
    }
}