.map-container { height: 400px; width: 100%; }
.sale-card:hover { transform: translateY(-2px); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.modal, .error-popup, .verification-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 1050; }
.modal-content, .error-content, .verification-content { position: relative; background-color: white; margin: 5vh auto; padding: 20px; width: 90%; max-width: 500px; border-radius: 8px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); max-height: 90vh; overflow-y: auto; }
.verification-content { max-width: 400px; }
.error-content { max-width: 450px; border-left: 4px solid #EF4444; }
.close-modal { position: absolute; top: 10px; right: 15px; font-size: 24px; cursor: pointer; font-weight: bold; color: #9CA3AF; }
.close-modal:hover { color: #1F2937; }
.expired-sale { opacity: 0.6; }
.upcoming-sale { border-left: 4px solid #10B981; }
.happening-now-sale { border-left: 4px solid #EF4444; font-weight: 500; }
.map-legend { position: absolute; bottom: 10px; left: 10px; background: white; padding: 8px 12px; border-radius: 6px; border: 1px solid #ccc; box-shadow: 0 2px 4px rgba(0,0,0,0.2); z-index: 1000; font-size: 12px; }
.legend-item { display: flex; align-items: center; margin-bottom: 4px; }
.legend-item:last-child { margin-bottom: 0; }
.legend-color { width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; border: 1px solid #777; }
.timezone-note { font-size: 0.75rem; color: #6B7280; margin-top: 0.25rem; }
.map-controls { position: relative; z-index: 500; }
.map-button { background-color: white; border: 1px solid #ccc; border-radius: 4px; padding: 6px 10px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); font-size: 14px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.map-button:hover { background-color: #f8f8f8; }
.map-button svg { margin-right: 4px; }
.subscription-box { border-top: 4px solid #6366F1; }
.sub-message { font-size: 0.875rem; font-weight: 500; }
.sub-message.success { color: #166534; }
.sub-message.error { color: #991B1B; }
.gsf-container input[type="text"], .gsf-container input[type="date"], .gsf-container input[type="time"], .gsf-container input[type="email"], .gsf-container textarea { font-size: 0.875rem; line-height: 1.25rem; }
.calendar-dropdown { position: relative; display: inline-block; }
.calendar-button { background-color: #10B981; color: white; padding: 5px 10px; border-radius: 5px; font-size: 0.75rem; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; border: none; }
.calendar-button svg { margin-right: 5px; }
.calendar-content { display: none; position: absolute; background-color: #f9f9f9; min-width: 160px; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); z-index: 1; border-radius: 5px; padding: 5px 0; bottom: 100%; margin-bottom: 5px; }
.calendar-content a { color: black; padding: 8px 12px; text-decoration: none; display: block; font-size: 0.875rem; }
.calendar-content a:hover { background-color: #f1f1f1; }
.calendar-dropdown:hover .calendar-content { display: block; }

/* --- NEW: Styles for text truncation --- */
.truncate-text {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* This sets the number of lines to show */
}
.read-more-btn {
    font-size: 0.875rem;
    color: #4F46E5; /* Corresponds to indigo-600 */
    font-weight: 500;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    margin-top: 4px;
}
.read-more-btn:hover {
    text-decoration: underline;
}