/* --- Thiết kế cho Form Đặt Lịch Chuyên Gia (Authority Booking) --- */
.ldtv-wrapper { --p: #f97316; --ph: #ea580c; --d: #111827; --l: #f9fafb; font-family: system-ui, -apple-system, sans-serif; }
.ldtv-wrapper * { box-sizing: border-box; }
.ldtv-container { max-width: 1150px; margin: 0 auto; padding: 0 20px; }
.ldtv-relative { position: relative; }
.z-10 { z-index: 10; }

/* HERO SECTION */
.ldtv-full-width-breakout { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; overflow: hidden; }
.ldtv-hero { padding: 80px 0; background: #111827; color: white; background-size: cover; background-position: center;}
.ldtv-hero-overlay { position: absolute; inset: 0; background: linear-gradient(rgba(17,24,39,0.9), rgba(17,24,39,0.95)); z-index: 1; transition: all 0.3s; }
.ldtv-hero-inner-wrap { color: #ffffff; }

/* LAYOUT & BỐ CỤC TIÊU ĐỀ (MỚI NÂNG CẤP) */
.ldtv-top-header-wrap { width: 100%; margin-bottom: 30px; }
.ldtv-pre-header { color: var(--p); font-weight: 800; letter-spacing: 2px; font-size: 13px; margin-bottom: 15px; text-transform: uppercase; }
.ldtv-main-title { font-size: 42px; font-weight: 900; line-height: 1.2; margin: 0 0 20px 0; max-width: 900px; color: #ffffff; }

/* Chế độ căn giữa (Top Center) */
.ldtv-header-top_center .ldtv-top-header-wrap { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ldtv-header-top_center .ldtv-main-title { text-align: center; margin-left: auto; margin-right: auto; }
.ldtv-header-top_center .ldtv-pre-header { text-align: center; }

/* Chế độ ngang hàng với Form (Inline Left) */
.ldtv-header-inline_left .ldtv-top-header-wrap { margin-bottom: 25px; }

/* PRICE ANCHOR TĂNG GIÁ TRỊ */
.ldtv-price-tag { display: inline-flex; align-items: center; justify-content: center; background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); color: #fca5a5; padding: 8px 18px; border-radius: 30px; font-size: 15px; margin-bottom: 10px; width: max-content; max-width: 100%; }
.ldtv-price-tag s { color: #9ca3af; margin: 0 6px; font-weight: normal; }
.ldtv-price-tag strong { color: #fca5a5; text-transform: uppercase; margin-left: 4px;}
.ldtv-price-tag .dashicons { margin-right: 6px; font-size: 18px; width: 18px; height: 18px; color: #ef4444; }

.ldtv-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: flex-start; }

/* LARGE EXPERT CARD (Nếu không dùng Video) */
.ldtv-large-expert-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 30px; display: flex; align-items: flex-start; gap: 20px; }
.ldtv-big-avatar { width: 120px; height: 120px; border-radius: 50%; border: 4px solid var(--p); object-fit: cover; }
.ldtv-expert-tag { display: inline-block; background: rgba(249, 115, 22, 0.2); color: var(--p); padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: bold; margin-bottom: 10px; text-transform: uppercase; }
.ldtv-expert-info h3 { margin: 0 0 5px 0; font-size: 26px; font-weight: 900; color: white; }
.ldtv-expert-info p { margin: 0; font-size: 16px; color: #d1d5db; }
p.ldtv-speaker-bio { margin-top: 10px; font-size: 15px; color: #4b5563; line-height: 1.6; font-weight: normal; }

/* VIDEO INLINE */
.ldtv-inline-media { position: relative; width: 100%; border-radius: 8px; overflow: hidden; box-shadow: 0 20px 40px -10px rgba(0,0,0,0.6); background: #000; display: flex; flex-direction: column; }
.ldtv-video-top-bar { background-color: #facc15; color: #000; text-align: center; padding: 12px 10px; font-weight: 900; font-size: 16px; cursor: pointer; text-transform: uppercase; display: flex; align-items: center; justify-content: center; gap: 8px; z-index: 30; animation: ldtv-pulse-bg 2s infinite; }
.ldtv-video-top-bar .dashicons-volume-on { display: inline-block; width: 24px; height: 24px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z'/%3E%3C/svg%3E"); background-size: contain; background-repeat: no-repeat; }
.ldtv-video-top-bar .dashicons-volume-on::before { content: none !important; }
@keyframes ldtv-pulse-bg { 0%, 100% { background-color: #facc15; } 50% { background-color: #fde047; } }

.ldtv-video-inner { position: relative; padding-bottom: 56.25%; height: 0; width: 100%; overflow: hidden; }
.ldtv-embed-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.ldtv-embed-wrapper iframe { width: 100%; height: 100%; border: none; position: absolute; top: 0; left: 0; pointer-events: none !important; }

.ldtv-interaction-mask { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 20; background: transparent; cursor: pointer; }
.ldtv-play-indicator { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(0,0,0,0.6); width: 70px; height: 70px; border-radius: 50%; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
.ldtv-play-indicator .dashicons-controls-play { width: 40px; height: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E"); background-size: contain; background-repeat: no-repeat; margin-left: 5px; }
.ldtv-play-indicator .dashicons-controls-play::before { content: none !important; }
.ldtv-interaction-mask:not(.is-playing) .ldtv-play-indicator { display: flex !important; }
.ldtv-interaction-mask.is-playing .ldtv-play-indicator { display: none !important; }

.ldtv-desc { font-size: 18px; line-height: 1.7; margin-top: 25px; color: #f3f4f6; opacity: 0.95; }

/* SCARCITY BAR */
.ldtv-scarcity-bar { margin-top: 30px; background: rgba(255,255,255,0.05); padding: 15px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); }
.ldtv-sb-text { font-size: 15px; margin-bottom: 10px; color: #f9fafb;}
.ldtv-sb-text strong { color: #facc15; font-size: 18px; }
.ldtv-sb-progress { height: 8px; background: rgba(255,255,255,0.1); border-radius: 4px; overflow: hidden; }
.ldtv-sb-fill { height: 100%; background: linear-gradient(90deg, #facc15, var(--p)); border-radius: 4px; transition: width 1s; }

/* FORM CARD */
.ldtv-form-card { background: white; color: var(--d); border-radius: 16px; position: relative; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); border: 2px solid transparent; transition: 0.3s; }
.ldtv-attention-pulse { border-color: var(--p); box-shadow: 0 0 30px rgba(249, 115, 22, 0.4); animation: form-jump 0.5s ease-in-out; }
@keyframes form-jump { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.ldtv-corner-ribbon-wrap { position: absolute; top: 0; right: 0; width: 130px; height: 130px; overflow: hidden; z-index: 10; border-top-right-radius: 16px; pointer-events: none; }
.ldtv-corner-ribbon { position: absolute; top: 25px; right: -40px; width: 180px; text-align: center; background-color: #ef4444; color: white; padding: 6px 0; font-size: 11px; font-weight: 800; text-transform: uppercase; transform: rotate(45deg); box-shadow: 0 4px 6px rgba(0,0,0,0.3); letter-spacing: 0.5px; }

.ldtv-form-head { padding: 30px 30px 20px; text-align: center; border-bottom: 1px solid #f3f4f6; }
.ldtv-form-head h2 { margin: 0 0 5px 0; font-size: 26px; font-weight: 900; color: var(--d);}
.ldtv-form-head p { margin: 0; color: #6b7280; font-size: 15px; }
.ldtv-form-body { padding: 30px; }

.ldtv-live-viewers { background: #eff6ff; color: #1e40af; padding: 10px; border-radius: 8px; font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 20px; border: 1px dashed #bfdbfe;}
.ldtv-dot { width: 8px; height: 8px; background: #3b82f6; border-radius: 50%; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0.3; } }

/* BOOKING FIELDS GRID */
.ldtv-booking-fields { display: flex; gap: 15px; margin-bottom: 15px; }
.ldtv-booking-fields .half { width: 50%; margin-bottom: 0; }

.ldtv-input-wrap { margin-bottom: 18px; text-align: left;}
.ldtv-input-wrap label { display: block; font-weight: 700; font-size: 13px; margin-bottom: 6px; color: var(--d); }

.ldtv-input-wrap input, .ldtv-input-wrap select, .ldtv-input-wrap textarea { width: 100%; padding: 0px 0px 0px 14px; border: 2px solid #e5e7eb; border-radius: 8px; font-size: 15px; transition: 0.3s; background: #f9fafb; color: var(--d); font-family: inherit;}
.ldtv-input-wrap input:focus, .ldtv-input-wrap select:focus, .ldtv-input-wrap textarea:focus { border-color: var(--p); outline: none; background: white; box-shadow: 0 0 0 4px color-mix(in srgb, var(--p) 15%, transparent); }
.ldtv-input-wrap select { 
    -webkit-appearance: none; -moz-appearance: none; appearance: none; 
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); 
    background-repeat: no-repeat; background-position: right 15px center; background-size: 16px; padding-right: 40px; 
}
.ldtv-input-wrap select option { color: #111827; background: #ffffff; }

.ldtv-submit { width: 100%; padding: 18px; background: var(--p); color: white; font-weight: 900; font-size: 18px; border: none; border-radius: 8px; cursor: pointer; position: relative; overflow: hidden; transition: 0.3s; text-transform: uppercase;}
.ldtv-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 20px color-mix(in srgb, var(--p) 40%, transparent); color: white;}
.ldtv-pulse { animation: ldtv-cta-pulse 2s infinite; }
.ldtv-pulse::after { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent); transform: skewX(-20deg); animation: ldtv-sweep 3s infinite; pointer-events: none;}

/* NÚT LOADING SPINNER */
.ldtv-spinner { display: inline-block; width: 22px; height: 22px; border: 3px solid rgba(255,255,255,0.3); border-radius: 50%; border-top-color: white; animation: ldtv-spin 1s ease-in-out infinite; margin-right: 8px; vertical-align: text-bottom; }
@keyframes ldtv-spin { to { transform: rotate(360deg); } }

@keyframes ldtv-cta-pulse { 0% { box-shadow: 0 0 0 0 var(--p); } 70% { box-shadow: 0 0 0 15px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes ldtv-sweep { 100% { left: 200%; } }

.ldtv-trust-badges { margin-top: 15px; display: flex; justify-content: center; gap: 15px; font-size: 11px; color: #6b7280; font-weight: 600; flex-wrap: wrap;}
.ldtv-trust-badges span { display: flex; align-items: center; gap: 4px; }
.ldtv-trust-badges .dashicons { font-size: 14px; width: 14px; height: 14px; color: #10b981; }

/* CONTENT SECTION */
.ldtv-content-section { padding: 80px 0; background: var(--l); color: var(--d);}
.ldtv-content-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.ldtv-benefits-box, .ldtv-speaker-box { background: white; padding: 40px; border-radius: 16px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }
.ldtv-content-section h3 { font-size: 24px; font-weight: 800; margin-top: 0; margin-bottom: 25px; padding-bottom: 15px; border-bottom: 2px solid #f3f4f6; color: var(--d);}
.ldtv-html-content ul { padding-left: 20px; }
.ldtv-html-content li { margin-bottom: 15px; font-size: 16px; color: #4b5563; line-height: 1.6; }

.ldtv-speaker-profile { display: flex; gap: 25px; align-items: flex-start; }
.ldtv-avatar { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 4px solid var(--l); }
.ldtv-speaker-profile h4 { font-size: 22px; margin: 0 0 5px 0; font-weight: 800; color: var(--d);}

/* SUCCESS BOX & SOCIAL BUTTONS */
.ldtv-success-box { background: white; border-radius: 16px; padding: 60px 30px; text-align: center; color: var(--d); max-width: 800px; margin: 0 auto; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); border: 1px solid var(--p);}
.success-icon { font-size: 60px; margin-bottom: 20px; animation: bounce 2s infinite; }
.ldtv-success-box h2 { font-size: 32px; font-weight: 900; margin-bottom: 15px; color: var(--d); }

.ldtv-btn-cal { display: inline-block; background: #3b82f6; color: white; padding: 16px 30px; font-size: 16px; font-weight: 800; border-radius: 8px; text-decoration: none; margin-bottom: 30px; transition: 0.3s; box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4); }
.ldtv-btn-cal:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6); color: white;}

.ldtv-next-steps { border-top: 2px dashed #e5e7eb; padding-top: 30px; }
.ldtv-next-steps h3 { font-size: 18px; margin-bottom: 20px; color: var(--d);}
.flex-btns { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.ldtv-btn-social { padding: 14px 25px; border-radius: 8px; color: white; font-weight: bold; text-decoration: none; font-size: 14px; transition: 0.3s; display: flex; align-items: center; gap: 6px;}
.ldtv-btn-social.zalo { background: #0088FF; }
.ldtv-btn-social.fb { background: #1877F2; }
.ldtv-btn-social.yt { background: #FF0000; }
.ldtv-btn-social.tiktok { background: #000000; }
.ldtv-btn-social:hover { filter: brightness(1.1); transform: translateY(-2px); color: white; box-shadow: 0 4px 10px rgba(0,0,0,0.15);}

@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.ldtv-sticky-cta { position: fixed; bottom: 0; left: 0; width: 100%; background: white; padding: 15px; box-shadow: 0 -5px 15px rgba(0,0,0,0.1); z-index: 9998; text-align: center; border-top: 2px solid var(--p); }
.ldtv-sticky-btn { width: 100%; max-width: 400px; background: var(--p); color: white; border: none; padding: 15px; border-radius: 8px; font-size: 16px; font-weight: 900; animation: ldtv-cta-pulse 2s infinite; cursor: pointer; }

/* FOMO POPUP */
.ldtv-fomo-box { position: fixed; bottom: -100px; left: 20px; background: white; border-radius: 50px; padding: 10px 20px 10px 10px; display: flex; align-items: center; gap: 15px; box-shadow: 0 10px 25px rgba(0,0,0,0.15); z-index: 9999; opacity: 0; transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55); pointer-events: none; border: 1px solid #f3f4f6; }
.ldtv-fomo-box.show { bottom: 20px; opacity: 1; pointer-events: auto; }
.ldtv-fomo-box img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.ldtv-fomo-box div { font-size: 14px; color: var(--d); line-height: 1.4; text-align: left; }
.ldtv-fomo-box div strong { font-weight: 800; color: var(--p); }
.ldtv-fomo-box div small { color: #6b7280; font-size: 12px; }

/* RESPONSIVE */
@media (max-width: 992px) {
    .ldtv-hero-grid { grid-template-columns: 1fr; }
    .ldtv-main-title { font-size: 32px; text-align: center; }
    .ldtv-pre-header { text-align: center; }
    .ldtv-desc { text-align: center; }
    .ldtv-header-top_left .ldtv-top-header-wrap { display: flex; flex-direction: column; align-items: center; text-align: center; }
    .ldtv-header-top_left .ldtv-main-title { text-align: center; margin-left: auto; margin-right: auto; }
    .ldtv-header-inline_left .ldtv-top-header-wrap { display: flex; flex-direction: column; align-items: center; text-align: center; }
    .ldtv-header-inline_left .ldtv-main-title { text-align: center; margin-left: auto; margin-right: auto; }
}
@media (max-width: 550px) {
    .ldtv-success-box { padding: 40px 20px; }
    .flex-btns { flex-direction: column; }
    .ldtv-booking-fields { flex-direction: column; gap: 0; }
    .ldtv-booking-fields .half { width: 100%; margin-bottom: 18px;}
    .ldtv-large-expert-card { flex-direction: column; text-align: center; }
    .ldtv-speaker-profile { flex-direction: column; text-align: center; }
    .ldtv-fomo-box { left: 10px; right: 10px; bottom: -100px; border-radius: 12px; }
    .ldtv-fomo-box.show { bottom: 10px; }
}

/* THEMES */
.ldtv-style-luxury { --p: #d4af37; --ph: #b5952f; --d: #ffffff; --l: #18181b; }
.ldtv-style-luxury .ldtv-hero { background-color: #000; }
.ldtv-style-luxury .ldtv-hero-overlay { background: linear-gradient(rgba(0,0,0,0.9), rgba(0,0,0,0.95)); }
.ldtv-style-luxury .ldtv-form-card { background: #18181b; color: white; border: 1px solid #d4af37; }
.ldtv-style-luxury .ldtv-form-head { border-bottom-color: #3f3f46; }
.ldtv-style-luxury .ldtv-form-head h2 { color: #d4af37; }
.ldtv-style-luxury .ldtv-input-wrap label { color: #d1d5db; }
.ldtv-style-luxury .ldtv-input-wrap input, .ldtv-style-luxury .ldtv-input-wrap select, .ldtv-style-luxury .ldtv-input-wrap textarea { background: #27272a; color: white; border-color: #3f3f46; }
.ldtv-style-luxury .ldtv-benefits-box, .ldtv-style-luxury .ldtv-speaker-box { background: #18181b; color: white; border: 1px solid #3f3f46; }
.ldtv-style-luxury .ldtv-html-content li { color: #d1d5db; }
.ldtv-style-luxury .ldtv-content-section h3 { border-bottom-color: #3f3f46; color: #d4af37; }
.ldtv-style-luxury .ldtv-success-box { background: #18181b; color: white;}
.ldtv-style-luxury .ldtv-success-box h2, .ldtv-style-luxury .ldtv-next-steps h3 { color: white; }
.ldtv-style-luxury .ldtv-trust-badges { color: #d1d5db; }
.ldtv-style-luxury .ldtv-live-viewers { background: #3f3f46; color: #d4af37; border-color: #52525b; }
.ldtv-style-luxury p.ldtv-speaker-bio { color: #d1d5db; }

.ldtv-style-minimal { --p: #000000; --ph: #333333; }
.ldtv-style-minimal .ldtv-hero-overlay { background: rgba(255,255,255,0.95); }
.ldtv-style-minimal .ldtv-hero { color: #000; }
.ldtv-style-minimal .ldtv-main-title { color: #000; }
.ldtv-style-minimal .ldtv-desc { color: #555; }
.ldtv-style-minimal .ldtv-scarcity-bar { background: #f8fafc; border-color: #e2e8f0; }
.ldtv-style-minimal .ldtv-sb-text { color: #333; }
.ldtv-style-minimal .ldtv-form-card { box-shadow: none; border: 1px solid #e2e8f0; border-radius: 0; }
.ldtv-style-minimal .ldtv-submit { border-radius: 0; }
.ldtv-style-minimal .ldtv-benefits-box, .ldtv-style-minimal .ldtv-speaker-box { border-radius: 0; box-shadow: none; border: 1px solid #e2e8f0; }
.ldtv-style-minimal .ldtv-inline-media { border-radius: 0; }
.ldtv-style-minimal .ldtv-corner-ribbon-wrap { border-top-right-radius: 0; }

/* 4 GIAO DIỆN MỚI BỔ SUNG */
.ldtv-style-creative { --p: #8b5cf6; --ph: #7c3aed; }
.ldtv-style-creative .ldtv-hero-overlay { background: linear-gradient(135deg, rgba(30,27,75,0.95), rgba(76,29,149,0.95)); }
.ldtv-style-creative .ldtv-form-card { box-shadow: 0 25px 50px -12px rgba(76,29,149,0.3); border-radius: 24px; }
.ldtv-style-creative .ldtv-submit { border-radius: 24px; }

.ldtv-style-expert { --p: #2563eb; --ph: #1d4ed8; }
.ldtv-style-expert .ldtv-hero-overlay { background: linear-gradient(rgba(15,23,42,0.95), rgba(30,58,138,0.95)); }
.ldtv-style-expert .ldtv-benefits-box { border-top: 4px solid var(--p); }

.ldtv-style-feminine { --p: #ec4899; --ph: #db2777; }
.ldtv-style-feminine .ldtv-hero-overlay { background: linear-gradient(rgba(253,242,248,0.95), rgba(252,231,243,0.95)); }
.ldtv-style-feminine .ldtv-hero, .ldtv-style-feminine .ldtv-main-title { color: #831843; }
.ldtv-style-feminine .ldtv-desc, .ldtv-style-feminine .ldtv-sb-text { color: #9d174d; }
.ldtv-style-feminine .ldtv-form-card, .ldtv-style-feminine .ldtv-submit { border-radius: 30px; }

.ldtv-style-nature { --p: #16a34a; --ph: #15803d; }
.ldtv-style-nature .ldtv-hero-overlay { background: linear-gradient(rgba(6,78,59,0.95), rgba(20,83,45,0.95)); }
.ldtv-style-nature .ldtv-form-card { border-radius: 12px; border: 1px solid #bbf7d0; }