/**
 * NOTF Chatbot Styles
 * Design aligned with NOTF brand (teal-to-green gradient)
 */

/* Chatbot Widget Container */
#notf-chatbot {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 500px;
    max-width: calc(100vw - 40px);
    height: 700px;
    max-height: calc(100vh - 40px);
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    overflow: hidden;
    min-width: 360px;
    min-height: 400px;
}

/* Custom resize handle at top-left */
.chat-resize-handle {
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    cursor: nwse-resize;
    z-index: 10;
    background: linear-gradient(to bottom right, rgba(255,255,255,0.3) 50%, transparent 50%);
    border-radius: 12px 0 0 0;
    transition: background 0.2s;
}

.chat-resize-handle:hover {
    background: linear-gradient(to bottom right, rgba(255,255,255,0.5) 50%, transparent 50%);
}

.chat-resize-handle::before {
    content: '⋰';
    position: absolute;
    top: 2px;
    left: 2px;
    font-size: 12px;
    color: white;
    opacity: 0.8;
}

#notf-chatbot.minimized {
    height: 60px;
}

#notf-chatbot.minimized .chat-messages,
#notf-chatbot.minimized .chat-input {
    display: none;
}

/* Chat Header */
.chat-header {
    background: #2F4A2C;
    color: #FAF6E8;
    padding: 16px 20px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-title {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-mode-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-header-actions {
    display: flex;
    gap: 8px;
}

.chat-minimize-button,
.chat-close-button,
.chat-switch-mode-button {
    background: rgba(250, 246, 232, 0.15); /* Warm Cream with transparency */
    border: none;
    color: #FAF6E8; /* Warm Cream - high contrast on Forest Green */
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.chat-minimize-button:hover,
.chat-close-button:hover,
.chat-switch-mode-button:hover {
    background: rgba(250, 246, 232, 0.25); /* Lighter Warm Cream on hover */
    color: #FFFFFF; /* Pure white for extra contrast on hover */
}

.chat-switch-mode-button.hidden {
    display: none;
}

/* Chat Messages Container */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #f9fafb;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

/* Chat Message */
.chat-message {
    display: flex;
    gap: 10px;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #2F4A2C;
    color: #FAF6E8; /* Warm Cream - high contrast with Forest Green background */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.user-message .message-avatar {
    background: #e5e7eb;
    color: #2F4A2C; /* Forest Green - high contrast with light gray background */
    order: 2;
}

.message-content {
    background: white;
    padding: 12px 16px;
    border-radius: 12px;
    max-width: 75%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.user-message .message-content {
    background: #2F4A2C;
    color: white;
    margin-left: auto;
}

.bot-message .message-content {
    background: white;
}

/* Welcome Message */
.welcome-message {
    padding: 8px;
}

.welcome-message h3 {
    margin: 0 0 12px 0;
    font-size: 20px;
    color: #111827;
}

.welcome-message p {
    margin: 0 0 16px 0;
    color: #6b7280;
}

/* Intent Options */
.intent-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.intent-button {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.intent-button:first-child {
    border-color: #F5B82E;
}

.intent-button:last-child {
    border-color: #C45A2A;
}

.intent-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.intent-button:first-child:hover {
    background: rgba(251, 200, 49, 0.05);
    border-color: #E5B629;
}

.intent-button:last-child:hover {
    background: rgba(247, 167, 130, 0.05);
    border-color: #F5956C;
}

.intent-button .icon {
    font-size: 24px;
}

.intent-button .label {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

.intent-button .description {
    font-size: 13px;
    color: #6b7280;
}

/* Mode Message */
.mode-message {
    padding: 4px;
}

.mode-message p {
    margin: 0 0 12px 0;
    color: #374151;
    line-height: 1.6;
}

.mode-message ul {
    margin: 12px 0;
    padding-left: 20px;
    color: #6b7280;
}

.mode-message li {
    margin-bottom: 6px;
}

.mode-message em {
    color: #2F4A2C;
    font-style: italic;
}

.tip {
    background: #fef3c7;
    border-left: 3px solid #f59e0b;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 14px;
    color: #78350f;
}

/* Discovery Results */
.discovery-results {
    padding: 4px;
}

.community-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.community-card.clickable {
    cursor: pointer;
}

.community-card.clickable:hover {
    background: white;
    border-color: #2F4A2C;
    box-shadow: 0 4px 12px rgba(35, 162, 165, 0.2);
    transform: translateY(-2px);
}

.view-details-hint {
    margin: 12px 0 0 0;
    font-size: 12px;
    color: #2F4A2C;
    font-weight: 500;
    text-align: right;
}

.community-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.community-header h4 {
    margin: 0;
    font-size: 16px;
    color: #111827;
}

.status-badge {
    background: #dbeafe;
    color: #1e40af;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
}

.status-badge.active {
    background: #d1fae5;
    color: #065f46;
}

.type-badge {
    background: #f3e8ff;
    color: #6b21a8;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    margin-left: 6px;
}

.community-details p {
    margin: 6px 0;
    font-size: 14px;
    color: #6b7280;
}

.community-details .location::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    content: '\f3c5 '; /* fa-location-dot */
    color: var(--notf-teal);
}

.community-details .tags::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    content: '\f02c '; /* fa-tags */
    color: var(--notf-teal);
}

.community-details .members::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    content: '\f0c0 '; /* fa-users */
    color: var(--notf-teal);
}

.community-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.btn-contact,
.btn-learn-more {
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 13px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-contact {
    background: #2F4A2C;
    color: white;
}

.btn-contact:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(20, 184, 166, 0.3);
}

.btn-learn-more {
    background: white;
    color: #2F4A2C;
    border: 1px solid #2F4A2C;
}

.btn-learn-more:hover {
    background: #f0fdfa;
}

/* Location Options */
.location-options {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.btn-location-map,
.btn-location-gps {
    flex: 1;
    padding: 10px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-location-map:hover,
.btn-location-gps:hover {
    border-color: #2F4A2C;
    background: #f0fdfa;
}

/* Location Verified */
.location-verified {
    background: #d1fae5;
    border-left: 3px solid #10b981;
    padding: 14px;
    border-radius: 6px;
}

.location-verified p {
    margin: 6px 0;
    color: #065f46;
    font-size: 14px;
}

.location-verified .success-message {
    font-weight: 600;
    margin-top: 10px;
}

/* Boundary Error */
.boundary-error {
    background: #fee2e2;
    border-left: 3px solid #ef4444;
    padding: 14px;
    border-radius: 6px;
}

.boundary-error p {
    margin: 6px 0;
    color: #7f1d1d;
    font-size: 14px;
}

.recovery-options {
    margin-top: 12px;
}

.recovery-options p {
    font-weight: 600;
    margin-bottom: 10px;
}

.recovery-options button {
    display: block;
    width: 100%;
    margin-bottom: 8px;
    padding: 10px;
    background: white;
    border: 2px solid #ef4444;
    border-radius: 6px;
    color: #ef4444;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.recovery-options button:hover {
    background: #fef2f2;
}

/* Complaint Review */
.complaint-review {
    padding: 4px;
}

.complaint-review h4 {
    margin: 0 0 14px 0;
    color: #111827;
    font-size: 18px;
}

.review-details {
    background: #f9fafb;
    padding: 14px;
    border-radius: 8px;
    margin-bottom: 14px;
}

.review-details p {
    margin: 8px 0;
    font-size: 14px;
    color: #374151;
}

.review-details strong {
    color: #111827;
}

.review-actions {
    display: flex;
    gap: 10px;
}

.btn-submit-complaint,
.btn-edit {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-submit-complaint {
    background: #2F4A2C;
    color: white;
}

.btn-submit-complaint:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

.btn-edit {
    background: white;
    color: #6b7280;
    border: 2px solid #e5e7eb;
}

.btn-edit:hover {
    border-color: #2F4A2C;
    color: #2F4A2C;
}

/* Complaint Success */
.complaint-success {
    padding: 4px;
}

.complaint-success h4 {
    margin: 0 0 14px 0;
    color: #065f46;
    font-size: 18px;
}

.ticket-info {
    background: #d1fae5;
    padding: 14px;
    border-radius: 8px;
    margin-bottom: 14px;
}

.ticket-number {
    font-size: 18px;
    font-weight: 700;
    color: #065f46;
    margin-bottom: 10px;
}

.next-steps {
    color: #6b7280;
    font-size: 14px;
    margin: 14px 0;
}

.success-actions {
    display: flex;
    gap: 10px;
}

.success-actions button {
    flex: 1;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.success-actions button:first-child {
    background: #2F4A2C;
    color: white;
    border: none;
}

.success-actions button:last-child {
    background: white;
    border: 2px solid #e5e7eb;
    color: #6b7280;
}

/* Chat Input */
.chat-input {
    padding: 16px 20px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 10px;
    background: white;
    border-radius: 0 0 12px 12px;
}

.chat-input-field {
    flex: 1;
    padding: 10px 14px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    resize: none;
    max-height: 100px;
}

.chat-input-field:focus {
    outline: none;
    border-color: #2F4A2C;
}

.chat-input-field:disabled {
    background: #f9fafb;
    cursor: not-allowed;
}

.chat-send-button {
    padding: 10px 16px;
    background: #2F4A2C;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.chat-send-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

.chat-send-button:active {
    transform: translateY(0);
}

/* Button color variants for chatbot */
button.btn-yellow {
    background: #F5B82E;
    color: #1f2937;
    border: none;
}

button.btn-yellow:hover {
    background: #E5B629;
}

button.btn-pink {
    background: #C45A2A;
    color: white;
    border: none;
}

button.btn-pink:hover {
    background: #F5956C;
}

button.btn-green {
    background: #253B23;
    color: white;
    border: none;
}

button.btn-green:hover {
    background: #0A5D5E;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #notf-chatbot {
        width: 100vw;
        height: 100vh;
        max-width: 100vw;
        max-height: 100vh;
        bottom: 0;
        right: 0;
        border-radius: 0;
    }

    .chat-header {
        border-radius: 0;
    }

    .chat-input {
        border-radius: 0;
    }

    .message-content {
        max-width: 85%;
    }
}

/* Coverage Map */
.coverage-map {
    padding: 4px;
}

.coverage-map h4 {
    margin: 0 0 12px 0;
    color: #111827;
}

.city-list {
    list-style: none;
    padding: 0;
    margin: 12px 0;
}

.city-list li {
    padding: 8px 12px;
    background: #f9fafb;
    border-radius: 6px;
    margin-bottom: 6px;
    font-size: 14px;
    color: #374151;
}

.city-list li:before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    content: '\f3c5 '; /* fa-location-dot */
    color: var(--notf-teal);
    margin-right: 8px;
}

/* Error Message */
.error-message {
    background: #fee2e2;
    border-left: 3px solid #ef4444;
    padding: 14px;
    border-radius: 6px;
}

.error-message p {
    margin: 6px 0;
    color: #7f1d1d;
    font-size: 14px;
}

.error-message button {
    margin-top: 10px;
    padding: 8px 14px;
    background: white;
    border: 2px solid #ef4444;
    border-radius: 6px;
    color: #ef4444;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.error-message button:hover {
    background: #fef2f2;
}

/* Resource Detail Modal */
.chat-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.chat-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

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

.chat-modal-header {
    background: #2F4A2C;
    color: #FAF6E8;
    padding: 24px;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: white;
}

.chat-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.chat-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.chat-modal-body {
    padding: 24px;
}

.chat-modal-section {
    margin-bottom: 20px;
}

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

.chat-modal-section h4 {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 600;
    color: #2F4A2C;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chat-modal-section p {
    margin: 0;
    color: #4b5563;
    line-height: 1.6;
}

.chat-modal-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
}

.chat-modal-list li {
    background: #f3f4f6;
    padding: 10px 12px;
    margin: 6px 0;
    border-radius: 6px;
    border-left: 3px solid #2F4A2C;
    color: #374151;
}

.chat-modal-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.chat-modal-actions a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: #2F4A2C;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.chat-modal-actions a:hover {
    background: #1d8588;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(35, 162, 165, 0.3);
}

.chat-modal-actions .btn-learn-more {
    background: #6366f1;
}

.chat-modal-actions .btn-learn-more:hover {
    background: #4f46e5;
}

/* Mobile responsive */
@media (max-width: 640px) {
    .chat-modal-content {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .chat-modal-header {
        border-radius: 0;
    }
}

/* Floating Action Button */
.chat-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #C45A2A;
    color: #FAF6E8;
    border: none;
    box-shadow: 0 4px 20px rgba(196, 90, 42, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 999;
    transition: all 0.3s ease;
}

.chat-fab:hover {
    transform: scale(1.1);
    background: #B04E24;
    box-shadow: 0 6px 30px rgba(196, 90, 42, 0.6);
}

.chat-fab:active {
    transform: scale(0.95);
}

.chat-fab.hidden {
    display: none !important;
}

/* Chat Widget Updates */
.chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 400px;
    max-height: 600px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Higher specificity to override old #notf-chatbot styles */
#notf-chatbot.hidden,
.chat-widget.hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .chat-widget {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-height: 100%;
        border-radius: 0;
    }

    .chat-fab {
        bottom: 16px;
        right: 16px;
        width: 56px;
        height: 56px;
        font-size: 22px;
    }
}

/* Chat Tips */
.chat-tips {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    padding: 10px 12px;
    margin-top: 16px;
    font-size: 13px;
    color: #1e40af;
    line-height: 1.5;
}

.chat-tips i {
    color: #2F4A2C;
    margin-right: 4px;
}

/* Map Picker Modal */
.map-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.map-modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.map-modal-header {
    background: #2F4A2C;
    color: white;
    padding: 16px 20px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.map-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.map-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    transition: background 0.2s;
}

.map-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.map-modal-footer {
    padding: 16px 20px;
    background: #f9fafb;
    border-radius: 0 0 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.map-modal-footer p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    text-align: center;
}

.btn-confirm-location,
.btn-cancel {
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-confirm-location {
    background: #2F4A2C;
    color: white;
}

.btn-confirm-location:hover:not(:disabled) {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-confirm-location:disabled {
    background: #d1d5db;
    cursor: not-allowed;
}

.btn-cancel {
    background: white;
    border: 1px solid #d1d5db;
    color: #374151;
}

.btn-cancel:hover {
    background: #f9fafb;
}

/* Map Picker Instructions */
.map-picker-instructions {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 14px;
}

.map-picker-instructions p {
    margin: 0 0 10px 0;
    color: #065f46;
    font-weight: 500;
}

.map-picker-instructions ol {
    margin: 10px 0;
    padding-left: 20px;
    color: #047857;
    font-size: 14px;
}

.map-picker-instructions li {
    margin: 4px 0;
}

.btn-open-map {
    width: 100%;
    margin-top: 12px;
    padding: 10px 16px;
    background: #2F4A2C;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-open-map:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-open-map i {
    margin-right: 6px;
}

/* City Selection */
.city-selection {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 14px;
}

.city-selection p {
    margin: 0 0 10px 0;
    color: #065f46;
}

.city-selection p strong {
    color: #047857;
    font-size: 16px;
}

.city-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
    margin: 12px 0;
}

.city-btn {
    padding: 10px 12px;
    background: white;
    border: 2px solid #2F4A2C;
    border-radius: 6px;
    color: #047857;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.city-btn:hover {
    background: #2F4A2C;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(20, 184, 166, 0.3);
}

.city-hint {
    font-size: 13px;
    color: #047857;
    font-style: italic;
    margin-top: 8px;
}

/* Confirm Detected Location Button */
.btn-confirm-detected {
    width: 100%;
    margin-top: 8px;
    padding: 10px 16px;
    background: white;
    border: 2px solid #2F4A2C;
    color: #047857;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-confirm-detected:hover {
    background: #2F4A2C;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(20, 184, 166, 0.3);
}
