.nfc-entry h4 {
    position: relative;
    z-index: 2;
    margin-bottom: 0.3em !important;
    padding: 0 !important;
    line-height: 1.1 !important;
    display: block !important;
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    padding-bottom: 0 !important;
}

.nfc-entry h4+form {
    margin-top: 0 !important;
}

.nfc-entry h4+form>.row.gtr-uniform:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.nfc-entry h4+form>.row.gtr-uniform:first-child>div>.form-field {
    margin-top: 0;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.3em;
    position: relative;
    z-index: 1;
}

.form-field label {
    display: inline-block;
    font-weight: 600;
    margin-bottom: 0.2em;
    z-index: 1;
    pointer-events: none;
}

.form-field input {
    position: relative;
    z-index: 2;
}

.readonly-icon {
    color: red;
    margin-left: 0.4em;
}

input[readonly] {
    background: #f5f5f5;
    color: #777;
    border-color: #ccc;
}

.nfc-series {
    margin-bottom: 2.5em;
}

ul.actions {
    margin-top: 1.5em;
}

.toggle-series {
    margin-bottom: 1rem;
}

.series-banner img {
    max-height: 150px;
    max-width: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
}

.subnav {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin: 1.5rem 0 1rem;
    padding: 0;
    list-style: none;
}

.subnav a {
    display: block;
    padding: .5rem 1.5rem;
    border: 1px solid #ff5476;
    border-radius: 8px;
    color: white !important;
    text-decoration: none;
    font-weight: 600;
    transition: .25s;
}

.subnav a:hover {
    background: #ff547620;
}

.subnav .active a {
    background: #ff5476;
    color: #fff;
}

#main.wrapper {
    padding-top: 1em !important;
}

header.major {
    margin-bottom: 1.5em !important;
}

header.major p {
    margin-bottom: 0.5em !important;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.alert:empty {
    display: none;
}

.form-field input[type="checkbox"] {
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    -moz-appearance: checkbox !important;
    position: relative !important;
    display: inline-block !important;
    margin-bottom: -2rem;
    vertical-align: middle;
    cursor: pointer;
    width: 32px;
    height: 32px;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(27, 31, 41, 0.75);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 1em;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    transition: opacity 0.25s ease-in-out;
}

.modal-content {
    background: #2e3141;
    padding: 2.5em 3em;
    border-radius: 8px;
    text-align: center;
    max-width: 700px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal-content h3 {
    color: #ffffff;
    font-weight: 600;
    font-size: 2rem;
    margin-bottom: 1em;
}

.modal-content p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    font-size: 1.25rem;
}

.modal-content p strong {
    color: #ff5476;
    font-weight: 700;
}

.modal-actions {
    margin-top: 2.5em;
    display: flex;
    gap: 1.5em;
    justify-content: center;
    flex-wrap: wrap;
}

.modal-actions .button {
    padding: 0 2em;
    height: 3.25em;
    line-height: 3.25em;
    font-size: 1rem;
    font-weight: 600;
}

#nav ul li a.active-lang {
    color: #e44c65 !important;
    border-bottom: none;
    cursor: default;
}

@media screen and (max-width: 736px) {
    #navPanel a[href="#"] {
        display: block !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        width: 100% !important;
        box-sizing: border-box !important;
        background: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        height: 3em !important;
        line-height: 3em !important;
        color: rgba(255, 255, 255, 0.75) !important;
    }

}