/* =========================================================
   BHP CLIENT DASHBOARD - FINAL CSS
   ========================================================= */

/* ===== GLOBAL / RESET DLA PANELU ===== */
.bhp-cd-page,
.bhp-cd-page * {
    box-sizing: border-box;
}

.bhp-cd-page {
    margin-top: 24px;
    color: #172033;
}

.bhp-cd-page a {
    text-decoration: none;
}

.bhp-cd-page p {
    line-height: 1.65;
}

.bhp-cd-page ul {
    margin: 0;
    padding-left: 18px;
}

.bhp-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bhp-page__hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 28px;
    background: linear-gradient(135deg, #ffffff 0%, #fff7ef 100%);
    border: 1px solid #ececf1;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.bhp-page__hero h2 {
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 1.2;
    color: #182b49;
}

.bhp-page__hero p {
    margin: 0;
    max-width: 760px;
    color: #5f6b7a;
    line-height: 1.7;
}

.bhp-page__eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 132, 0, 0.12);
    color: #ff8400;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.bhp-mini-stats {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.bhp-mini-stat {
    min-width: 110px;
    padding: 14px 16px;
    background: #ffffff;
    border: 1px solid #ececf1;
    border-radius: 16px;
    text-align: center;
}

.bhp-mini-stat__label {
    display: block;
    margin-bottom: 6px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 600;
}

.bhp-mini-stat strong {
    font-size: 24px;
    color: #182b49;
}

.bhp-page__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.bhp-box {
    background: #ffffff;
    border: 1px solid #ececf1;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
}

.bhp-box h3 {
    margin: 0 0 16px;
    color: #182b49;
    font-size: 20px;
}

.bhp-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bhp-form__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bhp-form__field label {
    color: #182b49;
    font-weight: 700;
    font-size: 14px;
}

.bhp-form__field textarea {
    width: 100%;
    min-height: 180px;
    padding: 14px 16px;
    border: 1px solid #d9dee6;
    border-radius: 14px;
    background: #fff;
    color: #182b49;
    resize: vertical;
    box-sizing: border-box;
    font-size: 15px;
    line-height: 1.6;
}

.bhp-form__field textarea:focus {
    outline: none;
    border-color: #ff8400;
    box-shadow: 0 0 0 3px rgba(255, 132, 0, 0.12);
}

.bhp-form__response {
    padding: 14px 16px;
    border-radius: 14px;
    font-weight: 600;
}

.bhp-form__response.is-success {
    background: #ecfdf3;
    border: 1px solid #b7ebc6;
    color: #067647;
}

.bhp-form__response.is-error {
    background: #fff4f1;
    border: 1px solid #ffd7cc;
    color: #b54708;
}

.bhp-items-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bhp-item-card {
    padding: 18px;
    border: 1px solid #ececf1;
    border-radius: 16px;
    background: #fbfcfe;
}

.bhp-item-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.bhp-item-card__title {
    color: #182b49;
    font-size: 15px;
    font-weight: 800;
}

.bhp-item-card__meta {
    margin-bottom: 12px;
    color: #6b7280;
    font-size: 13px;
}

.bhp-item-card__content {
    color: #475467;
    line-height: 1.7;
    white-space: normal;
    word-break: break-word;
}

.bhp-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.bhp-status-badge--new {
    background: #eef4ff;
    color: #1d4ed8;
}

.bhp-empty-state {
    padding: 16px;
    border: 1px dashed #d9dee6;
    border-radius: 14px;
    color: #6b7280;
    background: #fafbfc;
}

@media (max-width: 1024px) {
    .bhp-page__hero,
    .bhp-page__grid {
        grid-template-columns: 1fr;
        display: grid;
    }

    .bhp-page__hero {
        gap: 18px;
    }
}

@media (max-width: 767px) {
    .bhp-page__hero {
        padding: 20px;
    }

    .bhp-page__hero h2 {
        font-size: 26px;
    }

    .bhp-mini-stats {
        width: 100%;
    }

    .bhp-mini-stat {
        flex: 1 1 calc(33.333% - 8px);
        min-width: 90px;
    }

    .bhp-page__grid {
        grid-template-columns: 1fr;
    }
}

.bhp-cd-page li {
    margin-bottom: 8px;
}

/* ===== HEADER ===== */
.bhp-cd-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    padding: 0 0 8px;
}

.bhp-cd-page-header h2 {
    margin: 0 0 8px;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    color: #111827;
}

.bhp-cd-page-header p {
    margin: 0;
    color: #6b7280;
    font-size: 15px;
}

.bhp-cd-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.18);
}

.bhp-cd-badge--green {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: #dcfce7;
    color: #166534;
    font-size: 12px;
    font-weight: 700;
}

.bhp-cd-badge--light {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eef2ff;
    color: #4338ca;
    font-size: 12px;
    font-weight: 700;
}

/* ===== GRID ===== */
.bhp-cd-cards-grid,
.bhp-cd-webinars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.bhp-cd-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

/* ===== CARD ===== */
.bhp-cd-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.bhp-cd-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.09);
    border-color: #d1d5db;
}

.bhp-cd-card-body {
    padding: 20px;
}

.bhp-cd-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
    color: #111827;
}

.bhp-cd-card p:last-child,
.bhp-cd-card ul:last-child {
    margin-bottom: 0;
}

.bhp-cd-card-thumb {
    position: relative;
    background: #f8fafc;
    border-bottom: 1px solid #eef2f7;
}

.bhp-cd-card-thumb img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* ===== META ===== */
.bhp-cd-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.bhp-cd-date {
    color: #6b7280;
    font-size: 13px;
}

/* ===== NUMERY / STATS ===== */
.bhp-cd-stat-number {
    margin: 10px 0 8px;
    font-size: 34px;
    line-height: 1;
    font-weight: 800;
    color: #111827;
}

/* ===== ACTIONS / BUTTONS ===== */
.bhp-cd-card-actions,
.bhp-cd-downloads-list {
    margin-top: 16px;
}

.bhp-cd-downloads-list h4 {
    margin: 0 0 10px;
    font-size: 14px;
    color: #374151;
}

.bhp-cd-download-button,
.bhp-cd-card .button,
.bhp-cd-page .button,
.bhp-cd-page button.button,
.bhp-cd-page button.button.alt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
    box-shadow: 0 10px 22px rgba(17, 24, 39, 0.16);
}

.bhp-cd-download-button:hover,
.bhp-cd-card .button:hover,
.bhp-cd-page .button:hover,
.bhp-cd-page button.button:hover,
.bhp-cd-page button.button.alt:hover {
    transform: translateY(-1px);
    opacity: 0.96;
    box-shadow: 0 14px 28px rgba(17, 24, 39, 0.2);
}

.bhp-cd-download-button {
    width: 100%;
    margin-top: 10px;
}

/* ===== EMPTY STATE ===== */
.bhp-cd-empty-state {
    padding: 24px;
    border: 1px dashed #d1d5db;
    border-radius: 16px;
    background: #f9fafb;
    color: #6b7280;
}

/* ===== VIDEO ===== */
.bhp-cd-video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.bhp-cd-video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===== FORM ===== */
.bhp-cd-form {
    margin-top: 6px;
}

.bhp-cd-form .form-row {
    margin-bottom: 16px;
}

.bhp-cd-form label {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.bhp-cd-form input[type="text"],
.bhp-cd-form input[type="email"],
.bhp-cd-form textarea,
.bhp-cd-page input[type="text"],
.bhp-cd-page input[type="email"],
.bhp-cd-page textarea,
.bhp-cd-page select {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: #ffffff;
    color: #111827;
    font-size: 14px;
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.bhp-cd-form textarea,
.bhp-cd-page textarea {
    min-height: 150px;
    resize: vertical;
}

.bhp-cd-form input:focus,
.bhp-cd-form textarea:focus,
.bhp-cd-page input:focus,
.bhp-cd-page textarea:focus,
.bhp-cd-page select:focus {
    outline: none;
    border-color: #16a34a;
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.12);
}

/* ===== LIMIT BOX ===== */
.bhp-cd-limit-box {
    padding: 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff7ed 0%, #fffbeb 100%);
    border: 1px solid #fed7aa;
    color: #7c2d12;
}

.bhp-cd-limit-box h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #9a3412;
}

/* ===== SUBMISSIONS ===== */
.bhp-cd-submissions-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bhp-cd-submission-item {
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #ffffff;
}

.bhp-cd-submission-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 10px;
}

.bhp-cd-submission-head strong {
    display: block;
    margin-top: 8px;
    font-size: 16px;
    color: #111827;
}

.bhp-cd-submission-head span:last-child {
    color: #6b7280;
    font-size: 13px;
    white-space: nowrap;
}

.bhp-cd-submission-status {
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
    color: #065f46;
}

.bhp-cd-submission-message {
    color: #374151;
}

.bhp-cd-admin-reply {
    margin-top: 14px;
    padding: 16px;
    border-radius: 14px;
    background: #f8fafc;
    border-left: 4px solid #16a34a;
}

/* ===== WOOCOMMERCE MY ACCOUNT NAV ===== */
.woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    margin: 0;
    list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    padding: 12px 14px 12px 44px;
    border-radius: 14px;
    color: #111827;
    font-weight: 600;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    transform: translateY(-1px);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    border-color: #86efac;
    color: #166534;
}

/* ===== SVG ICONS W MENU ===== */
.woocommerce-account .woocommerce-MyAccount-navigation ul li a::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.95;
}

/* Pulpit */
.woocommerce-MyAccount-navigation-link--dashboard a::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23111827' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3 9.75L12 4l9 5.75V20a1 1 0 0 1-1 1h-5.25v-6.5h-5.5V21H4a1 1 0 0 1-1-1V9.75Z'/%3E%3C/svg%3E");
}

/* Zasoby premium */
.woocommerce-MyAccount-navigation-link--zasoby-premium a::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ca8a04' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.39 4.84 5.34.78-3.86 3.76.91 5.31L12 14.77l-4.78 2.52.91-5.31L4.27 7.62l5.34-.78L12 2z'/%3E%3C/svg%3E");
}

/* Webinary premium */
.woocommerce-MyAccount-navigation-link--webinary-premium a::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2316a34a' viewBox='0 0 24 24'%3E%3Cpath d='M15 10l4.553-2.276A1 1 0 0 1 21 8.618v6.764a1 1 0 0 1-1.447.894L15 14V10z'/%3E%3Cpath d='M3 6a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6z'/%3E%3C/svg%3E");
}

/* Materiały */
.woocommerce-MyAccount-navigation-link--materials a::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%232563eb' viewBox='0 0 24 24'%3E%3Cpath d='M6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zm7 1.5V9h5.5'/%3E%3Cpath d='M12 12v6M9.5 15.5 12 18l2.5-2.5' stroke='%232563eb' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Nowości */
.woocommerce-MyAccount-navigation-link--nowosci a::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%239333ea' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 14.9 8.1 21 11l-6.1 2.9L12 20l-2.9-6.1L3 11l6.1-2.9L12 2Z'/%3E%3C/svg%3E");
}

/* Konsultacje */
.woocommerce-MyAccount-navigation-link--consultations a::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%230ea5e9' viewBox='0 0 24 24'%3E%3Cpath d='M4 5a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H9l-5 4v-4H6a2 2 0 0 1-2-2V5z'/%3E%3C/svg%3E");
}

/* Zgłoś szkolenie */
.woocommerce-MyAccount-navigation-link--training-request a::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%230f766e' viewBox='0 0 24 24'%3E%3Cpath d='M12 3 1 9l11 6 9-4.91V17h2V9L12 3z'/%3E%3Cpath d='M12 21l-7-3.82V12.5l7 3.82 7-3.82v4.68L12 21z'/%3E%3C/svg%3E");
}

/* Moje zgłoszenia */
.woocommerce-MyAccount-navigation-link--submissions a::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%234338ca' viewBox='0 0 24 24'%3E%3Cpath d='M7 3h10a2 2 0 0 1 2 2v14l-3-2-3 2-3-2-3 2V5a2 2 0 0 1 2-2z'/%3E%3C/svg%3E");
}

/* Standard benefits */
.woocommerce-MyAccount-navigation-link--standard-benefits a::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2316a34a' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2z'/%3E%3C/svg%3E");
}

/* Edycja konta */
.woocommerce-MyAccount-navigation-link--edit-account a::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%236b7280' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a5 5 0 1 0-5-5 5 5 0 0 0 5 5Zm0 2c-4.33 0-8 2.17-8 5v1h16v-1c0-2.83-3.67-5-8-5Z'/%3E%3C/svg%3E");
}

/* Logout */
.woocommerce-MyAccount-navigation-link--customer-logout a::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23c0392b' viewBox='0 0 24 24'%3E%3Cpath d='M10 17l5-5-5-5M15 12H3' stroke='%23c0392b' stroke-width='2' fill='none'/%3E%3Cpath d='M21 3v18'/%3E%3C/svg%3E");
}

/* ===== ACCOUNT CONTENT WRAP ===== */
.woocommerce-account .woocommerce-MyAccount-content {
    padding-left: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .bhp-cd-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .bhp-cd-page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .bhp-cd-page-header h2 {
        font-size: 26px;
    }

    .bhp-cd-stats-grid,
    .bhp-cd-cards-grid,
    .bhp-cd-webinars-grid {
        grid-template-columns: 1fr;
    }

    .bhp-cd-submission-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .woocommerce-account .woocommerce-MyAccount-content {
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    .bhp-cd-page-header h2 {
        font-size: 23px;
    }

    .bhp-cd-card-body {
        padding: 16px;
    }

    .bhp-cd-stat-number {
        font-size: 28px;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation ul li a {
        min-height: 44px;
        padding: 11px 12px 11px 42px;
        font-size: 14px;
    }
}

.bhp-dashboard-home {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bhp-dashboard-hero {
    background: linear-gradient(135deg, #ffffff 0%, #fff7ef 100%);
    border: 1px solid #ececf1;
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.bhp-dashboard-hero__eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 132, 0, 0.12);
    color: #ff8400;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.bhp-dashboard-hero h2 {
    margin: 0 0 10px;
    font-size: 34px;
    line-height: 1.15;
    color: #182b49;
}

.bhp-dashboard-hero p {
    margin: 0;
    max-width: 780px;
    color: #5f6b7a;
    font-size: 16px;
    line-height: 1.7;
}

.bhp-dashboard-hero__badges {
    margin-top: 18px;
}

.bhp-plan-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
}

.bhp-plan-badge--premium {
    background: #182b49;
    color: #ffffff;
}

.bhp-plan-badge--standard {
    background: #eef2f7;
    color: #182b49;
}

.bhp-plan-badge--none {
    background: #fff1f0;
    color: #cf3f2e;
}

.bhp-dashboard-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.bhp-stat-card {
    background: #ffffff;
    border: 1px solid #ececf1;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
}

.bhp-stat-card__top {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bhp-stat-card__label {
    color: #6b7280;
    font-size: 14px;
    font-weight: 600;
}

.bhp-stat-card__value {
    color: #182b49;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.1;
}

.bhp-stat-card__bottom {
    margin-top: 12px;
    color: #5f6b7a;
    font-size: 14px;
}

.bhp-dashboard-sections {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 18px;
}

.bhp-dashboard-box {
    background: #ffffff;
    border: 1px solid #ececf1;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
}

.bhp-dashboard-box h3 {
    margin: 0 0 16px;
    color: #182b49;
    font-size: 20px;
    line-height: 1.3;
}

.bhp-dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.bhp-dashboard-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 18px;
    border-radius: 14px;
    background: #ff8400;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s ease;
}

.bhp-dashboard-btn:hover {
    background: #ea7900;
    color: #ffffff;
    transform: translateY(-1px);
}

.bhp-dashboard-btn--secondary {
    background: #182b49;
}

.bhp-dashboard-btn--secondary:hover {
    background: #12223a;
    color: #ffffff;
}

.bhp-dashboard-btn--light {
    background: #f3f5f8;
    color: #182b49;
}

.bhp-dashboard-btn--light:hover {
    background: #e9edf3;
    color: #182b49;
}

.bhp-dashboard-list {
    margin: 0;
    padding-left: 18px;
    color: #5f6b7a;
}

.bhp-dashboard-list li + li {
    margin-top: 10px;
}

.bhp-no-access {
    padding: 16px 18px;
    border-radius: 14px;
    background: #fff4f1;
    border: 1px solid #ffd7cc;
    color: #b54708;
    font-weight: 600;
}

.bhp-dashboard-empty {
    padding: 20px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #ececf1;
}

@media (max-width: 1024px) {
    .bhp-dashboard-cards,
    .bhp-dashboard-sections {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .bhp-dashboard-hero {
        padding: 20px;
    }

    .bhp-dashboard-hero h2 {
        font-size: 28px;
    }

    .bhp-dashboard-actions {
        flex-direction: column;
    }

    .bhp-dashboard-btn {
        width: 100%;
    }
}
.bhp-cd-webinar-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bhp-cd-webinar-card .bhp-cd-card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* KLUCZOWE */
.bhp-cd-webinar-card h3 {
    min-height: 72px; /* dopasowane pod 2-3 linie */
    display: flex;
    align-items: flex-start;
}

/* Wideo zawsze w tym samym miejscu */
.bhp-cd-video-wrap {
    margin-top: auto;
}

/* Przyciski zawsze na dole */
.bhp-cd-card-actions {
    margin-top: 16px;
}

/* ===== Materiały do pobrania ===== */

.bhp-cd-materials-grid .bhp-cd-material-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bhp-cd-materials-grid .bhp-cd-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.bhp-cd-material-thumb {
    position: relative;
    overflow: hidden;
}

.bhp-cd-materials-grid .bhp-cd-card-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.bhp-cd-file-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16);
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* warianty kolorystyczne */

.bhp-cd-file-badge.is-pdf {
    background: linear-gradient(135deg, #c62828 0%, #e53935 100%);
}

.bhp-cd-file-badge.is-doc {
    background: linear-gradient(135deg, #1565c0 0%, #1e88e5 100%);
}

.bhp-cd-file-badge.is-xls {
    background: linear-gradient(135deg, #2e7d32 0%, #43a047 100%);
}

.bhp-cd-file-badge.is-ppt {
    background: linear-gradient(135deg, #ef6c00 0%, #fb8c00 100%);
}

.bhp-cd-file-badge.is-zip {
    background: linear-gradient(135deg, #37474f 0%, #546e7a 100%);
}

.bhp-cd-file-badge.is-generic {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
}

.bhp-cd-materials-grid .bhp-cd-material-card h3 {
    margin-bottom: 12px;
    min-height: 96px;
}

.bhp-cd-materials-grid .bhp-cd-material-card p {
    margin-bottom: 16px;
}

.bhp-cd-material-card-footer {
    margin-top: auto;
}

.bhp-cd-downloads-list,
.bhp-cd-card-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bhp-cd-download-button,
.bhp-cd-card-actions .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

/* opcjonalnie subtelny hover */
.bhp-cd-material-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bhp-cd-material-card:hover {
    transform: translateY(-2px);
}

.bhp-cd-buy-packages-card {
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 24px;
    padding: 28px;
    margin: 0 0 28px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.bhp-cd-section-head h3 {
    margin: 0 0 8px;
    font-size: 28px;
    line-height: 1.2;
    color: #0f2b57;
}

.bhp-cd-section-head p {
    margin: 0;
    color: #5b6472;
}

.bhp-cd-package-offers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.bhp-cd-package-box {
    border: 1px solid #ececec;
    border-radius: 22px;
    padding: 24px;
    background: #fcfcfc;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bhp-cd-package-box.is-premium {
    border-color: rgba(255, 138, 0, 0.28);
    box-shadow: 0 12px 28px rgba(255, 138, 0, 0.08);
}

.bhp-cd-package-top h4 {
    margin: 10px 0 10px;
    font-size: 28px;
    line-height: 1.15;
    color: #0f2b57;
}

.bhp-cd-package-top p {
    margin: 0 0 18px;
    color: #5b6472;
}

.bhp-cd-package-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eef3f8;
    color: #0f2b57;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.bhp-cd-package-tag.is-premium {
    background: rgba(255, 138, 0, 0.12);
    color: #ff8a00;
}

.bhp-cd-package-list {
    margin: 0 0 22px;
    padding-left: 18px;
    color: #213047;
}

.bhp-cd-package-list li {
    margin-bottom: 10px;
}

.bhp-cd-package-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bhp-cd-btn-primary,
.bhp-cd-btn-secondary,
.bhp-cd-btn-dark,
.bhp-cd-btn-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.2s ease;
}

.bhp-cd-btn-primary {
    background: #ff8a00;
    color: #fff;
}

.bhp-cd-btn-primary:hover {
    background: #f07f00;
    color: #fff;
}

.bhp-cd-btn-secondary {
    background: #fff3e6;
    color: #c96d00;
    border: 1px solid #ffd19b;
}

.bhp-cd-btn-secondary:hover {
    background: #ffe9cf;
    color: #b96200;
}

.bhp-cd-btn-dark {
    background: #16325c;
    color: #fff;
}

.bhp-cd-btn-dark:hover {
    background: #102749;
    color: #fff;
}

.bhp-cd-btn-light {
    background: #f3f5f8;
    color: #16325c;
}

.bhp-cd-btn-light:hover {
    background: #e9edf3;
    color: #102749;
}

.bhp-cd-package-pill.is-active {
    background: #ecfdf3;
    color: #15803d;
}

.bhp-cd-package-pill.is-inactive {
    background: #fff1f0;
    color: #dc2626;
}

@media (max-width: 900px) {
    .bhp-cd-package-offers {
        grid-template-columns: 1fr;
    }
}