/* ===========================
   ARQUIVO: style.css
   MÓDULO: Acompanhar Pedido (Portal do Cliente)
   SISTEMA: ImaginaTech - Gestão de Impressão 3D
   VERSÃO: 2.1 - Mobile Responsivo
   IMPORTANTE: NÃO REMOVER ESTE CABEÇALHO DE IDENTIFICAÇÃO
   =========================== */

/* Root Variables */
:root {
    --primary-blue: #2A6EA7;
    --secondary-blue: #57D4CA;
    --neon-blue: #00D4FF;
    --neon-red: #FF0055;
    --neon-green: #00FF88;
    --neon-yellow: #FFD700;
    --neon-purple: #9945FF;
    --neon-orange: #FF6B35;
    --dark-bg: #0a0e1a;
    --card-bg: #111827;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.3);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===========================
   BACKGROUND ANIMATIONS
   =========================== */

.cosmic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #0a0e1a 0%, #1a2332 50%, #0a0e1a 100%);
    pointer-events: none;
}

.grid-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 10s linear infinite;
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--neon-blue);
    border-radius: 50%;
    opacity: 0.5;
    animation: float 20s infinite linear;
}

@keyframes float {
    from { 
        transform: translateY(100vh) translateX(0); 
    }
    to { 
        transform: translateY(-100px) translateX(100px); 
    }
}

/* ===========================
   LOADING OVERLAY
   =========================== */

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(10px);
    transition: opacity 0.3s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    text-align: center;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 212, 255, 0.2);
    border-top-color: var(--neon-blue);
    border-radius: 50%;
    animation: spin 1s ease-in-out infinite;
    margin: 0 auto 20px;
}

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

.loading-text {
    color: var(--neon-blue);
    font-size: 0.9rem;
    animation: pulseFade 1.5s ease-in-out infinite;
}

@keyframes pulseFade {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
        box-shadow: 0 0 0 4px rgba(0, 255, 136, 0);
    }
}

/* ===========================
   HEADER
   =========================== */

.header {
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 20px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.logo-section {
    display: flex;
    align-items: center;
}

.logo-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.logo {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--neon-blue), var(--secondary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: -5px;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--glass-bg);
}

.nav-link.whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
}

.nav-link.whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
}

/* ===========================
   MAIN CONTAINER
   =========================== */

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: calc(100vh - 80px);
}

/* ===========================
   WELCOME SCREEN
   =========================== */

.welcome-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 160px);
    padding: 2rem 0;
}

.welcome-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    max-width: 600px;
    width: 100%;
    box-shadow: var(--shadow-glow);
}

.welcome-header {
    text-align: center;
    margin-bottom: 2rem;
}

.welcome-icon {
    font-size: 4rem;
    color: var(--neon-blue);
    margin-bottom: 1rem;
}

.welcome-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--neon-blue), var(--secondary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ===========================
   LOGIN SECTION
   =========================== */

.btn-google {
    width: 100%;
    padding: 1rem;
    background: #fff;
    color: #333;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.btn-google:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
}

.btn-google i {
    font-size: 1.2rem;
}

.divider {
    text-align: center;
    color: var(--text-secondary);
    margin: 1.5rem 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: var(--glass-border);
}

.divider span {
    background: var(--card-bg);
    padding: 0 1rem;
    position: relative;
    font-size: 0.9rem;
}

/* ===========================
   INFO STEPS
   =========================== */

.info-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--glass-bg);
    border-radius: 10px;
    border: 1px solid var(--glass-border);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--neon-blue), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-text strong {
    display: block;
    margin-bottom: 0.25rem;
}

.step-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===========================
   CODE SECTION
   =========================== */

.code-section {
    animation: fadeIn 0.3s ease;
}

.code-section.hidden {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--glass-bg);
    border-radius: 10px;
    margin-bottom: 2rem;
}

.user-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--neon-blue);
}

.user-details {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-name {
    font-weight: 500;
}

.btn-logout {
    padding: 0.5rem 1rem;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-logout:hover {
    color: var(--neon-red);
    border-color: var(--neon-red);
}

/* ===========================
   CODE INPUT
   =========================== */

.code-input-container {
    margin-bottom: 2rem;
}

.code-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.code-input-group {
    display: flex;
    gap: 1rem;
}

.code-input {
    flex: 1;
    padding: 1rem;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1.2rem;
    font-family: 'Orbitron', monospace;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: all 0.3s ease;
}

.code-input:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.code-input.error {
    border-color: var(--neon-red);
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.btn-verify {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--neon-blue), var(--secondary-blue));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-verify:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.4);
}

.code-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.attempts-warning {
    display: none;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    color: var(--neon-orange);
    font-size: 0.85rem;
    animation: fadeIn 0.3s ease;
}

.attempts-warning.show {
    display: flex;
}

/* ===========================
   MY ORDERS SECTION
   =========================== */

.my-orders-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.order-item:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--neon-blue);
}

.order-item-code {
    font-family: 'Orbitron', monospace;
    font-weight: 500;
    color: var(--neon-blue);
}

.order-item-date {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* ===========================
   ORDER VIEW
   =========================== */

.order-view {
    animation: slideIn 0.3s ease;
}

.order-view.hidden {
    display: none;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.order-container {
    max-width: 900px;
    margin: 0 auto;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--glass-bg);
    border-radius: 10px;
}

.btn-back, .btn-refresh {
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-back:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.btn-refresh:hover {
    color: var(--neon-blue);
    border-color: var(--neon-blue);
    animation: spin 1s ease;
}

.order-title h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.order-code-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--neon-blue);
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

/* ===========================
   ORDER CARD
   =========================== */

.order-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-glow);
}

.order-status-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 2rem;
}

.status-badge {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-pendente {
    background: rgba(255, 215, 0, 0.2);
    border: 2px solid var(--neon-yellow);
    color: var(--neon-yellow);
}

.status-producao {
    background: rgba(0, 212, 255, 0.2);
    border: 2px solid var(--neon-blue);
    color: var(--neon-blue);
    animation: pulse-border 2s ease-in-out infinite;
}

.status-concluido {
    background: rgba(0, 255, 136, 0.2);
    border: 2px solid var(--neon-green);
    color: var(--neon-green);
}

.status-retirada {
    background: rgba(153, 69, 255, 0.2);
    border: 2px solid var(--neon-purple);
    color: var(--neon-purple);
}

.status-transporte {
    background: rgba(255, 107, 53, 0.2);
    border: 2px solid var(--neon-orange);
    color: var(--neon-orange);
    animation: pulse-border 3s ease-in-out infinite;
}

.status-entregue {
    background: rgba(87, 212, 202, 0.2);
    border: 2px solid var(--secondary-blue);
    color: var(--secondary-blue);
}

@keyframes pulse-border {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.7);
    }
    50% { 
        box-shadow: 0 0 0 10px rgba(0, 212, 255, 0);
    }
}

.order-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.detail-item {
    padding: 1rem;
    background: var(--glass-bg);
    border-radius: 10px;
    border: 1px solid var(--glass-border);
}

.detail-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.detail-value {
    font-size: 1.1rem;
    font-weight: 500;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

/* ===========================
   DELIVERY ADDRESS CONTAINER
   =========================== */

.delivery-address-container {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(153, 69, 255, 0.1);
    border: 1px solid var(--neon-purple);
    border-radius: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.delivery-address-container p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin: 0;
    line-height: 1.6;
}

/* ===========================
   TRACKING CODE
   =========================== */

.tracking-code {
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    color: var(--neon-blue);
    letter-spacing: 2px;
    word-break: break-all;
    display: block;
    max-width: 100%;
}

/* ===========================
   TIMELINE
   =========================== */

.timeline-section {
    margin-bottom: 2rem;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

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

.timeline-item {
    position: relative;
    padding: 1rem;
    margin-bottom: 1rem;
    background: var(--glass-bg);
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    margin-left: 1rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 1.5rem;
    width: 12px;
    height: 12px;
    background: var(--neon-blue);
    border-radius: 50%;
    border: 2px solid var(--card-bg);
}

.timeline-item.completed::before {
    background: var(--neon-green);
}

.timeline-date {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.timeline-content {
    font-size: 0.95rem;
}

/* ===========================
   CLIENT ACTIONS
   =========================== */

.client-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-action {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-action.whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
}

.btn-action.print {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Button for tracking - Direct link to Correios */
.btn-tracking {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--neon-blue), var(--secondary-blue));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-tracking:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 15px rgba(0, 212, 255, 0.4);
    color: white;
}

/* ===========================
   TOAST NOTIFICATIONS
   =========================== */

.toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 1000;
}

.toast {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 300px;
    animation: slideInRight 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.success {
    border-color: var(--neon-green);
}

.toast.error {
    border-color: var(--neon-red);
}

.toast.info {
    border-color: var(--neon-blue);
}

.toast-icon {
    font-size: 1.5rem;
}

.toast.success .toast-icon {
    color: var(--neon-green);
}

.toast.error .toast-icon {
    color: var(--neon-red);
}

.toast.info .toast-icon {
    color: var(--neon-blue);
}

.toast-message {
    flex: 1;
}

/* ===========================
   MODAL
   =========================== */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.modal-header h3 {
    font-size: 1.25rem;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--neon-red);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

.btn-cancel, .btn-confirm {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel {
    background: var(--glass-bg);
    color: var(--text-secondary);
    border: 1px solid var(--glass-border);
}

.btn-confirm {
    background: linear-gradient(135deg, var(--neon-blue), var(--secondary-blue));
    color: white;
}

.btn-cancel:hover, .btn-confirm:hover {
    transform: translateY(-2px);
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 768px) {
    .header-container {
        padding: 1rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .nav-links {
        gap: 0.75rem;
    }
    
    .nav-link span {
        display: none;
    }
    
    .main-container {
        padding: 1rem;
    }
    
    .welcome-card {
        padding: 2rem 1.5rem;
    }
    
    .welcome-icon {
        font-size: 3rem;
    }
    
    .welcome-header h2 {
        font-size: 1.5rem;
    }
    
    .code-input-group {
        flex-direction: column;
    }
    
    .order-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .client-actions {
        flex-direction: column;
    }
    
    .order-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .user-info {
        flex-direction: column;
        text-align: center;
    }
    
    .user-details {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    
    .toast {
        min-width: 250px;
        right: 10px;
    }
    
    /* Correções mobile adicionadas */
    .welcome-card {
        padding: 1.5rem 1rem;
    }
    
    .order-card {
        padding: 1rem;
        border-radius: 10px;
    }
    
    .order-details {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .detail-item {
        padding: 0.75rem;
    }
    
    .detail-item[style*="grid-column: 1 / -1"] {
        grid-column: 1;
    }
    
    .order-status-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .status-badge {
        width: 100%;
        text-align: center;
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    .code-input {
        font-size: 1rem;
        letter-spacing: 2px;
    }
    
    .btn-verify {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .timeline {
        padding-left: 1.5rem;
    }
    
    .timeline-item {
        margin-left: 0.5rem;
        padding: 0.75rem;
    }
    
    .timeline-item::before {
        left: -1.25rem;
    }
    
    .delivery-address-container {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .tracking-code {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
}

/* ===========================
   UTILS
   =========================== */

.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }