:root { --primary-color_order_tracking: var(--wd-primary-color,#4361ee); --secondary-color_order_tracking: #3bc9db; --accent-color_order_tracking: #f72585; --dark-color_order_tracking: #2b3445; --light-color_order_tracking: #f7f9fc; --gray-color_order_tracking: #8a94a6; --shadow_order_tracking: 0 10px 15px rgba(0, 0, 0, 0.05); --border-radius_order_tracking: 10px; --transition_order_tracking: all 0.3s ease; --gradient-primary_order_tracking: var(--wd-primary-color,#4361ee); --gradient-secondary_order_tracking: linear-gradient(45deg, #3bc9db, #4cc9f0); --gradient-accent_order_tracking: linear-gradient(45deg, #f72585, #b5179e); --gradient-success: linear-gradient(45deg, #2ec4b6, #3bc9db); --gradient-warning_order_tracking: linear-gradient(45deg, #ff9e00, #ff7a00); } body.plus-myaccount .container_orderpage{ font-family: var(--plus_dashboard_font); } #tracking-loader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(255, 255, 255, 0.8); display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 9999; } .loader-spinner { border: 5px solid #f3f3f3; border-top: 5px solid var(--primary-color_order_tracking,#3498db); border-radius: 50%; width: 50px; height: 50px; animation: spin 1s linear infinite; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .container_orderpage { max-width: 1200px; margin: 0 auto; padding: 20px; } header { text-align: center; margin-bottom: 30px; padding: 20px 0; } header h1 { font-size: 2.5rem; color: var(--primary-color_order_tracking); margin-bottom: 10px; position: relative; display: inline-block; } header h1::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 80px; height: 4px; background: var(--primary-color_order_tracking); border-radius: 2px; } header p { font-size: 1.1rem; color: var(--gray-color_order_tracking); } .search-box { background-color: white; border-radius: var(--border-radius_order_tracking); box-shadow: var(--shadow_order_tracking); padding: 35px; margin-bottom: 40px; transition: var(--transition_order_tracking); border: 1px solid rgba(0, 0, 0, 0.03); } .search-box:hover { box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); } .form-container { display: flex; flex-direction: column; gap: 20px; } .input-group { display: flex; flex-direction: column; gap: 8px; } .input-group label { font-weight: 500; color: var(--dark-color_order_tracking); } .input-wrapper { position: relative; } .input-wrapper i { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: var(--gray-color_order_tracking); } .input-wrapper input { width: 100%; padding: 15px 45px 15px 15px; border: 1px solid #ddd; border-radius: var(--border-radius_order_tracking); font-size: 1rem; transition: var(--transition_order_tracking); } .input-wrapper input:focus { outline: none; } .btn-track { background: var(--gradient-primary_order_tracking) !important; color: white !important; border: none; padding: 15px; border-radius: 8px; font-size: 1rem; font-weight: 500; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; transition: var(--transition_order_tracking); box-shadow: 0 8px 15px rgba(67, 97, 238, 0.25); font-family: inherit; } .btn-track:hover { transform: translateY(-3px); box-shadow: 0 12px 20px rgba(67, 97, 238, 0.35); } .btn-track:active { transform: translateY(0); } .btn-track.pulse { animation: pulse 0.5s ease; } @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(67, 97, 238, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(67, 97, 238, 0); } 100% { box-shadow: 0 0 0 0 rgba(67, 97, 238, 0); } } .result-container { background-color: white; border-radius: var(--border-radius_order_tracking); box-shadow: var(--shadow_order_tracking); padding: 30px; margin-top: 30px; animation: fadeIn 0.5s ease; } @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .order-details h2, .order-status h2, .order-items h2 { color: var(--primary-color_order_tracking); margin-bottom: 20px; position: relative; padding-bottom: 10px; } .order-details h2::after, .order-status h2::after, .order-items h2::after { content: ''; position: absolute; bottom: 0; right: 0; width: 60px; height: 3px; background: var(--gradient-primary_order_tracking); border-radius: 1.5px; } .details-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-bottom: 30px; } .detail-item { display: flex; align-items: center; gap: 15px; padding: 20px; border-radius: var(--border-radius_order_tracking); background-color: white; transition: var(--transition_order_tracking); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03); border: 1px solid rgba(0, 0, 0, 0.03); } .detail-item:hover { background-color: #edf2f7; transform: translateY(-2px); } .detail-icon { width: 45px; height: 45px; border-radius: 12px; background: var(--gradient-primary_order_tracking); color: white; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 5px 10px rgba(67, 97, 238, 0.2); } .detail-content { display: flex; flex-direction: column; } .detail-label { font-size: 0.9rem; color: var(--gray-color_order_tracking); } .detail-value { font-weight: 500; color: var(--dark-color_order_tracking); } .status-timeline { display: flex; justify-content: space-between; margin: 50px 0; position: relative; } @keyframes flowAnimation { 0% { background-position: 0 0; } 100% { background-position: -100px 0; } } .status-step { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 2; width: 100%; } .step-icon { width: 60px; height: 60px; border-radius: 50%; background-color: white; display: flex; align-items: center; justify-content: center; margin-bottom: 15px; color: var(--gray-color_order_tracking); transition: var(--transition_order_tracking); position: relative; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); border: 3px solid #e9ecef; } .step-icon svg { width: 28px; height: 28px; } .step-label { font-size: 0.95rem; font-weight: 500; text-align: center; color: var(--gray-color_order_tracking); transition: var(--transition_order_tracking); margin-bottom: 5px; width: 100%; } .status-timeline img.img-responsive { width: 70%; height: auto; } .order-status.white_card--border_row > h2{ margin-top: 23px; } .status-step.active .step-icon { color: white; border-color: var(--secondary-color_order_tracking); transform: scale(1.1); box-shadow: 0 0 0 5px rgba(59, 201, 219, 0.2); position: relative; overflow: hidden; } .status-step.active .step-icon::after { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 70%); animation: pulseWave 2s ease-out infinite; } @keyframes pulseWave { 0% { transform: scale(0); opacity: 1; } 100% { transform: scale(1); opacity: 0; } } .status-step.active .step-label { color: var(--secondary-color_order_tracking); font-weight: 700; } .status-step.completed .step-icon { color: white; border-color: var(--primary-color_order_tracking); } .status-step.completed .step-label { color: var(--primary-color_order_tracking); font-weight: 600; } .status-step.completed:not(:last-child)::after { content: ''; position: absolute; top: 30px; right: 50%; left: -50%; height: 4px; background: linear-gradient(to right, var(--primary-color_order_tracking) 0%, var(--secondary-color_order) 100%); background-size: 20px 4px; z-index: 0; border-radius: 2px; animation: completedFlowAnimation 1.5s linear infinite; background-image: linear-gradient(to right, var(--primary-color_order_tracking) 0%, var(--secondary-color_order_tracking) 50%, var(--primary-color_order_tracking) 100%); background-size: 200% 100%; } @keyframes completedFlowAnimation { 0% { background-position: 0% 0; } 100% { background-position: 200% 0; } } .status-step:last-child.completed::after { left: -50%; width: 50%; } .status-step.animated .step-icon { animation: bounceIn 0.6s ease; z-index: 9; } @keyframes bounceIn { 0% { transform: scale(0.8); opacity: 0; } 50% { transform: scale(1.2); } 100% { transform: scale(1); opacity: 1; } } .tooltip { position: absolute !important; top: -60px; left: 50%; transform: translateX(-50%); background-color: var(--dark-color_order_tracking); color: white; padding: 10px 15px; border-radius: 8px; font-size: 0.9rem; opacity: 0; visibility: hidden; transition: var(--transition_order_tracking); width: max-content; max-width: 220px; text-align: center; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); z-index: 10; } .tooltip::after { content: ''; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 8px solid var(--dark-color_order_tracking); } .status-step.active:hover .tooltip ,.status-step.completed:hover .tooltip { opacity: 1; visibility: visible; transform: translate(-50%, -5px); } .order-items { margin-top: 40px; } .order-items h2 { margin-bottom: 30px; position: relative; padding-bottom: 15px; } .order-items h2::after { content: ''; position: absolute; bottom: 0; right: 0; width: 60px; height: 3px; background: var(--gradient-primary_order_tracking); border-radius: 1.5px; } .items-container { display: flex; flex-direction: column; gap: 20px; } .item-card { background-color: white; border-radius: 15px; overflow: hidden; transition: all 0.4s ease; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); position: relative; border: 1px solid rgba(0, 0, 0, 0.05); display: flex; flex-direction: row; } .item-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); } .item-image { width: 120px; height: 120px; overflow: hidden; position: relative; flex-shrink: 0; } .item-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; } .item-card:hover .item-image img { transform: scale(1.08); } .item-details { padding: 20px; position: relative; flex-grow: 1; display: flex; flex-direction: column; justify-content: center; } .item-name { font-weight: 600; font-size: 1.1rem; color: var(--dark-color_order_tracking); margin-bottom: 10px; } .item-meta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; } .item-price { color: var(--primary-color_order_tracking); font-weight: 700; font-size: 1.2rem; display: flex; align-items: center; gap: 8px; background-color: rgba(67, 97, 238, 0.1); padding: 5px 15px; border-radius: 20px; } .item-quantity { display: flex; align-items: center; gap: 8px; background-color: rgba(59, 201, 219, 0.1); color: var(--secondary-color_order_tracking); padding: 5px 15px; border-radius: 20px; font-weight: 600; } .item-quantity::before { content: ''; display: inline-block; width: 16px; height: 16px; } .item-actions { position: absolute; top: 20px; left: 20px; display: flex; gap: 10px; } .item-action-btn { width: 36px; height: 36px; border-radius: 50%; background-color: white; display: flex; align-items: center; justify-content: center; color: var(--gray-color_order_tracking); box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1); cursor: pointer; transition: all 0.3s ease; } .item-action-btn:hover { background-color: var(--primary-color_order_tracking); color: white; transform: translateY(-3px); } .item-status { position: absolute; bottom: 20px; left: 20px; background: var(--gradient-success); color: white; padding: 5px 15px; border-radius: 20px; font-size: 0.85rem; font-weight: 500; } .item-card.animated { animation: slideInRight 0.5s ease forwards; opacity: 0; } @keyframes slideInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } } @media (max-width: 576px) { .item-card { flex-direction: column; } .item-image { width: 100%; height: 150px; } .item-actions { top: 10px; left: 10px; } .item-status { position: relative; bottom: auto; left: auto; display: inline-block; margin-top: 15px; } } @media (max-width: 768px) { .items-container { grid-template-columns: 1fr; } .item-image { height: 180px; } .status-timeline::before { top: 0; bottom: 0; right: 30px; left: auto; width: 4px; height: auto; background: repeating-linear-gradient(to bottom, #e9ecef 0%, #e9ecef 50%, #d1d7e0 50%, #d1d7e0 100%); background-size: 4px 20px; animation: flowAnimationVertical 2s linear infinite; } @keyframes flowAnimationVertical { 0% { background-position: 0 0; } 100% { background-position: 0 20px; } } .status-step.completed:not(:last-child)::after { top: -15px; bottom: auto; right: 30px; left: auto; width: 4px; height: 30px; background-image: linear-gradient(to bottom, var(--primary-color_order_tracking) 0%, var(--secondary-color_order_tracking) 50%, var(--primary-color_order_tracking) 100%); background-size: 100% 200%; animation: completedFlowAnimationVertical 1.5s linear infinite; } @keyframes completedFlowAnimationVertical { 0% { background-position: 0 0%; } 100% { background-position: 0 200%; } } } @media (max-width: 480px) { .container_orderpage { padding: 10px; } header h1 { font-size: 1.8rem; } .search-box, .result-container { padding: 20px; } .input-wrapper input, .btn-track { padding: 12px; } } .status-step.animated:not(.completed):not(:last-child)::after { width: 100%; content: ''; position: absolute; top: 30px; left: 0; transform: translateX(-50%); height: 4px; background: repeating-linear-gradient(to right, #e9ecef 0%, #e9ecef 50%, #d1d7e0 50%, #d1d7e0 100%); background-size: 20px 4px; border-radius: 2px; z-index: 1; animation: flowAnimation 2s linear infinite; } .order-not-found { color: #495057; display: flex; flex-direction: column; align-items: center; } .not-found-icon { margin-bottom: 1.5rem; } .not-found-icon svg { width: 80px; height: 80px; stroke: var(--primary-color_order_tracking,#e63946); } .not-found-title { font-size: 1.5rem; margin-bottom: 0.5rem; color: #343a40; } .not-found-message { font-size: 1rem; margin-bottom: 1.5rem; line-height: 1.6; } .not-found-actions { display: flex; justify-content: center; gap: 1rem; margin-top: 1.5rem; } .retry-button, .contact-support-button { padding: 0.6rem 1.2rem; border: none; border-radius: 4px; font-size: 0.9rem; cursor: pointer; transition: all 0.3s ease; } .retry-button { background-color: #4a89dc; color: white; } .retry-button:hover { background-color: #3a70c2; } .contact-support-button { background-color: transparent; border: 1px solid #4a89dc; color: #4a89dc; } .contact-support-button:hover { background-color: #f0f4f8; } @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } .order-not-found { animation: fadeIn 0.5s ease-out; } .input-icon { width: 18px; height: 18px; margin-left: 12px; color: #6c757d; vertical-align: middle; } .input-wrapper { display: flex; align-items: center; padding: 10px 15px; border: 1px solid #ddd; border-radius: 4px; background-color: #fff; } .input-wrapper input { border: none; outline: none; flex-grow: 1; padding: 0 8px; } .input-wrapper:focus-within .input-icon { color: var(--primary-color_order_tracking,#4a89dc); }