/* ============================================================
   Grundlayout
   ============================================================ */

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.45;
    background: #f5f6f7;
    color: #222;
}

.container {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

main.container {
    min-height: 60vh;
}


/* ============================================================
   Überschriften und Text
   ============================================================ */

h1,
h2,
h3 {
    line-height: 1.2;
}

h1 {
    margin-top: 0;
    margin-bottom: 24px;
}

h2 {
    margin-top: 0;
    margin-bottom: 16px;
}

p {
    margin-top: 0;
    margin-bottom: 16px;
}

small {
    color: #666;
}


/* ============================================================
   Links
   ============================================================ */

a {
    color: #1558a6;
}

a:hover {
    color: #0f447f;
}


/* ============================================================
   Kopfbereich
   ============================================================ */

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #d9dde1;
    margin-bottom: 28px;
}

.site-header .container {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 64px;
}

.site-title {
    flex: 0 0 auto;
    font-size: 1.15rem;
    font-weight: 700;
    white-space: nowrap;
}


/* ============================================================
   Navigation
   ============================================================ */

.site-header nav {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    gap: 14px;
    white-space: nowrap;
}

.site-header nav a {
    flex: 0 0 auto;
    color: #333;
    text-decoration: none;
}

.site-header nav a:hover {
    color: #1558a6;
    text-decoration: underline;
}

/* ============================================================
   Titel in der Hauptnavigation
   ============================================================ */

.site-header nav .nav-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-right: 1.5rem;
}

/* ============================================================
   Angemeldeter Benutzer
   ============================================================ */

.user-area {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 12px;
    margin-left: auto;
    white-space: nowrap;
}

.user-area span {
    color: #555;
    font-size: 0.92rem;
}

.user-area form {
    margin: 0;
}


/* ============================================================
   Karten
   ============================================================ */

.card {
    background: #ffffff;
    border: 1px solid #d9dde1;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
}


/* ============================================================
   Statistik Startseite
   ============================================================ */

.stats {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(180px, 1fr)
    );
    gap: 16px;
    margin-bottom: 24px;
}

.stat {
    background: #ffffff;
    border: 1px solid #d9dde1;
    border-radius: 6px;
    padding: 18px;
}

.stat-number {
    margin-top: 6px;
    font-size: 1.8rem;
    font-weight: 700;
}


/* ============================================================
   Einheitliche Formularelemente
   ============================================================ */

input,
select,
textarea,
button {
    font: inherit;
}

input[type="text"],
input[type="password"],
input[type="search"],
input[type="number"],
select,
textarea {
    min-height: 40px;
    padding: 8px 10px;

    background: #ffffff;
    color: #222;

    border: 1px solid #b9bec4;
    border-radius: 4px;
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #aac7e6;
    outline-offset: 1px;
    border-color: #5e8ebd;
}


/* ============================================================
   Buttons

   Normale Buttons und Link-Buttons sehen gleich aus.
   ============================================================ */

button,
.button-link {
    display: inline-block;

    min-height: 40px;
    padding: 8px 14px;

    border: 1px solid #aeb5bc;
    border-radius: 4px;

    background: #ffffff;
    color: #1558a6;

    font: inherit;
    line-height: 1.4;
    text-decoration: none;

    cursor: pointer;
}

button:hover,
.button-link:hover {
    background: #eef2f5;
    color: #10477f;
    text-decoration: none;
}

button:focus,
.button-link:focus {
    outline: 2px solid #aac7e6;
    outline-offset: 1px;
}

.button-secondary {
    color: #555;
}


/* ============================================================
   Such- und Filterformular Flurstücksliste
   ============================================================ */

.search-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;

    margin-bottom: 18px;
}

.search-form input[type="text"] {
    min-width: 280px;
    flex: 1 1 280px;
}

.search-form select {
    min-width: 190px;
}

.search-form button {
    flex: 0 0 auto;
}


/* ============================================================
   Schnellfilter
   ============================================================ */

.quick-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-top: 14px;
}


/* ============================================================
   Tabellen
   ============================================================ */

table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

th,
td {
    padding: 10px 12px;

    border-bottom: 1px solid #e0e3e6;

    text-align: left;
    vertical-align: top;
}

th {
    background: #eef0f2;
    font-weight: 700;
}

tbody tr:hover {
    background: #f7f8f9;
}

th.text-right,
td.text-right {
    text-align: right;
}


/* ============================================================
   Detailansicht
   ============================================================ */

.detail-grid {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
}

.detail-grid > div {
    padding: 8px 0;
    border-bottom: 1px solid #eeeeee;
}

.detail-label {
    padding-right: 20px !important;
    font-weight: 700;
}


/* ============================================================
   Hinweise / Status
   ============================================================ */

.notice {
    padding: 14px 16px;
    margin-bottom: 20px;

    background: #ffffff;

    border: 1px solid #d9dde1;
    border-left-width: 4px;
    border-radius: 4px;
}

.notice-warning {
    background: #fff8e6;
    border-color: #d8aa3c;
}

.notice-warning strong {
    font-weight: 700;
}

.notice-success {
    background: #eef8ee;
    border-color: #74a874;
}

.status-ok,
.status-missing {
    display: inline-block;

    padding: 2px 7px;

    font-weight: 700;

    border-radius: 4px;
}

.status-ok {
    background: #eef8ee;
    border: 1px solid #a9caa9;
}

.status-missing {
    background: #fff0f0;
    border: 1px solid #ddbcbc;
}


/* ============================================================
   Benutzerverwaltung – Formular
   ============================================================ */

.admin-form {
    width: 100%;
    max-width: 720px;
    margin-top: 20px;
}


/*
   Eine Formularzeile:
   links Bezeichnung, rechts Eingabefeld.
*/

.admin-form > div:not(.form-actions) {
    display: grid;

    grid-template-columns:
        180px
        minmax(280px, 1fr);

    column-gap: 18px;
    row-gap: 5px;

    align-items: center;

    margin-bottom: 16px;
}

.admin-form label {
    margin: 0;
    font-weight: 600;
}

.admin-form input[type="text"],
.admin-form input[type="password"],
.admin-form select {
    width: 100%;
}

.admin-form select {
    max-width: 300px;
}


/*
   Hinweise wie "Mindestens 12 Zeichen"
   stehen unter dem Eingabefeld.
*/

.admin-form small {
    grid-column: 2;
    display: block;

    margin-top: 0;
}


/* ============================================================
   Benutzerverwaltung – Formularaktionen
   ============================================================ */

.admin-form .form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;

    margin-top: 24px;
    margin-left: 198px;
}


/* ============================================================
   Benutzerverwaltung – Tabellenaktionen

   WICHTIG:
   Die TD-Zelle bleibt eine normale Tabellenzelle.
   Sie wird NICHT auf display:flex gesetzt.
   ============================================================ */

.admin-actions {
    white-space: nowrap;
}

.admin-actions .button-link {
    margin-right: 6px;
}

.admin-actions .inline-form {
    display: inline-block;
    margin: 0;
}

.admin-actions button {
    margin: 0;
}


/* ============================================================
   Footer
   ============================================================ */

.site-footer {
    margin-top: 40px;
    padding: 20px 0;

    border-top: 1px solid #d9dde1;

    color: #666;
    font-size: 0.9rem;
}


/* ============================================================
   Tablet / schmalere Bildschirme
   ============================================================ */

@media (max-width: 900px) {

    .site-header .container {
        flex-wrap: wrap;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .site-title {
        width: 100%;
    }

    .user-area {
        margin-left: 0;
    }

}


/* ============================================================
   Smartphones
   ============================================================ */

@media (max-width: 700px) {

    .container {
        width: min(
            100% - 20px,
            1200px
        );
    }


	/* --------------------------------------------------------
	   Header – Smartphone
	   -------------------------------------------------------- */

	.site-header {
		margin-bottom: 20px;
	}

	.site-header .container {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0;

		padding-top: 14px;
		padding-bottom: 14px;
	}

	.site-title {
		width: 100%;
		margin: 0 0 12px 0;

		font-size: 1.05rem;
		line-height: 1.3;

		white-space: normal;
	}


	/* Navigation als kompakte Button-Leiste */

	.site-header nav {
		display: flex;
		flex-wrap: wrap;
		gap: 6px;

		margin: 0 0 12px 0;
	}

	.site-header nav a {
		display: inline-block;

		padding: 6px 9px;

		background: #f5f6f7;
		border: 1px solid #d9dde1;
		border-radius: 4px;

		color: #333;
		font-size: 0.9rem;
		text-decoration: none;
	}

	.site-header nav a:hover {
		background: #eef0f2;
		color: #1558a6;
		text-decoration: none;
	}


	/* Benutzerbereich */

	.user-area {
		display: flex;
		align-items: center;
		justify-content: space-between;
		flex-wrap: nowrap;
		gap: 10px;

		width: 100%;

		padding-top: 10px;

		border-top: 1px solid #e0e3e6;
	}

	.user-area span {
		min-width: 0;

		color: #666;
		font-size: 0.85rem;

		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.user-area form {
		flex: 0 0 auto;
		margin: 0;
	}

	.user-area button {
		min-height: 34px;
		padding: 5px 10px;

		font-size: 0.85rem;
	}

}	
	

/* ============================================================
   Statusmeldungen
   ============================================================ */

.notice {
    margin: 1.25rem 0;
    padding: 1rem 1.25rem;

    border: 1px solid;
    border-left-width: 5px;
    border-radius: 6px;

    line-height: 1.5;
}

.notice strong {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 1.2rem;
    font-weight: 700;
}

/* Erfolg */

.notice-success {
    background: #edf8ef;
    border-color: #2e9d45;
    color: #176b2a;
}


/* Hinweis / Warnung */

.notice-warning {
    background: #fff8e6;
    border-color: #e5a91a;
    color: #6b4a00;
}


/* Fehler */

.notice-error {
    background: #fdeeee;
    border-color: #c83c3c;
    color: #8b2020;
}

/* Klickbare Statistik-Kacheln */

.stat-clickable {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.stat-clickable:hover {
    text-decoration: none;
    border-color: #0b5cad;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}	

/* Tooltip */

.tooltip {
    position: relative;
    display: inline-block;
}

.tooltiptext {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 125%;
    left: 50%;
    transform: translateX(-50%);

    background-color: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 5px;
    white-space: nowrap;

    transition: opacity 0.2s;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.site-footer .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}


.export-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.export-card {
    display: block;
    width: 100%;
    box-sizing: border-box;

    padding: 1.5rem;

    border: 1px solid #d7dce1;
    border-radius: 8px;

    background: #ffffff;

    color: inherit;
    text-decoration: none;

    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        transform 0.15s ease;
}

.export-card:hover {
    background: #f8f9fa;
    border-color: #b8c0c8;
    transform: translateY(-1px);
}

.export-card-title {
    margin-bottom: 0.5rem;

    font-size: 1.25rem;
    font-weight: 700;
}

.export-card-text {
    line-height: 1.5;
}

.export-card-disabled {
    opacity: 0.55;
    pointer-events: none;
}

.nav-with-badge {
    position: relative;
}

.nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 18px;
    height: 18px;

    margin-left: 4px;
    padding: 0 5px;

    border-radius: 999px;

    background: #d93025;
    color: #fff;

    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    vertical-align: top;
}

.zeile-geaendert {
    background: #fff8e1;
}

.wert-geaendert {
    font-weight: 700;
    border-left: 4px solid #d39e00;
}

.verfuegung-card {
    margin: 1rem 0;
    padding: 1rem 1.25rem;

    border: 1px solid #d7d7d7;
    border-radius: 8px;

    background: #fafafa;
}

.verfuegung-card p:first-child {
    margin-top: 0;
}

.verfuegung-card p:last-child {
    margin-bottom: 0;
}

/* ============================================================
   Öffentliche Eigentümer-Bestätigungsseite
   ============================================================ */

.public-page {
    background: #f4f5f6;
}

.public-header {
    margin: 1.5rem 0 2rem;
}

.public-header h1 {
    margin: 0;
}


/* ============================================================
   Hauptcontainer
   ============================================================ */

.public-content {
    background: transparent;
    border: 0;
    border-radius: 0;

    padding: 0;
    margin-bottom: 2rem;
}


/* ============================================================
   Bereiche / Karten
   ============================================================ */

.public-content section {
    background: #ffffff;

    border: 1px solid #d9dde2;
    border-radius: 8px;

    padding: 1.5rem;
    margin: 0 0 1.75rem 0;

    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.public-content section:last-child {
    margin-bottom: 0;
}

.public-content section h2 {
    margin-top: 0;
    margin-bottom: 1rem;

    font-size: 1.25rem;
    font-weight: 700;
}


/* ============================================================
   Eigentümerdaten
   ============================================================ */

.public-data-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(220px, 1fr)
        );

    gap: 1rem;

    margin-top: 1.25rem;
}

.public-data-grid > div {
    padding: 1rem;

    background: #f8f9fa;

    border: 1px solid #e0e3e7;
    border-radius: 6px;
}


/* ============================================================
   Verfügungsberechtigung
   ============================================================ */

.verfuegung-card {
    margin: 1rem 0;
    padding: 1.25rem;

    border: 1px solid #d9dde2;
    border-radius: 8px;

    background: #f8f9fa;
}

.verfuegung-title {
    font-size: 1.05rem;
    font-weight: 700;

    margin-bottom: 0.75rem;
}

.verfuegung-meta {
    margin-bottom: 1rem;
}

.verfuegung-meta > div {
    margin: 0.25rem 0;
}

.verfuegung-options {
    display: flex;
    flex-direction: column;

    gap: 0.7rem;
}

.verfuegung-options label {
    display: block;

    padding: 0.75rem 1rem;

    border: 1px solid #d7dbe0;
    border-radius: 6px;

    background: #ffffff;

    cursor: pointer;
}

.verfuegung-options label:hover {
    background: #f1f3f5;
}


/* ============================================================
   Formular
   ============================================================ */

.public-form-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(220px, 1fr)
        );

    gap: 1rem;
}

.public-form-grid label,
.public-full-field {
    display: flex;
    flex-direction: column;

    gap: 0.4rem;

    font-weight: 600;
}

.public-content input[type="text"],
.public-content input[type="email"],
.public-content textarea {
    box-sizing: border-box;

    width: 100%;

    padding: 0.7rem 0.8rem;

    border: 1px solid #bfc5cc;
    border-radius: 6px;

    background: #ffffff;

    font: inherit;
    font-weight: normal;
}

.public-content textarea {
    resize: vertical;
}

.public-content input[type="text"]:focus,
.public-content input[type="email"]:focus,
.public-content textarea:focus {
    outline: none;

    border-color: #7a9fc7;

    box-shadow:
        0 0 0 2px
        rgba(66, 133, 244, 0.12);
}


/* ============================================================
   Radio-Gruppen
   ============================================================ */

.public-radio-group {
    display: flex;
    flex-direction: column;

    gap: 0.75rem;
}

.public-radio-group label {
    display: block;

    padding: 0.75rem 1rem;

    border: 1px solid #d7dbe0;
    border-radius: 6px;

    background: #f8f9fa;

    cursor: pointer;
}

.public-content input[type="radio"] {
    margin-right: 0.5rem;
}


/* ============================================================
   Hinweise / Fehler
   ============================================================ */

.public-note {
    margin-top: 1rem;

    color: #5f6368;
    font-size: 0.9rem;
}

.public-error {
    border-color: #d99a9a !important;

    background: #fff7f7 !important;
}

.public-error h2 {
    color: #a52828;
}


/* ============================================================
   Absenden
   ============================================================ */

.public-submit {
    margin: 1.5rem 0 0;
}

.public-submit button {
    padding: 0.8rem 1.4rem;

    border-radius: 6px;

    font-size: 1rem;
    font-weight: 600;

    cursor: pointer;
}


/* ============================================================
   Mobile Darstellung
   ============================================================ */

@media (max-width: 700px) {

    .public-content {
        padding: 1rem;
    }

    .public-content section {
        padding: 1rem;
    }

    .verfuegung-card {
        padding: 1rem;
    }

}

/* ============================================================
   Eigentümer-Rückmeldungen
   ============================================================ */

.rueckmeldung-card {
    background: #ffffff;
    border: 1px solid #d9dde1;
    border-radius: 8px;
    padding: 24px;
    margin: 0 0 28px 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.rueckmeldung-card:last-child {
    margin-bottom: 0;
}

.rueckmeldung-card > h2 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.rueckmeldung-card > h3 {
    margin-top: 28px;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e2e5e8;
}

.rueckmeldung-card table {
    width: 100%;
    margin: 12px 0 20px 0;
}

.rueckmeldung-card form {
    margin-top: 12px;
}

.rueckmeldung-card button {
    margin-right: 8px;
    margin-bottom: 6px;
}

/* ============================================================
   Export-Stammdaten
   ============================================================ */

.export-stammdaten-page {
    margin-bottom: 32px;
}

.export-stammdaten-page .export-intro {
    margin-bottom: 24px;
}

.export-card {
    padding: 24px;
}

.export-card h2 {
    margin-top: 0;
    margin-bottom: 8px;
}

.export-card-hint {
    margin-top: 0;
    margin-bottom: 24px;
    color: #555;
}


/* ------------------------------------------------------------
   Formularraster
   ------------------------------------------------------------ */

.export-form-grid {
    display: grid;

    grid-template-columns:
        repeat(
            12,
            minmax(0, 1fr)
        );

    gap: 20px 24px;

    align-items: end;

    margin-top: 20px;
}


/* ------------------------------------------------------------
   Ein Feld
   ------------------------------------------------------------ */

.export-field {
    grid-column: span 4;

    display: flex;
    flex-direction: column;

    min-width: 0;
}


.export-field-wide {
    grid-column: span 6;
}


.export-field-small {
    grid-column: span 4;
}


.export-field-plz {
    grid-column: span 2;
}


/* ------------------------------------------------------------
   Beschriftung
   ------------------------------------------------------------ */

.export-field label {
    display: block;

    margin: 0 0 7px 0;

    font-size: 0.95rem;
    font-weight: 700;

    color: #333;
}


/* ------------------------------------------------------------
   Eingabefelder
   ------------------------------------------------------------ */

.export-field input {
    display: block;

    width: 100%;

    min-height: 42px;

    padding: 9px 11px;

    border: 1px solid #bfc5ca;
    border-radius: 5px;

    background: #fff;

    font: inherit;

    color: #222;
}


.export-field input:focus {
    outline: 2px solid rgba(0, 86, 179, 0.18);
    outline-offset: 1px;

    border-color: #5b8fc4;
}


/* ------------------------------------------------------------
   Aktionen
   ------------------------------------------------------------ */

.export-form-actions {
    margin-top: 24px;
}


.export-last-change {
    margin-top: 12px;

    font-size: 0.85rem;

    color: #666;
}


/* ------------------------------------------------------------
   Tablet / kleinere Fenster
   ------------------------------------------------------------ */

@media (max-width: 900px) {

    .export-field,
    .export-field-small,
    .export-field-wide {
        grid-column: span 6;
    }

    .export-field-plz {
        grid-column: span 3;
    }
}


/* ------------------------------------------------------------
   Mobil
   ------------------------------------------------------------ */

@media (max-width: 600px) {

    .export-form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .export-field,
    .export-field-small,
    .export-field-wide,
    .export-field-plz {
        grid-column: 1;
    }

}

/* ============================================================
   Hauptnavigation - Zusatzmenü
   ============================================================ */

.main-nav {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}


/* ------------------------------------------------------------
   Container
   ------------------------------------------------------------ */

.nav-more {
    position: relative;
    display: inline-flex;
    align-items: center;
}


/* ------------------------------------------------------------
   3-Striche-Schaltfläche
   ------------------------------------------------------------ */

.nav-more-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 38px;
    height: 36px;

    padding: 0 9px;

    border: 1px solid transparent;
    border-radius: 5px;

    background: transparent;

    color: inherit;

    font-size: 1.35rem;
    line-height: 1;

    cursor: pointer;
}


.nav-more-button:hover,
.nav-more-button:focus {
    background: rgba(255, 255, 255, 0.12);
}


/* ------------------------------------------------------------
   Ausklappmenü
   ------------------------------------------------------------ */

.nav-more-menu {
    display: none;

    position: absolute;

    top: calc(100% + 8px);
    right: 0;

    min-width: 220px;

    padding: 6px 0;

    background: #ffffff;

    border: 1px solid #d9dde1;
    border-radius: 7px;

    box-shadow:
        0 6px 18px
        rgba(0, 0, 0, 0.16);

    z-index: 2000;
}


/* ------------------------------------------------------------
   Menü geöffnet
   ------------------------------------------------------------ */

.nav-more.is-open .nav-more-menu {
    display: block;
}


/* ------------------------------------------------------------
   Links im Ausklappmenü
   ------------------------------------------------------------ */

.nav-more-menu a {
    display: block;

    padding: 10px 16px;

    color: #222;

    text-decoration: none;

    white-space: nowrap;
}


.nav-more-menu a:hover,
.nav-more-menu a:focus {
    background: #f1f3f5;
}


/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */

@media (max-width: 800px) {

    .main-nav {
        gap: 8px 10px;
    }

    .nav-more-menu {
        right: auto;
        left: 0;
    }

}


/* ============================================================
   Schwebender Button: zum Seitenanfang
   ============================================================ */

html {
    scroll-behavior: smooth;
}

.scroll-top {
    position: fixed;
    right: 20px;
    bottom: 20px;

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #cccccc;

    color: #222222;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    line-height: 1;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);

    z-index: 1000;
}

.scroll-top:hover,
.scroll-top:focus {
    background: #f3f3f3;
    text-decoration: none;
}

@media (max-width: 640px) {
    .scroll-top {
        right: 14px;
        bottom: 14px;
        width: 42px;
        height: 42px;
    }
}


