.detail-wrapper .carrinho-item-detalhes {
    color: rgba(255, 255, 255, 0.72);
    font-family: 'Poppins', 'Roboto', sans-serif;
    font-weight: 500;
}
/* ========== ESTILOS ESPECÍFICOS PARA PÁGINAS DE PEDIDOS ========== */

/* Estilos globais */
body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: transparent;
    color: #333;
    min-height: 100vh;
    position: relative;
}

/* ========== CONTAINERS PRINCIPAIS ========== */
.main-container {
    max-width: 1000px;
    margin: 30px auto;
    padding: 0 20px;
}

/* Container para visualizar pedidos (mais largo) */
.main-container.wide {
    max-width: 76%;
}

/* ========== AUTH CONTAINER (meus-pedidos.php) ========== */
.auth-container {
    max-width: 1200px;
    margin: 50px auto;
    background: #ffffff;
    padding: 50px; 
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25), 0 10px 20px rgba(0, 0, 0, 0.15);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    color: #121F4B;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.auth-header p {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.auth-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #121F4B 0%, #1a2b5f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 8px 25px rgba(18, 31, 75, 0.3);
}

/* Label do CPF - centralizado */
.auth-container label[for="cpf"] {
    color: #121F4B !important;
    font-weight: 600 !important;
    font-size: 1.1rem;
    margin-bottom: 15px !important;
    display: block !important;
    text-align: center !important;
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
}

.cpf-input {
    width: 100%;
    max-width: 400px;
    margin: 15px auto 25px auto !important;
    padding: 18px 20px;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    font-size: 1.2rem;
    text-align: center !important;
    transition: border-color 0.3s, box-shadow 0.3s;
    display: block;
    font-weight: 500;
    box-sizing: border-box;
}

.cpf-input:focus {
    outline: none;
    border-color: #121F4B;
    box-shadow: 0 0 0 3px rgba(18, 31, 75, 0.1);
}

.btn-auth {
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
    padding: 18px 30px;
    background: #121F4B;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(18, 31, 75, 0.2);
}

.btn-auth:hover {
    background: #0f1a3d;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(18, 31, 75, 0.25);
}

.btn-auth:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-auth.loading {
    pointer-events: none;
}

.btn-auth.loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========== SHIMMER DO FORMULÁRIO CPF ========== */
#cpfForm {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 20px;
    margin: 20px 0;
}

#cpfForm::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        135deg,
        transparent 0%,
        transparent 40%,
        rgba(18, 31, 75, 0.08) 50%,
        rgba(18, 31, 75, 0.12) 52%,
        rgba(18, 31, 75, 0.08) 54%,
        transparent 60%,
        transparent 100%
    );
    animation: cpfFormShimmer 3s ease-in-out infinite;
    pointer-events: none;
    transform-origin: center;
    z-index: 1;
}

#cpfForm > * {
    position: relative;
    z-index: 2;
}

@keyframes cpfFormShimmer {
    0% {
        transform: translateX(-100%) translateY(-100%);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%) translateY(100%);
        opacity: 0;
    }
}

/* ========== ACCESS CONTAINER (escolher-acesso.php) ========== */
.access-container {
    max-width: 800px;
    margin: 30px auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25), 0 10px 20px rgba(0, 0, 0, 0.15);
}

.access-header {
    text-align: center;
    margin-bottom: 40px;
}

.access-header h1 {
    color: #121F4B;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.access-header p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.pedidos-info {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.pedidos-info h3 {
    color: #121F4B;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.pedidos-count {
    background: #121F4B;
    color: white;
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0 10px;
}

.access-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

/* Shimming para blocos selecionáveis */
@keyframes diagonalShimmer {
    0% {
        transform: translateX(-100%) translateY(-100%);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%) translateY(100%);
        opacity: 0;
    }
}

.access-option {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.access-option::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        135deg,
        transparent 0%,
        transparent 40%,
        rgba(0, 0, 0, 0.08) 50%,
        rgba(0, 0, 0, 0.12) 52%,
        rgba(0, 0, 0, 0.08) 54%,
        transparent 60%,
        transparent 100%
    );
    animation: diagonalShimmer 2s ease-in-out infinite;
    pointer-events: none;
    transform-origin: center;
    z-index: 1;
}

.access-option > * {
    position: relative;
    z-index: 2;
}

.access-option:hover {
    border-color: #121F4B;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(18, 31, 75, 0.15);
}

.access-option.selected {
    border-color: #121F4B;
    background: linear-gradient(135deg, #121F4B 0%, #1a2b5f 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(18, 31, 75, 0.25);
}

.option-icon {
    width: 80px;
    height: 80px;
    background: #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: #121F4B;
    transition: all 0.3s ease;
}

.access-option.selected .option-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #ffd129;
}

.option-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #121F4B;
}

.access-option.selected .option-title {
    color: white;
}

.option-description {
    font-size: 1rem;
    line-height: 1.5;
    color: #666;
    margin-bottom: 20px;
}

.access-option.selected .option-description {
    color: rgba(255, 255, 255, 0.9);
}

.option-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.option-features li {
    padding: 5px 0;
    color: #666;
    font-size: 0.95rem;
}

.access-option.selected .option-features li {
    color: rgba(255, 255, 255, 0.8);
}

.option-features li i {
    width: 20px;
    margin-right: 10px;
    color: #28a745;
}

.access-option.selected .option-features li i {
    color: #ffd129;
}

.email-verification {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    display: none;
}

.email-verification.show {
    display: block;
}

.email-verification h4 {
    color: #856404;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.email-verification p {
    color: #856404;
    margin-bottom: 15px;
}

.verification-input {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.verification-input input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.btn-verify {
    background: #28a745;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-verify:hover {
    background: #218838;
}

.btn-action {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #121F4B 0%, #1a2b5f 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-action:hover {
    background: linear-gradient(135deg, #0f1a3d 0%, #162550 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(18, 31, 75, 0.25);
}

.btn-action:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ========== VISUALIZAR PEDIDOS (visualizar-pedidos.php) ========== */
.header-section {
    background: #121F4B;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25), 0 10px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 30px;
    text-align: center;
    color: #ffffff;
}

.header-section h1 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.header-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.access-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.access-simple {
    background: #e7f3ff;
    color: #0066cc;
}

.access-complete {
    background: #e8f5e8;
    color: #0d5016;
}

.orders-list {
    background: #121F4B;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25), 0 10px 20px rgba(0, 0, 0, 0.15);
    padding: 30px;
    margin-bottom: 30px;
    color: #ffffff;
}

.orders-list h2 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.order-item {
    background: rgba(18, 31, 75, 0.05);
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.order-item::before {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    left: -50% !important;
    width: 200% !important;
    height: 200% !important;
    background: linear-gradient(
        135deg,
        transparent 0%,
        transparent 40%,
        rgba(0, 0, 0, 0.08) 50%,
        rgba(0, 0, 0, 0.12) 52%,
        rgba(0, 0, 0, 0.08) 54%,
        transparent 60%,
        transparent 100%
    ) !important;
    animation: diagonalShimmer 2s ease-in-out infinite !important;
    pointer-events: none !important;
    transform-origin: center !important;
    z-index: 3 !important;
}

.order-item > * {
    position: relative;
    z-index: 1;
}

.order-item:hover {
    border-color: #121F4B;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(18, 31, 75, 0.15);
}

.order-item:hover::before {
    background: linear-gradient(
        135deg,
        transparent 0%,
        transparent 40%,
        rgba(18, 31, 75, 0.08) 50%,
        rgba(18, 31, 75, 0.15) 52%,
        rgba(18, 31, 75, 0.08) 54%,
        transparent 60%,
        transparent 100%
    ) !important;
}

.order-item.active {
    border-color: #121F4B;
    background: linear-gradient(135deg, #121F4B 0%, #1a2b5f 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(18, 31, 75, 0.25);
}

.order-item.active::before {
    background: linear-gradient(
        135deg,
        transparent 0%,
        transparent 40%,
        rgba(255, 255, 255, 0.12) 50%,
        rgba(255, 255, 255, 0.18) 52%,
        rgba(255, 255, 255, 0.12) 54%,
        transparent 60%,
        transparent 100%
    ) !important;
}

.detail-wrapper {
    display: flex;
    flex-direction: column;
    gap: 28px;
    color: #ffffff;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.detail-wrapper .carrinho-items {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.detail-wrapper .carrinho-item {
    border-radius: 16px;
    border: none !important;
    padding: 18px 22px;
    background: rgba(18, 31, 75, 0.55) !important;
    backdrop-filter: blur(12px);
    color: #ffffff !important;
    position: relative;
}

.detail-wrapper .carrinho-item.cupom {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.25) 0%, rgba(249, 115, 22, 0.12) 100%) !important;
    border: 1px solid rgba(249, 115, 22, 0.22) !important;
}

.detail-wrapper .carrinho-item.frete {
    border: 1px solid rgba(255, 215, 41, 0.32) !important;
    background: linear-gradient(135deg, rgba(255, 215, 41, 0.18) 0%, rgba(255, 215, 41, 0.08) 100%) !important;
}

.detail-wrapper .carrinho-item-info {
    align-items: flex-start;
}

.detail-wrapper .carrinho-item-nome {
    font-family: 'Poppins', 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: #ffffff;
}

.detail-wrapper .carrinho-filhos-vinculados span {
    color: #ffd129;
    font-family: 'Poppins', 'Roboto', sans-serif;
    font-weight: 500;
}

.detail-wrapper .carrinho-item-preco {
    position: static;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 160px;
}

.detail-wrapper .item-prices {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    font-family: 'Poppins', 'Roboto', sans-serif;
}

.detail-wrapper .item-price-original {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: line-through;
    font-size: 1.1rem;
    font-weight: 600;
}

.detail-wrapper .item-price-final {
    color: #4caf50;
    font-size: 1.1rem;
    font-weight: 600;
}

.detail-wrapper .carrinho-item-preco,
.detail-wrapper .carrinho-item-preco .item-price-final,
.detail-wrapper .carrinho-item-preco .item-price-original {
    font-family: 'Poppins', 'Roboto', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
}

.detail-wrapper .coupon-value {
    color: #ff8c3a;
}

.detail-wrapper .freight-value {
    color: #4caf50;
}

.detail-card {
    background: linear-gradient(135deg, rgba(12, 23, 56, 0.95) 0%, rgba(7, 16, 38, 0.98) 100%);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 22px;
    color: #ffffff;
    font-family: 'Poppins', 'Roboto', sans-serif;
}

.detail-card-title i {
    font-size: 1.1rem;
    color: #ffffff;
}

.detail-info-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.detail-info-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.detail-info-label,
.detail-info-value {
    font-family: 'Poppins', 'Roboto', sans-serif;
    color: rgba(255, 255, 255, 0.85);
    text-align: left;
    width: 100%;
}

.detail-info-label {
    font-size: 1.2rem;
    font-weight: 700;
}

.detail-info-value {
    font-size: 1rem;
    font-weight: 400;
}

.detail-total-divider {
    height: 1px;
    margin: 24px 0 12px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0) 100%);
}

.detail-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 18px 22px;
    border-radius: 16px;
    background: rgba(79, 209, 166, 0.12);
    border: 1px solid rgba(79, 209, 166, 0.25);
}

.detail-total-row span:first-child {
    font-family: 'Poppins', 'Roboto', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.detail-total {
    color: #4caf50;
    font-family: 'Poppins', 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 2rem;
    line-height: 1;
}

.order-details-title {
    text-align: center;
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0 auto 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-family: 'Poppins', 'Roboto', sans-serif;
    width: 100%;
}

.order-details-title i {
    color: #ffffff;
    font-size: 1.2rem;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.order-id {
    font-size: 1.2rem;
    font-weight: 700;
    color: #121F4B;
}

.order-item.active .order-id {
    color: white;
}

.order-status {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
}

.order-info {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 15px;
}

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

.info-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.order-item.active .info-label {
    color: rgba(255, 255, 255, 0.8);
}

.info-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #121F4B;
}

.order-item.active .info-value {
    color: white;
}

.order-products {
    border-top: 1px solid #e9ecef;
    padding-top: 15px;
}

.order-item.active .order-products {
    border-color: rgba(255, 255, 255, 0.3);
}

.products-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

.order-item.active .products-label {
    color: rgba(255, 255, 255, 0.8);
}

.product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product-tag {
    background: #e9ecef;
    color: #121F4B;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.order-item.active .product-tag {
    background: rgba(255, 255, 255, 0.2);
    color: #ffd129;
}

/* ========== ELEMENTOS COMUNS ========== */
.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 12px;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px solid #f5c6cb;
    display: none;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 12px;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px solid #c3e6cb;
    display: none;
}

.back-link {
    text-align: center;
    margin-top: 30px;
}

.back-link a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    background: #121F4B;
    padding: 12px 25px;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid #121F4B;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.back-link a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(18, 31, 75, 0.2);
}

.info-box {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 40px 50px;
    margin: 40px auto 0;
    max-width: 800px;
    text-align: center;
}

.info-box h3 {
    color: #121F4B;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.info-box p {
    color: #666;
    margin-bottom: 0;
    line-height: 1.7;
    font-size: 1.05rem;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.info-box p > div:first-child {
    text-align: center;
}

.info-box .access-type {
    text-align: left;
}

.access-type {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.access-type strong {
    margin-right: 5px;
}

.access-type .access-text {
    flex: 1;
    line-height: 1.5;
}

.access-icon {
    color: #999;
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ========== TIMELINE E DETALHES ESPECÍFICOS (visualizar-pedidos.php) ========== */

/* Timeline Styles */
.timeline-container {
    background: #121F4B;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25), 0 10px 20px rgba(0, 0, 0, 0.15);
    padding: 30px;
    margin-bottom: 30px;
    display: none;
    color: #ffffff;
}

.timeline-container.show {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-header {
    text-align: center;
    margin-bottom: 30px;
}

.timeline-header h3 {
    color: #121F4B;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.timeline-order-id {
    color: #666;
    font-size: 1.1rem;
}

.order-details {
    background: transparent;
    padding: 0;
    margin-bottom: 40px;
    display: none;
    color: #ffffff;
}

.order-details.show {
    display: block;
}

.complete-info {
    background: #e8f5e8;
    border: 2px solid #28a745;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    text-align: center;
}

.complete-info h3 {
    color: #0d5016;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.complete-info p {
    color: #0d5016;
    margin-bottom: 0;
    font-size: 1rem;
}

/* Estilos para seção de cupons */
.coupon-applied-info {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 2px solid #f1c40f;
    border-radius: 15px;
    padding: 20px;
    margin-top: 15px;
}

.coupon-highlight {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    border: 2px solid #047857 !important;
    color: white !important;
}

.coupon-highlight .detail-label {
    color: rgba(255, 255, 255, 0.9) !important;
}

.coupon-highlight .detail-value {
    color: white !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
}

.coupon-code {
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.discount-amount {
    color: #e74c3c !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
}

.savings-amount {
    color: #27ae60 !important;
    font-weight: 600 !important;
    background: rgba(39, 174, 96, 0.1);
    padding: 5px 10px;
    border-radius: 8px;
    border: 1px solid rgba(39, 174, 96, 0.3);
    font-size: 1.1rem !important;
}

.product-complete {
    display: block;
    background: transparent;
    padding: 15px 0;
    border: none;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.product-complete:hover {
    background: rgba(255, 255, 255, 0.05);
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 8px;
}

.product-thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #e9ecef;
    background: #f8f9fa;
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-name {
    font-weight: 600;
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.product-children {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.product-quantity {
    color: #666;
    font-size: 0.9rem;
}

/* Timeline */
.timeline-section {
    margin-top: 30px;
}

.timeline-section > .timeline-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #121F4B;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
}

.timeline-title i {
    color: #121F4B;
    font-size: 1.2rem;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    background: linear-gradient(180deg, #121F4B 0%, #1a2b5f 100%);
    transform: translateX(-50%);
    border-radius: 2px;
    height: var(--timeline-height, calc(100% - 60px));
    z-index: 0;
}

/* Linha tracejada para etapas futuras - começa logo após o ícone da etapa atual */
.timeline::after {
    content: '';
    position: absolute;
    left: 50%;
    top: var(--dashed-line-start, calc(var(--timeline-height, 0px) + 25px));
    width: 4px;
    min-height: 50px;
    height: calc(100% - var(--dashed-line-start, calc(var(--timeline-height, 0px) + 25px)));
    background-image: repeating-linear-gradient(
        to bottom,
        rgba(18, 31, 75, 0.5) 0px,
        rgba(18, 31, 75, 0.5) 8px,
        transparent 8px,
        transparent 16px
    );
    transform: translateX(-50%);
    border-radius: 2px;
    z-index: 0;
    pointer-events: none;
}

.timeline-item {
    position: relative;
    margin: 30px 0;
    width: 100%;
    z-index: 10;
}

.timeline-content {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    width: 45%;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-right: 0;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.timeline-content.completed {
    border-color: #6c757d;
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: white !important;
}

.timeline-content.completed * {
    color: white !important;
}

.timeline-content.completed .btn-download {
    background: #ffffff !important;
    border: none !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.timeline-content.completed .btn-download,
.timeline-content.completed .btn-download *,
.timeline-content.current .btn-download,
.timeline-content.current .btn-download * {
    color: #121F4B !important;
}

.timeline-content.current {
    border: none;
    background: linear-gradient(135deg, #FF662B 0%, #e55a00 100%);
    color: white !important;
}

/* Tag "Etapa Atual" do lado oposto ao bloco, alinhada ao ícone */
.timeline-item:has(.timeline-content.current)::after {
    content: 'Etapa Atual';
    position: absolute;
    top: 50%;
    padding: 10px 20px;
    background: linear-gradient(135deg, #FF662B 0%, #e55a00 100%);
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 15px;
    white-space: nowrap;
    z-index: 2;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Blocos ímpares (à esquerda): tag à direita do ícone */
.timeline-item:nth-child(odd):has(.timeline-content.current)::after {
    left: 50%;
    transform: translate(35px, -50%);
}

/* Blocos pares (à direita): tag à esquerda do ícone */
.timeline-item:nth-child(even):has(.timeline-content.current)::after {
    right: 50%;
    transform: translate(-35px, -50%);
}

.timeline-content.current * {
    color: white !important;
}

.timeline-content.current .btn-download {
    background: #ffffff !important;
    border: none !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.timeline-content.current .btn-track {
    color: #007bff !important;
}

.timeline-content.pending {
    border-color: #dee2e6;
    background: #ffffff;
    color: #495057 !important;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.timeline-content.pending * {
    color: #495057 !important;
}

.timeline-content.pending .timeline-title {
    margin-bottom: 0;
    text-align: center;
    position: relative;
    padding-left: 45px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

/* Loader nos blocos futuros - lado mais próximo da linha */
.timeline-content.pending .timeline-title::before {
    content: '';
    position: relative;
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid #dee2e6;
    border-top: 3px solid #121F4B;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    flex-shrink: 0;
    margin-left: -45px;
}

.timeline-content.pending .timeline-description,
.timeline-content.pending .timeline-date,
.timeline-content.pending .timeline-actions {
    display: none;
}

.timeline-content.pending:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.timeline-content.rejected {
    border-color: #dc3545;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.timeline-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    z-index: 20;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.timeline-icon.completed {
    background: #6c757d;
    color: white;
}

.timeline-icon.current {
    background: #121F4B;
    color: white;
    animation: pulse 2s infinite;
}

.timeline-icon.pending {
    background: #e9ecef;
    color: #6c757d;
    transition: all 0.3s ease;
}

/* Cria gap visual na linha tracejada onde estão os ícones pending */
.timeline-item:has(.timeline-icon.pending)::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #121F4B;
    z-index: 5;
    pointer-events: none;
}

.timeline-icon.rejected {
    background: #dc3545;
    color: white;
}

.rejection-details {
    margin: 15px 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border-left: 4px solid rgba(255, 255, 255, 0.3);
}

.rejection-details p {
    margin: 5px 0;
    font-size: 0.9rem;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(18, 31, 75, 0.7);
    }
    70% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 10px rgba(18, 31, 75, 0);
    }
    100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(18, 31, 75, 0);
    }
}

.timeline-content .timeline-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: inherit;
}

.timeline-description {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 15px;
    opacity: 0.9;
}

.timeline-date {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 15px;
}

.timeline-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.timeline-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    line-height: 1.2;
    min-height: 40px;
}

.btn-download,
.btn-download:visited,
.btn-download:active {
    background: #ffffff !important;
    color: #121F4B !important;
    border: none !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    font-weight: 600;
    padding: 10px 20px;
    text-decoration: none !important;
}

.btn-download:hover {
    background: #f3f5ff !important;
    color: #121F4B !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.btn-download i {
    color: #121F4B !important;
    font-size: 1rem;
}

.btn-track {
    background: white !important;
    color: #007bff !important;
    border: 2px solid #007bff !important;
    box-shadow: 0 3px 10px rgba(0, 123, 255, 0.2);
    font-weight: 700;
}

.btn-track:hover {
    background: #007bff !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

.back-section {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e9ecef;
}

/* Removida - consolidada abaixo */

/* ========== RESPONSIVIDADE ========== */
@media (max-width: 768px) {
    .main-container {
        max-width: calc(100% - 10px) !important;
        margin: 10px auto;
        padding: 0 5px;
    }
    
    .main-container.wide {
        max-width: calc(100% - 10px) !important;
    }
    
    .auth-container,
    .access-container {
        max-width: calc(100% - 10px) !important;
        margin: 10px auto !important;
        padding: 25px 10px !important;
    }
    
    .header-section {
        padding: 20px 10px !important;
        margin-bottom: 15px !important;
    }
    
    .orders-list {
        padding: 20px 10px !important;
        margin-bottom: 15px !important;
    }

    .detail-card {
        padding: 22px !important;
    }

    .detail-card-title {
        font-size: 1.1rem;
    }

    .detail-info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .detail-info-value {
        text-align: left;
    }

    .detail-total-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .detail-total {
        font-size: 1.6rem;
    }
    
    .order-item {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .auth-header h1,
    .access-header h1 {
        font-size: 1.8rem;
    }
    
    .header-section h1 {
        font-size: 2rem;
    }
    
    .auth-icon,
    .option-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .access-options {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .access-option {
        padding: 25px 20px;
    }
    
    .option-title {
        font-size: 1.3rem;
    }
    
    .order-info {
        grid-template-columns: 1fr;
        gap: 12px;
        text-align: left;
    }
    
    .info-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .info-item:last-child {
        border-bottom: none;
    }
    
    .order-item.active .info-item {
        border-color: rgba(255, 255, 255, 0.2);
    }
    
    .product-list {
        flex-direction: column;
        gap: 8px;
    }
    
    .product-tag {
        display: block;
        margin-bottom: 8px;
        width: 100%;
        text-align: center;
        padding: 8px 12px;
    }
    
    .timeline-container {
        padding: 15px 10px !important;
        margin-bottom: 15px !important;
    }
    
    .order-details {
        padding: 15px 10px !important;
        margin-bottom: 15px !important;
    }
    
    .product-item-complete {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        text-align: left;
    }
    
    .product-item-complete .product-details {
        width: 100%;
        justify-content: space-between;
    }
    
    .child-products-group {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    .address-info {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .timeline-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .timeline-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
    }
    
    /* Timeline específico para mobile */
    .timeline::before {
        left: 30px;
    }

    .timeline::after {
        left: 30px;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
        margin-right: 0 !important;
    }

    .timeline-icon {
        left: 30px;
    }
    
    /* Pseudoelemento azul atrás dos ícones pending - acompanha posição mobile */
    .timeline-item:has(.timeline-icon.pending)::before {
        left: 30px;
    }
    
    /* Tag "Etapa Atual" no mobile: posicionar acima do bloco */
    .timeline-item:has(.timeline-content.current) {
        margin-top: 50px !important;
        padding-top: 0 !important;
    }
    
    .timeline-item:has(.timeline-content.current)::after {
        top: -45px !important;
        left: 60px !important;
        right: auto !important;
        transform: none !important;
        margin-bottom: 15px;
        position: absolute;
    }
} 