/*body{*/
/*    font-size: 5vh;*/
/*    font-family: sans-serif;*/
/*    overflow: hidden;*/
/*    display: flex;*/
/*    margin: 0;*/
/*    padding:0;*/
/*    flex-direction: column;*/
/*}*/



/*.action-item.person .text {*/
/*    display: none;*/
/*    color: black;*/
/*    font-size: 0.9rem;*/
/*    z-index: 3;*/
/*    !* text-shadow: 1px 1px 1px rgba(0,0,0,0.95); *!*/
/*}*/

/*.message-item:hover .action-item.person .text {*/
/*    display: inline-block;*/
/*    !* position: absolute; *!*/
/*}*/

/*!*******!*/
/*.message-item {*/
/*    flex-direction: row;*/
/*    margin-top: 3px;*/
/*}*/

/*.message-item.is-current-user {*/
/*    flex-direction: row-reverse;*/
/*    gap: 0;*/
/*}*/

/*.message-item.same-person {*/
/*    margin-top:1px;*/
/*}*/

/*.message-item .circle {*/
/*    flex-direction: row;*/
/*    font-size: 8rem;*/
/*    gap: 3px;*/
/*    height: 3rem;*/
/*    padding-right: 0;*/
/*}*/

/*!*******!*/

/*.dialog .profile>.action-item.person .text,*/
/*.dialog .message-item .text,*/
/*.dialog .profile>.person-icon .text {*/
/*    display: block;*/
/*    opacity: 1;*/
/*    visibility: visible;*/
/*    max-height: 10rem;*/
/*    max-width: 10rem;*/
/*}*/

/*.dialog .search .action-item.person .text {*/
/*    display: none;*/
/*}*/

/*.message-item .message-text,*/
/*.message-item-sender .message-text {*/
/*    flex-direction: column;*/
/*    font-size: 1rem;*/
/*    gap: 1px;*/
/*    !* background: white; *!*/
/*    background: #CAF2FF;*/
/*    border: 1px solid #BAE2EF;*/
/*    margin: 0 24px 0 3px;*/
/*    padding: .75rem;*/
/*    border-radius: 9px 9px 9px 0;*/
/*    color: #000000CC;*/
/*    box-shadow: none;*/
/*    text-shadow: none;*/
/*    text-align: justify;*/
/*}*/

/*.message-item.is-current-user .message-text {*/
/*    background: #F0DCFF;*/
/*    border: 1px solid #E0CCEF;*/
/*    margin: 0 1px 0 50px;*/
/*    border-radius: .75rem .75rem 0 .75rem;*/
/*}*/

/*!*noinspection CssUnusedSymbol*!*/
/*!*.page.connect_chat .person.connect_person {*!*/
/*!*    display: none;*!*/
/*!*}*!*/

.icon{
    width: 1.5rem;
    height: 1.5rem;
}
.title-middle .icon{
    width: 1.5rem;
    height: 1.5rem;
}
.main-nav .icon{
    width: 1.75rem;
    height: 1.75rem;
}
.message-input{
    font-family: 'SF Pro Display', Arial, sans-serif;
    flex: 1;
    resize: both;
    width: 200px;
    height: 30px;
}

.bully{
    flex: 1;
}
.footer{
    padding: 6px;
    width: 100%;
}
/*.topic-panel {*/
/*    !*display: flex;*!*/
/*    !*justify-content: flex-end;*!*/
/*    !*flex-direction: row;*!*/
/*}*/
/*.message-panel {*/
/*    display: flex;*/
/*    justify-content: flex-end;*/
/*    flex-direction: column;*/
/*}*/

.content-panel{
    font-size: 1rem;
    flex-direction: column;
    flex: 1;
    width: 100%;
    padding: 3px;
    gap:1em;
    /*height: 75vh;*/
    overflow-x: hidden;
    overflow-y: scroll;
    background: white;
    /*border-radius: 1rem;*/
}
/*.input-message{*/
/*    margin: 1rem;*/
/*}*/
/*#logout {*/
/*    margin: 1rem;*/
/*}*/

/*#topicList{*/
/*    margin: 0;*/
/*}*/

.invite-status{
    border-radius: 0.3rem;
    /*background-color: #ff6666;*/
    color: #eee;
    font-size: 0.8em;
    padding: 0.1rem;
    min-width: 7em;
    text-align: center;
    margin-left: 0.5rem;
}

.invite-status.going button{
    background-color: #336633;
}
.invite-status.maybe button{
    background-color: #999999;
}
.invite-status.pending button{
    background-color: #666666;
    color: #cccccc;

}
.invite-status.countered button{
    background-color: #cc9900;
}
.invite-status.declined button{
    background-color: #cc3333;
}

body{
    overflow: hidden;
    margin:0;
    padding:0;
}

.hidden {
    display: none !important;
}

/* LLM Registry Styles */
.llm-list {
    max-height: 60vh;
    overflow-y: auto;
    padding: 10px 0;
}

.llm-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 15px;
    background: #f9f9f9;
}

.llm-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: row;
    margin-bottom: 15px;
}

.llm-info {
    flex: 1;
}

.llm-name {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.llm-description {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.llm-status {
    margin-left: 15px;
}

.status-indicator {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.status-indicator.configured {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-indicator.not-configured {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.status-indicator.server-key {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.llm-config {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.api-key-section {
    margin-bottom: 10px;
}

.api-key-section .label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.api-key-input-group {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-direction: row;
}

.api-key-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: monospace;
}

.api-key-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.test-key-btn, .save-key-btn {
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.test-key-btn {
    background: #17a2b8;
    color: white;
}

.test-key-btn:hover {
    background: #138496;
}

.save-key-btn {
    background: #28a745;
    color: white;
}

.save-key-btn:hover {
    background: #218838;
}

/* Server Key Styles */
.server-key-section {
    margin-top: 15px;
    padding: 12px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
}

.server-key-section .label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #495057;
    font-size: 13px;
}

.server-key-display {
    display: flex;
    align-items: center;
    gap: 10px;
}

.server-key-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
    font-family: monospace;
    background: #e9ecef;
    color: #495057;
    cursor: not-allowed;
}

.server-key-note {
    font-size: 12px;
    color: #6c757d;
    font-style: italic;
    white-space: nowrap;
}

.key-warning {
    margin-top: 10px;
    padding: 8px 12px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
}

.warning-text {
    font-size: 13px;
    color: #856404;
    font-style: italic;
}

.loading {
    text-align: center;
    padding: 20px;
    color: #666;
    font-style: italic;
}

.error {
    text-align: center;
    padding: 20px;
    color: #721c24;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
}

/* Hide error elements when they have no content */
.error:empty {
    display: none;
}

/* Alternative: Hide error elements that only contain whitespace */
.error:blank {
    display: none;
}

/* For better browser support, you can also use this JavaScript approach */

.no-llms {
    text-align: center;
    padding: 20px;
    color: #666;
    font-style: italic;
}

/* LLM Selection Styles */
.llm-selection-section {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.llm-selection-section h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 16px;
    font-weight: bold;
}

.llm-selection-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.selection-item {
    flex: 1;
    min-width: 200px;
}

.selection-item .label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.llm-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: white;
    cursor: pointer;
}

.llm-select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.llm-warning {
    margin-top: 15px;
    padding: 12px;
    border-radius: 4px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
}

.llm-warning.hidden {
    display: none;
}

.warning-item {
    color: #856404;
    margin-bottom: 5px;
    font-size: 14px;
}

.warning-item:last-child {
    margin-bottom: 0;
}

/* Highlight effect for selected LLMs */
.llm-item.highlight-selected {
    animation: highlight-pulse 2s ease-in-out;
    border-color: #007bff;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
}

@keyframes highlight-pulse {
    0% {
        border-color: #ddd;
        box-shadow: 0 0 0 rgba(0, 123, 255, 0);
    }
    50% {
        border-color: #007bff;
        box-shadow: 0 0 15px rgba(0, 123, 255, 0.5);
    }
    100% {
        border-color: #ddd;
        box-shadow: 0 0 0 rgba(0, 123, 255, 0);
    }
}
html{
    overflow: hidden;
    margin:0;
    padding:0;
}

/* Title row layout for explore detail pages */
.title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.title-row .card-title {
    flex: 1;
    margin-right: 10px;
}

.enrich-button-container {
    flex-shrink: 0;
    margin-left: 10px;
}

/* Enrich button styling */
.enrich-button {
    cursor: pointer;
    padding: 8px 16px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.enrich-button:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.enrich-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
}

.enrich-button .icon-frame {
    display: flex;
    align-items: center;
    gap: 8px;
}

.enrich-button .icon {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

.enrich-button .text {
    color: white;
    font-weight: 500;
}

/* Enrichment progress styling */
.enrichment-progress {
    margin: 10px 0;
    padding: 8px 12px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    font-size: 14px;
    color: #495057;
}

/* Enrichment status styling */
.enrichment-status.progress {
    color: #007bff;
}

.enrichment-status.completed {
    color: #28a745;
    background: #d4edda;
    border-color: #c3e6cb;
}

.enrichment-status.error {
    color: #dc3545;
    background: #f8d7da;
    border-color: #f5c6cb;
}

/* City progress styling */
.city-progress-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.city-progress-item {
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #e9ecef;
    transition: all 0.3s ease;
}

.city-progress-item.completed {
    border-left-color: #28a745;
    background: linear-gradient(135deg, #f8fff9 0%, #ffffff 100%);
}

.city-progress-item.processing {
    border-left-color: #ffc107;
    background: linear-gradient(135deg, #fffdf5 0%, #ffffff 100%);
}

.city-progress-item.pending {
    border-left-color: #6c757d;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.city-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.city-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.1rem;
}

.city-activity-count {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6c757d;
    font-size: 0.9rem;
}

.city-change {
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.city-change.change-positive {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.city-change.change-negative {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.city-status {
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    padding: 4px 8px;
    border-radius: 6px;
    background: #f8f9fa;
    color: #6c757d;
}

.city-status.completed {
    background: #d4edda;
    color: #155724;
}

.city-status.processing {
    background: #fff3cd;
    color: #856404;
}

.city-status.pending {
    background: #e2e3e5;
    color: #383d41;
}

/* Fix nested scrolling in edit tags dialog */
.edit-tags-dialog .pane-content {
    overflow-y: visible;
    height: auto;
}

/* Essential tag container styles for edit tags functionality - FORCE DENSE LAYOUT */
.tags-container {
    max-height: 7200px;
    overflow-y: visible;
    padding: 25px !important;
    border: none;
    border-radius: 0px;
    display: block !important;
    width: 100% !important;
}


/* EMERGENCY FIX: Force condensed tags to be visible */
.edit-tags-dialog.time-period-condensed .inline-tag {
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    min-width: 50px !important;
    min-height: 25px !important;
    background: rgb(204, 153, 51) !important;
    color: white !important;
    padding: 0px 3px !important;
    margin: 4px !important;
    border: 1px solid rgb(204, 153, 51) !important;
    border-radius: 3px !important;
    font-size: 13px !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* CRITICAL: Legacy styles - EXCLUDE condensed interface */
/* Create dense wrapping layout for legacy tag areas only */
.edit-tags-dialog:not(.time-period-condensed) .tag-item {
    display: inline-block !important;
    width: auto !important;
    max-width: 300px !important;
    float: none !important;
    position: static !important;
}

/* Make tag-item look exactly like working .inline-tag from bblcht.org - LEGACY ONLY */
.edit-tags-dialog:not(.time-period-condensed) .tag-item,
.timeline-periods-grid .tag-item {
    display: inline-block !important;
    margin: 4px 4px 4px 0px !important;
    padding: 0px 3px !important;
    border: 1px solid #ddd !important;
    background: rgb(204, 153, 51) !important;
    color: rgb(255, 255, 255) !important;
    border-radius: 3px !important;
    cursor: pointer !important;
    font-size: 14.688px !important;
    line-height: 19.0944px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    user-select: none !important;
    opacity: 1 !important;
    text-transform: capitalize !important;
    white-space: nowrap !important;
    word-wrap: normal !important;
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1) !important;
}

.edit-tags-dialog:not(.time-period-condensed) .tag-item:hover,
.timeline-periods-grid .tag-item:hover {
    background: rgb(220, 165, 70) !important;
    border-color: rgb(220, 165, 70) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

.edit-tags-dialog:not(.time-period-condensed) .tag-item.selected,
.timeline-periods-grid .tag-item.selected {
    background: rgb(204, 153, 51) !important;
    color: rgb(255, 255, 255) !important;
    border-color: rgb(204, 153, 51) !important;
    transform: scale(1.02) !important;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2) !important;
}

.edit-tags-dialog:not(.time-period-condensed) .tag-item.deselected,
.timeline-periods-grid .tag-item.deselected {
    background: rgb(248, 249, 250) !important;
    color: rgb(108, 117, 125) !important;
    border-color: rgb(222, 226, 230) !important;
    text-decoration: line-through !important;
    opacity: 0.8 !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1) !important;
}

/* Main edit tags dialog container and layout styles */
/* FIXED: Removed position:fixed - now uses standard dialog container */
.edit-tags-dialog {
    width: 100%;
    max-width: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: white;
    padding: 0;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0; /* Critical for flex shrinking */
    overflow: hidden;
    /* Removed: position fixed, top, left, transform, z-index, box-shadow */
    /* These are now handled by the parent .dialog container */
}

/* Standalone mode inherits from dialog container */
.edit-tags-dialog.standalone-mode {
    height: 100%;
}

/* Dialog body fills available space */
.edit-tags-dialog .dialog-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

/* Scroll content takes remaining space */
.edit-tags-dialog .dialog-scroll-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
    padding: 0 0.5rem;
}

/* Footer is always visible at bottom */
.edit-tags-dialog .dialog-footer {
    flex-shrink: 0;
    display: flex;
    flex-direction: row !important;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    border-top: 2px solid #e9ecef;
    background: white;
}

/* Embedded mode: Remove fixed positioning and dialog styling */
.edit-tags-dialog.embedded-mode {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    z-index: auto !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* Edit tags dialog layout - controls and stats rows */
.edit-tags-dialog .controls-row {
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.edit-tags-dialog .search-container {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: row;
    gap: 4px;
}

.edit-tags-dialog .search-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.edit-tags-dialog .action-buttons {
    display: flex;
    flex-direction: row;
    gap: 4px;
}

.edit-tags-dialog .control-btn {
    padding: 8px 12px;
    border: 1px solid #ccc;
    background: white;
    border-radius: 4px;
    cursor: pointer;
}

.edit-tags-dialog .stats-row {
    display: flex;
    flex-direction: row;
    gap: 16px;
    margin-bottom: 8px;
}

.edit-tags-dialog .tag-search-results {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}

.edit-tags-dialog .search-result-item {
    display: inline-block;
    padding: 4px 10px;
    background: #e8f5e9;
    border: 1px solid #4CAF50;
    border-radius: 12px;
    cursor: pointer;
    font-size: 13px;
}

.edit-tags-dialog .search-result-item.add-new {
    background: #fff3e0;
    border-color: #ff9800;
}

.timeline-periods-grid {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    overflow-y: auto;
    padding: 0;
    background: #f8f9fa;
    min-height: 0;
}

.period-section {
    background: white;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid #e9ecef;
    flex-shrink: 0;
    min-height: 120px;
}

.period-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    margin: 0;
    border-bottom: 2px solid #f0f2f5;
    background: #fafbfc;
    flex-direction: row;
}

.period-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #2c3e50;
}

.period-name {
    font-weight: 700;
    font-size: 18px;
}

.period-time {
    font-weight: 400;
    opacity: 0.7;
    font-size: 16px;
    color: #6c757d;
}

.selection-count {
    font-size: 14px;
    color: #495057;
    background: #e3f2fd;
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid #bbdefb;
    font-weight: 600;
    white-space: nowrap;
}

.period-input-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    flex-direction: row;
}

.period-unified-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
    background: white;
    transition: border-color 0.15s ease-in-out;
}

.period-unified-input:focus {
    outline: none;
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.period-clear-btn, .period-select-btn {
    padding: 6px 12px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: #fff;
    color: #6c757d;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    white-space: nowrap;
}

.period-clear-btn:hover, .period-select-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    color: #495057;
}

.tags-inline-grid {
    padding: 25px !important;
    display: table !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    min-height: 120px !important;
    line-height: 1rem !important;
    width: 100% !important;
    table-layout: fixed !important;
}

/* Allow original gold inline-tag styling to show through in dialogs - LEGACY ONLY */
.edit-tags-dialog:not(.time-period-condensed) .inline-tag,
.timeline-periods-grid .inline-tag {
    /* Remove color overrides to allow original gold styling */
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
}

.no-tags {
    color: #999;
    font-style: italic;
    padding: 20px;
    text-align: center;
}

.action-list {
    background: none;
    padding: 1rem;
}

.dialog-actions {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 25px 30px;
    border-top: 2px solid #e9ecef;
    background: white;
    flex-shrink: 0;
    border-radius: 0 0 12px 12px;
    flex-direction: row;
}

.action-btn {
    padding: 8px 16px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: #fff;
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    white-space: nowrap;
}

.action-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    color: #495057;
}

.spread, .space-between {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.1rem;
    width: 100%;
}

/* User info display styles */
.user-info-tiny-text {
    font-size: 0.75rem;
}

.user-info-row {
    font-size: 0.75rem;
}

/* GeoPicker Dialog */
.content-panel:has(.geo-picker-body) { flex: 1 1 auto; min-height: 300px; }
.geo-picker-body { display: flex; flex-direction: column; gap: 0.5rem; flex: 1; min-height: 0; height: 100%; }
.geo-picker-search-row { display: flex; gap: 0.5rem; flex-shrink: 0; }
.geo-picker-search { flex: 1; padding: 0.5rem; border: 1px solid #ddd; border-radius: 0.25rem; font-size: 0.9rem; }
.geo-picker-search:focus { outline: none; border-color: #007bff; }
.geo-picker-search-btn { padding: 0.5rem 1rem; background: #007bff; color: white; border: none; border-radius: 0.25rem; cursor: pointer; font-size: 0.85rem; }
.geo-picker-search-btn:hover { background: #0056b3; }
.geo-picker-search-results { max-height: 8rem; overflow-y: auto; }
.geo-picker-search-result { display: block; width: 100%; text-align: left; padding: 0.5rem; border: none; border-bottom: 1px solid #eee; cursor: pointer; background: #f8f9fa; font-size: 0.85rem; }
.geo-picker-search-result:hover { background: #e8f0fe; }
.geo-picker-searching, .geo-picker-no-results { padding: 0.5rem; color: #666; font-size: 0.85rem; font-style: italic; }
.geo-picker-results-label { padding: 0.35rem 0.5rem; font-size: 0.75rem; color: #666; background: #f0f0f0; font-weight: 600; }
.geo-picker-label { font-size: 0.8rem; color: #444; padding: 0.35rem 0.5rem; font-weight: 600; background: #f0f0f0; border-radius: 0.25rem; flex-shrink: 0; }
.geo-picker-list { flex: 1; min-height: 5rem; max-height: 30%; overflow-y: auto; border: 1px solid #ddd; border-radius: 0.25rem; }
.geo-picker-map { flex: 2; min-height: 10rem; width: 100%; border-radius: 0.25rem; border: 1px solid #ddd; }
.geo-picker-status { font-size: 0.85rem; font-weight: bold; text-align: center; padding: 0.25rem 0.5rem; min-height: 1.25rem; background: #f5f5f5; border-radius: 0.25rem; flex-shrink: 0; }
.geo-picker-autodetect { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: #555; padding: 0.25rem 0; flex-shrink: 0; cursor: pointer; }
.geo-picker-autodetect input[type="checkbox"] { width: 1rem; height: 1rem; cursor: pointer; }
.location-list-item { display: block; width: 100%; text-align: left; padding: 0.4rem 0.6rem; border: none; border-bottom: 1px solid #eee; cursor: pointer; background: white; font-size: 1.25rem; }
.location-list-item:hover, .location-list-item.selected { background: #e8f0fe; }
/* GeoPicker landscape/wide: list left, map right using CSS grid */
@media (min-width: 640px) and (orientation: landscape) {
    .geo-picker-body { display: grid; grid-template-columns: 2fr 3fr; grid-template-rows: auto auto auto 1fr auto auto; gap: 0.5rem; }
    .geo-picker-search-row { grid-column: 1 / -1; grid-row: 1; }
    .geo-picker-search-results { grid-column: 1 / -1; grid-row: 2; }
    .geo-picker-label { grid-column: 1; grid-row: 3; }
    .geo-picker-list { grid-column: 1; grid-row: 4; max-height: none; min-height: 0; overflow-y: auto; }
    .geo-picker-map { grid-column: 2; grid-row: 3 / 5; min-height: 15rem; }
    .geo-picker-status { grid-column: 1 / -1; grid-row: 5; }
    .geo-picker-autodetect { grid-column: 1 / -1; grid-row: 6; }
}
/* No invitations empty state */
.no-invitations { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem 1rem; color: #666; }
.no-invitations-icon { margin-bottom: 0.75rem; }
.no-invitations-icon .icon { width: 3rem; height: 3rem; opacity: 0.5; }
