.nfp-floating-button {
    position: fixed;
    left: 22px;
    bottom: 22px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #1a237e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 24px;
    box-shadow: 0 8px 22px rgba(0,0,0,.22);
    z-index: 9999;
    transition: transform .2s ease, background .2s ease;
}

.nfp-floating-button:hover {
    transform: scale(1.08);
    background: #283593;
    color: #fff;
}

.nfp-page {
    max-width: 1180px;
    margin: 40px auto;
    padding: 0 18px;
}

.nfp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    padding: 24px;
    border-radius: 18px;
    background: #f5f7fb;
    border: 1px solid #e4e8f0;
}

.nfp-header h1 {
    margin: 0 0 6px;
}

.nfp-header p {
    margin: 0;
}

.nfp-back-link,
.nfp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: #1a237e;
    color: #fff;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    font-weight: 700;
    line-height: 1.2;
}

.nfp-back-link:hover,
.nfp-button:hover {
    background: #283593;
    color: #fff;
    text-decoration: none;
}

.nfp-button-light {
    background: #eef2ff;
    color: #1a237e;
}

.nfp-button-light:hover {
    background: #dfe5ff;
    color: #1a237e;
}

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

.nfp-tile {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 135px;
    padding: 22px;
    border-radius: 18px;
    background: #fff;
    color: #1f2937;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0,0,0,.06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.nfp-tile:hover,
.nfp-tile.is-active {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0,0,0,.1);
    border-color: #1a237e;
}

.nfp-tile span {
    font-size: 32px;
}

.nfp-tile strong {
    font-size: 19px;
}

.nfp-tile small {
    color: #667085;
}

.nfp-card {
    padding: 24px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 14px rgba(0,0,0,.06);
}

.nfp-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.nfp-section-head h2 {
    margin: 0 0 6px;
}

.nfp-section-head p {
    margin: 0;
    color: #667085;
}

.nfp-notice {
    margin: 0 0 18px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.nfp-notice-error {
    border-color: #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.nfp-table-wrap {
    overflow-x: auto;
}

.nfp-table {
    width: 100%;
    border-collapse: collapse;
}

.nfp-table th,
.nfp-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: middle;
}

.nfp-table th {
    background: #f8fafc;
    color: #344054;
}

.nfp-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.nfp-actions a {
    color: #1a237e;
    font-weight: 700;
    text-decoration: none;
}

.nfp-form {
    display: grid;
    gap: 16px;
}

.nfp-form label {
    display: grid;
    gap: 7px;
    font-weight: 700;
    color: #344054;
}

.nfp-form input[type="text"],
.nfp-form input[type="file"],
.nfp-form textarea,
.nfp-form select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d0d5dd;
    border-radius: 12px;
    font: inherit;
    background: #fff;
}

.nfp-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.nfp-current-thumb img {
    max-width: 220px;
    height: auto;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
}

@media (max-width: 700px) {
    .nfp-header,
    .nfp-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .nfp-form-grid {
        grid-template-columns: 1fr;
    }

    .nfp-floating-button {
        left: 14px;
        bottom: 14px;
    }
}

/* v0.3.0 - formularz posta */
.nfp-options-box {
    display: grid;
    gap: 10px;
    margin: 18px 0;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
}

.nfp-check {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    margin: 0 !important;
    font-weight: 500;
    cursor: pointer;
}

.nfp-check input[type="checkbox"] {
    width: auto !important;
    min-width: 18px;
    height: 18px;
    margin-top: 2px;
}

.nfp-check span {
    line-height: 1.35;
}

.nfp-check small {
    display: block;
    margin-top: 3px;
    color: #64748b;
    font-weight: 400;
}

.nfp-editor-wrap {
    margin-top: 8px;
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.nfp-editor-wrap .wp-editor-container {
    border: 0;
}

.nfp-editor-wrap iframe,
.nfp-editor-wrap textarea.wp-editor-area {
    min-height: 460px !important;
}

.nfp-help {
    margin: 8px 0 18px;
    color: #64748b;
    font-size: 14px;
}

.nfp-help code {
    padding: 2px 6px;
    border-radius: 6px;
    background: #e2e8f0;
}

.news-panel-floating-button {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 99999;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .news-panel-floating-button {
        display: flex !important;
        left: 12px;
        bottom: 72px;
        width: 48px;
        height: 48px;
        z-index: 999999;
    }
}


