
/* PRAWNIKOM PRO — CENTRUM PROFILI I ABONAMENTOW */

main.content:has(> .pro-platform-root),
.pro-platform-root {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
}

.pro-platform-root {
    --pro-navy: #142641;
    --pro-dark: #101c30;
    --pro-gold: #c6a46a;
    --pro-border: #d7e0eb;
    --pro-muted: #64748b;
    --pro-bg: #f1f5f9;

    display: block !important;
    color: var(--pro-navy);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 15px;
}

.pro-platform-root * {
    box-sizing: border-box;
}

.pro-platform-root [hidden] {
    display: none !important;
}

.pro-platform-root h1,
.pro-platform-root h2,
.pro-platform-root h3 {
    color: var(--pro-navy);
    overflow-wrap: anywhere;
}

.pro-platform-root h2 {
    font: 400 clamp(24px,2.4vw,32px)/1.3 Georgia,serif;
    margin: 8px 0 12px;
}

.pro-platform-root p {
    line-height: 1.7;
    color: var(--pro-muted);
}

.pro-platform-root a {
    text-decoration: none !important;
}

.pro-platform-root .eyebrow {
    display: block;
    color: #96702d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.pro-platform-root svg {
    width: 22px !important;
    height: 22px !important;
    flex-shrink: 0;
    color: var(--pro-gold);
}

/* HERO */

.pro-commercial-hero {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) 300px;
    align-items: center;
    gap: 36px;
    width: 100%;
    padding: 40px;
    margin: 0 0 20px;
    background: linear-gradient(120deg,#101c30,#203957);
    border-bottom: 3px solid #c6a46a;
    color: #fff;
    border-radius: 0 !important;
}

.pro-commercial-hero > div {
    min-width: 0;
}

.pro-commercial-hero .eyebrow {
    color: #e0bd7d !important;
}

.pro-commercial-hero h1 {
    font: 400 clamp(28px,3vw,46px)/1.2 Georgia,serif;
    color: #fff !important;
    margin: 14px 0 18px;
}

.pro-commercial-hero p {
    color: #cbd5e1 !important;
    max-width: 850px;
    margin-bottom: 24px;
}

.pro-hero-actions {
    display: flex !important;
    flex-wrap: wrap;
    gap: 12px;
}

.pro-hero-actions > a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px !important;
    border-radius: 0 !important;
    font-weight: 600;
}

.pro-hero-actions > a:first-child {
    background: #c6a46a !important;
    color: #101c30 !important;
    border: 1px solid #c6a46a !important;
}

.pro-hero-actions > a:last-child {
    background: transparent !important;
    color: #fff !important;
    border: 1px solid #ffffff55 !important;
}

/* AKTYWNY PLAN */

.pro-commercial-hero > aside {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    width: 100%;
    padding: 28px;
    background: #ffffff08;
    border: 1px solid #c6a46a88;
    color: #fff;
    position: static !important;
}

.pro-commercial-hero > aside > small {
    color: #d6b474;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pro-commercial-hero > aside > strong {
    color: #fff;
    font: 400 42px/1.2 Georgia,serif;
}

.pro-commercial-hero > aside > span {
    color: #cbd5e1;
    font-size: 14px;
}

.pro-commercial-hero > aside > div {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid #ffffff25;
}

.pro-commercial-hero > aside b {
    color: #e0bd7d;
    font-size: 26px;
}

.pro-commercial-hero > aside div small {
    color: #cbd5e1;
}

/* NAWIGACJA SEKCJI */

.pro-section-nav {
    display: grid !important;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 10px;
    width: 100%;
    margin-bottom: 24px;
}

.pro-section-nav > a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 14px;
    background: #fff;
    color: #142641 !important;
    border: 1px solid #d7e0eb;
    border-bottom: 2px solid #c6a46a;
    font-weight: 600;
    text-align: center;
    border-radius: 0 !important;
}

.pro-section-nav > a:hover {
    background: #142641;
    color: #fff !important;
}

/* SEKCJE KONTA */

.pro-account-section {
    display: block !important;
    width: 100%;
    min-width: 0;
    padding: 28px;
    margin-bottom: 24px;
    background: #fff;
    border: 1px solid #d7e0eb;
    border-top: 3px solid #c6a46a;
    border-radius: 0 !important;
    scroll-margin-top: calc(var(--pp-header-offset,120px) + 24px);
}

.pro-account-section > header,
.pro-profile-form > header {
    display: flex !important;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    padding: 0 0 22px;
    margin: 0 0 24px;
    border-bottom: 1px solid #d7e0eb;
    background: transparent !important;
    position: static !important;
}

.pro-account-section > header > div,
.pro-profile-form > header > div {
    min-width: 0;
}

.pro-account-section > header p,
.pro-profile-form > header p {
    margin: 0;
}

.pro-account-section .badge.green {
    display: inline-flex;
    padding: 8px 14px;
    background: #edf7f0;
    color: #166534;
    border: 1px solid #c4e3ce;
    font-size: 12px;
    font-weight: 600;
}

/* PROFILE ZAWODOWE */

.pro-profile-layout {
    display: grid !important;
    grid-template-columns: minmax(240px,300px) minmax(0,1fr);
    align-items: start;
    gap: 24px;
    width: 100%;
    min-width: 0;
}

.pro-profile-layout > *,
.pro-profile-list,
[data-profile-form-host] {
    min-width: 0 !important;
    max-width: 100% !important;
}

.pro-profile-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pro-profile-card {
    display: grid !important;
    grid-template-columns: 52px minmax(0,1fr);
    gap: 14px;
    padding: 20px;
    background: #f5f7fa;
    border: 1px solid #d7e0eb;
    border-radius: 0 !important;
}

.pro-profile-card.active {
    border-left: 3px solid #c6a46a;
    background: #f8f6f1;
}

.pro-profile-avatar {
    display: grid !important;
    place-items: center;
    width: 52px;
    height: 52px;
    background: #142641;
    color: #e0bd7d;
    font-size: 20px;
    font-weight: 700;
}

.pro-profile-card small {
    color: #96702d;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.pro-profile-card h3 {
    font-size: 19px;
    margin: 5px 0;
}

.pro-profile-card p {
    font-size: 13px;
    margin: 0;
    overflow-wrap: anywhere;
}

.pro-profile-card-state {
    grid-column: 1/-1;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #d7e0eb;
}

.pro-profile-card-state > span {
    color: #166534;
    font-size: 12px;
    font-weight: 600;
}

/* FORMULARZ PROFILU */

.pro-profile-form {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 26px;
    background: #fff;
    border: 1px solid #d7e0eb;
    border-radius: 0 !important;
}

.pro-save-state {
    display: inline-flex;
    padding: 8px 12px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 12px;
}

.pro-form-grid {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 22px;
    width: 100%;
}

.pro-form-grid > label {
    display: flex !important;
    flex-direction: column;
    gap: 9px;
    width: 100%;
    min-width: 0;
    margin: 0 !important;
}

.pro-form-grid > label > span:first-child {
    color: #142641;
    font-size: 14px;
    font-weight: 600;
}

.pro-form-grid > label.wide {
    grid-column: 1/-1;
}

.pro-form-grid input:not([type="hidden"]),
.pro-form-grid select,
.pro-form-grid textarea {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 48px;
    margin: 0;
    padding: 12px 15px !important;
    background: #f5f7fa !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 0 !important;
    color: #142641 !important;
    font: 400 15px/1.5 "Segoe UI",Arial,sans-serif;
    box-shadow: none !important;
}

.pro-form-grid textarea {
    min-height: 150px;
    resize: vertical;
}

.pro-form-grid input:focus,
.pro-form-grid select:focus,
.pro-form-grid textarea:focus {
    border-color: #c6a46a !important;
    outline: 1px solid #c6a46a !important;
    background: #fff !important;
}

.pro-form-grid input::placeholder,
.pro-form-grid textarea::placeholder {
    color: #64748b;
    opacity: 1;
}

/* SELECT — BEZ PODWOJNYCH KONTROLEK */

.pro-profile-form .smart-select {
    display: block !important;
    position: relative;
    width: 100%;
    min-width: 0;
}

.pro-profile-form .smart-select > select {
    display: block !important;
    position: static !important;
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    opacity: 1 !important;
    visibility: visible !important;
    clip: auto !important;
    clip-path: none !important;
    pointer-events: auto !important;
    appearance: auto !important;
    transform: none !important;
    cursor: pointer;
}

.pro-profile-form .smart-select-trigger {
    display: none !important;
}

.pro-profile-form select option {
    color: #142641;
    background: #fff;
}

/* CHECKBOXY I UPRAWNIENIA */

.pro-checks {
    display: grid !important;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 12px;
    margin-top: 26px;
}

.pro-checks > label {
    display: flex !important;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    padding: 18px;
    background: #f5f7fa;
    border: 1px solid #d7e0eb;
    cursor: pointer;
}

.pro-checks input[type="checkbox"] {
    appearance: auto !important;
    width: 18px !important;
    height: 18px !important;
    min-height: 18px !important;
    margin: 3px 0 0 !important;
    flex: 0 0 18px;
    accent-color: #142641;
}

.pro-checks > label > span {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.pro-checks b {
    color: #142641;
    font-size: 14px;
}

.pro-checks small {
    color: #64748b;
    font-size: 12px;
    line-height: 1.5;
}

.pro-checks > label:has(input:checked) {
    background: #f8f6f1;
    border-color: #c6a46a;
}

/* ZAPIS PROFILU */

.pro-profile-form > footer {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
    padding: 22px 0 0;
    border-top: 1px solid #d7e0eb;
    background: transparent !important;
    position: static !important;
}

.pro-profile-form > footer button {
    min-height: 46px;
    padding: 12px 24px !important;
    border-radius: 0 !important;
    font-weight: 600;
}

.pro-profile-form button[type="submit"] {
    background: #142641 !important;
    color: #fff !important;
    border: 1px solid #142641 !important;
}

.pro-profile-form button[type="submit"]:hover {
    background: #203957 !important;
}

/* CYKL ROZLICZENIOWY */

.pro-cycle {
    display: inline-flex !important;
    gap: 0;
    padding: 4px;
    background: #f1f5f9;
    border: 1px solid #d7e0eb;
}

.pro-cycle button {
    min-height: 38px !important;
    padding: 9px 18px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #142641 !important;
    box-shadow: none !important;
}

.pro-cycle button.active {
    background: #142641 !important;
    color: #fff !important;
}

/* CENNIK I ROZSZERZENIA */

.pro-plan-grid,
.pro-addon-grid {
    display: grid !important;
    grid-template-columns: repeat(3,minmax(0,1fr));
    align-items: stretch;
    gap: 20px;
    width: 100%;
    min-width: 0;
}

.pro-plan-grid > article,
.pro-addon-grid > article,
.pro-plan-card,
.pro-addon-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
    padding: 26px;
    background: #fff;
    border: 1px solid #d7e0eb;
    border-top: 3px solid #142641;
    border-radius: 0 !important;
    box-shadow: 0 4px 16px #14264108;
}

.pro-plan-grid > article:hover,
.pro-addon-grid > article:hover {
    border-color: #c6a46a;
}

.pro-plan-card.active,
.pro-plan-card.featured,
.pro-plan-card.recommended {
    border-color: #c6a46a;
    border-top: 4px solid #c6a46a;
    background: #faf8f3;
}

.pro-plan-grid h3,
.pro-addon-grid h3 {
    font: 400 26px/1.3 Georgia,serif;
    margin: 0;
}

.pro-plan-price {
    font-size: 36px;
    font-weight: 700;
    color: #142641;
}

.pro-plan-grid ul,
.pro-addon-grid ul {
    display: grid;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 12px 0;
}

.pro-plan-grid li,
.pro-addon-grid li {
    position: relative;
    padding-left: 24px;
    color: #334155;
    line-height: 1.5;
}

.pro-plan-grid li::before,
.pro-addon-grid li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #96702d;
}

.pro-plan-grid button,
.pro-addon-grid button {
    min-height: 44px;
    border-radius: 0 !important;
}

.pro-plan-feedback:not([hidden]) {
    padding: 16px 20px;
    margin-bottom: 20px;
    background: #f5f7fa;
    border-left: 3px solid #c6a46a;
    color: #142641;
}

/* RESPONSYWNOSC */

@media(max-width:1250px) {
    .pro-profile-layout {
        grid-template-columns: 240px minmax(0,1fr);
        gap: 16px;
    }

    .pro-checks {
        grid-template-columns: minmax(0,1fr);
    }

    .pro-plan-grid,
    .pro-addon-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media(max-width:950px) {
    .pro-commercial-hero,
    .pro-profile-layout {
        grid-template-columns: minmax(0,1fr);
    }

    .pro-commercial-hero {
        padding: 26px;
    }

    .pro-account-section {
        padding: 20px;
    }

    .pro-profile-list {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media(max-width:650px) {
    .pro-commercial-hero {
        padding: 20px;
        gap: 20px;
    }

    .pro-section-nav {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .pro-profile-list,
    .pro-form-grid,
    .pro-plan-grid,
    .pro-addon-grid {
        grid-template-columns: minmax(0,1fr);
    }

    .pro-account-section,
    .pro-profile-form {
        padding: 16px;
    }

    .pro-profile-form > footer,
    .pro-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .pro-profile-form > footer button,
    .pro-hero-actions > a {
        width: 100%;
    }

    .pro-cycle {
        width: 100%;
    }

    .pro-cycle button {
        flex: 1;
    }
}

