﻿.bac-container {
    padding-top: 10px;
    padding-bottom: 28px;
}

/* Typography */
.bac-heading-large {
    font-weight: 700;
}

.bac-heading-small {
    font-weight: 600;
}

.bac-muted {
    opacity: .75;
}

.bac-white {
    color: white;
}

/* Header */
.bac-header {
    border: 1px solid var(--mud-palette-lines-default);
    background: var(--mud-palette-surface);
    border-radius: 16px;
    padding: 16px 18px;
    margin-bottom: 12px;
}

/* Logo */
.bac-mark-right {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    object-fit: cover;
    border: none;
    flex: 0 0 auto;
}

/* Stages */
.bac-progress {
    background: radial-gradient(1200px 260px at 8% 0%, rgba(255,255,255,.14), transparent 60%), linear-gradient(135deg, var(--mud-palette-primary), #1d2f5f);
    border-radius: 18px;
    padding: 18px 18px 22px;
    margin-bottom: 18px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 10px 30px rgba(0,0,0,.10);
}

.bac-progressTrack {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 2px 6px 0;
}

.bac-progressLine {
    position: absolute;
    z-index: 1;
    top: 30px;
    left: calc(56px / 2 + 14px);
    right: calc(56px / 2 + 14px);
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255,255,255,.58), rgba(255,255,255,.18));
    opacity: .95;
}

.bac-stageItem {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1 1 0;
    min-width: 0;
    position: relative;
    z-index: 2;
}

.bac-stageCircle {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.34);
    color: white;
    position: relative;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.10);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.bac-stageCircle::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.22);
    pointer-events: none;
}

.bac-stageNumber {
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
}

.bac-stageCircle--done {
    background: white;
    color: var(--mud-palette-primary);
    border-color: rgba(255,255,255,.95);
    box-shadow: 0 0 0 6px rgba(255,255,255,.13), 0 14px 30px rgba(0,0,0,.20);
}

.bac-stageCircle--done::after {
    border-color: rgba(0,0,0,.08);
}

.bac-stageCircle--done .bac-stageCheck {
    color: var(--mud-palette-primary);
}

.bac-stageCircle--current {
    background: white;
    color: var(--mud-palette-primary);
    border-color: rgba(255,255,255,.95);
    box-shadow: 0 0 0 6px rgba(255,255,255,.13), 0 14px 32px rgba(0,0,0,.24);
}

.bac-stageCircle--current::after {
    border-color: rgba(0,0,0,.08);
}

.bac-stageCircle--failed {
    background: white;
    color: #d32f2f;
    border-color: rgba(255,255,255,.95);
    box-shadow: 0 0 0 6px rgba(255,255,255,.13), 0 14px 32px rgba(0,0,0,.24);
}

.bac-stageCircle--failed::after {
    border-color: rgba(0,0,0,.08);
}

.bac-stageCheck {
    font-size: 22px;
    line-height: 1;
}

.bac-stageCross {
    font-size: 22px;
    line-height: 1;
    color: #d32f2f;
}

.bac-stageSpinner {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,.35);
    border-top-color: white;
    animation: bac-spin 0.9s linear infinite;
}

.bac-stageCircle--current .bac-stageSpinner {
    border: 3px solid rgba(0,0,0,.15);
    border-top-color: var(--mud-palette-primary);
}

@keyframes bac-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.bac-stageLabel {
    color: white;
    text-align: center;
    max-width: 260px;
    line-height: 1.25;
}

/* Main card */
.bac-card {
    border-radius: 18px;
    padding: 16px;
}

.bac-stack-tight {
    gap: 12px !important;
}

.bac-section-tight {
    gap: 10px !important;
}

.bac-heading-group {
    margin-bottom: 2px;
}

.bac-panel {
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 16px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Upload zone */
.bac-dropzone {
    position: relative;
    border: 2px dashed var(--mud-palette-lines-default);
    border-radius: 14px;
    padding: 18px;
    text-align: center;
    transition: 120ms ease;
    background: rgba(0,0,0,.01);
}

.bac-dropzone:hover {
    border-color: var(--mud-palette-primary);
    background: rgba(0,0,0,.03);
}

.bac-dropzone > input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.bac-dropzone--swap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 150px;
}

.bac-upload-center {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.bac-upload-icon {
    margin: 0 auto;
}

/* Selected file card inside upload */
.bac-selected-inline {
    width: 100%;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 12px;
    padding: 12px;
    background: rgba(0,0,0,.01);
    text-align: left;
}

.bac-selected-name {
    font-weight: 600;
}

.bac-selected-actions {
    display: flex;
    align-items: center;
}

/* Tips panel - full width */
.bac-tips {
    width: 100%;
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 0;
    background: radial-gradient(1200px 260px at 8% 0%, rgba(255,255,255,.14), transparent 60%), linear-gradient(135deg, var(--mud-palette-primary), #1d2f5f);
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 10px 30px rgba(0,0,0,.10);
    position: relative;
    overflow: hidden;
}

.bac-tips-list {
    flex-wrap: wrap;
}

.bac-bullets {
    padding-left: 18px;
    line-height: 1.55;
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.bac-bullets--white {
    color: white;
    opacity: .95;
}

.bac-bullets--white li {
    margin-bottom: 8px;
}

.bac-divider-tight {
    margin-top: 4px;
    margin-bottom: 2px;
}

.bac-footer {
    margin-top: 2px;
}

/* Submit button */
.bac-submit {
    border-radius: 8px;
    min-width: 130px;
    height: 32px;
    font-size: 13px;
    font-weight: 400;
    text-transform: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

