/* MAIN */
.neighbourhoods {
	display: flex;
	justify-content: space-around;
	align-items: center;
	gap: 2%;
	width: 100%;
	margin: 20px auto 20px auto;
}
.neighbourhoods img {
	flex: 1 1 auto;
	max-height: 300px;
	width: 95%;
}
.neighbourhoods img:hover, .pb-image img:hover {
	box-shadow: 10px 10px 10px rgba(4, 170, 109, 0.7);
}
.housing-page {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 8%;
	width: 100%;
}
.housing-sidebar {
	/*width: 24%;*/
	padding-right: 10px;
}
.housing-info img {
	width: 60%;
	height: auto;
	margin: 5px 0 10px 0;
}
.layer-link {
	display: flex;
	justify-content: space-evenly;
	width: 100%;
	margin: 20px 0 20px 0;
}
.neighbourhood-image {
	text-align: center;
}
.neighbourhood-image a {
	text-decoration: none;
}
.vote-info ul, .vote-info ol {	/* endeavour's page */
	padding-left: 50px;
}
.guest-comment {
	display: flex;
	justify-content: space-between;
}
.gc-img {
	padding-left: 2%;
}

/* MAP STYLES */
.map-container {
    position: relative;
    min-width: 1000px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1a1a1a;
}
.map-background {
    background-image: url('../../housing/alliance-map.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    min-width: 1000px;
    min-height: 600px;
    position: relative;
    width: 100%;
    height: 100vh;
}
.map-background-horde {
    background-image: url('../../housing/horde-map.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    min-width: 1000px;
    min-height: 600px;
    position: relative;
    width: 100%;
    height: 100vh;
}
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}
.grid-line {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.3);
}
.grid-line.vertical {
    width: 1px;
    height: 100%;
}
.grid-line.horizontal {
    height: 1px;
    width: 100%;
}
.grid-label {
    position: absolute;
    color: rgba(255, 255, 255, 0.8);
    font-size: 10px;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 2px 4px;
    border-radius: 2px;
    pointer-events: none;
}
.grid-label.x-label {
    top: -15px;
    left: -10px;
}
.grid-label.y-label {
    top: -8px;
    left: -25px;
}
.house-plot {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid #333;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}
.house-plot:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    z-index: 20;
}
.house-plot.occupied {
    background-color: rgba(76, 175, 80, 0.8);
    color: white;
}
.house-plot.occupied:hover {
    background-color: rgba(76, 175, 80, 1);
}
.plot-info {
    position: absolute;
	top: -2000px;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 30;
    opacity: 0;
    transition: opacity 0.3s ease;
    transform: translateY(-100%);
}
.house-plot:hover .plot-info {
    opacity: 1;
	transition: opacity 0.3s ease;
	top: 0;
}
.legend {
    position: absolute;
    top: 2rem;
    right: 1rem;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px;
    border-radius: 8px;
    font-size: 12px;
    z-index: 100;
}
.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}
.legend-color {
    width: 12px;
    height: 12px;
    margin-right: 8px;
    border-radius: 2px;
}
.legend-color.available {
    background-color: rgba(255, 255, 255, 0.8);
}
.legend-color.occupied {
    background-color: rgba(76, 175, 80, 0.8);
}
.guestbook {
	margin: 10px 0 5px 0;
}
.guestbook a {
	font-weight: bold;
	text-decoration: none;
	background-color: #C7E0C4;
	padding: 5px;
	margin-left: 5px;
}
.guestbook a:hover {
	background-color: #04AA6D;
}

/* MAP PAGE */
.layer-info {
	width: 100%;
	padding-top: 20px;
	margin: 0;
	display: flex;
}
.address-book {
	width: 48%;
	margin: 0 2% 20px 0;
	padding: 20px;
}
.address-book a {
	text-decoration: none;
	font-style: italic;
}
.address-book a:hover {
	font-weight: bold;
}
.address-list {
	display: grid;
	grid-template-columns: auto 1fr;
}
.houseNo {
	font-weight: bold;
	text-align: center;
	padding-right: 10px;
}
.change-plot {
	width: 48%;
	margin-left: 2%;
	padding: 20px;
}