:root {
    --tbk-red: #D5006C;
    --tbk-red-2: #C00063;
    --tbk-success: #28a745;
    --tbk-info: #007bff;
    --tbk-warning: #fd7e14;
    --tbk-error: #dc3545;
    --tbk-default: #6c757d;
}

.tbk_table_info {
    width: 600px;
    max-width: 50%;
}

.tbk_table_info td {
    width: 300px;
    border-bottom: dashed 1px #ccc;
}

.tbk_table_td {
    width: 200px;
}

.tbk_table_trans pre {
    font-size: 12px;
}

.error-status-raw {
    color: red;
    width: 250px;
}

.swal-modal {
    width: 700px;
    max-width: 80vw;
}
.swal-content {
    text-align: left;
    -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

#show-welcome-message {float: right}

.healthcheck-tabs {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.healthcheck-tabs li {
    padding: 10px;
}

.label.label-info {
    padding: 5px;
    float: left;
    margin-right: 5px;
    background: #666;
    border-radius: 7px;
    width: 7px;
    height: 7px;
    color: #fff;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.label-success {
    background: #5cb85c;
    border-radius: 5px;
    padding: 5px;
    color: #fff;
    font-weight: bold;
    font-size: 10px;
}

.label-danger {
    background: #ec3206;
    border-radius: 5px;
    padding: 5px;
    color: #fff;
    font-weight: bold;
    font-size: 10px;
}

#row_response_token_text pre {
    padding: 5px;
    background: #eee;
    border-radius: 5px;
    border:solid 1px #999;
}


.tbk_table_info th {
    text-align: left;
}
.tbk_table_info td {
    padding: 4px;
}

.transbank_rest_tool {
    max-width: 80%;
    width: 600px;
    background: #f9f9f9;
    border-radius: 5px;
    padding: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.transbank-rest-credentials {
    background: #fff;
    max-width: 600px;
    border-left: solid 3px blue;
    padding: 10px;
}

.transbank_response_note h3 {
    margin: 0 0 10px 0;
    font-size: 1.2em;
}

.tbk-nav {
    font-size: 14px;
    width: 200px;
    background: #fff;
    margin-left: 5px;
    border-radius: 10px;
}
.tbk-nav .nav-title {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: #6B1A6B;
    padding: 15px 15px 15px 20px;
    color: #fff;
}
.tbk-nav ul {
    list-style: none;
    margin: 0;
}
.tbk-nav ul li {
    margin: 0;
    padding: 0;
}
.tbk-nav ul li .icon {
    float: right;
    opacity: 0;
    transition: .5s;
    right: 20px;
    position: relative;
}
.tbk-nav ul li.active {
    font-weight: bold;
}
.tbk-nav ul li.active a{
    color: #6B1A6B;
}
.tbk-nav ul li.active a:hover{
    color: #6B1A6B;
}
.tbk-nav ul li a{
    vertical-align: middle;
    display: block;
    color: #333;
    text-decoration: none;
    padding: 15px;
    /*border-bottom: solid 1px #ccc;*/
    transition: .5s;
}
.tbk-nav ul li a:hover {
    color: #0a4b78;
}
.tbk-nav ul li a:hover .icon {
    opacity: 1;
    right: 0;
}
.tbk-nav ul li:last-child a {
    border-bottom: none;
}

.tbk-container {
    display: flex;
}
.tbk-nav-container {
    min-width: 200px;
}
.tbk-content {
    margin-left: 20px;
    flex: 1;
}

.tbk-wrap {
    margin-top: 20px;
}

.tbk-box {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
}
.tbk-box h4 {
    margin: 0;
    margin-top: 10px;
}

.tbk-box .woocommerce-save-button.tbk-custom-save-button {
    display: inline-block;
}


.tbk-response-container {
    display: grid;
    grid-template-columns: 20px 80px 1fr;
    grid-gap: 5px;
    align-items: flex-start;
    overflow: hidden;
}

.tbk_response_status {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.tbk-hide {
    display: none !important;
}
.highlight-text {
    font-weight: bold;
}

.info-column {
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: left;
    word-wrap: break-word;
}

.info-value {
    text-align:left;
}

.token pre {
    margin-top: 0;
    padding: 5px;
    background: #eee;
    border-radius: 5px;
    border:solid 1px #999;
    text-wrap: unset;
    overflow-wrap: anywhere;
}

.tbk-plugin-info-container {
    display: grid;
    grid-template-columns: 20px 200px 1fr;
    grid-gap: 5px;
    align-items: center;
    overflow: hidden;
}

.info-column-plugin {
    padding: 4px 0px;
    text-align: left;
    word-wrap: break-word;
    border-bottom: dashed 1px #ccc;
}

.info-column-plugin.log {
    border-bottom: none;
    border-top: dashed 1px #ccc;
}

.tbk_title_legend {
    color: #1d2327;
    font-size: 1.3em;
    margin: 16px 0;
    display: block;
    font-weight: 600;
}

.tbk-notice-container {
    padding: 0;
}

.tbk-notice {
    display: flex;
    align-items: center;
}

.button.tbk-button-primary {
    background: var(--tbk-red);
    border-color: var(--tbk-red);
    color: white;
    transition: background-color 0.3s ease;
}

.button.tbk-button-primary:hover,
.button.tbk-button-primary:focus {
    background: var(--tbk-red-2);
    border-color: var(--tbk-red-2);
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.button.tbk-button-secondary {
    background: white;
    border-color: var(--tbk-red);
    color: var(--tbk-red);
    transition: background-color 0.3s ease;
}

.button.tbk-button-secondary:hover,
.button.tbk-button-secondary:focus {
    background: white;
    border-color: var(--tbk-red-2);
    color: var(--tbk-red-2);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.log-container {
    width: calc(100vw - 480px);
    max-height: 600px;
    margin-top: 20px;
    overflow: auto;
    background-color: #272822;
    border: 10px solid #272822;
    border-radius: 5px;
}

@media only screen and (max-width: 960px) {
    .log-container {
        width: calc(100vw - 340px);
    }
}

@media only screen and (max-width: 782px) {
    .log-container {
        width: calc(100vw - 300px);
    }
}

.log-line {
    font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
    color: #ccc;
    max-width: 100%;
}

.log-info {
    color: #0f0;
}

.log-error {
    color: #f00;
}

.log-warning {
    color: #ff0;
}

.log-debug {
    color: #00f;
}

.input-text.wide-input.admin-textarea {
    width: 400px !important;
}

@media only screen and (max-width: 782px) {
    .input-text.wide-input.admin-textarea {
        width: 100% !important;
    }
}

.tbk-notice .tbk-review-text {
    max-width: 65%;
}

.tbk-notice .tbk-button-primary {
    margin-left: auto;
}

.tbk-notice .tbk-review-title {
    font-size: 18px;
    font-weight: 500;
}

.tbk-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.4;
}

.tbk-field-name {
    font-weight: bold;
    margin-right: 8px;
}

.tbk-field-value {
    text-align: right;
    word-break: break-word;
}

.tbk-badge {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    color: white
}

.tbk-badge-success {
    background-color: var(--tbk-success);
}

.tbk-badge-info {
    background-color: var(--tbk-info);
}

.tbk-badge-warning {
    background-color: var(--tbk-warning);
}

.tbk-badge-error {
    background-color: var(--tbk-error);
}

.tbk-badge-default {
    background-color: var(--tbk-default);
}

.tbk-status {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.tbk-status i {
    width: 100px;
    max-width: 24px;
    text-align: center;
    font-size: x-large;
}

.tbk-status p {
    padding-left: 10px;
    margin: 0px;
}

.tbk-status.tbk-status-info i {
    color: var(--tbk-info);
}

.tbk-status.tbk-status-error i, .tbk-status.tbk-status-error p {
    color: var(--tbk-error);
    font-weight: bold;
}

.tbk-status-button {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.tbk-status-button .tbk-button-primary {
    width: 100%;
    text-align: center;
}

.tbk-separator {
    width: 100%;
    height: 1px;
    background-color: #ccc;
    margin: 10px 0;
}

.tbk-buy-order-format-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tbk-buy-order-format-value-display {
    margin-top: 8px;
    font-size: 14px;
    color: #333;
}

.tbk-buy-order-format-error-display {
    max-width: 600px;
    margin-top: 4px;
    font-size: 13px;
    color: red;
    display: none;
    
}

.tbk-buy-order-format-help-text {
    max-width: 600px;
    margin-top: 4px;
    font-size: 12px;
    color: #666;
}

.tbk-input-error {
    border: 2px solid red !important;
    outline: none;
}

.tbk-input-valid {
    border: 2px solid green !important;
    outline: none;
}

