/**
 * Copyright (c) 2026 DNA Genics, S.L. All rights reserved.
 *
 * Third-party calculator notice styles. Calm, quiet, theme-adaptive (currentColor), no
 * animation, visible in print. Rendered by Views/Shared/_ThirdPartyCalculatorNotice.cshtml.
 */

.tpc-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0.5rem 0;
    color: inherit;
}

.tpc-notice__icon {
    flex: 0 0 auto;
    width: 1em;
    height: 1em;
    margin-top: 0.2em;
    background-color: currentColor;
}

.tpc-notice__text {
    flex: 1 1 auto;
    min-width: 0;
}

.tpc-notice__summary {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.45;
    color: #5a5f66;
}

.tpc-notice__details {
    margin-top: 0.15rem;
}

.tpc-notice__toggle {
    display: inline-block;
    min-height: 32px;
    padding: 0.25rem 0;
    font-size: 0.75rem;
    color: #3d5a80;
    cursor: pointer;
    text-decoration: underline;
}

.tpc-notice__legal {
    margin: 0.25rem 0 0;
    font-size: 0.75rem;
    line-height: 1.55;
    color: #5a5f66;
}

@media (pointer: coarse) {
    .tpc-notice__toggle {
        min-height: 44px;
    }
}

@media print {
    .tpc-notice__summary,
    .tpc-notice__legal {
        color: #000;
    }

    .tpc-notice__details > .tpc-notice__legal {
        display: none;
    }

    .tpc-notice__toggle {
        display: none;
    }
}
