/*
	This CSS file matches the color scheme from MudBlazor to Bootstrap when utilized for authentication.
	The file remains available at all times for demonstration purposes,
	but it is exclusively employed in the 'App.razor' component when authentication is enabled.
*/
html, body {
    height: 100%
}

.btn-primary {
    text-transform: uppercase;
    --bs-btn-bg: var(--mud-palette-primary) !important;
    --bs-btn-hover-bg: var(--mud-palette-primary-darken) !important;
}

.nav-pills {
    --bs-nav-pills-link-active-bg: var(--mud-palette-primary) !important;
}

.nav {
    --bs-nav-link-color: var(--mud-palette-primary) !important;
    --bs-nav-link-hover-color: var(--mud-palette-primary-darken) !important;
}

/*
    Barlow font
*/

.heading-font {
    font-family: 'Barlow Condensed', sans-serif !important;
}

h1.heading-font {
    font-size: 3.5rem;
    font-weight: 700;
}

h5.heading-font {
    font-size: 1.5rem;
    font-weight: 700;
}

/*
    Hover elevate
*/
.hover-elevate {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    cursor: pointer;
}

.hover-elevate:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/*
    Login prompt
*/
.login-prompt-banner .mud-button-root {
    text-transform: none;
    font-weight: 700;
}

.login-prompt-copy {
    min-width: min(100%, 280px);
}


/*
    Cookie banner
*/

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease;
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    color: white;
    min-width: 250px;
}

.cookie-banner-text strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.cookie-banner-text p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.9;
}

.cookie-banner-button {
    background: #FF5722;
    color: white;
    border: none;
    padding: 0.55rem 1.25rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

    .cookie-banner-button:hover {
        background: #FFAB91;
    }

@media (max-width: 600px) {
    .cookie-banner-content {
        align-items: center;
        flex-direction: row;
        gap: 0.75rem;
    }

    .cookie-banner-text {
        min-width: 0;
    }

    .cookie-banner-text strong {
        font-size: 0.9rem;
    }

    .cookie-banner-text p {
        font-size: 0.78rem;
        line-height: 1.35;
    }

    .cookie-banner-button {
        padding: 0.5rem 0.85rem;
    }
}