﻿

.dashboard {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    background-color: #f5f5f5; /* Light gray background */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Profile Section */
.profile-section {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #ffffff; /* White background */
}

.profile-avatar {
    width: 80px;
    height: auto;
    border-radius: 50%;
    margin-right: 10px;
}

.profile-info {
    flex: 1;
}

    .profile-info h2 {
        margin: 0;
        font-size: 18px;
        color: #333;
    }

    .profile-info p {
        margin: 2px 0;
        color: #333;
    }

.progress-bar {
    background-color: #CDE7FF;
    border-radius: 5px;
    overflow: hidden;
    height: 5px;
    margin: 5px 0;
}

    .progress-bar .progress {
        width: 60%;
        height: 100%;
        background-color: #28A745;
    }

.menu-icon {
    font-size: 24px;
    color: #333;
}

/* Rewards Vault Header */
.rewards-vault-header {
    padding: 20px;
    text-align: center;
    background-color: #ffffff; /* White background */
}

    .rewards-vault-header h1 {
        margin: 0;
        font-size: 36px;
        color: #333;
    }

.bonus-rewards {
    font-size: 16px;
    color: #28A745;
}

.rewards-tabs {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
}

    .rewards-tabs .tab {
        font-size: 16px;
        color: #333;
    }

        .rewards-tabs .tab.active {
            border-bottom: 2px solid #71AFFF;
        }

/* Rewards Vault Items */
.rewards-vault {
    padding: 10px;
}

.reward-item {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 5px;
    padding: 30px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.reward-image {
    width: 200px;
    height: auto;
    margin-right: 10px;
}

.reward-details {
    flex: 1;
}

.reward-title {
    font-size: 18px;
    margin: 0;
    color: #333;
}

.add-to-cart {
    background-color: #28A745;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    display: none;
}

.add-to-cart-parent {
    background-color: #28A745;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    display: none;
}


.add-to-cart:hover {
    background-color: #218838;
}

.add-to-cart-parent:hover {
    background-color: #218838;
}

/* Bottom Navigation */
.bottom-nav {
    display: flex;
    justify-content: space-around;
    padding: 10px;
    background-color: #ffffff; /* White background */
}

    .bottom-nav .nav-item {
        font-size: 14px;
        color: #333;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

        .bottom-nav .nav-item.active {
            color: #FFC107;
        }

.reward-icon {
    font-size: 40px;
    color: #71AFFF;
    margin-right: 15px;
}

.bottom-nav .nav-item {
    font-size: 24px;
    color: #333;
    display: flex;
    align-items: center;
}

    .bottom-nav .nav-item i {
        margin-right: 8px;
        font-size: 21px;
        padding: 0 20px;
    }


.reward-card-parent {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    margin-bottom: 20px;
    width: calc(100% - 16px);
}

.reward-parent-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}

/* Make the container a flexible container */
#reward-parent-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

/* Define the width of each reward card */
.reward-card-parent {
    flex: 1;
    min-width: 45%; /* Adjust this value to control the number of cards per row */
    margin: 10px;
    box-sizing: border-box;
}

/* Optional: Add some responsiveness */
@media only screen and (max-width: 600px) {
    .reward-card-parent {
        min-width: 100%; /* Stack cards vertically on smaller screens */
    }
}

.reward-parent-details {
    flex: 1;
    padding-left: 20px;
}

.add-to-cart-parent-checkout {
    flex: 1;
    display: flex;
    justify-content: space-evenly;
}

.reward-parent-title {
    margin-top: 10px;
}