/**
 * All of the CSS for your admin-specific functionality should be
 * included in this file.
 */

.lowOpacity {
    opacity: 0.7;
}

textarea:disabled {
    resize: none;
}

.lknIntegrationRedeForWoocommerceTooltiptext {
    visibility: hidden;
    padding: 0.618em 1em;
    background-color: #333;
    color: #fff;
    text-align: center;
    font-size: .8em;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
    position: absolute;
    z-index: 1;
    transform: translateX(57%);
    margin-left: -100px;
    margin-top: 17px;
    opacity: 0;
    transition: opacity 0.3s;
    font-weight: normal
}

#lknIntegrationRedeForWoocommerceTooltipSpan:hover+.lknIntegrationRedeForWoocommerceTooltiptext {
    visibility: visible;
    opacity: 1;
}

.lknIntegrationRedeForWoocommerceBecomePRO {
    text-decoration: none;
    color: #FF0D08;
    font-size: 0.84rem;
    font-weight: bold;
    font-family: "Inter", sans-serif;
    position: absolute;
    top: 50%;
    right: 0;
    line-height: normal;
    transform: translateY(-50%);
}

.lknIntegrationRedeForWoocommerceBecomePRO:hover {
    color: #FF0D08;
}

#lknIntegrationRedeForWoocommerceSettingsLayoutDiv {
    padding: 10px 24px;
    border-radius: 10px;
}

#lknIntegrationRedeForWoocommerceSettingsLayoutMenu {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    height: fit-content;
}

#lknIntegrationRedeForWoocommerceSettingsLayoutMenu a:first-of-type {
    margin: 0px !important;
}

#lknIntegrationRedeForWoocommerceSettingsLayoutMenu a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 22px !important;
    border: none;
    background-color: #F0F0F1;
    color: #9A9A9A;
    padding: 7px 30px;
}

#lknIntegrationRedeForWoocommerceSettingsLayoutMenu a:hover {
    color: black;
}

#lknIntegrationRedeForWoocommerceSettingsLayoutMenu a.nav-tab {
    line-height: normal;
}

#lknIntegrationRedeForWoocommerceSettingsLayoutMenu a.nav-tab.nav-tab-active {
    margin-top: 1.5px !important;
    color: black;
    background-color: #FFFFFF;
}

#lknIntegrationRedeForWoocommerceSettingsCard {
    color: white;
    width: 100%;
    height: fit-content;
    background-color: #121519;
    border-radius: 10px;
    margin-bottom: 150px;
    background-position: right bottom, left top calc(15px);
    background-repeat: no-repeat;
    display: flex;
    margin: 0px !important;
    flex-direction: column;
    padding: 15px 25px 15px 25px;
    box-sizing: border-box;
    gap: 25px;
}

#lknIntegrationRedeForWoocommerceDivLogo {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-family: inter;
    font-weight: 500;
    margin-bottom: 18px !important;
}

#lknIntegrationRedeForWoocommerceDivLogo p {
    margin: 0;
    font-size: x-small;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
}

#lknIntegrationRedeForWoocommerDivContent {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#lknIntegrationRedeForWoocommerDivLinks {
    display: flex;
    justify-content: space-between;
    padding-right: 30px;
    gap: 6%;
}

#lknIntegrationRedeForWoocommerDivLinks div {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
}

#lknIntegrationRedeForWoocommerceSettingsCard a {
    text-decoration: none;
    color: inherit;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 2px;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
}

#lknIntegrationRedeForWoocommerDivLinks div a {
    white-space: nowrap;
}

#lknIntegrationRedeForWoocommerDivLinks a b {
    color: #D1D838;
    font-size: small;
}

#lknIntegrationRedeForWoocommerceSettingsCard img {
    height: 25px;
}

#lknIntegrationRedeForWoocommerStarsDiv {
    width: fit-content;
}

#lknIntegrationRedeForWoocommerStarsDiv a {
    flex-direction: column;
}

#lknIntegrationRedeForWoocommerStarsDiv p {
    margin: 0;
    font-size: x-small;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    width: 100%;
}

#lknIntegrationRedeForWoocommerStarsDiv img {
    height: 10px;
}

.lknIntegrationRedeForWoocommerceSupportLinks {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.lknIntegrationRedeForWoocommerceStars {
    display: flex;
    width: 100%;
}

.lknIntegrationRedeForWoocommerceContactLinks {
    display: flex;
    gap: 8px;
    align-items: center;
}

.lknIntegrationRedeForWoocommerceContactLinks a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.lknIntegrationRedeForWoocommerceContactLinks a:hover {
    transform: scale(1.1);
}

.lknIntegrationRedeForWoocommerceContactIcon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.lkn-stars {
    display: flex;
    align-items: center;
    justify-content: center;
    height: fit-content;
    width: fit-content;
    padding: 0px;
    margin: 0px;
    color: #DAE300 !important;
    font-size: 12px;
}

.lknIntegrationRedeForWoocommerceDivGeral {
    display: flex;
    gap: 25px;
}

.lknIntegrationRedeForWoocommerceDivGeral>*:first-child {
    flex-grow: 1;
    width: 100%;
    min-width: 0;
}

.lknIntegrationRedeForWoocommerceDivGeral>*:last-child {
    flex: 0 0 22%;
    min-width: 320px;
    position: sticky;
    top: 102px;
    padding: 30px 24px;
    align-self: flex-start;
}

#lknIntegrationRedeForWoocommerceSettingsLayoutDiv {
    padding: 10px 24px;
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
}

#lknIntegrationRedeForWoocommerceSettingsLayoutDiv table {
    width: 100% !important;
    table-layout: fixed !important;
    border-collapse: collapse;
    box-sizing: border-box;
}

#lknIntegrationRedeForWoocommerceSettingsLayoutDiv tr th {
    width: 200px !important;
    vertical-align: middle;
}

#lknIntegrationRedeForWoocommerceSettingsLayoutDiv tr th label {
    font-size: 20px;
    font-weight: 600;
}

#lknIntegrationRedeForWoocommerceSettingsLayoutDiv tr th p {
    margin: 5px 0px 10px;
    color: rgb(52, 59, 69);
}

.form-table tbody,
.form-table tbody tr td {
    width: 100% !important;
}

#lknIntegrationRedeForWoocommerceSettingsLayoutDiv .form-table tr {
    display: table;
    width: 100% !important;
}

#lknIntegrationRedeForWoocommerceSettingsCardTable tr td,
#lknIntegrationRedeForWoocommerceSettingsLayoutDiv tr td {
    background-color: #FFFFFF;
    border: 1px solid rgb(223, 223, 223);
    padding: 10px 30px;
    width: 100% !important;
    box-sizing: border-box;
}

#lknIntegrationRedeForWoocommerceSettingsLayoutDiv tr td div.lkn-field-title {
    font-weight: bold;
    font-size: 16px;
    margin: 6px 4px;
    padding-right: 40px;
    position: relative;
}

#lknIntegrationRedeForWoocommerceSettingsLayoutDiv tr td div.lkn-field-description {
    margin-left: 4px
}

#lknIntegrationRedeForWoocommerceSettingsLayoutDiv tr td div.lkn-rede-field-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    margin-left: 4px;
    min-height: 120px;
    color: rgb(44, 51, 56);
}

/*Campos filhos ocupam toda largura disponível */
#lknIntegrationRedeForWoocommerceSettingsLayoutDiv tr td div.lkn-rede-field-body input:not([type="checkbox"]):not([type="radio"]):not([type="button"]),
#lknIntegrationRedeForWoocommerceSettingsLayoutDiv tr td div.lkn-rede-field-body select,
#lknIntegrationRedeForWoocommerceSettingsLayoutDiv tr td div.lkn-rede-field-body textarea,
#lknIntegrationRedeForWoocommerceSettingsLayoutDiv tr td div.lkn-rede-field-body .select2-container {
    width: 100% !important;
    min-width: 0px !important;
    max-width: 400px;
    box-sizing: border-box;
}

#lknIntegrationRedeForWoocommerceSettingsLayoutDiv tr td p.description {
    margin-top: 8px;
}

.pro-version-info {
    color: red;
    font-weight: bold;
    margin-left: 10px;
}

#lknIntegrationRedeForWoocommerStarsDiv img {
    height: 10px;
}

#lknIntegrationRedeForWoocommerStarsDiv {
    width: fit-content;
}


#lknIntegrationRedeForWoocommerStarsDiv a {
    flex-direction: column;
}

#lknIntegrationRedeForWoocommerStarsDiv p {
    margin: 0;
    font-size: x-small;
    font-family: 'Inter';
    width: 100%;
}

#lknIntegrationRedeForWoocommerDivContent {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#lknIntegrationRedeForWoocommerceSettingsCard {
    margin-bottom: 5px;
    gap: 25px;
}

/* Endpoint */
#integrationwoocommerceRedePixEndpointField {
    display: flex;
    flex-direction: column;
}

#integrationwoocommerceRedePixEndpointAlert {
    display: flex;
    gap: 10px;
    align-items: center;
}

#woocommerce_integration_rede_pix_clear_order_records,
#woocommerce_rede_credit_clear_order_records,
#woocommerce_rede_debit_clear_order_records,
#woocommerce_maxipago_credit_clear_order_records,
#woocommerce_maxipago_debit_clear_order_records {
    display: flex;
    justify-content: center;
    width: fit-content;
    padding: 0px 20px 0px 20px;
}

#lknWcRedeOrderLogs pre {
    padding: 5px;
    background-color: #D9D9D9;
    width: fit-content;
    border-radius: 4px;
    margin: 0;
    white-space: pre-wrap
}

#lknWcRedeOrderLogs pre {
    padding: 10px;
    background-color: #D9D9D9 !important;
    width: fit-content;
    max-width: 96%;
    border-radius: 4px;
    margin: 0;
    white-space: pre-wrap;
    overflow-x: auto;
}

#lknWcRedeOrderLogs h3 {
    color: #333;
    font-size: 14px;
    font-weight: bold;
}

#lknWcRedeOrderLogs div {
    display: flex;
    gap: 6px;
    align-items: center;
}

#lknWcRedeOrderLogs pre {
    padding: 10px;
    background-color: #D9D9D9 !important;
    width: fit-content;
    max-width: 96%;
    border-radius: 4px;
    margin: 0;
    white-space: pre-wrap;
    overflow-x: auto;
}

#lknWcRedeOrderLogs h3 {
    color: #333;
    font-size: 14px;
    font-weight: bold;
}

#lknWcRedeOrderLogs div {
    display: flex;
    gap: 6px;
    align-items: center;
}

@media (max-width: 1225px) {
    #lknIntegrationRedeForWoocommerceSettingsCardTable {
        flex-direction: column;
        align-items: flex-start;
    }

    #lknIntegrationRedeForWoocommerceSettingsCard {
        margin-top: 25px;
        margin-bottom: 15px;
    }

    .lknIntegrationRedeForWoocommerceDivGeral {
        display: block;
    }

}

@media (max-width: 782px) {
    .lknIntegrationRedeForWoocommerceTooltiptext {
        transform: translateX(-20%);
        margin-left: 0px;
    }
}

@media (max-width: 400px) {
    #lknIntegrationRedeForWoocommerceSettingsLayoutMenu {
        display: flex;
        flex-direction: column;
    }

    .lknIntegrationRedeForWoocommerceDivGeral>*:last-child {
        min-width: unset;
    }
}

/* Feature Message Component */
.custom-feature-message {
    display: flex;
    align-items: center;
    padding: 10px;
    margin-top: 20px;
    border: 1px solid #4caf50;
    border-left-width: 5px;
    border-left-color: #4caf50 !important;
    border-radius: 5px;
    background-color: #e8f5e9 !important;
    color: #388e3c !important;
    font-size: 14px;
    line-height: 1.5;
}

.custom-feature-message .feature-icon {
    margin-right: 10px;
    font-size: 16px;
}

.custom-feature-message .feature-text-container {
    display: flex;
    flex-direction: column;
}

.custom-feature-message .feature-text-line {
    margin-bottom: 5px;
}

/* Promotional Card Component */
.woo-better-promotional-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.promotional-card-background-decor {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    pointer-events: none;
}

.promotional-card-content {
    position: relative;
    z-index: 1;
}

.promotional-card-title {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: white;
    line-height: 1.3;
}

.promotional-card-description {
    margin: 0 0 16px 0;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255,255,255,0.9);
}

.promotional-card-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.promotional-card-button {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.promotional-card-button.learn-more {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    backdrop-filter: blur(10px);
}

.promotional-card-button.learn-more:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-1px);
}

.promotional-card-button.install {
    background: rgba(255,255,255,0.9);
    color: #667eea;
}

.promotional-card-button.install:hover {
    background: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}