﻿.sc-form-grid {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 30px;
    padding-bottom: 30px;
}

.validation-error {
    color: red;
    margin-bottom: 10px;
}

.sc-form-input-label {
    text-align: left !important;
}

.umb-overlay.umb-overlay-center {
    position: absolute;
    width: 1000px;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    border-radius: 3px;
}

.no-resize {
    resize: none;
}

.right-align {
    text-align: right;
}

.credit-addition {
    color: #5cb85c;
    font-weight: bold;
}

.credit-deduction {
    color: #d9534f;
    font-weight: bold;
}

.badge.credit-addition {
    background-color: #5cb85c;
}

.badge.credit-deduction {
    background-color: #d9534f;
}

.sc-transaction-history {
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

    .sc-transaction-history h3 {
        margin-bottom: 15px;
        color: #333;
    }

.table {
    background-color: white;
}

    .table th {
        background-color: #f5f5f5;
        font-weight: bold;
    }

.content-link {
    color: #1b264f;
    text-decoration: none;
    font-weight: 500;
}

    .content-link:hover {
        color: #f39800;
        text-decoration: underline;
    }

.text-muted {
    color: #999;
}

.sc-transaction-history .badge-success {
    background-color: #5cb85c;
    color: white;
}

.sc-transaction-history .badge-danger {
    background-color: #d9534f;
    color: white;
}

/* Neutral grey for zero-value NoCharge rows (free re-downloads) — not a gain or a loss. */
.sc-transaction-history .badge-default {
    background-color: #999;
    color: white;
}

.sc-transaction-history .content-link {
    color: #1f8ceb;
    text-decoration: none;
}

.sc-transaction-history .content-link:hover {
    text-decoration: underline;
}

.sc-transaction-history .text-muted {
    color: #999;
}