:root {
    --zr-orange: #e67e22;
    --zr-orange-dark: #d35400;
    --zr-orange-light: #fef3e6;
    --zr-dark: #1c2331;
    --zr-darker: #151b27;
    --zr-slate: #3d4f6f;
}

body {
    font-family: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
    background: #f5f6f8;
}

/* Migration banner */
.migration-banner {
    background: linear-gradient(135deg, var(--zr-dark) 0%, var(--zr-slate) 100%);
    color: #fff;
    padding: 10px 0;
    font-size: 0.85rem;
    border-bottom: 3px solid var(--zr-orange);
}

.migration-banner .badge-pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--zr-orange);
    animation: pulse 2s infinite;
    margin-right: 6px;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

/* Navbar */
.navbar-zarino {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.navbar-zarino .navbar-brand {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--zr-dark);
    letter-spacing: -0.5px;
}

.navbar-zarino .navbar-brand .brand-dot {
    color: var(--zr-orange);
}

.navbar-zarino .nav-link {
    font-weight: 500;
    color: #6b7a90;
    font-size: 0.9rem;
    padding: 0.5rem 0.9rem !important;
    border-radius: 6px;
    transition: all 0.15s;
}

.navbar-zarino .nav-link:hover { color: var(--zr-dark); background: #f5f6f8; }
.navbar-zarino .nav-link.active { color: var(--zr-orange); background: var(--zr-orange-light); }

/* Buttons */
.btn-zr {
    background: var(--zr-orange);
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    padding: 0.55rem 1.5rem;
    transition: all 0.15s;
}
.btn-zr:hover { background: var(--zr-orange-dark); color: #fff; }
.btn-zr:disabled { opacity: 0.6; }

.btn-zr-outline {
    background: transparent;
    color: var(--zr-orange);
    font-weight: 600;
    border: 2px solid var(--zr-orange);
    border-radius: 8px;
    padding: 0.5rem 1.5rem;
    transition: all 0.15s;
}
.btn-zr-outline:hover { background: var(--zr-orange-light); color: var(--zr-orange-dark); }

/* Cards */
.card-zr {
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

/* Migration status card */
.migration-card {
    background: linear-gradient(135deg, var(--zr-dark) 0%, #2c3e50 100%);
    color: #fff;
    border-radius: 16px;
    border: none;
}

.migration-progress-track {
    height: 8px;
    background: rgba(255,255,255,0.15);
    border-radius: 4px;
    overflow: hidden;
}

.migration-progress-fill {
    height: 100%;
    background: var(--zr-orange);
    border-radius: 4px;
    width: 0%;
    transition: width 1.5s ease;
}

/* Disabled/unavailable overlay */
.unavailable-overlay {
    position: relative;
}

.unavailable-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(245,246,248,0.7);
    border-radius: inherit;
    pointer-events: none;
}

.unavailable-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    background: var(--zr-dark);
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Alert migration */
.alert-migration {
    background: #fff8ef;
    border: 1px solid #fdebd0;
    color: #7d5a29;
    border-radius: 10px;
}

.alert-migration .bi { color: var(--zr-orange); }

/* Footer */
.footer-zarino {
    background: var(--zr-darker);
    color: rgba(255,255,255,0.5);
    padding: 48px 0 24px;
}

.footer-zarino h6 {
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.footer-zarino a {
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    font-size: 0.85rem;
    display: block;
    padding: 2px 0;
    transition: color 0.15s;
}

.footer-zarino a:hover { color: rgba(255,255,255,0.85); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 20px;
    margin-top: 36px;
    font-size: 0.78rem;
}

/* Form inputs */
.form-control-zr {
    border: 1.5px solid #e4e7ec;
    border-radius: 8px;
    padding: 0.6rem 0.9rem;
    font-size: 0.9rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.form-control-zr:focus {
    border-color: var(--zr-orange);
    box-shadow: 0 0 0 3px rgba(230,126,34,0.1);
    outline: none;
}

.form-label-zr {
    font-size: 0.85rem;
    font-weight: 600;
    color: #3d4f6f;
    margin-bottom: 4px;
}

/* Timeline */
.timeline-migration {
    position: relative;
    padding-left: 28px;
}

.timeline-migration::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: #e4e7ec;
}

.timeline-item {
    position: relative;
    padding-bottom: 24px;
}

.timeline-dot {
    position: absolute;
    left: -24px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #e4e7ec;
    border: 3px solid #f5f6f8;
}

.timeline-dot.done { background: var(--zr-orange); }
.timeline-dot.active { background: var(--zr-orange); box-shadow: 0 0 0 4px rgba(230,126,34,0.2); }
.timeline-dot.pending { background: #cbd5e0; }
