:root {
    --primary-color: #007bff;
    --success-color: #28a745;
    --gray-color: #6c757d;
    --light-gray: #e9ecef;
    --white: #ffffff;
    --bg-color: #f4f7f6;
    --text-color: #333;
    --border-radius: 12px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 500px;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

h1 {
    font-size: 24px;
    margin-bottom: 25px;
    text-align: center;
    color: #222;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
}

input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-primary {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* TELA 2 - RESULTADO */
.result-card {
    padding: 25px;
}

.header-result {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 15px;
}

.back-link {
    text-decoration: none;
    color: var(--gray-color);
    font-size: 14px;
    margin-right: 15px;
}

.header-result h2 {
    font-size: 18px;
    color: #444;
}

.order-info p {
    margin-bottom: 8px;
    font-size: 15px;
}

.status-section, .delivery-details, .token-section {
    margin-top: 25px;
}

h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* TIMELINE */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background: var(--light-gray);
}

.step {
    position: relative;
    margin-bottom: 20px;
}

.bullet {
    position: absolute;
    left: -25px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--light-gray);
    z-index: 1;
}

.step.completed .bullet {
    background: var(--success-color);
}

.step.active .bullet {
    background: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.2);
}

.step.completed .text {
    color: var(--success-color);
    font-weight: 500;
}

.step.active .text {
    color: var(--primary-color);
    font-weight: 700;
}

.step .text {
    font-size: 14px;
    color: var(--gray-color);
}

/* TOKEN */
.token-box {
    background: #f8f9fa;
    border: 2px dashed var(--primary-color);
    padding: 15px;
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 4px;
    border-radius: 8px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.token-hint {
    font-size: 13px;
    color: #666;
    text-align: center;
    margin-bottom: 15px;
}

.alert-box {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 12px;
    border-radius: 4px;
}

.alert-box strong {
    display: block;
    font-size: 13px;
    color: #856404;
    margin-bottom: 5px;
}

.alert-box p {
    font-size: 12px;
    color: #856404;
}

/* SUPORTE */
.btn-support {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    padding: 14px;
    background-color: #25d366;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-support:hover {
    background-color: #128c7e;
}

@media (max-width: 480px) {
    .card {
        padding: 20px;
    }
}
