/* ==========================================
   Do it! khmer365 - Journey Page Styles
   ========================================== */

/* --- Journey Hero --- */
.journey-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.journey-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232,168,56,0.1) 0%, transparent 70%);
}

.journey-hero-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.journey-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.12);
    color: var(--secondary-light);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.journey-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.journey-hero p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
}

.journey-progress {
    max-width: 600px;
    margin: 0 auto;
}

.progress-bar {
    height: 8px;
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--secondary-light) 100%);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
}

.p-step {
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.p-step.active {
    color: var(--secondary-light);
}

/* --- Examples Section --- */
.examples {
    padding: 80px 0;
    background: var(--bg-light);
}

.examples-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.example-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.tab-btn {
    padding: 0.65rem 1.2rem;
    border: 1.5px solid var(--border-light);
    background: white;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-medium);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: inherit;
}

.tab-btn:hover {
    border-color: var(--primary-light);
    color: var(--primary);
}

.tab-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.example-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.example-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.5rem 2rem;
    background: var(--bg-blue);
    border-bottom: 1px solid var(--border-light);
}

.example-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.example-header h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.example-tag {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    background: rgba(27,75,138,0.08);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-right: 0.3rem;
}

.example-body {
    padding: 2rem;
}

.example-section {
    margin-bottom: 2rem;
}

.example-section:last-child {
    margin-bottom: 0;
}

.example-section h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.example-section h4 i {
    color: var(--primary);
    font-size: 0.95rem;
}

.example-section p {
    font-size: 0.92rem;
    color: var(--text-medium);
    margin-bottom: 0.3rem;
}

.example-section ul {
    list-style: none;
    padding: 0;
}

.example-section li {
    font-size: 0.92rem;
    color: var(--text-medium);
    padding: 0.2rem 0;
    padding-left: 1.2rem;
    position: relative;
}

.example-section li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-size: 0.8rem;
}

.example-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5rem;
}

.example-table th,
.example-table td {
    padding: 0.6rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9rem;
}

.example-table th {
    background: var(--bg-light);
    color: var(--text-dark);
    font-weight: 600;
}

.example-table td {
    color: var(--text-medium);
}

.example-table .total td {
    font-weight: 600;
    color: var(--primary);
    background: var(--bg-blue);
    border-top: 2px solid var(--primary-light);
}

.btn-use-template {
    display: block;
    width: 100%;
    padding: 1.1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-use-template:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

/* --- Write Plan Section --- */
.write-plan {
    padding: 80px 0;
    background: var(--bg-white);
}

.write-plan-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.plan-form {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.form-step {
    display: none;
    padding: 2rem;
}

.form-step.active {
    display: block;
}

.form-step-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bg-blue);
}

.form-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.form-step-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    flex: 1;
}

.btn-help {
    background: none;
    border: 1.5px solid var(--primary-light);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}

.btn-help:hover {
    background: var(--primary);
    color: white;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.required {
    color: #E74C3C;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-family: inherit;
    color: var(--text-dark);
    transition: var(--transition);
    background: var(--bg-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    background: white;
    box-shadow: 0 0 0 3px rgba(42,107,199,0.1);
}

.form-group textarea {
    resize: vertical;
}

.form-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.btn-prev,
.btn-next {
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border: none;
}

.btn-prev {
    background: var(--bg-light);
    color: var(--text-medium);
    border: 1.5px solid var(--border-light);
}

.btn-prev:hover {
    background: var(--bg-blue);
    border-color: var(--primary-light);
    color: var(--primary);
}

.btn-next {
    background: var(--primary);
    color: white;
}

.btn-next:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
}

.btn-submit {
    padding: 0.85rem 2rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(135deg, var(--secondary) 0%, #D4922A 100%);
    color: white;
    border: none;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(232,168,56,0.3);
    transition: var(--transition);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(232,168,56,0.4);
}

/* --- Revenue / Cost Items --- */
.revenue-items,
.cost-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.revenue-item,
.cost-item {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.revenue-item input,
.cost-item input {
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-family: inherit;
    color: var(--text-dark);
    background: var(--bg-light);
    transition: var(--transition);
}

.revenue-item input:focus,
.cost-item input:focus {
    outline: none;
    border-color: var(--primary-light);
    background: white;
    box-shadow: 0 0 0 3px rgba(42,107,199,0.1);
}

.revenue-name,
.cost-name {
    flex: 2;
}

.revenue-amount,
.cost-amount {
    flex: 1;
}

.btn-remove-item {
    width: 36px;
    height: 36px;
    border: none;
    background: #FEE2E2;
    color: #E74C3C;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.btn-remove-item:hover {
    background: #E74C3C;
    color: white;
}

.btn-add-item {
    padding: 0.6rem 1rem;
    border: 1.5px dashed var(--primary-light);
    background: var(--bg-blue);
    color: var(--primary);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
}

.btn-add-item:hover {
    background: var(--primary);
    color: white;
    border-style: solid;
}

.revenue-total,
.cost-total {
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: var(--bg-blue);
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
}

/* --- Registration Checklist --- */
.registration-checklist {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: 1.5px solid transparent;
}

.check-item:hover {
    border-color: var(--primary-light);
    background: var(--bg-blue);
}

.check-item input[type="checkbox"] {
    display: none;
}

.check-custom {
    width: 22px;
    height: 22px;
    border: 2px solid var(--border-light);
    border-radius: 6px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    margin-top: 2px;
}

.check-item input:checked ~ .check-custom {
    background: var(--accent-green);
    border-color: var(--accent-green);
}

.check-item input:checked ~ .check-custom::after {
    content: '\2713';
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
}

.check-info strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.check-info p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.check-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.82rem;
    color: var(--primary);
    font-weight: 500;
}

.check-link:hover {
    color: var(--primary-light);
}

/* --- Plan Preview --- */
.plan-preview {
    background: white;
    border-radius: var(--radius-lg);
    border: 2px solid var(--primary);
    overflow: hidden;
    margin-top: 2rem;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
    background: var(--primary);
    color: white;
}

.preview-header h3 {
    font-size: 1.15rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.preview-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-preview-action {
    padding: 0.4rem 1rem;
    background: rgba(255,255,255,0.15);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: var(--transition);
}

.btn-preview-action:hover {
    background: rgba(255,255,255,0.25);
}

#previewContent {
    padding: 2rem;
}

#previewContent h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin: 1.5rem 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bg-blue);
}

#previewContent h4:first-child {
    margin-top: 0;
}

#previewContent p {
    font-size: 0.92rem;
    color: var(--text-medium);
    margin-bottom: 0.3rem;
}

#previewContent table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.5rem 0 1rem;
}

#previewContent table th,
#previewContent table td {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-light);
    font-size: 0.9rem;
    text-align: left;
}

#previewContent table th {
    background: var(--bg-light);
    font-weight: 600;
}

/* --- Q&A Section --- */
.qa-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.qa-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.faq-list {
    margin-bottom: 3rem;
}

.faq-item {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    background: white;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.1rem 1.5rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    text-align: left;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 1.5rem 1.2rem;
    font-size: 0.92rem;
    color: var(--text-medium);
    line-height: 1.8;
}

/* --- Ask Form --- */
.ask-form {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.ask-form h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ask-form h3 i {
    color: var(--primary);
}

.ask-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.btn-ask {
    padding: 0.85rem 2rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

.btn-ask:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* --- Help Modal --- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-blue);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.modal-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.3rem;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--text-dark);
}

.modal-body {
    padding: 1.5rem;
}

.modal-body h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.modal-body p {
    font-size: 0.92rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.modal-body ul {
    padding-left: 1.2rem;
    margin-bottom: 1rem;
}

.modal-body li {
    font-size: 0.92rem;
    color: var(--text-medium);
    margin-bottom: 0.3rem;
    line-height: 1.7;
}

/* ==========================================
   GOOGLE MAP ANALYSIS Section
   ========================================== */
.map-analysis {
    padding: 80px 0;
    background: var(--bg-white);
}

.map-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.map-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.map-area {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.map-search-bar {
    display: flex;
    align-items: center;
    gap: 0;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: white;
    transition: var(--transition);
}

.map-search-bar:focus-within {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(42,107,199,0.1);
}

.map-search-bar i {
    padding: 0 1rem;
    color: var(--text-light);
}

.map-search-bar input {
    flex: 1;
    border: none;
    padding: 0.85rem 0;
    font-size: 0.92rem;
    font-family: inherit;
    color: var(--text-dark);
    outline: none;
}

.btn-map-search {
    padding: 0.85rem 1.5rem;
    background: var(--primary);
    color: white;
    border: none;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
}

.btn-map-search:hover { background: var(--primary-light); }

.analysis-map {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid var(--border-light);
    background: var(--bg-light);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--text-light);
}

.map-placeholder i {
    font-size: 3rem;
    color: var(--primary-light);
    opacity: 0.4;
}

.map-placeholder p {
    font-size: 0.95rem;
}

.btn-load-map {
    padding: 0.7rem 1.5rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}

.btn-load-map:hover { background: var(--primary-light); transform: translateY(-1px); }

.map-controls {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.map-control-btn {
    padding: 0.5rem 0.85rem;
    border: 1.5px solid var(--border-light);
    background: white;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-medium);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.map-control-btn:hover { border-color: var(--primary-light); color: var(--primary); }
.map-control-btn.active { background: var(--primary); color: white; border-color: var(--primary); }

/* --- Analysis Panel --- */
.analysis-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.analysis-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.2rem;
    box-shadow: var(--shadow-sm);
}

.analysis-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.analysis-card h4 i { color: var(--primary); font-size: 0.9rem; }

.selected-location p { font-size: 0.88rem; color: var(--text-medium); margin-bottom: 0.3rem; }
.no-location { color: var(--text-light); font-style: italic; }

/* Analysis Rows */
.analysis-row {
    display: grid;
    grid-template-columns: 1fr auto 100px;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--bg-light);
}

.analysis-row:last-child { border-bottom: none; }

.analysis-label {
    font-size: 0.82rem;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.analysis-label i { font-size: 0.75rem; color: var(--text-light); }

.analysis-value {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
}

.analysis-bar {
    height: 8px;
    background: var(--bg-light);
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.bar-fill.food { background: linear-gradient(90deg, #E8A838, #F5C563); }
.bar-fill.store { background: linear-gradient(90deg, #2A6BC7, #5B9BD5); }
.bar-fill.bank { background: linear-gradient(90deg, #2ECC71, #58D68D); }
.bar-fill.school { background: linear-gradient(90deg, #8E44AD, #BB8FCE); }

/* Score Circle */
.location-score {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.score-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.score-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.score-label {
    font-size: 0.6rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
}

.score-details p {
    font-size: 0.85rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.btn-apply-location {
    width: 100%;
    padding: 0.85rem;
    background: linear-gradient(135deg, var(--secondary) 0%, #D4922A 100%);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-apply-location:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(232,168,56,0.3); }

.map-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--bg-cream);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--secondary);
}

.map-disclaimer i { color: var(--secondary); margin-top: 0.2rem; flex-shrink: 0; }
.map-disclaimer p { font-size: 0.82rem; color: var(--text-medium); line-height: 1.6; }

/* ==========================================
   PDF Download Button Styles
   ========================================== */
.preview-actions {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

/* --- Responsive Journey --- */
@media (max-width: 768px) {
    .journey-hero h1 {
        font-size: 1.8rem;
    }
    
    .example-tabs {
        flex-direction: column;
    }
    
    .example-header {
        flex-direction: column;
        text-align: center;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .revenue-item,
    .cost-item {
        flex-direction: column;
    }
    
    .revenue-name,
    .cost-name,
    .revenue-amount,
    .cost-amount {
        width: 100%;
    }
    
    .ask-form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-step-header {
        flex-direction: column;
        text-align: center;
    }
    
    .progress-steps {
        flex-direction: column;
        gap: 0.3rem;
        align-items: center;
    }
    
    .map-layout {
        grid-template-columns: 1fr;
    }
    
    .analysis-map {
        height: 300px;
    }
    
    .map-controls {
        justify-content: center;
    }
    
    .analysis-row {
        grid-template-columns: 1fr auto 70px;
    }
    
    .location-score {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .preview-actions {
        flex-wrap: wrap;
        gap: 0.3rem;
    }
    
    .btn-preview-action {
        font-size: 0.75rem;
        padding: 0.35rem 0.7rem;
    }
}
