/* ==========================================================================
   MedFollow — design inspired by ellemedica.pl
   Paleta: warm cream tła, sage green akcenty, charcoal text,
   serif headings (Cormorant Garamond), sans-serif body (Inter).
   ========================================================================== */

/* Smooth scroll dla skoku po anchor-ach z menu landingu. Sticky header ma ~82px wysokosci,
   wiec scroll-margin-top dla sekcji = 90px (target lekko ponizej dolnej krawedzi headera). */
html { scroll-behavior: smooth; }
section[id], div[id="korzysci"], div[id="dla-kogo"], div[id="jak-dziala"], div[id="cennik"] { scroll-margin-top: 90px; }

/* Aktywny link w landing-nav — sage tlo. Klasa .active jest dorzucana przez JS po
   IntersectionObserver-ze, ktory sledzi widoczna sekcje. */
.landing-nav-link.active { background: var(--primary-50); color: var(--primary-dark); border-color: var(--primary-soft); }

/* "Jak to dziala" — poziomy flow kart. Domyslnie kompaktowe (numer + tytul),
   szczegoly wyjezdzaja na hover/focus. Karty zawijaja sie do kolejnego wiersza. */
.htw-flow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
}
.htw-card {
    position: relative;
    flex: 1 1 190px;
    max-width: 215px;
    min-height: 178px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 26px 18px;
    text-align: center;
    cursor: default;
    outline: none;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.htw-card:hover, .htw-card:focus, .htw-card:focus-within {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    z-index: 20;
}
.htw-num {
    background: var(--primary);
    color: #fff;
    width: 52px; height: 52px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 500; font-size: 23px;
    font-family: var(--serif);
    margin: 0 auto 14px;
}
.htw-card:hover .htw-num, .htw-card:focus .htw-num, .htw-card:focus-within .htw-num {
    background: var(--primary-dark);
}
.htw-title {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.35;
}
/* Krotki opis akcji — ZAWSZE widoczny w karcie (co robisz na tym etapie). */
.htw-desc {
    margin: 0;
    font-size: 13px;
    color: var(--text-mid);
    line-height: 1.5;
}
/* Naglowek nad lista korzysci w popoverze. */
.htw-details-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 10px;
}
/* Szczegoly — popover wyjezdzajacy pod karta. Absolutny, wiec nie rozpycha gridu. */
.htw-details {
    position: absolute;
    left: 50%;
    top: calc(100% - 4px);
    transform: translateX(-50%);
    width: 280px;
    max-width: 86vw;
    background: var(--bg-card);
    border: 1px solid var(--primary);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    text-align: left;
    pointer-events: none;
    transition: max-height .28s ease, opacity .2s ease, padding .28s ease;
    z-index: 30;
}
.htw-card:hover .htw-details, .htw-card:focus .htw-details, .htw-card:focus-within .htw-details {
    max-height: 320px;
    opacity: 1;
    padding: 16px 18px;
}
.htw-details p {
    margin: 0 0 12px;
    color: var(--text-mid);
    font-size: 13.5px;
    line-height: 1.6;
}
.htw-details ul {
    margin: 0; padding: 0;
    list-style: none;
    color: var(--text-mid);
    font-size: 13px;
    line-height: 1.7;
}
.htw-details li { margin-bottom: 4px; }
.htw-details li span {
    color: var(--primary);
    font-weight: 600;
    margin-right: 7px;
}

/* Mobile: karty szersze (2 na rzad lub 1), popover wysrodkowany pod karta. */
@media (max-width: 640px) {
    .htw-card { flex: 1 1 150px; max-width: none; min-height: 158px; padding: 22px 14px; }
    .htw-num { width: 44px; height: 44px; font-size: 20px; }
    .htw-title { font-size: 14px; }
    .htw-desc { font-size: 12.5px; }
    .htw-details { width: 250px; }
}

:root {
    --bg:           #faf8f5;   /* warm cream off-white */
    --bg-muted:     #f3ede5;   /* very soft beige */
    --bg-card:      #ffffff;
    --primary:      #7c8b6f;   /* sage green — główny akcent */
    --primary-dark: #5a6e4e;   /* deeper sage na hover */
    --primary-soft: #dde3d6;   /* light sage dla badges/hover bg */
    --primary-50:   #eef1e9;   /* najjaśniejszy sage tint */
    --text:         #2d2826;   /* warm charcoal */
    --text-mid:     #5a4f4a;
    --text-mute:    #8a7d75;
    --border:       #e8e2dd;   /* warm light gray */
    --border-soft:  #f0eae3;
    --shadow:       0 1px 3px rgba(45, 40, 38, 0.06), 0 4px 12px rgba(45, 40, 38, 0.04);
    --shadow-lg:    0 8px 24px rgba(45, 40, 38, 0.08);
    --serif:        'Cormorant Garamond', 'Playfair Display', Georgia, 'Times New Roman', serif;
    --sans:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Reset + base */
*, *::before, *::after { box-sizing: border-box; }
html { font-family: var(--sans); -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { margin: 0; color: var(--text); background: var(--bg); line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column; font-weight: 400; }
main { flex: 1; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--text); letter-spacing: -0.01em; line-height: 1.2; }

.hidden { display: none !important; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); text-decoration: underline; }

code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace; font-size: 0.88em; background: var(--bg-muted); padding: 2px 7px; border-radius: 4px; color: var(--text-mid); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 12px; }

/* Header */
.site-header { background: var(--bg-card); color: var(--text); padding: 22px 0; border-bottom: 1px solid var(--border-soft); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 24px; letter-spacing: 0.5px; }
.logo:hover { text-decoration: none; color: var(--primary); }
.logo-mark { width: 38px; height: 38px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-weight: 600; font-family: var(--serif); font-size: 20px; }
.user-info { color: var(--text-mute); margin-right: 12px; font-size: 13px; letter-spacing: 0.3px; }

/* Hero */
.hero { padding: 88px 0 72px; text-align: center; }
.hero h1 { font-size: 52px; margin: 0 0 24px; color: var(--text); font-weight: 500; line-height: 1.1; letter-spacing: -0.02em; }
.hero .lead { font-size: 19px; color: var(--text-mid); max-width: 720px; margin: 0 auto 48px; line-height: 1.65; font-weight: 400; }
/* Pricing table — sekcja Cennik */
.pricing-table { width: 100%; max-width: 720px; margin: 0 auto; border-collapse: collapse; background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: 6px; overflow: hidden; box-shadow: var(--shadow); }
.pricing-table thead th { background: var(--bg-muted); color: var(--text-mute); font-size: 11px; text-transform: uppercase; letter-spacing: 2px; font-weight: 500; padding: 16px 24px; text-align: left; }
.pricing-table thead th:last-child { text-align: right; }
.pricing-table tbody td { padding: 20px 24px; font-size: 16px; color: var(--text); border-top: 1px solid var(--border-soft); }
.pricing-table tbody td:last-child { text-align: right; font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--text); }
.pricing-table tbody tr:hover { background: var(--primary-50); }
.pricing-table tbody tr.pricing-free td { color: var(--primary-dark); }
.pricing-table tbody tr.pricing-free td:last-child { color: var(--primary-dark); }
.pricing-table tbody tr.pricing-free td:last-child strong { font-weight: 600; }

/* Hero 5-bullets — co zyskujesz pod headlinem */
.hero-bullets { list-style: none; padding: 0; margin: 36px auto 12px; max-width: 640px; display: grid; gap: 14px; text-align: left; }
.hero-bullets li { display: flex; align-items: flex-start; gap: 14px; color: var(--text-mid); font-size: 15.5px; line-height: 1.55; }
.hero-bullets li strong { color: var(--text); font-weight: 600; }
.hero-bullet-mark { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--primary-50); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; margin-top: 1px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; margin-top: 56px; text-align: left; }
.feature { background: var(--bg-card); padding: 32px 28px; border-radius: 4px; border: 1px solid var(--border-soft); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.feature:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.feature h3 { margin: 0 0 14px; font-size: 20px; font-weight: 500; color: var(--text); }
.feature p { margin: 0; color: var(--text-mid); font-size: 14.5px; line-height: 1.65; }

/* Card (login + register) */
.card-section { padding: 56px 0 88px; }
.card { background: var(--bg-card); max-width: 480px; margin: 0 auto; padding: 44px 40px; border-radius: 6px; border: 1px solid var(--border-soft); box-shadow: var(--shadow); }
.card h2 { margin: 0 0 28px; font-size: 30px; color: var(--text); font-weight: 500; text-align: center; letter-spacing: 0.02em; }

/* Auth tabs */
.auth-tabs { display: flex; border-bottom: 1px solid var(--border); margin: -16px -16px 28px; }
.auth-tab { flex: 1; background: none; border: none; padding: 14px 16px; cursor: pointer; font-size: 14px; color: var(--text-mute); font-family: var(--sans); font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; text-transform: uppercase; letter-spacing: 1px; transition: color 0.2s, border-color 0.2s; }
.auth-tab:hover { color: var(--text-mid); }
.auth-tab.active { color: var(--primary); border-bottom-color: var(--primary); }

/* Templates list */
.template-card { background: var(--bg-card); padding: 20px 22px; border-radius: 6px; border: 1px solid var(--border-soft); cursor: pointer; transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s; }
.template-card:hover { border-color: var(--primary-soft); box-shadow: var(--shadow); }
.template-card:active { transform: translateY(1px); }
.template-card .title { font-weight: 600; color: var(--text); font-size: 15px; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.template-card .desc { color: var(--text-mid); font-size: 13.5px; margin-bottom: 10px; line-height: 1.55; }
.template-card .meta { color: var(--text-mute); font-size: 12px; display: flex; gap: 14px; flex-wrap: wrap; }
.template-card .meta span { display: inline-flex; align-items: center; gap: 4px; }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-top: 16px; }
.stat-box { background: var(--bg-muted); padding: 16px 18px; border-radius: 4px; border: 1px solid var(--border-soft); }
.stat-box .stat-label { color: var(--text-mute); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.stat-box .stat-value { color: var(--text); font-size: 28px; font-weight: 500; font-family: var(--serif); }
.stat-box .stat-sub { color: var(--text-mute); font-size: 11px; margin-top: 2px; }
.stat-box.stat-good .stat-value { color: #6b8e6b; }
.stat-box.stat-warn .stat-value { color: var(--primary-dark); }

/* Record fields (side-by-side) */
.field-row { padding: 10px 12px; border-bottom: 1px solid var(--border-soft); display: flex; flex-direction: column; gap: 3px; }
.field-row:last-child { border-bottom: none; }
.field-row .field-key { font-size: 11px; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 500; }
.field-row .field-value { font-size: 14.5px; color: var(--text); }
.field-row.field-changed { background: var(--primary-50); border-left: 3px solid var(--primary); padding-left: 9px; }
.field-row.field-new { background: #f0f5ed; border-left: 3px solid #8aaa85; padding-left: 9px; }
.field-row .field-prev-mark { font-size: 11px; color: var(--primary-dark); margin-top: 2px; }
.field-row input.field-edit, .field-row textarea.field-edit, .field-row select.field-edit {
    width: 100%; padding: 7px 10px; font-size: 13.5px; border: 1px solid var(--border); border-radius: 4px;
    font-family: inherit; background: var(--bg-card);
}

/* Google sign-in */
.google-btn-container { display: flex; justify-content: center; }
.google-btn-container:empty { display: none; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--text-mute); font-size: 11px; text-transform: uppercase; letter-spacing: 2px; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.auth-divider.hidden { display: none; }

/* Status badges */
.badge-draft { background: var(--bg-muted); color: var(--text-mid); }
.badge-signed { background: #e7eeda; color: #4d6644; }
.badge-amended { background: var(--primary-soft); color: var(--primary-dark); }

/* Category badges */
.cat-pain { background: #fbe5e5; color: #99474f; }
.cat-qol { background: #e5ecf4; color: #466583; }
.cat-symptom-check { background: #f5ebd9; color: #806736; }
.cat-demographics { background: #ebe5f4; color: #5a4a83; }
.cat-other { background: var(--bg-muted); color: var(--text-mid); }

/* Form */
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-size: 12px; font-weight: 500; color: var(--text-mid); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.8px; }
.form-row input, .form-row textarea, .form-row select { width: 100%; padding: 12px 14px; font-size: 15px; border: 1px solid var(--border); border-radius: 4px; background: var(--bg-card); font-family: inherit; color: var(--text); transition: border-color 0.2s, box-shadow 0.2s; }
.form-row textarea.mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; line-height: 1.5; }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(124, 139, 111, 0.15); }
.checkbox-row label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 400; font-size: 14.5px; text-transform: none; letter-spacing: normal; color: var(--text); }
.checkbox-row input { width: auto; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.hint-inline { font-size: 11px; color: var(--text-mute); font-weight: 400; text-transform: none; letter-spacing: normal; }
.hint { font-size: 13.5px; color: var(--text-mid); padding: 14px 18px; background: var(--bg-muted); border-radius: 4px; border-left: 3px solid var(--primary-soft); margin: 0 0 18px; line-height: 1.55; }

/* Buttons */
.btn { padding: 12px 24px; font-size: 13px; font-weight: 500; border-radius: 4px; cursor: pointer; border: none; font-family: var(--sans); transition: all 0.25s ease; text-transform: uppercase; letter-spacing: 1.2px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover:not(:disabled) { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(124, 139, 111, 0.3); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover:not(:disabled) { background: var(--bg-muted); border-color: var(--primary-soft); }
.btn-sm { padding: 6px 14px; font-size: 11px; letter-spacing: 0.8px; }

/* Error / loading / empty */
.error { background: #fbe9eb; border: 1px solid #f3c8cf; color: #8a3949; padding: 12px 16px; border-radius: 4px; font-size: 13.5px; margin-bottom: 14px; }
.loading { text-align: center; padding: 56px; color: var(--text-mute); font-size: 14px; font-style: italic; }
.empty { text-align: center; padding: 56px; background: var(--bg-card); border-radius: 6px; border: 1px dashed var(--border); color: var(--text-mute); }
.empty p { margin: 6px 0; }

/* Home: project list */
#view-home { padding: 56px 0 88px; }
.panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; gap: 16px; flex-wrap: wrap; }
.panel-header h2, .panel-header h3 { margin: 0; }
.panel-header h2 { font-size: 32px; font-weight: 500; color: var(--text); letter-spacing: -0.01em; }
.panel-header h3 { font-size: 20px; font-weight: 500; color: var(--text); }
.projects-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.project-card { background: var(--bg-card); padding: 22px 26px; border-radius: 6px; border: 1px solid var(--border-soft); display: flex; justify-content: space-between; align-items: flex-start; transition: border-color 0.2s, box-shadow 0.2s; }
.project-card:hover { border-color: var(--primary-soft); box-shadow: var(--shadow); }
.project-card .title { font-family: var(--serif); font-weight: 500; color: var(--text); font-size: 19px; display: block; margin-bottom: 6px; }
.project-card .desc { color: var(--text-mid); font-size: 14px; margin-bottom: 8px; line-height: 1.55; }
.project-card .meta { color: var(--text-mute); font-size: 12.5px; }

/* Project detail */
#view-project { padding: 48px 0 88px; }
.back-link { display: inline-block; margin-bottom: 20px; color: var(--primary); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.project-head { background: var(--bg-card); padding: 28px 32px; border-radius: 6px; border: 1px solid var(--border-soft); margin-bottom: 32px; }
.project-head h2 { margin: 0 0 10px; font-size: 30px; font-weight: 500; }
.project-head .meta { color: var(--text-mute); font-size: 13px; margin-bottom: 8px; }
.project-head .desc { margin: 10px 0 0; color: var(--text-mid); font-size: 15px; line-height: 1.6; }

/* Tabs */
.tabs { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 28px; gap: 4px; overflow-x: auto; }
.tab { background: none; border: none; padding: 14px 20px; cursor: pointer; font-size: 12.5px; color: var(--text-mute); font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; font-family: var(--sans); text-transform: uppercase; letter-spacing: 1px; transition: color 0.2s, border-color 0.2s; white-space: nowrap; }
.tab:hover { color: var(--text); }
.tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-count { color: var(--text-mute); font-size: 11px; font-weight: 400; margin-left: 4px; }
.tab-panel { animation: fade 0.2s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Data list */
.data-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.data-item { background: var(--bg-card); padding: 18px 22px; border-radius: 6px; border: 1px solid var(--border-soft); display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; transition: border-color 0.2s; }
.data-item:hover { border-color: var(--primary-soft); }
.data-item .title { font-family: var(--serif); font-weight: 500; color: var(--text); font-size: 16px; margin-bottom: 5px; }
.data-item .version { color: var(--text-mute); font-size: 12px; font-weight: 400; margin-left: 8px; font-family: var(--sans); }
.data-item .desc { color: var(--text-mid); font-size: 13.5px; margin: 5px 0; }
.data-item .meta { color: var(--text-mute); font-size: 12px; }
.data-item.error { background: #fbe9eb; border-color: #f3c8cf; color: #8a3949; }
.data-item.empty { justify-content: center; color: var(--text-mute); font-style: italic; padding: 32px; }

/* Badges */
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; background: var(--bg-muted); color: var(--text-mid); }
.badge-active { background: #e7eeda; color: #4d6644; }
.badge-paused { background: #f5ebd9; color: #806736; }
.badge-archived { background: var(--bg-muted); color: var(--text-mute); }
.badge-multisite { background: var(--primary-soft); color: var(--primary-dark); margin-left: 8px; }
.badge-invited { background: #f5ebd9; color: #806736; }

/* Warnings */
.warnings { background: var(--primary-50); border: 1px solid var(--primary-soft); color: var(--primary-dark); padding: 14px 18px; border-radius: 4px; font-size: 13.5px; margin-bottom: 14px; }
.warnings ul { margin: 8px 0 0; padding-left: 22px; }

/* Modal */
.modal-backdrop { position: fixed; inset: 0; background: rgba(45, 40, 38, 0.55); display: flex; align-items: center; justify-content: center; z-index: 100; padding: 24px; overflow-y: auto; backdrop-filter: blur(2px); }
.modal { background: var(--bg-card); padding: 36px 40px; border-radius: 8px; width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg); }
.modal-wide { max-width: 820px; }
.modal h3 { margin: 0 0 24px; font-size: 26px; font-weight: 500; color: var(--text); }

/* Footer */
.site-footer { background: var(--bg-muted); border-top: 1px solid var(--border-soft); padding: 40px 0; margin-top: auto; font-size: 13px; color: var(--text-mute); }
.site-footer p { margin: 8px 0; }
.site-footer strong { color: var(--text); font-family: var(--serif); font-weight: 500; }
.disclaimer { color: var(--primary-dark); background: var(--primary-50); padding: 12px 16px; border-radius: 4px; font-size: 12px; border: 1px solid var(--primary-soft); }

/* Countdown timer */
.cd-box { background: var(--text); color: var(--bg); padding: 18px 8px; border-radius: 4px; text-align: center; }
.cd-num { font-size: 36px; font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; font-family: var(--serif); }
.cd-label { font-size: 10px; text-transform: uppercase; letter-spacing: 2px; color: var(--text-mute); margin-top: 6px; }

/* Responsive */
@media (max-width: 768px) {
    .hero { padding: 56px 0 40px; }
    .hero h1 { font-size: 38px; }
    .hero .lead { font-size: 17px; }
    .features { grid-template-columns: 1fr; }
    .panel-header { flex-direction: column; align-items: stretch; }
    .project-card, .data-item { flex-direction: column; }
    .card { padding: 32px 24px; }
    .modal { padding: 28px 24px; }
    .container { padding: 0 20px; }
}
