7/* General Card and Container Style */
#recipe-list {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-family: 'Arial', sans-serif;
    width: 100%;
    margin: 0 auto;
}

/* Recipe heading styling */
#recipe-list h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

/* Recipe individual card styling */
.recipe {
    border: 1px solid #f1f1f1;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #fafafa;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Show more button styling */
.show-more-button {
    background-color: #ff9800;
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.show-more-button:hover {
    background-color: #e68900;
}

/* Popup details styling */
.recipe-details-popup {
    display: none;
    margin-top: 15px;
    font-size: 14px;
}

.recipe-details-popup p {
    margin: 5px 0;
}

/* Brewing stage container with padding to avoid overlap */
.brewing-stage {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px 15px;
    margin-bottom: 30px; /* Add more margin to separate steps visually */
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding-top: 40px; /* Space for the badge */
    text-align: left;
    margin-top: 30px;
}

/* Stage number badge */
.brewing-stage::before {
    content: attr(data-stage);
    position: absolute;
    top: -20px;  /* Floating the badge above the brewing-step container */
    left: 20px;  /* Position the badge to the left */
    background-color: #ff9800;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 1;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Floating effect */
}

/* Brewing stage label styling */
.brewing-stage strong {
    font-size: 14px;
    color: #333;
}

/* Distinct backgrounds for alternate stages */
.brewing-stage:nth-child(odd) {
    background-color: #f3f3f3;
}

.brewing-stage:nth-child(even) {
    background-color: #e9e9e9;
}

/* Padding inside each brewing-stage */
.brewing-stage p {
    margin: 10px 0;
    color: #555;
    font-size: 14px;
}

/* Brew button styling for both product and global brew buttons */
.product-brew-button, .global-brew-button {
    background-color: #4caf50;
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 15px;
    width: 100%;
    text-align: center;
}

.product-brew-button:hover, .global-brew-button:hover {
    background-color: #3d8b40;
}

