﻿html {
    background-image: url('/images/light-theme-bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    transition: background-image 0.5s ease-in-out;
}

body {
    background: transparent !important;
}

.validation-message {
    color: var(--mud-palette-error);
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.66;
    letter-spacing: 0.03333em;
    display: flex;
    align-items: center;
    gap: 4px;
    animation: slideIn 0.2s ease-out;
}

    .validation-message::before {
        font-size: 0.875rem;
        flex-shrink: 0;
    }

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

blockquote {
    display: block;
    padding-left: 3.5rem;
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 2rem auto;
    padding-block: 2rem;
    border-width: 2px 0;
    border-style: solid;
    border-color: rgba(0, 0, 0, .125);
    display: flex;
    flex-direction: column;
    font-style: normal;
    font-family: "Bitter", serif;
}

    blockquote:before {
        content: "\201c";
        position: absolute;
        height: auto !important;
        max-height: 4rem;
        left: 0 !important;
        transform: translateY(1.5rem) !important;
        top: 0;
        font-size: 7rem !important;
        line-height: 1;
        font-family: georgia;
        color: #226977;
        text-align: center;
        background: transparent !important;
    }

    blockquote p {
        margin-bottom: 1rem;
        font-weight: 700;
        font-size: clamp(1.0625rem, 1.011rem + .2353vw, 1.1875rem);
        padding-bottom: 0.7em;
    }

    blockquote .citat-person {
        display: inline-block;
        color: hsl(190, 56%, 30%);
        font-style: normal;
        text-align: right;
        padding-bottom: 0em;
    }

/* Landbrugnet AI redesigned layout */
.ai-dialog-surface {
    width: min(100vw, 768px);
    height: min(90vh, 820px);
    display: flex;
    flex-direction: column;
    border-radius: var(--mud-default-borderradius);
    overflow: hidden;
}

.ai-dialog-header {
    padding: 24px;
}

.ai-dialog-body {
    flex: 1;
    min-height: 0;
    display: flex;
    justify-content: center;
    align-items: stretch;
    background: var(--mud-palette-background-grey);
}

.ai-host {
    width: 100%;
    display: flex;
    justify-content: center;
    height: 100%;
}

.ai-shell {
    width: 100%;
    max-width: 768px;
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: var(--mud-palette-surface);
}

.ai-shell--page {
    min-height: calc(100vh - 64px);
    margin: 0 auto;
    padding: 24px 0 32px;
}

.ai-shell--embedded {
    padding: 0;
}

.ai-shell__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.ai-shell__header {
    padding: 24px;
}

.ai-tabs {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ai-tabs__panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0;
}

.ai-tab-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background-color: transparent;
}

.ai-mode {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background-color: transparent;
}

.ai-mode__conversation {
    flex: 1;
    min-height: 0;
    display: flex;
}

.ai-mode__scroll {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ai-mode__composer {
    border-top: 1px solid var(--mud-palette-lines-default);
    padding: 16px 24px;
    background-color: var(--mud-palette-background-grey);
}

.ai-history-card {
    padding: 16px;
}

.ai-stepper {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background-color: transparent;
}

.ai-stepper .mud-stepper-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.ai-stepper .mud-step-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0;
}

.ai-stepper__panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 24px;
    gap: 16px;
}

.ai-selection-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-radius: var(--mud-default-borderradius);
    background-color: var(--mud-palette-background-grey);
}

.ai-selection-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.ai-stepper-footer {
    border-top: 1px solid var(--mud-palette-lines-default);
    padding: 16px 24px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background-color: var(--mud-palette-surface);
}

.mud-input-control.mud-input-control-margin-dense {
    margin: 0 !important;
}

.mud-badge.mud-badge-top.right.mud-badge-overlap {
    top: 4px !important;
    left: 29px !important;
}