.badges-display {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px; /* Space between badges */
}

.badge {
    background: #f8f8f8;
    border-radius: 25px;
    padding: 8px 12px;
    margin: 5px 0;
    font-size: 20px;
    color: #333;
    border: 1px solid #ddd;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    flex: 1 1 auto; /* Allow to grow/shrink */
    max-width: fit-content;
}

.badge:hover {
    transform: scale(1.05);
    cursor: default;
}

.custom-badge {
    box-sizing: border-box;
    padding: 10px;
    flex: 1 1 20%; /* Adjust width per screen size */
    min-width: 140px; /* Prevent from becoming too small */
}
.custom-full i{
    color:#7f00ff;
}
body.dark-mode .custom-full i{
    color:#00c6ff;
}
.custom-full h2{
    color:#333;
}
body.dark-mode .custom-full h2{
    color:#fff;
}
.custom-full p{
    color:#333;
}
body.dark-mode .custom-full p{
    color:#fff;
}
.custom-badge p{
    color:#333;
    margin-top:10px;
}
body.dark-mode .custom-badge p{
    color:#fff;
}

/*complete setup card*/
.complete-setup-card {
    width: 50%;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}
body.dark-mode .complete-setup-card {
    background: #1e1e1e;
}
.complete-setup-card h3 {
    margin-bottom: 10px;
}
.complete-setup-card p {
    margin-bottom: 15px;
    color: #666;
}
body.dark-mode .complete-setup-card p { color: #ccc; }

/* Progress Slider */
.progress-container {
    width: 100%;
    height: 12px;
    background: #7f00ff; /* purple for incomplete */
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}
.progress-bar {
    height: 100%;
    background: #3de121; /* green for completed */
    border-radius: 8px 0 0 8px;
    transition: width 0.3s ease;
}

/* Steps Grid */
.setup-steps-grid {
    list-style: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 steps per row */
    gap: 10px;
}
.setup-steps-grid li {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 8px;
    padding: 10px 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
body.dark-mode .setup-steps-grid li { background: #2a2a2a; color: #ddd; }

.setup-steps-grid li.done {
    background: #e6f9ea;
    color: #2d8f4f;
}
body.dark-mode .setup-steps-grid li.done {
    background: #1e472b;
    color: #a6f0a9;
}
.setup-steps-grid li i {
    margin-right: 8px;
    font-size: 16px;
}

/* menu card */
.menu-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 1fr;
    gap: 20px;
}

.menu-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* pushes content apart */
    height: 100%;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
body.dark-mode .menu-card{
    background:#1e1e1e;
}
.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.menu-card .card-icon {
    font-size: 40px;
    color: #7f00ff;
    margin-bottom: 15px;
}

.menu-card h3 {
    margin-bottom: 10px;
}

.menu-card p {
    margin-bottom: 15px;
}

.menu-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.menu-card-link .menu-card {
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.menu-card-link .menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Tablet: 3 cards per row */
@media (max-width: 1024px) {
    .menu-card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .custom-badge {
        flex: 1 1 45%; /* 2 per row */
    }
    .complete-setup-card {
        width: 100%;
    }
    .menu-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .custom-badge {
        flex: 1 1 100%; /* Stack full width */
    }
    .complete-setup-card {
        width: 100%;
    }
    .menu-card-grid {
        grid-template-columns: 1fr;
    }
}