/*!
 * Voyage Butler - Main Stylesheet
 * Author: Voyage Butler Team
 * Description: Main styles for the Voyage Butler chat interface
 * Updated: No blur effects
 */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container Layout */
.container {
    display: grid;
    grid-template-columns: 20% 80%;
    height: 100vh;
    height: 100dvh;
    transition: grid-template-columns 0.3s ease;
}

/* Flexbox fallback for older browsers */
.no-grid .container {
    display: flex;
}

.no-grid .sidebar {
    flex: 0 0 20%;
}

.no-grid .main-panel {
    flex: 1;
}

.sidebar {
    background-color: #112344;
    color: white;
    padding: 2rem 1rem;
    position: relative;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.sidebar-logo {
    width: 60%;
    height: auto;
    display: block;
    border-radius: 4px;
    margin: 0 auto;
    max-width: 150px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-logo.loaded {
    opacity: 1;
}

/* Silver Platter Styles */
.silver-platter-container {
    margin-top: auto;
    padding-top: 2rem;
}

.silver-platter {
    text-align: center;
    color: white;
    position: relative;
}

.platter-icon {
    position: relative;
    margin-bottom: -40px;
    display: inline-block;
    transition: transform 0.2s ease;
}

.platter-image {
    width: 257px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.platter-count {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #6b9ce8;
    color: white;
    border-radius: 50%;
    width: 51px;
    height: 51px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.44rem;
    font-weight: bold;
    border: 3px solid white;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.platter-count:empty {
    display: none;
}


.platter-email-btn {
    background-color: #0078d0;
    border: 0;
    border-radius: 56px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: system-ui, -apple-system, system-ui, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    outline: 0;
    padding: 0.5rem 1rem;
    position: relative;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    width: 100%;
    margin-top: 10px;
}

.platter-email-btn:before {
    background-color: initial;
    background-image: linear-gradient(#fff 0, rgba(255, 255, 255, 0) 100%);
    border-radius: 125px;
    content: "";
    height: 50%;
    left: 4%;
    opacity: 0.5;
    position: absolute;
    top: 0;
    transition: all 0.3s;
    width: 92%;
}

.platter-email-btn:hover:not(:disabled) {
    box-shadow: rgba(255, 255, 255, 0.2) 0 3px 15px inset, rgba(0, 0, 0, 0.1) 0 3px 5px, rgba(0, 0, 0, 0.1) 0 10px 13px;
    transform: scale(1.05);
}

.platter-email-btn:disabled {
    background-color: #0078d0;
    color: rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
    transform: none;
    opacity: 0.6;
}

.platter-email-btn:disabled:before {
    opacity: 0.2;
}

.main-panel {
    background-image: url('../images/default-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    position: relative;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    -webkit-overflow-scrolling: touch;
}

/* Fixed attachment for desktop only */
@media (min-width: 769px) and (hover: hover) {
    .main-panel {
        background-attachment: fixed;
    }
}

.main-content {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    min-height: 0;
}

.chat-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-bottom: 1rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    min-height: 0;
}

.message {
    display: flex;
    margin-bottom: 1rem;
    animation: fadeInUp 0.4s ease-out;
}

.user-message,
.bot-message {
    justify-content: center;
}

.message-content {
    max-width: 95%;
    min-width: 200px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.message-text {
    background: rgba(255, 255, 255, 0.95);
    padding: 0.75rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.user-message .message-text {
    background: rgba(33, 150, 243, 0.9);
    color: white;
}

.bot-message .message-text {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
}

.greeting-message {
    font-size: 1.3rem !important;
    font-weight: 600 !important;
    text-align: center !important;
    background: linear-gradient(135deg, rgba(17, 35, 68, 0.95), rgba(33, 150, 243, 0.95)) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 4px 16px rgba(17, 35, 68, 0.3) !important;
    letter-spacing: 0.5px !important;
    padding: 1.2rem 1.5rem !important;
}

.delayed-message {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.delayed-message.visible {
    opacity: 1;
    transform: translateY(0);
}

.chat-input-container {
    margin-bottom: 1rem;
    flex-shrink: 0;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.input-field {
    position: relative;
    background: white;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
}


.chat-input {
    width: 100%;
    padding: 0.75rem 4rem 0.75rem 1rem;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: max(16px, 0.95rem);
    resize: none;
    outline: none;
    min-height: 20px;
    max-height: 120px;
    overflow-y: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
    appearance: none;
    display: block;
    box-sizing: border-box;
}

.location-suggestions {
    position: absolute;
    top: 100%;
    left: 0.5rem;
    right: 0.5rem;
    background: white;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.location-suggestion {
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background-color 0.2s ease;
}

.location-suggestion:last-child {
    border-bottom: none;
}

.location-suggestion:hover,
.location-suggestion.highlighted {
    background-color: rgba(33, 150, 243, 0.1);
}

.location-suggestion-name {
    font-weight: 500;
    color: #333;
}

.location-suggestion-details {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.2rem;
}

.send-button {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: #112344;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.send-button:hover {
    background: #1a2d4f;
    transform: translateY(-50%) scale(1.05);
}

.send-button:active {
    transform: translateY(-50%) scale(0.95);
}

/* Focus styles for accessibility */
.chat-input:focus,
.send-button:focus {
    outline: 2px solid #2196F3;
    outline-offset: 2px;
}

.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1000;
    background: #112344;
    color: white;
    border: none;
    border-radius: 8px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-toggle:hover {
    background: #1a2d4f;
    transform: translateY(-2px);
}

.mobile-menu-toggle:focus {
    outline: 2px solid #2196F3;
    outline-offset: 2px;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    -webkit-tap-highlight-color: transparent;
}

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scrollbar styling for WebKit browsers */
.main-panel::-webkit-scrollbar,
.chat-container::-webkit-scrollbar,
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.main-panel::-webkit-scrollbar-track,
.chat-container::-webkit-scrollbar-track,
.sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.main-panel::-webkit-scrollbar-thumb,
.chat-container::-webkit-scrollbar-thumb,
.sidebar::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.main-panel::-webkit-scrollbar-thumb:hover,
.chat-container::-webkit-scrollbar-thumb:hover,
.sidebar::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Cards Container - Updated for single row layout */
.cards-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.75rem;
    margin: 1rem 0;
    padding: 0;
    animation: fadeInUp 0.6s ease-out;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: grab;
    position: relative;
    overflow: hidden;
    min-width: 160px;
    height: 120px;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.card:active {
    cursor: grabbing;
}

.card-header {
    font-family: 'Segoe UI', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #112344;
    margin-bottom: 0.5rem;
    margin-top: -0.25rem;
    padding-bottom: 0.2rem;
    border-bottom: 2px solid #e3f2fd;
    flex-shrink: 0;
    letter-spacing: -0.02em;
}

.card-text {
    color: #555;
    line-height: 1.4;
    font-size: 0.8rem;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        grid-template-columns: 25% 75%;
    }
    
    .no-grid .sidebar {
        flex: 0 0 25%;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .container {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100vh;
        height: 100dvh;
        transition: transform 0.3s ease;
        z-index: 200;
        transform: translateX(-100%);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .sidebar-overlay.show {
        display: block;
    }

    .main-panel {
        grid-column: 1;
    }

    .main-content {
        padding: 1rem;
        padding-top: 4rem;
    }

    .chat-input-container {
        width: 80%;
    }

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

@media (max-width: 480px) {
    .sidebar {
        width: 100vw;
    }

    .main-content {
        padding: 0.75rem;
        padding-top: 4rem;
    }

    .chat-input-container {
        width: 95%;
    }

    .chat-input-container {
        padding: 0.75rem;
        gap: 0.5rem;
    }

    .send-button {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }

    .message-content {
        max-width: 90%;
        min-width: 120px;
    }
}

/* Responsive cards */
@media (max-width: 1200px) {
    .cards-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
    
    .card {
        min-width: 180px;
        height: 130px;
    }
}

@media (max-width: 768px) {
    .cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .card {
        padding: 0.75rem;
        min-width: 150px;
        height: 110px;
    }

    .card-header {
        font-size: 1rem;
    }

    .card-text {
        font-size: 0.75rem;
        -webkit-line-clamp: 3;
    }
}

@media (max-width: 480px) {
    .cards-container {
        grid-template-columns: 1fr;
        margin: 0.5rem 0;
    }
    
    .card {
        min-width: auto;
        height: 100px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .message-text {
        border: 2px solid;
    }
    
    .chat-input {
        border: 2px solid;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Print styles */
@media print {
    .sidebar,
    .mobile-menu-toggle,
    .chat-input-container {
        display: none;
    }
    
    .container {
        grid-template-columns: 1fr;
    }
    
    .main-panel {
        background: white;
    }
    
    .message-text {
        background: white;
        color: black;
        border: 1px solid black;
    }
    
    .cards-container {
        background: white;
        border: 1px solid black;
    }
    
    .card {
        background: white;
        border: 1px solid black;
    }
}

/* Trip Cards Styles */
.trip-cards-container {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    margin: 1rem 0;
    padding: 0 1rem;
    animation: fadeInUp 0.6s ease-out;
    justify-content: center;
}

.trip-card {
    background: white;
    border: 1px solid rgba(33, 150, 243, 0.2);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: grab;
    position: relative;
    overflow: hidden;
    width: 300px;
    height: 300px;
    display: flex;
    flex-direction: column;
}

.trip-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3), 0 6px 12px rgba(0, 0, 0, 0.2);
}

.trip-card:active {
    cursor: grabbing;
}

.trip-card.dragging {
    opacity: 0.7;
    transform: rotate(5deg);
}

.trip-card.liked {
    border-color: #4CAF50;
    background-color: rgba(76, 175, 80, 0.1);
}

.trip-card.disliked {
    border-color: #f44336;
    background-color: rgba(244, 67, 54, 0.1);
}

.trip-card-header {
    margin-bottom: 0.75rem;
    margin-top: -0.25rem;
}

.trip-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #112344;
    margin: 0;
    text-align: center;
}

.trip-card-description {
    color: #666;
    line-height: 1.5;
    margin: 0 0 auto 0;
    font-size: 0.95rem;
    flex-grow: 1;
}

.trip-card-description.centered {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 500;
}

.trip-card-images {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin: 0.75rem 0;
    flex-wrap: wrap;
}

.trip-card-image {
    max-width: 180px;
    max-height: 135px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    object-fit: contain;
    background: white;
    padding: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.trip-card-image.single {
    max-width: 140px;
    max-height: 105px;
}

.trip-card-images:has(.trip-card-image.single) {
    justify-content: center;
}

.trip-card-image.multiple {
    max-width: 135px;
    max-height: 101px;
}

.trip-card-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: auto;
    margin-bottom: -0.25rem;
}

.trip-card-action {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.2s ease;
    user-select: none;
}

.trip-card-action:hover {
    transform: scale(1.1);
    border-color: #999;
}

.trip-card-action.thumbs-up:hover {
    border-color: #4CAF50;
    background-color: rgba(76, 175, 80, 0.1);
}

.trip-card-action.thumbs-down:hover {
    border-color: #f44336;
    background-color: rgba(244, 67, 54, 0.1);
}

.trip-card-action:active {
    transform: scale(0.95);
}

/* Responsive design for trip cards */
@media (max-width: 768px) {
    .trip-cards-container {
        padding: 0 0.5rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .trip-card {
        width: 150px;
        height: 150px;
        padding: 1rem;
        flex-shrink: 0;
    }
    
    .trip-card-title {
        font-size: 1.32rem;
    }
    
    .trip-card-description {
        font-size: 0.85rem;
    }
    
    .trip-card-action {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .trip-card-image {
        max-width: 135px;
        max-height: 101px;
    }
    
    .trip-card-image.single {
        max-width: 105px;
        max-height: 79px;
    }
    
    .trip-card-image.multiple {
        max-width: 101px;
        max-height: 79px;
    }
}

@media (max-width: 480px) {
    .trip-card {
        width: 120px;
        height: 120px;
        padding: 0.75rem;
    }
    
    .trip-card-title {
        font-size: 1.2rem;
    }
    
    .trip-card-description {
        font-size: 0.8rem;
    }
    
    .trip-card-action {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .trip-card-image {
        max-width: 113px;
        max-height: 79px;
    }
    
    .trip-card-image.single {
        max-width: 90px;
        max-height: 68px;
    }
    
    .trip-card-image.multiple {
        max-width: 79px;
        max-height: 56px;
    }
}

/* Platter Popup Styles */
.platter-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.platter-popup-content {
    background: white;
    border-radius: 12px;
    max-width: 800px;
    max-height: 90vh;
    width: 100%;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.platter-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    z-index: 10001;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.platter-popup-close:hover {
    background-color: #f0f0f0;
}

.platter-popup-header {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 30px 40px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-radius: 12px 12px 0 0;
}

.platter-popup-logo {
    width: 78%; /* 60% * 1.30 = 78% (30% wider) */
    height: auto;
    max-width: 195px; /* 150px * 1.30 = 195px (30% wider) */
    max-height: 82.8px; /* 72px * 1.15 = 82.8px (15% taller) */
    border-radius: 4px;
    border: 2px solid #112344; /* Sidebar color border */
    background-color: #112344; /* Sidebar color background */
    padding: 8px 2px; /* Minimal horizontal padding */
    object-fit: contain;
}

.platter-popup-title {
    font-size: 28px;
    font-weight: 600;
    margin: 0;
    color: white;
}

.platter-popup-sections {
    padding: 0 40px 30px;
}

.platter-section {
    border-bottom: 1px solid #e8ecef;
    padding: 30px 0;
}

.platter-section:last-child {
    border-bottom: none;
}

.platter-section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.platter-section-number {
    background: #3498db;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.platter-section-title {
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    flex: 1;
}

.platter-section-content {
    margin-left: 47px;
}

.platter-section-description {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.platter-metadata-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid #3498db;
}

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

.platter-metadata-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 15px 0;
}

.platter-metadata-content p {
    margin: 8px 0;
    font-size: 15px;
    color: #555;
}

.platter-metadata-content strong {
    color: #2c3e50;
}

.platter-location-item {
    background: white;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid #e0e4e7;
}

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

.platter-location-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 8px 0;
}

.platter-location-item p {
    font-size: 14px;
    color: #666;
    margin: 0 0 10px 0;
}

.platter-location-item a {
    color: #3498db;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.platter-location-item a:hover {
    text-decoration: underline;
}

/* Mobile responsive styles for popup */
@media (max-width: 768px) {
    .platter-popup-overlay {
        padding: 10px;
    }
    
    .platter-popup-content {
        max-height: 95vh;
        border-radius: 8px;
    }
    
    .platter-popup-header {
        padding: 20px 25px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .platter-popup-logo {
        width: 78%; /* 60% * 1.30 = 78% (30% wider) */
        height: auto;
        max-width: 156px; /* 120px * 1.30 = 156px (30% wider) */
        max-height: 66.24px; /* 57.6px * 1.15 = 66.24px (15% taller) */
        border: 2px solid #112344; /* Sidebar color border */
        background-color: #112344; /* Sidebar color background */
        padding: 8px 2px; /* Minimal horizontal padding */
    }
    
    .platter-popup-title {
        font-size: 24px;
    }
    
    .platter-popup-sections {
        padding: 0 25px 20px;
    }
    
    .platter-section {
        padding: 20px 0;
    }
    
    .platter-section-content {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .platter-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .platter-section-title {
        font-size: 20px;
    }
    
    .platter-metadata-section {
        padding: 15px;
    }
}