/* ✅ Global Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* ✅ Ensure Header and h2 Are Properly Centered */
header {
    background-color: #0073e6;
    color: white;
    padding: 15px;
    width: 100%;
    text-align: center;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ✅ Reduce Spacing Between Sections */
.container {
    background: white;
    margin: 8px auto; /* Reduced margin */
    padding: 16px; /* Reduced padding */
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 90%;
}

/* ✅ Reduce Vertical Gaps Between Sections */
main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 60px; /* Reduced to bring content higher */
}

/* ✅ Buttons - Larger Font and Icons */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 85%;
    max-width: 350px;
    padding: 20px 28px; /* Increased padding */
    margin: 30px auto;
    font-size: 1.5rem; /* Increased text size */
    font-weight: bold;
    color: white;
    background: #0073e6;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.15);
}

.btn:hover {
    background: #005bb5;
}

.btn-secondary {
    background: #ff9800;
}

.btn-secondary:hover {
    background: #e68900;
}

/* ✅ Footer */
footer {
    margin-top: 20px;
    padding: 15px;
    background: #0073e6;
    color: white;
    font-size: 1rem;
    width: 100%;
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
}

/* ✅ Bottom Navigation Bar */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-top: 2px solid #ddd;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px 0; /* Increased padding */
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

/* ✅ Bottom Navigation Buttons - 2x Bigger */
.bottom-nav button {
    background: none;
    border: none;
    font-size: 28px; /* Increased button text size */
    font-weight: bold;
    color: #0073e6;
    cursor: pointer;
    display: flex;
    flex-direction: column; /* Ensures icon stays above text */
    align-items: center;
    text-align: center;
    padding: 20px; /* Increased padding */
    transition: color 0.3s ease-in-out;
}

/* ✅ Ensure Icons Are 2x Larger */
.bottom-nav button i {
    font-size: 72px; /* Doubled icon size */
    margin-bottom: 18px; /* Increased spacing below icon */
}

/* ✅ Improve Hover Effects */
.bottom-nav button:hover {
    color: #005bb5;
}

/* ✅ Responsive Design */
@media (max-width: 768px) {
    .bottom-nav {
        padding: 18px 0;
    }

    .bottom-nav button {
        font-size: 30px; /* Slightly smaller on mobile */
    }

    .bottom-nav button i {
        font-size: 64px; /* Keep icons large */
        margin-bottom: 16px;
    }

    .container {
        padding: 18px;
        max-width: 95%;
    }

    .btn {
        font-size: 1.4rem;
        padding: 16px 24px;
    }
}

/* ✅ Center QR Code */
#qrcode {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px auto;
    padding: 14px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    width: fit-content;
}
