/* ======== Form Wrapper Base ======== */
.nexoy-ot-wrapper { max-width: 550px !important; margin: 30px auto !important; padding: 40px !important; border-radius: 20px !important; transition: all 0.3s ease; box-shadow: 0 10px 40px rgba(0,0,0,0.08) !important; background: #ffffff !important; border: 1px solid #e2e8f0 !important; font-family: inherit !important; }
.nexoy-ot-wrapper.dark { background: #121418 !important; color: #ffffff !important; border: 1px solid #2d3748 !important; box-shadow: 0 10px 40px rgba(0,0,0,0.5) !important; }

/* ======== Tabs Area ======== */
.nexoy-ot-label-main { margin-bottom: 20px !important; font-weight: 700 !important; text-align: center !important; font-size: 16px !important; color: inherit !important; }
.nexoy-ot-tabs { display: flex !important; gap: 15px !important; margin-bottom: 30px !important; }
.nexoy-ot-tab { flex: 1 !important; cursor: pointer !important; }
.nexoy-ot-tab input { display: none !important; }
.nexoy-ot-tab span { display: block !important; padding: 14px !important; border: 2px solid #e2e8f0 !important; border-radius: 12px !important; text-align: center !important; font-weight: 700 !important; transition: all 0.3s !important; color: #64748b !important; }
.nexoy-ot-tab input:checked + span { background: #2271b1 !important; color: #fff !important; border-color: #2271b1 !important; }

.dark .nexoy-ot-tab span { border-color: #334155 !important; background: #1a1d24 !important; color: #94a3b8 !important; }
.dark .nexoy-ot-tab input:checked + span { background: #2271b1 !important; color: #fff !important; border-color: #2271b1 !important; }

/* ======== Input Fields ======== */
.nexoy-ot-input-group { margin-bottom: 22px !important; text-align: left !important; }
.nexoy-ot-input-group label { display: block !important; margin-bottom: 8px !important; font-weight: 600 !important; font-size: 14px !important; color: inherit !important; }
.nexoy-ot-input-group input { width: 100% !important; padding: 16px 20px !important; border: 2px solid #e2e8f0 !important; border-radius: 12px !important; font-size: 15px !important; transition: border 0.3s !important; background: #f8fafc !important; color: #1e293b !important; box-shadow: none !important; margin: 0 !important; }
.nexoy-ot-input-group input:focus { border-color: #2271b1 !important; outline: none !important; background: #ffffff !important; }

.dark .nexoy-ot-input-group input { background: #1a1d24 !important; border-color: #334155 !important; color: #f8fafc !important; }
.dark .nexoy-ot-input-group input:focus { border-color: #2271b1 !important; }

/* ======== Submit Button ======== */
.nexoy-ot-submit { width: 100% !important; padding: 18px !important; background: #2271b1 !important; color: #fff !important; border: none !important; border-radius: 12px !important; font-size: 16px !important; font-weight: 800 !important; cursor: pointer !important; transition: all 0.3s !important; box-shadow: 0 4px 15px rgba(34, 113, 177, 0.3) !important; margin-top: 10px !important; }
.nexoy-ot-submit:hover { background: #1a5b92 !important; transform: translateY(-2px) !important; }
.nexoy-ot-submit:active { transform: scale(0.98) !important; }

/* ======== Premium Timeline Result Area ======== */
.nexoy-ot-timeline-container { margin-top: 35px !important; padding: 25px !important; background: #f8fafc !important; border-radius: 16px !important; border: 1px solid #e2e8f0 !important; max-width: 100% !important; overflow: hidden !important; text-align: left !important; }
.dark .nexoy-ot-timeline-container { background: #1a1d24 !important; border-color: #334155 !important; }

/* ======== Courier Card ======== */
.nexoy-ot-courier-card { background: linear-gradient(135deg, #2271b1 0%, #164a75 100%) !important; padding: 20px 25px !important; border-radius: 12px !important; margin-bottom: 30px !important; display: flex !important; flex-wrap: wrap !important; justify-content: space-between !important; align-items: center !important; gap: 15px !important; color: #ffffff !important; box-shadow: 0 4px 15px rgba(34, 113, 177, 0.2) !important; }
.nexoy-ot-courier-info { display: flex; flex-direction: column; gap: 5px; }
.nexoy-ot-courier-info .nexoy-ot-label { font-size: 13px !important; opacity: 0.8 !important; }
.nexoy-ot-courier-info .nexoy-ot-val { font-size: 18px !important; font-weight: 800 !important; margin: 0 !important; }
.nexoy-ot-track-btn { background: #ffffff !important; color: #2271b1 !important; padding: 12px 24px !important; border-radius: 8px !important; font-weight: 800 !important; text-decoration: none !important; font-size: 14px !important; display: inline-block !important; transition: transform 0.3s !important; }
.nexoy-ot-track-btn:hover { transform: translateY(-2px) !important; }

/* ======== Vertical Timeline ======== */
.nexoy-ot-v-timeline { position: relative !important; padding-left: 45px !important; margin-top: 20px !important; }
.nexoy-ot-v-timeline::before { content: '' !important; position: absolute !important; left: 20px !important; top: 5px !important; bottom: 5px !important; width: 2px !important; background: #cbd5e1 !important; }
.dark .nexoy-ot-v-timeline::before { background: #334155 !important; }

.nexoy-ot-t-item { position: relative !important; margin-bottom: 35px !important; opacity: 0; animation: nexoyIn 0.5s forwards; }
.nexoy-ot-t-marker { position: absolute !important; left: -33px !important; top: 0 !important; width: 16px !important; height: 16px !important; background: #10b981 !important; border-radius: 50% !important; border: 3px solid #fff !important; box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2) !important; z-index: 5 !important; }
.dark .nexoy-ot-t-marker { border-color: #121418 !important; }

.nexoy-ot-t-meta { font-size: 12px !important; color: #64748b !important; font-weight: 700 !important; text-transform: uppercase !important; margin-bottom: 6px !important; display: block !important; }
.nexoy-ot-t-text h5 { margin: 0 0 6px 0 !important; font-size: 17px !important; font-weight: 700 !important; color: #1e293b !important; line-height: 1.2 !important; }
.dark .nexoy-ot-t-text h5 { color: #f1f5f9 !important; }
.nexoy-ot-t-text p { margin: 0 !important; font-size: 14px !important; color: #64748b !important; line-height: 1.5 !important; }

@keyframes nexoyIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: translateX(0); } }

/* ======== Mobile Optimization ======== */
@media (max-width: 768px) {
    .nexoy-ot-wrapper { padding: 25px 20px !important; border-radius: 20px !important; margin: 15px auto !important; }
    .nexoy-ot-tabs { gap: 10px !important; }
    .nexoy-ot-tab span { padding: 12px 5px !important; font-size: 13px !important; }
    .nexoy-ot-input-group input { padding: 14px 16px !important; font-size: 15px !important; }
    .nexoy-ot-submit { font-size: 15px !important; padding: 16px !important; }
    .nexoy-ot-courier-card { flex-direction: column !important; text-align: center !important; }
    .nexoy-ot-track-btn { width: 100% !important; box-sizing: border-box !important; margin-top: 10px !important; }
    .nexoy-ot-v-timeline { padding-left: 35px !important; }
    .nexoy-ot-v-timeline::before { left: 15px !important; }
    .nexoy-ot-t-marker { left: -28px !important; width: 14px !important; height: 14px !important; }
}