/*
 * Aviso + tela de atualização do plugin PRO (woo-rede).
 * Layout baseado no padrão do woo-better / shipping-simulator.
 */
.lkn-pro-notice {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    border-left: 4px solid transparent;
}

.lkn-pro-notice--update {
    border-left-color: #dba617;
}

.lkn-pro-notice__icon {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
}

.lkn-pro-notice__icon img {
    width: 40px;
    height: 40px;
    display: block;
    border-radius: 6px;
}

.lkn-pro-notice__content {
    flex: 1 1 auto;
}

.lkn-pro-notice__content p {
    margin: 0 0 12px;
}

.lkn-pro-notice__title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 6px;
    flex-wrap: wrap;
}

.lkn-pro-notice__badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

.lkn-pro-notice--update .lkn-pro-notice__badge {
    background: #dba617;
    color: #1d2327;
}

.lkn-pro-notice--success {
    border-left-color: #2e7d32;
}

.lkn-pro-notice--success .lkn-pro-notice__badge {
    background: #2e7d32;
    color: #fff;
}

.lkn-pro-notice--error {
    border-left-color: #d63638;
}

.lkn-pro-notice--error .lkn-pro-notice__badge {
    background: #d63638;
    color: #fff;
}

.lkn-pro-success-card,
.lkn-pro-error-card {
    transition: opacity 0.3s ease;
    position: relative;
}

/* Botão com barrinha de progresso (padrão woo-better). */
.lkn-pro-update-button {
    position: relative !important;
    overflow: hidden !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.lkn-pro-update-button__bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: #2e7d32;
    z-index: 0;
}

.lkn-pro-update-button__text {
    position: relative;
    z-index: 1;
}

.lkn-pro-update-button.is-loading {
    background: #e8f5e9 !important;
    border-color: #2e7d32 !important;
    color: #1e4620 !important;
    cursor: progress !important;
}

.lkn-pro-update-button.is-success {
    background: #c8e6c9 !important;
    border-color: #2e7d32 !important;
    color: #ffffff !important;
}

.lkn-pro-update-button.is-error {
    background: #ffebee !important;
    border-color: #c62828 !important;
    color: #b71c1c !important;
}

/* ── Tela cheia (página oculta) ── */
.lkn-pro-update-screen {
    max-width: 760px;
    margin: 40px auto;
}

.lkn-pro-update-screen__card {
    position: relative;
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 8px;
    padding: 48px 40px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.lkn-pro-update-screen__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    line-height: 32px;
    font-size: 26px;
    color: #787c82;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

.lkn-pro-update-screen__close:hover {
    color: #d63638;
    border-color: #c3c4c7;
}

.lkn-pro-update-screen__badge {
    font-size: 52px;
    line-height: 1;
    margin-bottom: 16px;
}

.lkn-pro-update-screen__title {
    font-size: 24px;
    line-height: 1.3;
    margin: 0 0 12px;
}

.lkn-pro-update-screen__lead {
    font-size: 15px;
    color: #50575e;
    margin: 0 0 24px;
}

.lkn-pro-update-screen__body {
    text-align: left;
    background: #f6f7f7;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    padding: 16px 20px;
    margin: 0 0 24px;
    color: #3c434a;
}

.lkn-pro-update-screen__features {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
}

.lkn-pro-update-screen__features li {
    padding: 5px 0;
}

.lkn-pro-update-screen__actions {
    display: flex !important;
    gap: 12px !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
}

.lkn-pro-update-screen__actions .button-hero {
    min-width: auto !important;
}

@media (max-width: 600px) {
    .lkn-pro-update-screen__actions {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .lkn-pro-update-screen__actions .button-hero {
        width: 100% !important;
        white-space: normal !important;
        height: auto !important;
    }
}
