* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.container {
    display: flex;
    height: 100vh;
    flex-direction: row;
}

#map {
    width: 66.666667%;
    height: 100%;
    flex-shrink: 0;
}

.sidebar {
    width: 33.333333%;
    padding: 1.5rem;
    background-color: white;
    overflow-y: auto;
    flex-shrink: 0;
}

.sidebar-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.point-card {
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.point-card img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
}

.point-card-content {
    padding: 1rem;
}

.point-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.point-details {
    margin-bottom: 1rem;
    color: #4B5563;
}

.point-date, .point-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.point-address {
    margin-left: 1.5rem;
    font-size: 0.875rem;
    color: #6B7280;
    margin-bottom: 0.5rem;
}

.point-card-description {
    color: #4B5563;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.point-contact, .point-organizer, .point-price {
    font-size: 0.875rem;
    color: #6B7280;
    margin-top: 0.5rem;
}

.empty-state {
    color: #6B7280;
}

.points-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.point-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    background-color: #F3F4F6;
    cursor: pointer;
    transition: all 0.2s;
}

.point-item:hover {
    background-color: #E5E7EB;
}

.point-item.selected {
    background-color: #EFF6FF;
    border: 2px solid #3B82F6;
}

.point-item-image {
    width: 100px;
    height: 100px;
    border-radius: 0.375rem;
    object-fit: cover;
    flex-shrink: 0;
}

.point-item-content {
    flex: 1;
    min-width: 0;
}

.point-item-title {
    font-weight: 500;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.point-item-date, .point-item-location, .point-item-price {
    font-size: 0.875rem;
    color: #6B7280;
    margin-bottom: 0.25rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    #map {
        width: 100%;
        height: 50vh;
    }

    .sidebar {
        width: 100%;
        height: auto;
    }

    .point-card img {
        height: 10rem;
    }

    .point-item {
        padding: 0.75rem;
    }

    .point-item-image {
        width: 80px;
        height: 80px;
    }

    .sidebar-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .points-list {
        margin-top: 1rem;
        gap: 0.75rem;
    }
}

/* Small phones */
@media (max-width: 480px) {
    #map {
        height: 40vh;
    }

    .sidebar {
        padding: 1rem;
    }

    .point-card img {
        height: 8rem;
    }

    .point-card-title {
        font-size: 1.125rem;
    }

    .point-item {
        padding: 0.5rem;
    }

    .point-item-image {
        width: 60px;
        height: 60px;
    }
}