/* =========================================================
   Fonts
   ========================================================= */

@font-face {
    font-family: "Lato";
    src: url("../fonts/Lato/Lato-Regular.woff2") format("woff2"),
    url("../fonts/Lato/Lato-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Lato";
    src: url("../fonts/Lato/Lato-Italic.woff2") format("woff2"),
    url("../fonts/Lato/Lato-Italic.woff") format("woff");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Lato";
    src: url("../fonts/Lato/Lato-Bold.woff2") format("woff2"),
    url("../fonts/Lato/Lato-Bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Lato";
    src: url("../fonts/Lato/Lato-BoldItalic.woff2") format("woff2"),
    url("../fonts/Lato/Lato-BoldItalic.woff") format("woff");
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Libre Baskerville";
    src: url("../fonts/LibreBaskerville/LibreBaskerville-Regular.woff2") format("woff2"),
    url("../fonts/LibreBaskerville/LibreBaskerville-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Libre Baskerville";
    src: url("../fonts/LibreBaskerville/LibreBaskerville-Italic.woff2") format("woff2"),
    url("../fonts/LibreBaskerville/LibreBaskerville-Italic.woff") format("woff");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Libre Baskerville";
    src: url("../fonts/LibreBaskerville/LibreBaskerville-Bold.woff2") format("woff2"),
    url("../fonts/LibreBaskerville/LibreBaskerville-Bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* =========================================================
   Variables
   ========================================================= */

:root {
    --brand: #8f1d2c;
    --brand-dark: #681420;
    --brand-soft: #fff1f3;

    --ink: #15171c;
    --muted: #667085;
    --line: #e8eaef;
    --surface: #ffffff;
    --soft: #f7f8fb;

    --radius-lg: 1.25rem;
    --radius-xl: 1.75rem;

    --shadow-soft: 0 1.25rem 4rem rgba(15, 23, 42, 0.08);
    --shadow-card: 0 1.875rem 5.625rem rgba(15, 23, 42, 0.12);
}


/* =========================================================
   Base
   ========================================================= */

@media (min-width: 1400px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1450px;
    }
}

body {
    font-family: "Lato", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background:
            radial-gradient(circle at top left, rgba(143, 29, 44, 0.10), transparent 32rem),
            radial-gradient(circle at top right, rgba(143, 29, 44, 0.08), transparent 28rem),
            #fbfcfd;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Libre Baskerville", Georgia, serif;
    font-weight: 700;
    color: var(--ink);
}

a {
    color: var(--brand);
}

a:hover {
    color: var(--brand-dark);
}

.text-brand {
    color: var(--brand) !important;
}

.bg-brand {
    background-color: var(--brand) !important;
}

.bg-brand-soft {
    background-color: var(--brand-soft) !important;
}


/* =========================================================
   Buttons
   ========================================================= */

.btn-brand {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--brand);
    --bs-btn-border-color: var(--brand);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--brand-dark);
    --bs-btn-hover-border-color: var(--brand-dark);
    --bs-btn-focus-shadow-rgb: 143, 29, 44;
    --bs-btn-active-bg: var(--brand-dark);
    --bs-btn-active-border-color: var(--brand-dark);

    border-radius: 999px;
    font-weight: 700;
    padding: 0.9rem 1.35rem;
}

.btn-soft {
    background: #fff;
    border: 1px solid var(--line);
    color: var(--ink);
    border-radius: 999px;
    font-weight: 700;
    padding: 0.9rem 1.35rem;
}

.btn-soft:hover {
    background: #f8f9fb;
    border-color: #d9dde5;
    color: var(--ink);
}

.btn-outline-primary {
    --bs-btn-color: var(--brand);
    --bs-btn-border-color: var(--brand);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--brand);
    --bs-btn-hover-border-color: var(--brand);
    --bs-btn-focus-shadow-rgb: 143, 29, 44;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--brand);
    --bs-btn-active-border-color: var(--brand);
    --bs-btn-disabled-color: var(--brand);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--brand);
}


/* =========================================================
   Navigation
   ========================================================= */

.navbar {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.navbar .nav-link {
    color: #1f2937;
    font-weight: 700;
    font-size: 0.95rem;
}

.navbar .nav-link:hover {
    color: var(--brand);
}

.brand-mark {
    width: 43px;
    height: 43px;
    border-radius: 999px;
    border: 1px solid #dbdbdb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(143, 29, 44, 0.10);
    color: var(--brand);
    font-size: 1.1rem;
}


/* =========================================================
   Hero
   ========================================================= */

.hero {
    padding: 7rem 0 5rem;
    text-align: center;
}

.hero-split {
    padding: clamp(70px, 8vw, 120px) 0 clamp(60px, 7vw, 100px);
    overflow: hidden;
}

.hero-content {
    max-width: 670px;
    margin: 0 auto;
}

.eyebrow,
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1.35rem;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: rgba(143, 29, 44, 0.08);
    color: var(--brand);
    font-weight: 800;
    font-size: 0.88rem;
    border: 1px solid rgba(143, 29, 44, 0.12);
}

.hero-title {
    font-size: clamp(2.7rem, 7vw, 4.8rem);
    line-height: 1.2;
    letter-spacing: -0.055em;
    font-weight: 700;
    max-width: 980px;
    margin: 0 auto 1.5rem;
}

.hero-subtitle {
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    max-width: 780px;
    margin: 0 auto 2rem;
}

.hero-visual {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-blob {
    position: absolute;
    width: 390px;
    height: 330px;
    border-radius: 38% 62% 55% 45%;
    background:
            radial-gradient(circle at 20% 30%, rgba(143, 29, 44, 0.18), transparent 38%),
            linear-gradient(135deg, rgba(143, 29, 44, 0.12), rgba(143, 29, 44, 0.04));
    transform: rotate(-8deg);
    z-index: 0;
}

.hero-blob-img {
    position: absolute;
    max-width: 150%;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}


/* =========================================================
   Invoice preview
   ========================================================= */

.invoice-preview-card {
    position: relative;
    z-index: 1;
    width: min(420px, 100%);
    padding: 2rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--shadow-card);
    text-align: left;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.preview-title-lines {
    display: grid;
    gap: 0.7rem;
    width: 220px;
    max-width: 100%;
}

.preview-label {
    display: block;
    color: #8b95a5;
    font-weight: 800;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
}

.preview-header h2 {
    margin: 0;
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    color: #111827;
}

.preview-badge {
    width: 44px;
    height: 44px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(143, 29, 44, 0.10);
    color: var(--brand);
    font-size: 1.25rem;
}

.preview-lines {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.preview-lines .line {
    display: block;
    height: 10px;
    border-radius: 999px;
    background: #eef1f5;
}

.preview-table {
    display: grid;
    gap: 0.9rem;
    padding: 1rem 0;
    border-top: 1px solid #eef1f5;
    border-bottom: 1px solid #eef1f5;
}

.preview-table-skeleton {
    gap: 1.1rem;
}

.preview-row,
.preview-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.preview-row span,
.preview-total span {
    color: #667085;
    font-weight: 700;
}

.preview-row strong,
.preview-total strong {
    color: #111827;
}

.preview-row-skeleton {
    display: grid;
    grid-template-columns: 1fr 92px;
    gap: 1.5rem;
    align-items: center;
}

.preview-total {
    margin-top: 1.25rem;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: #111827;
    color: #fff;
}

.preview-total span,
.preview-total strong {
    color: #fff;
}

.preview-total strong {
    font-size: 1.25rem;
}

.preview-total-skeleton {
    background: #111827;
}

.preview-total-skeleton .skeleton-line {
    background: rgba(255, 255, 255, 0.86);
}

.preview-total-skeleton .total-label {
    opacity: 0.55;
}

.preview-total-skeleton .total-value {
    height: 18px;
    opacity: 1;
}

.preview-download {
    position: absolute;
    right: -18px;
    bottom: -18px;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand);
    color: #fff;
    font-size: 1.7rem;
    box-shadow: 0 18px 35px rgba(143, 29, 44, 0.30);
}

.skeleton-line {
    display: block;
    height: 11px;
    border-radius: 999px;
    background: #eef1f5;
}

.skeleton-line.tiny {
    height: 9px;
    background: rgba(143, 29, 44, 0.16);
}

.skeleton-line.title {
    height: 22px;
    background: #111827;
    opacity: 0.9;
}

.skeleton-line.small {
    height: 8px;
    margin-top: 0.55rem;
    background: #f1f3f6;
}

.skeleton-line.amount {
    height: 12px;
    background: rgba(143, 29, 44, 0.22);
}


/* Scoped width helpers for preview only */
.preview-lines .w-20,
.skeleton-line.w-20 { width: 20%; }

.preview-lines .w-25,
.skeleton-line.w-25 { width: 25%; }

.preview-lines .w-30,
.skeleton-line.w-30 { width: 30%; }

.preview-lines .w-35,
.skeleton-line.w-35 { width: 35%; }

.preview-lines .w-40,
.skeleton-line.w-40 { width: 40%; }

.preview-lines .w-45,
.skeleton-line.w-45 { width: 45%; }

.preview-lines .w-50,
.skeleton-line.w-50 { width: 50%; }

.preview-lines .w-55,
.skeleton-line.w-55 { width: 55%; }

.preview-lines .w-60,
.skeleton-line.w-60 { width: 60%; }

.preview-lines .w-65,
.skeleton-line.w-65 { width: 65%; }

.preview-lines .w-70,
.skeleton-line.w-70 { width: 70%; }

.preview-lines .w-75,
.skeleton-line.w-75 { width: 75%; }


/* =========================================================
   Sections
   ========================================================= */

.section {
    padding: 2.5rem 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
    letter-spacing: -0.065em;
    font-weight: 700;
}

.section-text {
    color: var(--muted);
    font-size: 1.08rem;
    max-width: 760px;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    padding: 1.5rem;
    height: 100%;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 1.7rem;
    margin-bottom: 1rem;
}


/* =========================================================
   FAQ
   ========================================================= */

.faq-section {
    padding-top: clamp(60px, 7vw, 100px);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 2rem;
    max-width: 1080px;
    margin: 0 auto;
}

.faq-item {
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.10);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #111827;
    text-align: left;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: -0.035em;
}

.faq-question i {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(143, 29, 44, 0.08);
    color: var(--brand);
    transition: transform 0.2s ease;
}

.faq-question:not(.collapsed) i {
    transform: rotate(180deg);
}

.faq-answer {
    max-width: 92%;
    margin: 0.85rem 0 0;
    color: #667085;
    line-height: 1.75;
}


/* =========================================================
   Generator shell / form
   ========================================================= */

#generator .section-title {
    font-size: clamp(2.1rem, 4vw, 3.5rem);
}

.app-shell {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 2rem;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.app-head {
    display: none;
}

.form-section {
    border-radius: 1.5rem;
    padding: 1.35rem;
    background: #fff;
    height: 100%;
}

.form-section-title {
    font-weight: 700;
    letter-spacing: -0.035em;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.form-control,
.form-select {
    border-radius: 0.95rem;
    border-color: #d7dce5;
    padding: 0.78rem 0.9rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 0.25rem rgba(143, 29, 44, 0.10);
}

textarea.form-control {
    min-height: 104px;
}

.form-check-input:checked {
    background-color: var(--brand);
    border-color: var(--brand);
}

.form-check-input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 0.25rem rgba(143, 29, 44, 0.10);
}


/* =========================================================
   Logo upload
   ========================================================= */

#removeLogo {
    padding: 0;
    text-decoration: none;
    line-height: 1;
}

#removeLogo:hover {
    color: var(--brand-dark) !important;
}

#logoFileName {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* =========================================================
   Positions table
   ========================================================= */

.table {
    vertical-align: middle;
}

.table th {
    color: #667085;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #f8f9fb;
    white-space: nowrap;
}

.table td {
    vertical-align: middle;
    min-width: 90px;
}

.table td .form-control,
.table td .form-select {
    width: 100%;
}

/* Beschreibung */
.table td:first-child,
.table th:first-child {
    width: 300px;
    min-width: 260px;
}

/* Menge */
.table td:nth-child(2),
.table th:nth-child(2) {
    width: 90px;
    min-width: 90px;
    max-width: 90px;
}

/* Einheit */
.table td:nth-child(3),
.table th:nth-child(3) {
    width: 140px;
    min-width: 130px;
    max-width: 150px;
}

/* Preis */
.table td:nth-child(4),
.table th:nth-child(4) {
    width: 140px;
    min-width: 120px;
    max-width: 150px;
}

/* Rabatt */
.table td:nth-child(5),
.table th:nth-child(5) {
    width: 105px;
    min-width: 95px;
    max-width: 110px;
}

/* USt. */
.table td:nth-child(6),
.table th:nth-child(6) {
    width: 95px;
    min-width: 90px;
    max-width: 100px;
}

/* Summe */
.table td:nth-child(7),
.table th:nth-child(7) {
    width: 130px;
    min-width: 125px;
    max-width: 140px;
}

/* Löschen */
.table td:nth-child(8),
.table th:nth-child(8) {
    width: 52px;
    min-width: 52px;
    max-width: 52px;
}

.item-total {
    font-weight: 700;
    white-space: nowrap;
}

.delete-row {
    border: 0;
    background: var(--brand-soft);
    color: var(--brand);
    border-radius: 0.85rem;
    width: 40px;
    height: 40px;
    font-weight: 700;
}

.delete-row:hover {
    background: #ffe4e8;
    color: var(--brand-dark);
}


/* =========================================================
   Totals
   ========================================================= */

.totals-card {
    background: #121722;
    color: white;
    border-radius: 1.5rem;
    padding: 1.35rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.78);
}

.total-row.final {
    color: white;
    border-bottom: 0;
    font-size: 1.25rem;
    font-weight: 700;
    padding-top: 1rem;
}


/* =========================================================
   Notices
   ========================================================= */

.notice-box {
    border-radius: 1.25rem;
    background: #fff8e7;
    border: 1px solid #ffe3a8;
    color: #765100;
    padding: 1rem;
    font-size: 0.93rem;
}


/* =========================================================
   Privacy modal
   ========================================================= */

.modal-content {
    border-radius: 1.5rem;
}

.modal-header,
.modal-footer {
    padding: 1.25rem 1.5rem;
}

.modal-body {
    color: var(--ink);
}

.modal-body h3 {
    color: var(--ink);
}

.modal-body p,
.modal-body li {
    color: #475467;
    line-height: 1.75;
}

.modal-body ul {
    padding-left: 1.25rem;
}


/* =========================================================
   Footer
   ========================================================= */

.footer-note {
    color: var(--muted);
    font-size: 0.92rem;
}

.footer-note a,
.footer-note button {
    color: var(--brand);
    font-weight: 700;
}

.footer-note a:hover,
.footer-note button:hover {
    color: var(--brand-dark);
}

footer .btn-link.footer-note {
    border: 0;
}

footer .btn-link.footer-note:hover {
    text-decoration: underline;
}


/* =========================================================
   Trust pills - optional legacy support
   ========================================================= */

.trust-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.65rem 0.9rem;
    color: #475467;
    font-weight: 700;
    box-shadow: 0 0.6rem 2rem rgba(15, 23, 42, 0.04);
}


/* =========================================================
   Responsive
   ========================================================= */

@media (min-width: 992px) {
    .hero-split {
        text-align: left;
    }

    .hero-split .hero-content {
        margin-left: 0;
        margin-right: auto;
        text-align: left;
    }

    .hero-split .eyebrow {
        margin-left: 0;
        margin-right: auto;
    }
}

@media (max-width: 991.98px) {
    .hero-title,
    .hero-subtitle {
        text-align: center !important;
    }

    .hero-visual {
        min-height: 360px;
        margin-top: 1.5rem;
    }

    .invoice-preview-card {
        max-width: 390px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 5rem 0 3rem;
    }

    .app-shell {
        border-radius: 1.5rem;
    }

    .form-section {
        padding: 0.75rem 0;
    }
}

@media (max-width: 575.98px) {
    .invoice-preview-card {
        padding: 1.5rem;
        border-radius: 22px;
    }

    .preview-download {
        right: 1rem;
        bottom: -24px;
        width: 56px;
        height: 56px;
        font-size: 1.35rem;
    }

    .preview-row-skeleton {
        grid-template-columns: 1fr 70px;
        gap: 1rem;
    }

    .preview-title-lines {
        width: 180px;
    }

    .faq-question {
        font-size: 1rem;
    }

    .section {
        padding: 2rem 0;
    }

    .section-title {
        letter-spacing: -0.045em;
    }
    #generatePdf, #resetForm {
        width: 100%;
    }
}

/* Modern Scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--brand, #9f1d2d) #f5eef0;
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #f7f1f3;
    border-radius: 999px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #9f1d2d 0%, #7f1624 100%);
    border-radius: 999px;
    border: 3px solid #f7f1f3;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #b82539 0%, #8f1a2b 100%);
}

::-webkit-scrollbar-corner {
    background: #f7f1f3;
}

.modal-body {
    scrollbar-width: thin;
    scrollbar-color: var(--brand, #9f1d2d) #f7f1f3;
}

.modal-body::-webkit-scrollbar {
    width: 10px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f7f1f3;
    border-radius: 999px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #9f1d2d 0%, #7f1624 100%);
    border-radius: 999px;
    border: 3px solid #f7f1f3;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #b82539 0%, #8f1a2b 100%);
}

/* Rounded scrollbar inside textarea / form controls */
textarea.form-control {
    scrollbar-width: thin;
    scrollbar-color: #9f1d2d transparent;
}

/* Chrome / Edge / Safari */
textarea.form-control::-webkit-scrollbar {
    width: 10px;
}

textarea.form-control::-webkit-scrollbar-track {
    background: transparent;
    margin: 10px 0;
    border-radius: 999px;
}

textarea.form-control::-webkit-scrollbar-thumb {
    background: #9f1d2d;
    border-radius: 999px;
    border: 3px solid transparent;
    background-clip: padding-box;
}

textarea.form-control::-webkit-scrollbar-thumb:hover {
    background: #b82539;
    background-clip: padding-box;
}

textarea.form-control::-webkit-scrollbar-corner {
    background: transparent;
}

textarea.form-control {
    resize: vertical;
}

/* App Notice Modal */
.app-notice-modal {
    border-radius: 1.5rem;
    overflow: hidden;
}

.app-notice-modal .modal-header {
    padding: 1.5rem 1.5rem 0;
}

.app-notice-modal .modal-body {
    padding: 1.25rem 1.5rem;
}

.app-notice-modal .modal-footer {
    padding: 0 1.5rem 1.5rem;
}

.app-notice-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: rgba(159, 29, 45, 0.1);
    color: #9f1d2d;
    font-size: 1.25rem;
}

.app-notice-message {
    color: #3d3d45;
    line-height: 1.55;
}

.app-notice-modal.notice-success .app-notice-icon {
    background: rgba(25, 135, 84, 0.12);
    color: #198754;
}

.app-notice-modal.notice-warning .app-notice-icon {
    background: rgba(255, 193, 7, 0.18);
    color: #b77900;
}

.app-notice-modal.notice-error .app-notice-icon {
    background: rgba(159, 29, 45, 0.12);
    color: #9f1d2d;
}