/* Maldives Package Planner - Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

.maldives-planner-widget {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #000;
    color: #fff;
    font-size: 15px;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
}

.maldives-planner-widget * { margin: 0; padding: 0; box-sizing: border-box; }

.mp-container { max-width: 420px; margin: 0 auto; padding: 0 16px; }

/* Header - Compact */
.mp-header { padding: 16px 0 10px; text-align: center; }
.mp-header-tag { display: inline-block; font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: #d4a84b; margin-bottom: 6px; font-weight: 500; }
.mp-header h1 { font-size: 22px; font-weight: 400; line-height: 1.2; margin-bottom: 4px; color: #fff; }
.mp-header h1 .gold { color: #d4a84b; }
.mp-header-sub { font-size: 13px; color: #b0b0b0; }

/* Progress */
.mp-progress { display: flex; justify-content: center; gap: 5px; padding: 10px 0 12px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.mp-step { width: 6px; height: 6px; border-radius: 50%; background: #505050; transition: all 0.3s; }
.mp-step.active { background: #d4a84b; width: 20px; border-radius: 3px; }
.mp-step.done { background: #22c55e; }

/* Screens - Compact padding */
.mp-screen { display: none; padding: 12px 0 20px; animation: mpSlideIn 0.3s ease; }
.mp-screen.active { display: block; }
@keyframes mpSlideIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* Section */
.mp-sec-tag { font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; color: #909090; margin-bottom: 6px; }
.mp-screen h2 { font-size: 18px; font-weight: 500; margin-bottom: 3px; color: #fff; }
.mp-sec-sub { font-size: 13px; color: #b0b0b0; margin-bottom: 12px; }

/* Cards */
.mp-card { position: relative; background: #0c0c0c; border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; cursor: pointer; transition: all 0.25s; overflow: visible; }
.mp-card::before { content: ''; position: absolute; inset: -1px; border-radius: 12px; padding: 1.5px; background: linear-gradient(90deg, rgba(212,168,75,0.25), #d4a84b, rgba(212,168,75,0.25)); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.3s; pointer-events: none; z-index: 1; }
.mp-card:hover, .mp-card:active { border-color: rgba(212,168,75,0.4); background: #141414; }
.mp-card:hover::before, .mp-card:active::before { opacity: 1; }
.mp-card:active { transform: scale(0.985); }

/* FORM CARD - No hover effects */
.mp-card.mp-form-wrapper { cursor: default; }
.mp-card.mp-form-wrapper:hover, .mp-card.mp-form-wrapper:active { transform: none; background: #0c0c0c; }
.mp-card.mp-form-wrapper::before { display: none; }

/* Options - Compact */
.mp-options { display: flex; flex-direction: column; gap: 8px; }
.mp-opt { display: flex; align-items: center; gap: 12px; padding: 12px; }
.mp-opt-icon { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.12); background: #000; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mp-opt-icon svg { width: 16px; height: 16px; stroke: #d4a84b; stroke-width: 1.5; fill: none; }
.mp-opt-info { flex: 1; min-width: 0; }
.mp-opt-title { font-size: 14px; font-weight: 500; color: #fff; margin-bottom: 1px; }
.mp-opt-desc { font-size: 12px; color: #909090; }
.mp-opt-arrow { width: 16px; height: 16px; stroke: #707070; stroke-width: 2; fill: none; transition: transform 0.2s; flex-shrink: 0; }
.mp-card:hover .mp-opt-arrow { transform: translateX(3px); stroke: #d4a84b; }

/* Villa - Compact */
.mp-villas { display: flex; flex-direction: column; gap: 8px; }
.mp-villa { padding: 14px 12px; }
.mp-villa-badge { position: absolute; top: 8px; right: 8px; font-size: 8px; letter-spacing: 0.5px; text-transform: uppercase; background: #d4a84b; color: #000; padding: 3px 7px; border-radius: 4px; font-weight: 600; z-index: 2; }
.mp-villa-icon { width: 40px; height: 40px; margin-bottom: 8px; }
.mp-villa-icon svg { width: 100%; height: 100%; stroke: #d4a84b; stroke-width: 1.2; fill: none; }
.mp-villa-name { font-size: 15px; font-weight: 500; color: #fff; margin-bottom: 2px; }
.mp-villa-desc { font-size: 12px; color: #b0b0b0; line-height: 1.4; }

/* Cities - Compact */
.mp-cities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.mp-city { padding: 14px 8px; text-align: center; }
.mp-city-name { font-size: 14px; font-weight: 500; color: #fff; margin-bottom: 2px; }
.mp-city-time { font-size: 11px; color: #909090; }
.mp-other-city { margin-top: 8px; }
.mp-other-city .mp-city { display: flex; align-items: center; justify-content: center; gap: 6px; }
.mp-other-city .mp-city-name { margin-bottom: 0; }
.mp-other-city svg { width: 14px; height: 14px; stroke: #707070; stroke-width: 2; fill: none; }

/* City Preselected */
.mp-city-preselected { text-align: center; padding: 12px; }
.mp-city-selected { background: #0c0c0c; border: 1px solid rgba(212,168,75,0.4); border-radius: 12px; padding: 14px; margin-bottom: 12px; }
.mp-city-selected-label { font-size: 9px; color: #909090; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 3px; }
.mp-city-selected-name { font-size: 17px; font-weight: 500; color: #d4a84b; }
.mp-city-selected-time { font-size: 12px; color: #b0b0b0; margin-top: 2px; }
.mp-change-city { color: #b0b0b0; font-size: 12px; background: none; border: none; cursor: pointer; margin-top: 8px; }
.mp-city-grid { display: none; }
.mp-city-grid.show { display: block; }

/* Durations - Compact */
.mp-durations { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 360px) { .mp-durations { grid-template-columns: repeat(4, 1fr); gap: 6px; } }
.mp-dur { padding: 14px 4px; text-align: center; }
.mp-card.best { border-color: rgba(212,168,75,0.4); }
.mp-card.best::after { content: 'BEST'; position: absolute; top: -8px; left: 50%; transform: translateX(-50%); font-size: 8px; letter-spacing: 0.5px; background: #22c55e; color: #000; padding: 2px 7px; border-radius: 3px; font-weight: 600; z-index: 5; }
.mp-dur-num { font-size: 28px; font-weight: 300; color: #d4a84b; line-height: 1; }
.mp-dur-label { font-size: 11px; color: #b0b0b0; margin-top: 3px; }
.mp-dur-info { font-size: 9px; color: #909090; margin-top: 6px; padding-top: 6px; border-top: 1px dashed rgba(255,255,255,0.1); }

/* Resorts - Compact */
.mp-resorts { display: flex; flex-direction: column; gap: 10px; }
.mp-resort { overflow: hidden; padding: 0; }
.mp-resort-img { height: 120px; background-size: cover; background-position: center; background-color: #1a2030; position: relative; }
.mp-resort-img::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60px; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%); }
.mp-resort-star { position: absolute; top: 6px; left: 6px; font-size: 9px; color: #d4a84b; background: rgba(0,0,0,0.7); padding: 3px 7px; border-radius: 5px; backdrop-filter: blur(4px); z-index: 2; }
.mp-resort-price { position: absolute; bottom: 6px; right: 6px; background: rgba(0,0,0,0.85); padding: 5px 8px; border-radius: 6px; text-align: right; backdrop-filter: blur(4px); z-index: 2; }
.mp-resort-amt { font-size: 14px; font-weight: 500; color: #fff; }
.mp-resort-per { font-size: 9px; color: #909090; }
.mp-resort-body { padding: 10px 12px; }
.mp-resort-name { font-size: 14px; font-weight: 500; color: #fff; margin-bottom: 2px; }
.mp-resort-loc { font-size: 11px; color: #909090; margin-bottom: 8px; }
.mp-resort-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.mp-tag { font-size: 9px; color: #b0b0b0; background: #000; border: 1px solid rgba(255,255,255,0.12); padding: 3px 7px; border-radius: 4px; }
.mp-tag.green { background: rgba(34,197,94,0.12); border-color: rgba(34,197,94,0.3); color: #4ade80; }

/* Curate - Compact */
.mp-curate { display: flex; flex-direction: column; align-items: center; padding: 20px 12px; text-align: center; border-style: dashed; }
.mp-curate-icon { width: 40px; height: 40px; border: 1.5px solid #d4a84b; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.mp-curate-icon svg { width: 16px; height: 16px; stroke: #d4a84b; stroke-width: 1.5; fill: none; }
.mp-curate-title { font-size: 14px; font-weight: 500; color: #fff; margin-bottom: 2px; }
.mp-curate-desc { font-size: 11px; color: #909090; }

/* Chips */
.mp-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.mp-chip { font-size: 10px; color: #b0b0b0; background: #0c0c0c; border: 1px solid rgba(255,255,255,0.12); padding: 4px 8px; border-radius: 4px; }

/* Form - Compact */
.mp-form-card { padding: 14px 12px; position: relative; z-index: 100; }
.mp-field { margin-bottom: 12px; position: relative; z-index: 100; }
.mp-field-label { display: block; font-size: 11px; color: #b0b0b0; margin-bottom: 4px; }
.mp-field-input { 
    width: 100%; 
    padding: 11px 12px; 
    background: #000; 
    border: 1px solid rgba(255,255,255,0.15); 
    border-radius: 8px; 
    font-family: inherit; 
    font-size: 15px; 
    color: #fff; 
    transition: border-color 0.2s; 
    -webkit-appearance: none;
    appearance: none;
    position: relative; 
    z-index: 100;
    touch-action: manipulation;
}
.mp-field-input:focus { outline: none; border-color: #d4a84b; background: #0a0a0a; }
.mp-field-input::placeholder { color: #707070; }

/* OTP - Compact */
.mp-otp-section { display: none; margin-top: 12px; padding-top: 12px; border-top: 1px dashed rgba(255,255,255,0.1); }
.mp-otp-section.show { display: block; }
.mp-otp-message { background: rgba(212,168,75,0.1); border: 1px solid rgba(212,168,75,0.4); border-radius: 10px; padding: 14px; text-align: center; margin-bottom: 12px; }
.mp-otp-message-icon { width: 40px; height: 40px; background: #d4a84b; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; }
.mp-otp-message-icon svg { width: 20px; height: 20px; stroke: #000; stroke-width: 2; fill: none; }
.mp-otp-message-title { font-size: 14px; font-weight: 500; color: #fff; margin-bottom: 4px; }
.mp-otp-message-text { font-size: 12px; color: #b0b0b0; line-height: 1.4; }

/* Button - Compact */
.mp-btn { width: 100%; padding: 12px 16px; background: #fff; color: #000; border: none; border-radius: 10px; font-family: inherit; font-size: 14px; font-weight: 500; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; transition: transform 0.15s; position: relative; z-index: 100; }
.mp-btn:active { transform: scale(0.98); }
.mp-btn svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; }
.mp-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.mp-btn-loading { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(0,0,0,0.3); border-top-color: #000; border-radius: 50%; animation: mpSpin 0.8s linear infinite; }
@keyframes mpSpin { to { transform: rotate(360deg); } }

/* Success - Compact */
.mp-success { text-align: center; padding: 28px 12px; }
.mp-success-icon { width: 50px; height: 50px; background: #22c55e; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.mp-success-icon svg { width: 24px; height: 24px; stroke: #000; stroke-width: 3; fill: none; }
.mp-success h2 { margin-bottom: 6px; font-size: 18px; color: #fff; }
.mp-success p { font-size: 13px; color: #b0b0b0; line-height: 1.5; margin-bottom: 18px; }
.mp-success strong { color: #d4a84b; }

/* Stats - Compact */
.mp-stats { display: flex; justify-content: space-around; padding: 14px 0; margin-top: 14px; border-top: 1px solid rgba(255,255,255,0.1); }
.mp-stat { text-align: center; }
.mp-stat-num { font-size: 20px; font-weight: 300; color: #d4a84b; }
.mp-stat-label { font-size: 8px; letter-spacing: 1px; text-transform: uppercase; color: #909090; margin-top: 1px; }

/* Note */
.mp-note { text-align: center; font-size: 10px; color: #909090; margin-top: 14px; padding-top: 14px; border-top: 1px dashed rgba(255,255,255,0.1); line-height: 1.5; }

/* Desktop - Single line title */
@media (min-width: 480px) {
    .mp-header h1 { font-size: 26px; white-space: nowrap; }
    .mp-screen h2 { font-size: 20px; }
    .mp-container { max-width: 460px; }
}

/* Large Desktop */
@media (min-width: 768px) {
    .mp-header h1 { font-size: 30px; }
}
