.subscription-button {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    margin: 5px;
    font-size: 16px;
    font-weight: bold;
    border: 2px solid #d1d5db; /* Light gray border */
    border-radius: 8px;
    background-color: #ffffff; /* White background */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    cursor: default; /* Change cursor to default */
    text-align: center;
}
.subscription-button:hover {
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); /* Slightly stronger shadow */
}
.subscription-button.selected {
    /* background-color: #007bff;
    color: white;
    border-color: #007bff; */
}
.subscription-button.selected .order-link {
    background-color: #007bff;
    color: white;
}
.grid {    border-radius: 8px;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Additional media query for even better control on smaller screens */
@media (max-width: 640px) {
    .subscription-button {
        padding: 15px;
        font-size: 14px;
    }
}

.important-link {
    color: #007bff;
    cursor: pointer;
    font-weight: bold;
}

.order-link {
    color: #007bff; /* Blue text */
    text-decoration: none;
    padding: 10px 20px;
    display: inline-block;
    border: 2px solid transparent; /* Light gray border */
    transition: background-color 0.3s ease;
    border-radius: 4px;
}
.order-link:hover {
    border-color: #007bff;
}

.discount-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: #28a745; /* Green background */
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
}

/* Spinner Styles */
.spinner {
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #fff;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}
.spinner.dark {
    border: 2px solid rgba(37, 99, 235, 0.3);
    border-top: 2px solid #2563eb;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}




.breadcrumb-nav {
    margin-bottom: 20px;
    text-align: center;
    overflow-x: auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.breadcrumb-item {
    position: relative;
    padding: 10px 20px;
    color: #a0a0a0;
    font-weight: bold;
    cursor: default;
    display: flex;
    align-items: center;
    white-space: nowrap; /* Prevent line breaks */
}

.breadcrumb-item.completed {
    color: #28a745; /* Green for completed steps */
}

.breadcrumb-item.completed .checkmark {
    display: inline-block;
    margin-right: 8px;
    color: #28a745;
}

.breadcrumb-item.active {
    color: #007bff;
    padding: 10px 20px;
}

.breadcrumb-separator {
    display: flex;
    align-items: center;
    margin: 0 10px;
    color: #d1d5db; /* Light gray */
    font-weight: bold;
}

.breadcrumb-separator::after {
    content: '>';
}

/* Media query for small screens */
@media (max-width: 600px) {
    .breadcrumb-item {
        padding: 5px 5px;
        font-size: 14px;
    }

    .breadcrumb-separator {
        margin: 0 5px;
    }
}



.collectedInfo {
    margin-bottom: 2em;
}
.collectedInfo td:nth-child(2) {
    font-weight: bold;
    padding-left: 1em;
}
.collectedInfo small {
    font-weight: normal;
}

.error {
    color: #800000;
}

.telegramPreview {
    margin-bottom: 2em;
}

.explainImage {
    width: 100%;
    max-width: 500px;
}


/* Styles for the rating summary */
.rating-summary {
    display: flex;
    align-items: center;
    max-width: 800px;
}
.rating-summary .average-rating {
    font-size: 48px;
    font-weight: bold;
    margin-right: 20px;
}
.rating-summary .average-rating span {
    display: block;
    font-size: 16px;
    color: #555;
}
.rating-summary .rating-bars {
    flex-grow: 1;
}
.rating-summary .rating-bar {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}
.rating-summary .rating-bar span {
    font-size: 14px;
    color: #555;
    width: 20px;
    text-align: right;
    margin-right: 5px;
}
.rating-summary .rating-bar .bar {
    flex-grow: 1;
    height: 10px;
    background-color: #ddd;
    position: relative;
}
.rating-summary .rating-bar .bar .filled {
    height: 100%;
    background-color: #ffc107;
    position: absolute;
}

.hidden {
    display: none;
}


.toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.toast.show {
    opacity: 1;
}
