/* --- Core Node Container --- */
.bp-node {
    display: inline-flex;
    flex-direction: column;
    min-width: 180px;
    background-color: rgba(15, 15, 15, 0.85); /* Slate Dark */
    border-radius: 12px 12px 4px 4px; /* Rounded top, sharper bottom */
    box-shadow: 0px 4px 15px rgba(0,0,0,0.6);
    font-family: 'Roboto', 'Segoe UI', sans-serif;
    color: #eee;
    overflow: hidden;
    margin: 15px;
    border: 1px solid #1a1a1a;
    backdrop-filter: blur(4px);
    vertical-align: top;
}

/* --- Headers --- */
.bp-header {
    padding: 6px 12px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    border-bottom: 1px solid rgba(0,0,0,0.3);
    /* subtle gloss effect */
    background-image: linear-gradient(to bottom, rgba(255,255,255,0.15), rgba(255,255,255,0));
}

/* Specific UE Colors */
.bp-node.impure .bp-header {
    background-image: linear-gradient(to right, #4E7A96, #1E262A); /* Function Blue */
    border-top: 2px solid #6b9acb; /* Highlight */
}

.bp-node.pure .bp-header {
    background-image: linear-gradient(to right, #64895E, #394637); /* Pure Green */
    border-top: 2px solid #84b77e; /* Highlight */
}

/* --- Body & Pins --- */
.bp-body {
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.bp-inputs, .bp-outputs {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Space between pins */
}

.bp-outputs {
    text-align: right;
    align-items: flex-end;
}

/* --- Pin Rows --- */
.bp-pin {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 20px;
    font-size: 12px;
    color: #cfcfcf;
}

/* Pin Icons (SVG Container) */
.pin-icon {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pin-icon svg {
    width: 100%;
    height: 100%;
}

/* Subtitle "Target is..." */
.bp-subtitle {
    display: block;
    font-weight: 400;
    font-size: 11px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2px;
}
