@import '/_content/Waves.Tooling.App.Core/css/fonts.css';
@import '/_content/Waves.Tooling.App.Components/css/waves-app-mudblazor.css';
@import '/_content/Waves.Tooling.App.Components/css/waves-app-component.css';

:root {
    --waves-borderradius-buttons: 20px;
    --waves-borderradius-cards: 20px;
    --waves-borderradius-content-section: 20px;
}

/* MudBlazor overrides */

/* =========================================================
   UNIVERSAL MudButton base — applies to filled/outlined/text
   No Class needed. Compound selectors beat MudBlazor's defaults.    
   ========================================================= */
.mud-button-root.mud-button {
    border-radius: var(--waves-borderradius-buttons);
    font-weight: 600;
    letter-spacing: .2px;
    text-transform: none; /* modern apps avoid ALL CAPS */
    transition: transform .12s ease, box-shadow .2s ease, background-color .2s ease, filter .2s ease;
    -webkit-tap-highlight-color: transparent;
}

/* Enforce big touch targets ONLY on touch devices,
   so dense desktop/web layouts stay compact. */
@media (pointer: coarse) {
    .mud-button-root.mud-button {
        min-height: 48px;
    }
}

/* ---- State animations ---- */
/* Press feedback — works on touch, no hover required */
.mud-button-root.mud-button:active {
    transform: scale(.97);
}

/* Hover lift only where a real pointer exists */
@media (hover: hover) {
    .mud-button-root.mud-button:hover {
        transform: translateY(-1px);
    }
}

/* Keyboard / a11y focus ring from your theme token */
.mud-button-root.mud-button:focus-visible {
    outline: 2px solid rgba(var(--mud-palette-primary-rgb), .6);
    outline-offset: 2px;
}

/* Disabled — flat, no motion */
.mud-button-root.mud-button:disabled,
.mud-button-root.mud-button.mud-disabled {
    transform: none;
    box-shadow: none;
    filter: none;
}

/* ---- Per-variant drop shadow ---- */
/* Filled: consistent soft shadow that lifts on hover */
.mud-button-root.mud-button-filled {
    box-shadow: 0 2px 6px rgba(0,0,0,.14);
}

@media (hover: hover) {
    .mud-button-root.mud-button-filled:hover {
        box-shadow: 0 8px 20px rgba(0,0,0,.18);
    }
}

/* Outlined & Text: flat by default, subtle lift on hover only.
   Delete this block if you want them to stay perfectly flat. */
@media (hover: hover) {
    .mud-button-root.mud-button-outlined:hover,
    .mud-button-root.mud-button-text:hover {
        box-shadow: 0 2px 8px rgba(0,0,0,.10);
    }
}

/* ---- Accessibility: honor reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
    .mud-button-root.mud-button {
        transition: none;
    }

        .mud-button-root.mud-button:active,
        .mud-button-root.mud-button:hover {
            transform: none;
        }
}

/* =========================================================
   OPT-IN flair modifiers — add via Class="…" only where wanted
   (these layer on top of the universal base above)
   ========================================================= */
.waves-btn-gradient.mud-button-root {
    background: linear-gradient(135deg, var(--mud-palette-primary), var(--mud-palette-secondary));
    color: var(--mud-palette-primary-text);
    box-shadow: 0 4px 14px rgba(var(--mud-palette-primary-rgb), .35);
}

    .waves-btn-gradient.mud-button-root:active {
        filter: brightness(.95);
    }

.waves-btn-pill.mud-button-root {
    border-radius: 999px;
    padding-inline: 28px;
}

.waves-btn-glass.mud-button-root {
    background: rgba(var(--mud-palette-surface-rgb), .55);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    border: 1px solid rgba(255,255,255,.18);
    color: var(--mud-palette-text-primary);
}

.waves-btn-sheen.mud-button-root {
    position: relative;
    overflow: hidden;
}

    .waves-btn-sheen.mud-button-root::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
        transform: translateX(-120%);
    }

    .waves-btn-sheen.mud-button-root:active::after {
        transform: translateX(120%);
        transition: transform .6s ease;
    }

/* END MudBlazor overrides */ 

/* Waves CA General Styling */
.waves-hero-dimming-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
}
/* END Waves CA General Styling */

/* Waves CA Home Page - Authorized */
.waves-home-hero-section {
    position: relative;
    height: 220px;
    background-image: url('/_content/Waves.Tooling.App.Core/images/banners/site/jpg/site_banner_1.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px; 
    width: 100%;
}

.waves-home-hero-content-container {
    position: relative;    
    z-index: 1;
    color: white;
}
/* END Waves CA Home Page - Authorized */

/* Media Queries for Browser Size */

/* --- Media quries for specific breakpoints sizes --- */
@media (width < 600px) {
    /* xs: 0 – 599.99px */
}

@media (600px <= width < 960px) {
    /* sm: 600 – 959.99px */
}

@media (960px <= width < 1280px) {
    /* md: 960 – 1279.99px */
}

@media (1280px <= width < 1920px) {
    /* lg: 1280 – 1919.99px */
}

@media (1920px <= width < 2560px) {
    /* xl: 1920 – 2559.99px */
}

@media (width >= 2560px) {
    /* xxl: 2560px+ */
}
/* --- Media quries for specific breakpoints sizes --- */

/* --- Cumulative Breakpoints (and under) --- */
@media (width < 960px) {
    /* sm and under: xs + sm (0 – 959.99px) */
}

@media (width < 1280px) {
    /* md and under: xs + sm + md (0 – 1279.99px) */
}

@media (width < 1920px) {
    /* lg and under: xs + sm + md + lg (0 – 1919.99px) */
}

@media (width < 2560px) {
    /* xl and under: xs + sm + md + lg + xl (0 – 2559.99px) */
}
/* --- END Cumulative Breakpoints (and under) --- */

/* END - Media Queries for Broser Size */
