.page-layout:has(.planner-header) {
display: block;
max-width: none;
}
.page-layout:has(.planner-header) .sidebar {
display: none;
}
.content-area:has(.planner-header) {
max-width: none !important;
}
.content-width:has(.planner-header) {
max-width: none !important;
}
.page-content:has(.planner-header) {
max-width: none;
}
.page-content:has(.planner-header) > .page-title {
display: none;
}
.planner-header {
background: #1E3A7B;
color: #fff;
padding: 0.75rem 1.25rem;
display: flex;
align-items: center;
justify-content: space-between;
border-radius: 8px 8px 0 0;
}
.planner-header h2 { font-size: 1rem; font-weight: 700; margin: 0; }
.planner-header p { font-size: 0.7rem; color: rgba(255,255,255,0.65); margin: 0.1rem 0 0; }
.ai-badge {
display: flex; align-items: center; gap: 0.4rem;
font-size: 0.7rem; font-weight: 600;
color: rgba(255,255,255,0.85);
background: rgba(255,255,255,0.1);
border: 1px solid rgba(255,255,255,0.2);
border-radius: 4px;
padding: 0.25rem 0.6rem;
}
.ai-dot {
width: 7px; height: 7px; border-radius: 50%;
background: #2ecc71;
animation: ai-pulse 2s infinite;
}
@keyframes ai-pulse { 0%,100%{opacity:1;} 50%{opacity:0.5;} }
.planner-body {
display: grid;
grid-template-columns: 320px 1fr;
height: 80vh;
min-height: 500px;
border: 1px solid #e2e8f0;
border-top: none;
border-radius: 0 0 8px 8px;
overflow: hidden;
} .form-panel {
background: #fff;
border-right: 1px solid #e2e8f0;
padding: 1rem;
display: flex;
flex-direction: column;
gap: 0.85rem;
overflow-y: auto;
}
.form-section-title {
font-size: 0.65rem; font-weight: 700;
text-transform: uppercase; letter-spacing: 0.07em;
color: #a0aec0; margin-bottom: 0.25rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.25rem; }
.form-panel label { font-size: 0.78rem; font-weight: 600; color: #4a5568; }
.form-panel input, .form-panel select, .form-panel textarea {
font-size: 0.85rem; color: #1a202c;
border: 1px solid #e2e8f0; border-radius: 5px;
padding: 0.45rem 0.6rem; background: #fff; width: 100%;
transition: border-color 0.15s;
}
.form-panel input:focus, .form-panel select:focus, .form-panel textarea:focus {
outline: none; border-color: #2980b9;
box-shadow: 0 0 0 2px rgba(41,128,185,0.1);
}
.form-panel textarea { resize: vertical; min-height: 60px; }
.form-panel hr { border: none; border-top: 1px solid #e2e8f0; margin: 0; }
.checkbox-group { display: flex; flex-direction: column; gap: 0.3rem; }
.checkbox-row {
display: flex; align-items: center; gap: 0.4rem;
font-size: 0.82rem; color: #4a5568; cursor: pointer;
}
.checkbox-row input[type=checkbox] { width: auto; accent-color: #1E3A7B; cursor: pointer; }
.btn-generate {
background: #1E3A7B; color: #fff; border: none;
border-radius: 6px; padding: 0.6rem 1rem;
font-size: 0.88rem; font-weight: 700;
cursor: pointer; width: 100%;
transition: background 0.15s;
display: flex; align-items: center; justify-content: center; gap: 0.4rem;
}
.btn-generate:hover:not(:disabled) { background: #142954; }
.btn-generate:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-reset {
background: none; color: #a0aec0;
border: 1px solid #e2e8f0; border-radius: 6px;
padding: 0.45rem 1rem; font-size: 0.8rem;
cursor: pointer; width: 100%; transition: all 0.15s;
}
.btn-reset:hover { border-color: #a0aec0; color: #4a5568; } .output-panel {
padding: 1.25rem;
overflow-y: scroll;
overflow-x: hidden;
display: block;
background: #f8f9fa;
min-width: 0;
}
.empty-state {
display: flex; flex-direction: column;
align-items: center; justify-content: center;
text-align: center; height: 100%;
padding: 2rem; color: #a0aec0; gap: 0.75rem;
}
.empty-state-icon { font-size: 2.5rem; }
.empty-state h3 { font-size: 1.1rem; font-weight: 700; color: #4a5568; }
.empty-state p { font-size: 0.85rem; line-height: 1.6; max-width: 360px; }
.empty-suggestions {
display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; margin-top: 0.25rem;
}
.suggestion-chip {
background: rgba(232,164,74,0.12);
border: 1px solid rgba(232,164,74,0.3);
color: #4a5568; border-radius: 20px;
padding: 0.25rem 0.7rem; font-size: 0.75rem; cursor: pointer;
transition: all 0.15s;
}
.suggestion-chip:hover { background: rgba(232,164,74,0.25); border-color: #e8a44a; color: #1a202c; } .thinking {
display: flex; align-items: center; gap: 0.6rem;
color: #a0aec0; font-size: 0.85rem; font-style: italic;
padding: 1rem 0;
}
.thinking-dots span {
display: inline-block; width: 5px; height: 5px;
background: #2980b9; border-radius: 50%;
animation: think-bounce 1.2s ease-in-out infinite;
}
.thinking-dots span:nth-child(2) { animation-delay: 0.2s; }
.thinking-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes think-bounce { 0%,80%,100%{transform:translateY(0);opacity:0.4;} 40%{transform:translateY(-4px);opacity:1;} } .itinerary-card {
background: #fff; border: 1px solid #e2e8f0;
border-radius: 8px; overflow: hidden;
}
.itinerary-card-header {
background: #1E3A7B; color: #fff;
padding: 0.75rem 1rem;
display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
}
.itinerary-card-header h3 { font-size: 1rem; font-weight: 700; margin: 0; }
.itinerary-card-header p { font-size: 0.7rem; color: rgba(255,255,255,0.7); margin: 0.15rem 0 0; }
.btn-copy {
background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
color: #fff; border-radius: 4px; padding: 0.25rem 0.6rem;
font-size: 0.7rem; cursor: pointer; white-space: nowrap; flex-shrink: 0;
}
.btn-copy:hover { background: rgba(255,255,255,0.25); }
.itinerary-body {
padding: 1.25rem; font-size: 0.88rem; line-height: 1.75; color: #1a202c;
word-wrap: break-word;
overflow-wrap: break-word;
max-height: none; }
.itinerary-card {
flex-shrink: 0; }
.itinerary-body h2 { color: #1E3A7B; margin: 1.25rem 0 0.4rem; font-size: 1.05rem; }
.itinerary-body h2:first-child { margin-top: 0; }
.itinerary-body h3 { color: #1a202c; font-size: 0.9rem; font-weight: 700; margin: 0.75rem 0 0.25rem; }
.itinerary-body p { margin-bottom: 0.5rem; }
.itinerary-body ul { margin: 0.35rem 0 0.5rem 1.25rem; }
.itinerary-body li { margin-bottom: 0.3rem; }
.itinerary-body strong { color: #1a202c; }
.itinerary-body em { color: #4a5568; }
.itinerary-body hr { border: none; border-top: 1px solid #e2e8f0; margin: 0.75rem 0; }
.itinerary-body blockquote {
border-left: 3px solid #e8a44a; padding-left: 0.75rem;
color: #4a5568; margin: 0.5rem 0; font-style: italic;
}
.itinerary-body table { width: 100%; border-collapse: collapse; margin: 0.5rem 0; font-size: 0.82rem; }
.itinerary-body th, .itinerary-body td { padding: 0.4rem 0.6rem; border: 1px solid #e2e8f0; text-align: left; }
.itinerary-body th { background: #f8f9fa; font-weight: 700; }
.cursor {
display: inline-block; width: 2px; height: 1em;
background: #2980b9;
animation: cursor-blink 0.9s step-end infinite;
vertical-align: text-bottom; margin-left: 1px;
}
@keyframes cursor-blink { 0%,100%{opacity:1;} 50%{opacity:0;} }
.card-footer {
padding: 0.65rem 1rem; border-top: 1px solid #e2e8f0;
background: #f8f9fa;
display: flex; gap: 0.5rem; align-items: center;
}
.btn-save {
background: #27ae60; color: #fff; border: none;
border-radius: 5px; padding: 0.4rem 0.8rem;
font-size: 0.78rem; font-weight: 600; cursor: pointer;
}
.btn-save:hover { background: #219a52; }
.btn-refine {
background: #fff; border: 1px solid #e2e8f0;
border-radius: 5px; padding: 0.4rem 0.8rem;
font-size: 0.78rem; color: #4a5568; cursor: pointer;
}
.btn-refine:hover { border-color: #2980b9; color: #1E3A7B; }
.card-footer-note { font-size: 0.68rem; color: #a0aec0; margin-left: auto; } .planner-step-btn:hover {
border-color: #1E3A7B !important;
background: #f0f4fa !important;
}
.planner-step-btn.active {
border-color: #1E3A7B !important;
background: #eaf0f8 !important;
box-shadow: inset 3px 0 0 #1E3A7B;
}
.planner-step-btn.done {
border-color: #27ae60 !important;
background: #f0faf4 !important;
}
.planner-step-btn.done .planner-step-status {
color: #27ae60 !important;
} .selection-panel {
border-top: 1px solid #e2e8f0;
padding: 0.75rem 1rem;
background: #fafbfc;
}
.selection-header {
font-size: 0.72rem; font-weight: 700;
text-transform: uppercase; letter-spacing: 0.05em;
color: #1E3A7B; margin-bottom: 0.5rem;
}
.selection-items {
display: flex; flex-wrap: wrap; gap: 0.35rem;
}
.selection-item {
display: flex; align-items: center; gap: 0.35rem;
font-size: 0.8rem; color: #4a5568; cursor: pointer;
padding: 0.3rem 0.6rem; border-radius: 5px;
border: 1px solid #e2e8f0; background: #fff;
transition: all 0.15s; user-select: none;
}
.selection-item:hover { border-color: #1E3A7B; background: #f0f4fa; }
.selection-item input[type="checkbox"] {
width: auto; accent-color: #27ae60; cursor: pointer; margin: 0;
}
.selection-item:has(input:checked) {
border-color: #27ae60; background: #f0faf4; color: #1a202c; font-weight: 600;
}
.sel-count {
font-size: 0.62rem; font-weight: 600; color: #27ae60;
background: #f0faf4; border-radius: 4px;
padding: 0.1rem 0.35rem; margin-left: 0.15rem;
} .btn-save-plan {
background: #27ae60; color: #fff; border: none;
border-radius: 5px; padding: 0.35rem 0.7rem;
font-size: 0.75rem; font-weight: 600; cursor: pointer;
white-space: nowrap; transition: background 0.15s;
}
.btn-save-plan:hover { background: #219a52; }
.btn-save-plan:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-export-pdf {
background: #e8a44a; color: #fff; border: none;
border-radius: 5px; padding: 0.35rem 0.7rem;
font-size: 0.75rem; font-weight: 600; cursor: pointer;
white-space: nowrap; transition: background 0.15s;
}
.btn-export-pdf:hover { background: #d4922e; }
.btn-export-pdf:disabled { opacity: 0.55; cursor: not-allowed; } .planner-drafts-menu { position: relative; }
.btn-drafts-toggle {
background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
color: #fff; border-radius: 5px; padding: 0.35rem 0.7rem;
font-size: 0.75rem; font-weight: 600; cursor: pointer;
white-space: nowrap; transition: background 0.15s;
}
.btn-drafts-toggle:hover { background: rgba(255,255,255,0.25); }
#drafts-count {
font-size: 0.65rem; background: rgba(255,255,255,0.3);
border-radius: 8px; padding: 0 0.35rem; margin-left: 0.2rem;
}
.planner-drafts-dropdown {
display: none; position: absolute; top: calc(100% + 6px); right: 0;
background: #fff; border: 1px solid #e2e8f0; border-radius: 8px;
box-shadow: 0 8px 24px rgba(0,0,0,0.15); min-width: 280px; max-width: 340px;
z-index: 100; overflow: hidden;
}
.planner-drafts-dropdown.open { display: block; }
.drafts-list { max-height: 320px; overflow-y: auto; padding: 0.5rem; }
.drafts-loading { text-align: center; color: #a0aec0; font-size: 0.82rem; padding: 1rem; }
.draft-item {
display: flex; align-items: center; gap: 0.5rem;
padding: 0.5rem 0.6rem; border-radius: 6px; cursor: pointer;
transition: background 0.15s; border: 1px solid transparent;
}
.draft-item:hover { background: #f0f4fa; border-color: #e2e8f0; }
.draft-item-info { flex: 1; min-width: 0; }
.draft-item-dest { font-size: 0.82rem; font-weight: 600; color: #1E3A7B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.draft-item-meta { font-size: 0.68rem; color: #a0aec0; }
.draft-item-steps { font-size: 0.65rem; color: #27ae60; font-weight: 600; }
.draft-item-delete {
flex-shrink: 0; background: none; border: none; color: #ccc;
font-size: 0.85rem; cursor: pointer; padding: 0.2rem; border-radius: 4px;
transition: color 0.15s;
}
.draft-item-delete:hover { color: #e74c3c; }
.drafts-empty { text-align: center; padding: 1.5rem 1rem; color: #a0aec0; font-size: 0.82rem; } .planner-toast {
position: fixed; bottom: 2rem; right: 2rem;
background: #1E3A7B; color: #fff;
padding: 0.6rem 1.2rem; border-radius: 8px;
font-size: 0.85rem; font-weight: 600;
box-shadow: 0 4px 16px rgba(0,0,0,0.2);
opacity: 0; transform: translateY(10px);
transition: opacity 0.3s, transform 0.3s;
z-index: 9999; pointer-events: none;
}
.planner-toast.show { opacity: 1; transform: translateY(0); }
.planner-toast.error { background: #c0392b; }
.planner-toast.success { background: #27ae60; } @media (max-width: 768px) {
.planner-body {
grid-template-columns: 1fr;
}
.form-panel {
max-height: none;
border-right: none;
border-bottom: 1px solid #e2e8f0;
}
.output-panel {
max-height: none;
min-height: 400px;
}
}