.mud-button {
    text-transform: none !important;
}

.hidden {
    display: none;
}

.cookie-consent-container {
    position: fixed;
    bottom: 16px;
    right: -8px;
    z-index: 1000;
    width: 250px;
    animation: slide-up 0.7s ease-out;
}

.cookie-consent-card {
    background-color: white;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}


@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-overlay.consent-blocked {
    pointer-events: none;
    filter: opacity(60%);
    opacity: 0.6;
    user-select: none;
}

.page-overlay.consent-granted {
    pointer-events: all;
    filter: none;
    opacity: 1;
}

.payment-container.loading {
    filter: blur(3px);
    pointer-events: none;
}

.spinner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.6); /* semi-transparent white */
    z-index: 10;
}

.responsive-home-image {
    max-width: 300px;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 960px) {
    .responsive-home-image {
        max-width: 200px;
        margin-top: 1rem;
    }
}

@media (max-width: 825px ) and (min-width: 600px) {
    .responsive-home-image {
        height: 300px;
    }
}

@media (max-width: 350px) {
    .cookie-button-grid {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .cookie-button-item {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 0.5rem;
    }
}


.responsive-dialog {
    width: auto;
    height: auto;
    max-height: 90vh;
    overflow: hidden;
}

.responsive-dialog .mud-dialog-content {
    padding: 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Responsive adjustments for the dialog */
@media (max-width: 600px) {
    .responsive-dialog {
        width: 95vw !important;
        max-height: 95vh !important;
        padding: 1rem;
    }

    .responsive-dialog .mud-dialog-content {
        padding: 1rem;
    }

    .responsive-dialog .mud-container {
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
    }
}

.responsive-component {
    width: 70%;
}
@media (max-width: 768px) {
    .responsive-component {
        width: 100%;
    }
}