/* Style z custom.css używane tylko w szablonach z grupy "account" (ładowane warunkowo). */


.zwp-dashboard__hero-content,
.zwp-dashboard__hero-card {
    position: relative;
    z-index: 2;
}

.zwp-dashboard__eyebrow,
.zwp-dashboard__section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.zwp-dashboard__eyebrow {
    margin-bottom: 18px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.23);
    border-radius: 999px;
    color: #eefbf7;
    background: rgba(255, 255, 255, 0.1);
}

.zwp-dashboard__hero-content > p {
    max-width: 690px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 17px;
    line-height: 1.7;
}

.zwp-dashboard__button:hover {
    transform: translateY(-2px);
}

.zwp-dashboard__button--primary {
    color: #245f52;
    background: #fff;
    box-shadow: 0 12px 28px rgba(17, 49, 42, 0.18);
}

.zwp-dashboard__button--primary:hover {
    color: #1f564a;
    background: #f7fffc;
}

.zwp-dashboard__button--secondary {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.09);
}

.zwp-dashboard__button--secondary:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
}

.zwp-dashboard__avatar img {
    display: block;
    width: 64px;
    height: 64px;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.75);
    border-radius: 50%;
}

.zwp-dashboard__hero-card span,
.zwp-dashboard__hero-card small {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
}

.zwp-dashboard__hero-card strong {
    display: block;
    margin: 3px 0;
    color: #fff;
    font-size: 17px;
}

.zwp-dashboard__hero-card > a {
    grid-column: 1 / -1;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 4px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.zwp-dashboard__stat-card {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
    padding: 20px;
    border: 1px solid #e2ebe8;
    border-radius: 18px;
    color: inherit;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 34px rgba(31, 70, 60, 0.06);
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.zwp-dashboard__stat-card:hover {
    color: inherit;
    transform: translateY(-3px);
    border-color: #c7ddd6;
    box-shadow: 0 18px 40px rgba(31, 70, 60, 0.1);
}

.zwp-dashboard__stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    border-radius: 14px;
    font-size: 18px;
}

.zwp-dashboard__stat-icon.is-all {
    color: #2d6658;
    background: #e9f5f1;
}

.zwp-dashboard__stat-icon.is-published {
    color: #19714f;
    background: #e6f6ee;
}

.zwp-dashboard__stat-icon.is-pending {
    color: #a46108;
    background: #fff4d8;
}

.zwp-dashboard__stat-icon.is-draft {
    color: #5f6570;
    background: #eef0f3;
}

.zwp-dashboard__stat-card strong,
.zwp-dashboard__stat-card span {
    display: block;
}

.zwp-dashboard__stat-card strong {
    color: #20342e;
    font-size: 28px;
    line-height: 1;
}

.zwp-dashboard__stat-card div > span {
    margin-top: 5px;
    color: #6b7974;
    font-size: 13px;
}

.zwp-dashboard__section-kicker {
    margin-bottom: 7px;
    color: #3d7869;
}

.zwp-dashboard__panel h2 {
    margin: 0;
    color: #21352f;
    font-size: 22px;
    line-height: 1.25;
}

.zwp-dashboard__text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2c6e5e;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.zwp-dashboard__object-list {
    display: grid;
    gap: 12px;
}

.zwp-dashboard__object-content {
    min-width: 0;
}

.zwp-dashboard__status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

.zwp-dashboard__status.is-published {
    color: #19714f;
    background: #e8f7ef;
}

.zwp-dashboard__status.is-pending {
    color: #9a5b08;
    background: #fff3d6;
}

.zwp-dashboard__status.is-draft,
.zwp-dashboard__status.is-private {
    color: #646b75;
    background: #eef0f3;
}

.zwp-dashboard__object-content h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.35;
}

.zwp-dashboard__object-content h3 a {
    color: #243832;
    text-decoration: none;
}

.zwp-dashboard__location {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 5px 0 9px;
    color: #6f7e79;
    font-size: 12px;
}

.zwp-dashboard__progress-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 5px;
    color: #7a8883;
    font-size: 11px;
}

.zwp-dashboard__progress-row strong {
    color: #3e6258;
}

.zwp-dashboard__progress {
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: #e9efed;
}

.zwp-dashboard__progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #32715f, #65a18f);
}

.zwp-dashboard__icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #dce6e2;
    border-radius: 10px;
    color: #346f60;
    background: #f8fbfa;
    text-decoration: none;
}

.zwp-dashboard__icon-button:hover {
    color: #fff;
    border-color: #347362;
    background: #347362;
}

.zwp-dashboard__sidebar {
    display: grid;
    gap: 22px;
}

.zwp-dashboard__quick-links {
    display: grid;
    gap: 9px;
    margin-top: 18px;
}

.zwp-dashboard__quick-links > a {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 13px;
    border: 1px solid #e5ece9;
    border-radius: 14px;
    color: inherit;
    background: #fbfdfc;
    text-decoration: none;
}

.zwp-dashboard__quick-links > a:hover {
    color: inherit;
    border-color: #c8ddd6;
    background: #f4faf7;
}

.zwp-dashboard__quick-links > a > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    color: #2f705f;
    background: #e8f4f0;
}

.zwp-dashboard__quick-links strong,
.zwp-dashboard__quick-links small {
    display: block;
}

.zwp-dashboard__quick-links strong {
    color: #263b35;
    font-size: 14px;
}

.zwp-dashboard__quick-links small {
    margin-top: 2px;
    color: #788681;
    font-size: 11px;
}

.zwp-dashboard__quick-links > a > i {
    color: #9aa6a2;
    font-size: 12px;
}

.zwp-dashboard__moderation-panel {
    color: #514a33;
    border-color: #ecdfb9;
    background: linear-gradient(180deg, #fffdf6 0%, #fff9e9 100%);
}

.zwp-dashboard__moderation-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    border-radius: 14px;
    color: #986211;
    background: #ffedbd;
}

.zwp-dashboard__moderation-panel p {
    margin: 12px 0 0;
    color: #6d654e;
    font-size: 13px;
    line-height: 1.65;
}

.zwp-dashboard__empty-state {
    padding: 36px 24px;
    text-align: center;
}

.zwp-dashboard__empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin-bottom: 15px;
    border-radius: 20px;
    color: #4c7e71;
    background: #e9f4f0;
    font-size: 28px;
}

.zwp-dashboard__empty-state h3 {
    margin: 0 0 8px;
    color: #263b35;
}

.zwp-dashboard__empty-state p {
    max-width: 540px;
    margin: 0 auto 20px;
    color: #75827e;
    font-size: 14px;
    line-height: 1.65;
}

.zwp-object-editor__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.zwp-object-editor__back:hover {
    color: #fff;
}

.zwp-object-editor__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.23);
    border-radius: 999px;
    color: #eefbf7;
    background: rgba(255, 255, 255, 0.1);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.zwp-object-editor__hero-content > p {
    max-width: 710px;
    margin: 0;
    color: rgba(255, 255, 255, 0.87);
    font-size: 16px;
    line-height: 1.7;
}

.zwp-object-editor__hero-content > p strong {
    color: #fff;
}

.zwp-object-editor__hero-meta > span,
.zwp-object-editor__hero-meta small {
    display: block;
    color: rgba(255, 255, 255, 0.74);
    font-size: 12px;
}

.zwp-object-editor__status {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 7px 0 8px;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
}

.zwp-object-editor__status.is-publish {
    color: #dff9ee;
    background: rgba(16, 185, 129, 0.22);
}

.zwp-object-editor__status.is-pending {
    color: #fff4cf;
    background: rgba(245, 158, 11, 0.24);
}

.zwp-object-editor__status.is-draft,
.zwp-object-editor__status.is-private {
    color: #edf1f4;
    background: rgba(255, 255, 255, 0.14);
}

.zwp-object-editor__sidebar-card h2 {
    margin: 0 0 16px;
    color: #21352f;
    font-size: 20px;
    line-height: 1.25;
}

.zwp-object-editor__section-nav a:hover {
    color: #266655;
    background: #edf7f3;
    transform: translateX(2px);
}

.zwp-object-editor__section-nav i {
    color: #4b8676;
    text-align: center;
}

.zwp-object-editor__moderation-note > i {
    margin-top: 2px;
    color: #b77a0b;
    font-size: 19px;
}

.zwp-object-editor__moderation-note strong {
    margin-bottom: 5px;
    color: #76500a;
    font-size: 13px;
}

.zwp-object-editor__moderation-note p {
    margin: 0;
    color: #8a6a27;
    font-size: 12px;
    line-height: 1.55;
}

.zwp-object-editor__main {
    min-width: 0;
}

.zwp-object-editor__form {
    display: grid;
    gap: 20px;
}

.zwp-object-editor__save-button:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(36, 95, 82, 0.28);
}
/* =========================================================
   DODAWANIE OBIEKTU – rozszerzenie wyglądu edytora obiektu
   Wymaga stylów object-editor-dashboard.css dodanych wcześniej.
   Dopisz na końcu custom.css.
   ========================================================= */

.zwp-object-add__hero {
    background:
        radial-gradient(circle at 88% 14%, rgba(255, 255, 255, 0.25), transparent 30%),
        linear-gradient(135deg, #245f52 0%, #357b69 58%, #55947f 100%);
}

.zwp-object-add__hero-media span {
    font-size: 32px;
}

.zwp-object-add__steps > span {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.zwp-object-add__steps ol {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.zwp-object-add__steps li {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    line-height: 1.35;
}

.zwp-object-add__steps li b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, 0.13);
    font-size: 12px;
}

.zwp-object-add .alert-success .alert-content {
    min-width: 0;
}

.zwp-object-add .alert-actions .btn-secondary {
    color: #245f52;
    border: 1px solid #cbded7;
    background: #fff;
}

.zwp-object-add .form-actions .form-note-warning {
    border-left-color: #2f7566;
    border-color: #c9dfd7;
    color: #3b675b;
    background: #eff8f5;
}

.zwp-object-add .zwp-object-editor__save-button {
    min-width: 245px;
}
/* =========================================================
   USTAWIENIA KONTA – styl spójny z Panelem Partnera
   Wymaga wcześniejszego partner-dashboard.css w custom.css.
   ========================================================= */

.zwp-account-settings__hero {
    margin-bottom: 24px;
}

.zwp-account-settings__identity-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 16px;
}

.zwp-account-settings__hero-avatar {
    width: 104px;
    height: 104px;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.72);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 14px 34px rgba(17, 49, 42, 0.2);
}

.zwp-account-settings__avatar-image,
.zwp-account-settings__hero-avatar img,
.zwp-account-settings__avatar-preview img {
    display: block;
    width: 100%;
    height: 100%;    
}

.zwp-account-settings__identity-copy {
    min-width: 0;
}

.zwp-account-settings__identity-copy > span,
.zwp-account-settings__member-since span {
    display: block;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.zwp-account-settings__identity-copy strong {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 18px;
}

.zwp-account-settings__identity-copy small {
    display: block;
    margin-top: 5px;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.76);
    font-size: 12px;
    text-overflow: ellipsis;
}

.zwp-account-settings__member-since {
    grid-column: 1 / -1;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.zwp-account-settings__member-since strong {
    color: #fff;
    font-size: 14px;
}

.zwp-account-settings__layout {
    display: grid;
    grid-template-columns: 265px minmax(0, 1fr);
    align-items: start;
    gap: 24px;
}

.zwp-account-settings__sidebar {
    position: sticky;
    top: 102px;
    display: grid;
    gap: 18px;
}

.zwp-account-settings__sidebar-card,
.zwp-account-settings__panel {
    border: 1px solid #e1ebe7;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 42px rgba(31, 70, 60, 0.065);
}

.zwp-account-settings__sidebar-card {
    padding: 20px;
    border-radius: 20px;
}

.zwp-account-settings__sidebar-card h2 {
    margin: 7px 0 15px;
    color: #263b35;
    font-size: 19px;
}

.zwp-account-settings__section-nav {
    display: grid;
    gap: 7px;
}

.zwp-account-settings__section-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 11px;
    color: #42564f;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.zwp-account-settings__section-nav a:hover {
    color: #286454;
    background: #edf7f3;
}

.zwp-account-settings__section-nav a i {
    width: 18px;
    color: #568276;
    text-align: center;
}

.zwp-account-settings__section-nav a.is-danger,
.zwp-account-settings__section-nav a.is-danger i {
    color: #a34a4a;
}

.zwp-account-settings__section-nav a.is-danger:hover {
    background: #fff1f1;
}

.zwp-account-settings__quick-card {
    padding: 18px;
}

.zwp-account-settings__quick-links {
    display: grid;
    gap: 9px;
    margin-top: 14px;
}

.zwp-account-settings__quick-links > a {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid #e5ece9;
    border-radius: 13px;
    color: inherit;
    background: #fbfdfc;
    text-decoration: none;
}

.zwp-account-settings__quick-links > a:hover {
    border-color: #c8ddd6;
    background: #f4faf7;
}

.zwp-account-settings__quick-links > a > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    color: #2f705f;
    background: #e8f4f0;
}

.zwp-account-settings__quick-links strong,
.zwp-account-settings__quick-links small {
    display: block;
}

.zwp-account-settings__quick-links strong {
    color: #263b35;
    font-size: 13px;
}

.zwp-account-settings__quick-links small {
    margin-top: 2px;
    color: #788681;
    font-size: 10px;
}

.zwp-account-settings__quick-links > a > i {
    color: #9aa6a2;
    font-size: 11px;
}

.zwp-account-settings__content {
    display: grid;
    gap: 20px;
    min-width: 0;
}

.zwp-account-settings__panel {
    scroll-margin-top: 112px;
    padding: clamp(22px, 3.5vw, 34px);
    border-radius: 23px;
}

.zwp-account-settings__panel-heading {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e7eeeb;
}

.zwp-account-settings__panel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    color: #2f705f;
    background: #e8f4f0;
    font-size: 19px;
}

.zwp-account-settings__panel-heading h2 {
    margin: 5px 0 7px;
    color: #223731;
    font-size: clamp(22px, 3vw, 28px);
}

.zwp-account-settings__panel-heading p {
    max-width: 700px;
    margin: 0;
    color: #6c7c77;
    font-size: 13px;
    line-height: 1.65;
}

.zwp-account-settings__form {
    display: grid;
    gap: 18px;
}

.zwp-account-settings__form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.zwp-account-settings__field {
    min-width: 0;
}

.zwp-account-settings__field > label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    color: #2b4039;
    font-size: 14px;
    font-weight: 800;
}

.zwp-account-settings__field > label > span {
    color: #8b9994;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.zwp-account-settings input[type="text"],
.zwp-account-settings input[type="email"],
.zwp-account-settings input[type="tel"],
.zwp-account-settings input[type="password"],
.zwp-account-settings textarea {
    width: 100%;
    min-height: 49px;
    padding: 12px 14px;
    border: 1px solid #d8e3df;
    border-radius: 11px;
    color: #263832;
    background: #fff;
    font: inherit;
    box-shadow: 0 1px 0 rgba(31, 70, 60, 0.02);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.zwp-account-settings textarea {
    min-height: 132px;
    resize: vertical;
}

.zwp-account-settings input:focus,
.zwp-account-settings textarea:focus {
    outline: none;
    border-color: #4b8d7b;
    box-shadow: 0 0 0 4px rgba(75, 141, 123, 0.13);
}

.zwp-account-settings__field small {
    display: block;
    margin-top: 7px;
    color: #75837e;
    font-size: 12px;
    line-height: 1.5;
}

.zwp-account-settings__form-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 3px;
}

.zwp-account-settings__submit,
.zwp-account-settings__danger-button,
.zwp-account-settings__cancel-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 12px;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.zwp-account-settings__submit {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, #2f7566 0%, #245f52 100%);
    box-shadow: 0 12px 28px rgba(36, 95, 82, 0.2);
}

.zwp-account-settings__submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(36, 95, 82, 0.26);
}

.zwp-account-settings__avatar-layout {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    align-items: center;
    gap: 28px;
}

.zwp-account-settings__avatar-preview {
    width: 150px;
    height: 150px;
    overflow: hidden;
    border: 6px solid #fff;
    border-radius: 30px;
    background: #eaf3f0;
    box-shadow: 0 14px 34px rgba(31, 70, 60, 0.13);
}

.zwp-account-settings__avatar-form {
    display: grid;
    gap: 16px;
}

.zwp-account-settings__file-control {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center !important;
    justify-content: initial !important;
    gap: 13px !important;
    min-height: 88px;
    padding: 16px;
    border: 1px dashed #b7d1c9;
    border-radius: 15px;
    background: #f6fbf9;
    cursor: pointer;
}

.zwp-account-settings__file-control:hover {
    border-color: #6eaa99;
    background: #eef8f4;
}

.zwp-account-settings__file-control > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    color: #2f705f;
    background: #e3f2ed;
    font-size: 20px;
}

.zwp-account-settings__file-control strong,
.zwp-account-settings__file-control small {
    display: block;
}

.zwp-account-settings__file-control strong {
    color: #294039;
    font-size: 14px;
}

.zwp-account-settings__file-control small {
    margin-top: 4px;
    color: #778681;
    font-size: 11px;
}

.zwp-account-settings input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.zwp-account-settings__file-name {
    display: block;
    margin-top: 8px;
    color: #4d6960;
    font-size: 12px;
    font-weight: 700;
}

.zwp-account-settings__danger-panel {
    border-color: #efd2d2;
    background: linear-gradient(180deg, #fff 0%, #fffafa 100%);
}

.zwp-account-settings__danger-panel .zwp-account-settings__panel-icon {
    color: #a74848;
    background: #ffe8e8;
}

.zwp-account-settings__danger-panel .zwp-dashboard__section-kicker {
    color: #a74848;
}

.zwp-account-settings__danger-button {
    border: 1px solid #d96767;
    color: #fff;
    background: #bd4f4f;
}

.zwp-account-settings__danger-button:hover {
    background: #a93f3f;
}

.zwp-account-settings__delete-form {
    display: grid;
    gap: 17px;
    margin-top: 18px;
    padding: 20px;
    border: 1px solid #efcece;
    border-radius: 16px;
    background: #fff7f7;
}

.zwp-account-settings__delete-form[hidden] {
    display: none;
}

.zwp-account-settings__delete-warning,
.zwp-account-settings__admin-protection {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 13px;
}

.zwp-account-settings__delete-warning {
    color: #874040;
    border: 1px solid #efcaca;
    background: #fff0f0;
}

.zwp-account-settings__delete-warning p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
}

.zwp-account-settings__confirmation {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #643d3d;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}

.zwp-account-settings__confirmation input {
    margin-top: 3px;
}

.zwp-account-settings__delete-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.zwp-account-settings__cancel-button {
    border: 1px solid #d9e2df;
    color: #42574f;
    background: #fff;
}

.zwp-account-settings__cancel-button:hover {
    background: #f3f7f5;
}

.zwp-account-settings__admin-protection {
    color: #52625d;
    border: 1px solid #dbe6e2;
    background: #f4f8f7;
}

.zwp-account-settings__admin-protection > i {
    margin-top: 2px;
    color: #417767;
    font-size: 21px;
}

.zwp-account-settings__admin-protection strong,
.zwp-account-settings__admin-protection span {
    display: block;
}

.zwp-account-settings__admin-protection strong {
    color: #304a42;
}

.zwp-account-settings__admin-protection span {
    margin-top: 3px;
    font-size: 12px;
}

@media (max-width: 980px) {
    .zwp-account-settings__layout {
        grid-template-columns: 1fr;
    }

    .zwp-account-settings__sidebar {
        position: static;
    }

    .zwp-account-settings__section-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .zwp-account-settings__quick-card {
        display: none;
    }
}

@media (max-width: 700px) {
    .zwp-account-settings__identity-card {
        grid-template-columns: 82px minmax(0, 1fr);
    }

    .zwp-account-settings__hero-avatar {
        width: 82px;
        height: 82px;
        border-radius: 21px;
    }

    .zwp-account-settings__section-nav,
    .zwp-account-settings__form-row {
        grid-template-columns: 1fr;
    }

    .zwp-account-settings__panel {
        padding: 20px;
        border-radius: 19px;
    }

    .zwp-account-settings__panel-heading {
        grid-template-columns: 1fr;
    }

    .zwp-account-settings__avatar-layout {
        grid-template-columns: 1fr;
    }

    .zwp-account-settings__avatar-preview {
        width: 126px;
        height: 126px;
        border-radius: 25px;
    }

    .zwp-account-settings__form-actions,
    .zwp-account-settings__delete-actions {
        justify-content: stretch;
    }

    .zwp-account-settings__submit,
    .zwp-account-settings__danger-button,
    .zwp-account-settings__cancel-button {
        width: 100%;
    }
}
/* =========================================================
   MOJE OBIEKTY / ZGŁOSZENIA TURYSTY
   ========================================================= */

.zwp-user-objects {
    padding: 96px 0 64px;
    background: #f5f8f6;
}

.zwp-user-objects__hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.38fr);
    align-items: center;
    gap: 34px;
    margin-bottom: 24px;
    padding: 42px;
    overflow: hidden;
    border-radius: 28px;
    color: #fff;
    background:
        radial-gradient(circle at 90% 15%, rgba(255, 255, 255, 0.16), transparent 30%),
        linear-gradient(135deg, #245f51 0%, #183f37 100%);
    box-shadow: 0 22px 50px rgba(27, 70, 60, 0.16);
}

.zwp-user-objects__hero::after {
    content: "";
    position: absolute;
    right: -75px;
    bottom: -110px;
    width: 270px;
    height: 270px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
}

.zwp-user-objects__hero-content,
.zwp-user-objects__hero-card {
    position: relative;
    z-index: 2;
}

.zwp-user-objects__hero h1 {
    margin: 14px 0 14px;
    color: #fff;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.06;
}

.zwp-user-objects__hero p {
    max-width: 700px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.7;
}

.zwp-user-objects__hero .zwp-dashboard__eyebrow {
    color: #245f51;
    background: #fff;
}

.zwp-user-objects__hero-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.11);
    backdrop-filter: blur(10px);
}

.zwp-user-objects__hero-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 17px;
    color: #245f51;
    background: #fff;
    font-size: 22px;
}

.zwp-user-objects__hero-card small,
.zwp-user-objects__hero-card strong,
.zwp-user-objects__hero-card span {
    display: block;
}

.zwp-user-objects__hero-card small {
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
}

.zwp-user-objects__hero-card strong {
    margin: 2px 0 5px;
    color: #fff;
    font-size: 34px;
    line-height: 1;
}

.zwp-user-objects__hero-card span {
    color: rgba(255, 255, 255, 0.74);
    font-size: 12px;
    line-height: 1.45;
}

.zwp-user-objects__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 22px 0;
}

.zwp-user-objects__stat > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 13px;
    color: #2e705f;
    background: #eaf5f1;
}

.zwp-user-objects__stat strong,
.zwp-user-objects__stat small {
    display: block;
}

.zwp-user-objects__stat strong {
    color: #233c35;
    font-size: 23px;
    line-height: 1.1;
}

.zwp-user-objects__stat small {
    margin-top: 3px;
    color: #71807b;
    font-size: 12px;
}

.zwp-user-objects__community-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    margin-bottom: 22px;
    padding: 24px;
    border: 1px solid #dfe8e4;
    border-radius: 22px;
    background: #fff;
}

.zwp-user-objects__community-card.is-disabled {
    border-style: dashed;
    background: #fafcfb;
}

.zwp-user-objects__community-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 17px;
    color: #a35f18;
    background: #fff0db;
    font-size: 21px;
}

.zwp-user-objects__community-copy h2 {
    margin: 4px 0 6px;
    color: #253d36;
    font-size: 22px;
}

.zwp-user-objects__community-copy p {
    max-width: 720px;
    margin: 0;
    color: #6d7c77;
    font-size: 14px;
    line-height: 1.62;
}

.zwp-user-objects__community-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.zwp-user-objects__disabled-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 14px;
    border-radius: 999px;
    color: #6d746f;
    background: #eef1ef;
    font-size: 13px;
    font-weight: 700;
}

.zwp-user-objects__panel-heading {
    align-items: flex-end;
}

.zwp-user-objects__panel-heading p {
    max-width: 760px;
}

.zwp-user-objects__list-controls {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.zwp-user-objects__list-controls label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6b7a75;
    font-size: 12px;
    font-weight: 700;
}

.zwp-user-objects__list-controls select {
    min-height: 40px;
    padding: 0 34px 0 12px;
    border: 1px solid #d6e0dc;
    border-radius: 10px;
    background: #fff;
}

.zwp-user-objects__list {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.zwp-user-objects__item {
    display: grid;
    grid-template-columns: auto 112px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 14px;
    border: 1px solid #e0e7e4;
    border-radius: 18px;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.zwp-user-objects__item:hover {
    border-color: #bcd4cc;
    box-shadow: 0 10px 26px rgba(38, 72, 61, 0.07);
}

.zwp-user-objects__thumb {
    width: 112px;
    height: 82px;
    overflow: hidden;
    border-radius: 13px;
    background: #edf2f0;
}

.zwp-user-objects__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zwp-user-objects__thumb > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #92a19c;
    font-size: 25px;
}

.zwp-user-objects__item-content {
    min-width: 0;
}

.zwp-user-objects__item-topline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.zwp-user-objects__status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

.zwp-user-objects__status.is-published {
    color: #24714f;
    background: #e6f5ed;
}

.zwp-user-objects__status.is-pending {
    color: #93631b;
    background: #fff1cb;
}

.zwp-user-objects__status.is-draft,
.zwp-user-objects__status.is-private {
    color: #66736e;
    background: #edf0ef;
}

.zwp-user-objects__modified {
    color: #8a9792;
    font-size: 11px;
}

.zwp-user-objects__item h3 {
    margin: 8px 0 5px;
    overflow: hidden;
    color: #263d36;
    font-size: 17px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.zwp-user-objects__item p {
    margin: 0;
    color: #73817c;
    font-size: 12px;
}

.zwp-user-objects__item p i {
    margin-right: 5px;
    color: #4b806f;
}

.zwp-user-objects__item-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.zwp-user-objects__item-actions a,
.zwp-user-objects__item-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 39px;
    padding: 0 12px;
    border: 1px solid #d9e3df;
    border-radius: 10px;
    color: #47625a;
    background: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.zwp-user-objects__item-actions a:hover,
.zwp-user-objects__item-actions button:hover {
    color: #245f51;
    border-color: #a9c9bf;
    background: #f4faf7;
}

.zwp-user-objects__item-actions .is-primary {
    color: #fff;
    border-color: #2f705f;
    background: #2f705f;
}

.zwp-user-objects__item-actions .is-primary:hover {
    color: #fff;
    border-color: #245b4e;
    background: #245b4e;
}

.zwp-user-objects__item-actions .zwp-user-objects__delete {
    color: #a33a3a;
}

@media (max-width: 1040px) {
    .zwp-user-objects__hero {
        grid-template-columns: 1fr;
    }

    .zwp-user-objects__hero-card {
        max-width: 460px;
    }

    .zwp-user-objects__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .zwp-user-objects__community-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .zwp-user-objects__community-actions {
        grid-column: 2;
        justify-content: flex-start;
    }
}

@media (max-width: 760px) {
    .zwp-user-objects {
        padding: 78px 0 48px;
    }

    .zwp-user-objects__hero {
        padding: 28px 22px;
        border-radius: 22px;
    }

    .zwp-user-objects__stats {
        grid-template-columns: 1fr 1fr;
    }

    .zwp-user-objects__community-card {
        grid-template-columns: 1fr;
    }

    .zwp-user-objects__community-actions {
        grid-column: auto;
    }

    .zwp-user-objects__panel-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .zwp-user-objects__list-controls {
        width: 100%;
        justify-content: space-between;
    }

    .zwp-user-objects__item {
        grid-template-columns: auto 88px minmax(0, 1fr);
    }

    .zwp-user-objects__thumb {
        width: 88px;
        height: 72px;
    }

    .zwp-user-objects__item-actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
        padding-top: 3px;
    }
}

@media (max-width: 520px) {
    .zwp-user-objects__stats {
        grid-template-columns: 1fr;
    }

    .zwp-user-objects__hero-actions,
    .zwp-user-objects__hero-actions .zwp-dashboard__button,
    .zwp-user-objects__community-actions,
    .zwp-user-objects__community-actions .zwp-dashboard__button {
        width: 100%;
    }

    .zwp-user-objects__item {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .zwp-user-objects__thumb {
        grid-column: 2;
        width: 100%;
        height: 150px;
    }

    .zwp-user-objects__item-content,
    .zwp-user-objects__item-actions {
        grid-column: 1 / -1;
    }

    .zwp-user-objects__item h3 {
        white-space: normal;
    }

    .zwp-user-objects__item-actions > * {
        flex: 1 1 100px;
    }

    .zwp-user-objects__modal-actions,
    .zwp-user-objects__modal-actions .zwp-dashboard__button {
        width: 100%;
    }
}
/* Zdjęcie profilowe – stan wyboru i przesyłania */
.zwp-account-settings__avatar-form .zwp-account-settings__submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.zwp-account-settings__avatar-form.is-uploading .zwp-account-settings__file-control {
    opacity: 0.65;
    pointer-events: none;
}