/* ----------------
GOOGLE FONTS
----------------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Roboto:wght@300;400;500&display=swap');

/* ----------------
ROOT COLOR SCHEME & FONTS
----------------- */
:root {
    --primary: #0B1F52;
    --primary-dark: #061645;
    --primary-light: #1F3B8A;
    --secondary: #FFFFFF;
    --accent-1: #5AC8FA;
    --accent-2: #FF6F61;
    --neutral: #D3D3D3;
    --text-color: #333333;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --light-gray: #f8f9fa;
}

/* ----------------
BASE & LAYOUT
----------------- */
html, body {
    min-height: 100%;
    font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
}

body {
    background: var(--neutral);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    line-height: 1.6;
}

section {
    width: 100%;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

@media (max-width: 1024px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 600px) {
    .container {
        padding-left: 5px;
        padding-right: 5px;
    }
}

/* ----------------
NAVBAR & HEADER
----------------- */
.navbar {
    background: var(--primary);
    color: var(--secondary);
    box-shadow: 0 3px 12px rgba(11,31,82,0.08);
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 30;
    transition: box-shadow 0.27s cubic-bezier(.4,0,.2,1);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 62px;
    flex-wrap: wrap;
}

.navbar .navbar-brand {
    color: var(--secondary);
    font-weight: 700;
    font-size: 2rem;
    letter-spacing: 2px;
    text-decoration: none;
    line-height: 1;
}

.navbar-nav {
    list-style: none;
    display: flex;
    gap: 38px;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--secondary);
    text-decoration: none;
    font-size: 1.15em;
    font-weight: 500;
    padding: 9px 0;
    cursor: pointer;
    position: relative;
}

.nav-link::after {
    content: "";
    display: block;
    height: 3px;
    background: var(--accent-1);
    border-radius: 3px;
    width: 0;
    position: absolute;
    left: 0;
    bottom: 0;
    transition: width 0.32s cubic-bezier(.68,.2,.25,1.13);
}

.nav-link:hover,
.nav-link:focus {
    color: var(--accent-1);
}

.nav-link:hover::after,
.nav-link:focus::after {
    width: 100%;
}

@media (max-width: 820px) {
    .navbar .container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .navbar-nav {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 0;
        font-size: 1em;
    }
}

@media (max-width: 600px) {
    .navbar .navbar-brand {
        font-size: 1.4rem;
    }
}

/* ----------------
HERO SECTION
----------------- */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-1) 100%);
    color: var(--secondary);
    min-height: 54vh;
    padding: 70px 15px;
    box-shadow: 0 14px 60px -34px #0B1F5295;
    text-align: center;
}

.hero-section h1 {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.hero-section p {
    font-size: 1.18rem;
    margin-bottom: 35px;
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
}

/* ----------------
BUTTONS & FORMS
----------------- */
.btn-custom {
    background: linear-gradient(95deg, var(--primary-light) 10%, var(--accent-1) 90%);
    color: var(--secondary);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.btn-custom:hover {
    background: linear-gradient(105deg, var(--accent-1) 10%, var(--primary-dark) 90%);
    transform: translateY(-2px) scale(1.025);
    box-shadow: 0 4px 15px rgba(11,31,82,0.2);
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-alert {
    background: var(--accent-2);
    color: var(--secondary);
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-alert:hover {
    background: #e55a4f;
    transform: translateY(-1px);
}

.btn-danger {
    background-color: var(--danger);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.btn-danger:hover {
    background-color: #c82333; /* A darker shade for hover */
    transform: translateY(-2px);
}

/* Form Elements */
input, select, textarea {
    width: 100%;
    border: 2px solid var(--neutral);
    border-radius: 7px;
    padding: 14px 15px;
    margin-bottom: 18px;
    font-size: 1em;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-1);
    box-shadow: 0 0 0 3px rgba(90, 200, 250, 0.1);
}

.form-container {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin: 20px 0;
}

.form-section {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.form-section h3 {
    margin: 0 0 20px 0;
    color: var(--primary);
    border-bottom: 2px solid var(--accent-1);
    padding-bottom: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    margin-top: 25px;
    flex-wrap: wrap;
}

.track-form .form-row {
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 15px;
}

/* ----------------
CARDS & CONTAINERS
----------------- */
.card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.card h3 {
    margin: 0 0 20px 0;
    color: var(--primary);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 20px 0;
}

.info-section h4 {
    color: var(--primary);
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent-1);
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table td {
    padding: 12px 8px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: top;
}

.info-table tr:last-child td {
    border-bottom: none;
}

.order-notes {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-1);
    font-style: italic;
}

/* ----------------
ENHANCED STATUS STYLES
----------------- */
.status-in-transit {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-1) 100%);
    color: white;
    animation: moving-gradient 2s ease-in-out infinite alternate;
}

.status-undelivered {
    background: linear-gradient(135deg, var(--danger) 0%, #ff8a80 100%);
    color: white;
    border: 2px solid var(--danger);
}

@keyframes moving-gradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.status-order_received {
    background: rgba(11, 31, 82, 0.1);
    color: var(--primary);
    border: 1px solid rgba(11, 31, 82, 0.2);
}

.status-badge.status-order_packed {
    background: rgba(255, 193, 7, 0.1);
    color: var(--warning);
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.status-badge.status-shipped {
    background: rgba(23, 162, 184, 0.1);
    color: #17a2b8;
    border: 1px solid rgba(23, 162, 184, 0.2);
}

.status-badge.status-in_transit {
    background: rgba(11, 31, 82, 0.1);
    color: var(--primary);
    border: 1px solid rgba(11, 31, 82, 0.2);
    animation: pulse-badge 2s infinite;
}

.status-badge.status-delivered {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success);
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.status-badge.status-undelivered {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger);
    border: 1px solid rgba(220, 53, 69, 0.2);
}

@keyframes pulse-badge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Status Indicators */
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 20px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-indicator.status-order_received {
    background: rgba(11, 31, 82, 0.1);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.status-indicator.status-order_packed {
    background: rgba(255, 193, 7, 0.1);
    color: var(--warning);
    border: 2px solid var(--warning);
}

.status-indicator.status-shipped {
    background: rgba(23, 162, 184, 0.1);
    color: #17a2b8;
    border: 2px solid #17a2b8;
}

.status-indicator.status-in_transit {
    background: rgba(11, 31, 82, 0.1);
    color: var(--primary);
    border: 2px solid var(--primary);
    animation: pulse-indicator 2s infinite;
}

.status-indicator.status-delivered {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success);
    border: 2px solid var(--success);
}

.status-indicator.status-undelivered {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger);
    border: 2px solid var(--danger);
}

@keyframes pulse-indicator {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(11, 31, 82, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 0 30px rgba(90, 200, 250, 0.6); }
}

.current-status {
    text-align: center;
    margin: 30px 0;
}

.status-message {
    margin: 15px 0;
    padding: 15px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.status-message.success {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success);
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.status-message.error {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger);
    border: 1px solid rgba(220, 53, 69, 0.2);
}

/* ----------------
STATUS HISTORY STYLING
----------------- */
.status-history {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 4px solid var(--accent-1);
}

.status-history h4 {
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.history-timeline {
    position: relative;
    padding-left: 30px;
}

.timeline-entry {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
    position: relative;
}

.timeline-entry:last-child {
    border-bottom: none;
}

.timeline-entry::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 45px;
    bottom: -20px;
    width: 2px;
    background: #e9ecef;
    z-index: 1;
}

.timeline-entry:last-child::before {
    display: none;
}

.timeline-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 3px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.timeline-content {
    flex: 1;
    min-width: 0;
}

.timeline-status {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-time {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 8px;
    font-weight: 500;
}

.timeline-note {
    color: #495057;
    font-size: 1rem;
    line-height: 1.5;
    background: #f8f9fa;
    padding: 10px;
    border-radius: 6px;
    font-style: italic;
}

.timeline-progress {
    font-weight: bold;
    color: var(--accent-1);
    font-size: 1.2rem;
    background: rgba(90, 200, 250, 0.1);
    padding: 8px 12px;
    border-radius: 20px;
    align-self: flex-start;
}

/* History Entry Styles */
.history-entry {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.history-entry:last-child {
    border-bottom: none;
}

.history-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    border: 3px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.history-content {
    flex: 1;
}

.history-status {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.history-time {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.history-note {
    color: #495057;
    font-size: 0.95rem;
    font-style: italic;
}

.history-progress {
    font-weight: bold;
    color: var(--accent-1);
    font-size: 1.1rem;
}

/* ----------------
ENHANCED PROGRESS STEPS
----------------- */
.progress-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin: 30px 0;
    position: relative;
}

.progress-steps.extended {
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #e9ecef;
    border: 4px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: all 0.4s ease;
    font-size: 1.5rem;
    position: relative;
    z-index: 3;
    font-weight: bold;
}

.step-circle.completed {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(11, 31, 82, 0.4);
}

.step-circle.current {
    background: var(--accent-1);
    border-color: var(--accent-1);
    color: white;
    transform: scale(1.15);
    animation: pulse 2s infinite;
    box-shadow: 0 0 30px rgba(90, 200, 250, 0.5);
}

.step-circle.pending {
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #6c757d;
}

.step-in-transit {
    background: linear-gradient(135deg, var(--primary), var(--accent-1));
    animation: pulse-blue 2s infinite;
    border-color: var(--primary);
}

.step-undelivered {
    background: var(--danger);
    border-color: var(--danger);
    color: white;
    animation: shake 0.5s ease-in-out;
}

@keyframes pulse {
    0% { box-shadow: 0 0 30px rgba(90, 200, 250, 0.5); }
    50% { box-shadow: 0 0 40px rgba(90, 200, 250, 0.7); }
    100% { box-shadow: 0 0 30px rgba(90, 200, 250, 0.5); }
}

@keyframes pulse-blue {
    0%, 100% { box-shadow: 0 0 20px rgba(11, 31, 82, 0.3); }
    50% { box-shadow: 0 0 30px rgba(90, 200, 250, 0.6); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.step-label {
    font-size: 0.9rem;
    text-align: center;
    color: var(--text-color);
    font-weight: 600;
    margin-top: 8px;
    max-width: 100px;
    line-height: 1.3;
}

.step-timestamp {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 5px;
    text-align: center;
    font-weight: 500;
}

/* ----------------
PROGRESS BAR STYLES
----------------- */
.progress-container {
    width: 100%;
    background-color: #e9ecef;
    border-radius: 15px;
    margin: 25px 0;
    overflow: hidden;
    box-shadow: inset 0 3px 6px rgba(0,0,0,0.1);
    position: relative;
    height: 30px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent-1) 100%);
    border-radius: 15px;
    transition: width 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    position: relative;
    min-width: 0;
}

.progress-bar.animated::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
        rgba(255,255,255,0.2) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255,255,255,0.2) 50%,
        rgba(255,255,255,0.2) 75%,
        transparent 75%);
    background-size: 30px 30px;
    animation: progress-animation 2s linear infinite;
    border-radius: 15px;
}

@keyframes progress-animation {
    0% { background-position: 0 0; }
    100% { background-position: 30px 0; }
}

/* ----------------
ORDER MANAGEMENT
----------------- */
.orders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.order-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.order-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.order-header h4 {
    margin: 0;
    color: var(--primary);
    font-size: 1.1rem;
}

.status-update-form {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin: 20px 0;
    border: 1px solid #e9ecef;
}

.order-details {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 4px solid var(--accent-1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.detail-row:last-child {
    border-bottom: none;
}

/* User Orders List */
.user-orders {
    margin: 20px 0;
}

.order-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
    gap: 15px;
}

.order-row:last-child {
    border-bottom: none;
}

.order-info {
    flex: 1;
    min-width: 0;
}

.order-info strong {
    display: block;
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.order-info span {
    color: #6c757d;
    font-size: 0.95rem;
}

.order-status {
    flex-shrink: 0;
}

.order-actions {
    flex-shrink: 0;
}

/* ----------------
ALERTS & MESSAGES
----------------- */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success);
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.alert-error {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger);
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.alert-info {
    background: rgba(23, 162, 184, 0.1);
    color: #17a2b8;
    border: 1px solid rgba(23, 162, 184, 0.2);
}

.alert-warning {
    background: rgba(255, 193, 7, 0.1);
    color: var(--warning);
    border: 1px solid rgba(255, 193, 7, 0.2);
}

/* ----------------
HELP & CONTACT
----------------- */
.help-content {
    line-height: 1.8;
}

.help-content p {
    margin-bottom: 15px;
}

.contact-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 4px solid var(--accent-1);
}

.contact-info p {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ----------------
MOBILE RESPONSIVENESS
----------------- */
@media (max-width: 768px) {
    .progress-steps.extended {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 20px;
    }
    
    .orders-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .timeline-entry {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .timeline-entry::before {
        display: none;
    }
    
    .order-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .order-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .track-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .order-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .step-circle {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .progress-container {
        height: 25px;
    }
    
    .progress-bar {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .step-circle {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .step-label {
        font-size: 0.8rem;
    }
    
    .card {
        padding: 20px;
        margin: 15px 0;
    }
    
    .form-section {
        padding: 20px;
    }
    
    .timeline-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .status-history {
        padding: 20px;
    }
}

/* ----------------
UTILITY CLASSES
----------------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-primary { color: var(--primary) !important; }
.text-success { color: var(--success) !important; }
.text-warning { color: var(--warning) !important; }
.text-danger { color: var(--danger) !important; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.hidden { display: none; }
.visible { display: block; }

/* ----------------
ANIMATIONS
----------------- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-in {
    animation: slideIn 0.5s ease-out;
}