.nav-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.nav-tab {
    padding: 10px 20px;
    cursor: pointer;
    border: 1px solid transparent;
    border-bottom: none;
    margin-bottom: -1px;
}

.nav-tab.active {
    background-color: #fff;
    border-color: #ddd;
    border-top: 2px solid #00aeef;
    font-weight: bold;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Sub-tabs for Config */
.config-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.config-tab-link {
    padding: 5px 10px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.config-tab-link.active {
    border-bottom-color: #00aeef;
    font-weight: bold;
}

.config-content {
    display: none;
}

.config-content.active {
    display: block;
}

.mapping-row input {
    flex: 1;
}

.remove-btn {
    color: red;
    cursor: pointer;
    font-weight: bold;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    border-radius: 4px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: black;
}

/* Badge de status no navbar */
.payment-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.payment-status-badge.processing {
    background: #fff3cd;
    color: #856404;
}

.payment-status-badge.completed {
    background: #d4edda;
    color: #155724;
}

