/* App-specific layout for spendwise. Retheming lives in theme.css; this
 * file only styles what Bootstrap cannot express. */

.app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.app main {
    flex: 1 0 auto;
}

.app-toast {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1080;
    background: var(--danger);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
    max-width: 32rem;
}

.brand-glyph {
    color: var(--accent);
}

.avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    flex: 0 0 auto;
}

.summary-card .card-body {
    padding: 0.9rem 1.1rem;
}

.summary-amount {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.2;
}

.bill-item-card {
    border: 1px solid var(--bs-border-color);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.12);
    padding: 0.75rem;
    margin-bottom: 0.75rem;
}

.share-preview {
    font-size: 0.875rem;
}

.share-preview li {
    padding: 0.1rem 0;
}

.member-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--panel-light);
    border: 1px solid var(--bs-border-color);
    border-radius: 999px;
    padding: 0.15rem 0.6rem;
    margin: 0 0.35rem 0.35rem 0;
    font-size: 0.9rem;
}

.member-chip .btn-close {
    font-size: 0.55rem;
}

.amount-input {
    max-width: 9rem;
}

.split-mode-select {
    max-width: 11rem;
}

.participant-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.participant-row .form-check {
    margin-bottom: 0;
}

.balance-transfer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.settle-sheet {
    border-top: 1px dashed var(--bs-border-color);
}

.hero {
    padding: 3rem 0 1rem;
}

.muted-small {
    color: var(--muted);
    font-size: 0.875rem;
}
