/* ================================
   SwiftDash custom styling
   ================================ */
:root {
    --brand-orange: #FF6B35;
    --brand-dark: #1A2E40;
    --brand-yellow: #FFC93C;
    --brand-green: #25D366;
    --brand-bg: #F7F9FC;
}

body {
    background: var(--brand-bg);
    font-family: 'Segoe UI', Arial, sans-serif;
    color: var(--brand-dark);
}

.navbar-brand {
    font-weight: 800;
    color: var(--brand-orange) !important;
    letter-spacing: -0.5px;
}

.navbar-brand span {
    color: var(--brand-dark);
}

.hero-section {
    background: linear-gradient(135deg, #FFF3E9 0%, #FFFFFF 60%);
    border-radius: 0 0 40px 40px;
    padding: 60px 0 40px 0;
}

.hero-title {
    font-weight: 800;
    font-size: 2.6rem;
    color: var(--brand-dark);
}

.hero-title .highlight {
    color: var(--brand-orange);
}

.hero-sub {
    color: #5a6a78;
    font-size: 1.1rem;
}

.btn-brand {
    background: var(--brand-orange);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 10px 26px;
    border-radius: 30px;
    transition: 0.2s;
}

.btn-brand:hover {
    background: #e2551d;
    color: #fff;
}

.btn-outline-brand {
    border: 2px solid var(--brand-orange);
    color: var(--brand-orange);
    font-weight: 600;
    border-radius: 30px;
    background: transparent;
}

.btn-outline-brand:hover {
    background: var(--brand-orange);
    color: #fff;
}

.card-feature {
    border: none;
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    padding: 25px;
    height: 100%;
    transition: transform 0.2s;
}

.card-feature:hover {
    transform: translateY(-6px);
}

.feature-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFF0E6;
    color: var(--brand-orange);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.order-form-card {
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.1);
    border: none;
}

.form-control, .form-select {
    border-radius: 10px;
    padding: 10px 14px;
}

.status-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: capitalize;
}

.status-pending { background: #FFF3CD; color: #8a6d00; }
.status-assigned { background: #D9E7FF; color: #1a4fbf; }
.status-arrived { background: #FFE1C7; color: #b5590a; }
.status-in_transit { background: #E1D9FF; color: #5a2fbf; }
.status-delivered { background: #D6F5E0; color: #1a8a45; }
.status-cancelled { background: #FBD5D5; color: #a11414; }

.tracking-timeline .step {
    text-align: center;
    flex: 1;
    position: relative;
}

.tracking-timeline .dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #dfe6ec;
    margin: 0 auto 8px auto;
}

.tracking-timeline .dot.active {
    background: var(--brand-orange);
}

.tracking-timeline .line {
    position: absolute;
    top: 10px;
    left: -50%;
    width: 100%;
    height: 3px;
    background: #dfe6ec;
    z-index: -1;
}

.tracking-timeline .line.active {
    background: var(--brand-orange);
}

footer {
    background: var(--brand-dark);
    color: #cfd8e0;
    padding: 30px 0;
    margin-top: 60px;
}

.rider-float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

.wheel-spin {
    animation: spin 2s linear infinite;
    transform-origin: center;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
