/* src/GoogleMapComponent.css */

.map-container .controls {
	display: flex;
	flex-direction: column;
	height: 100vh; /* Makes the container span the full viewport height */
}

.buttons-overlay {
	display: flex;
	flex-direction: row;
	padding: 10px;
	background-color: #fff;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow for depth */
	z-index: 5; /* Optional: Retain if needed for layering */
}

.buttons-overlay button {
	margin-right: 10px; /* Existing margin */
	padding: 10px 20px;
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 5px;
	cursor: pointer; 
	font-size: 14px;
}

.buttons-overlay button:last-child {
	margin-right: 0; /* Removes the right margin from the last button */
}

.buttons-overlay button:hover {
	background-color: #f0f0f0;
}

.buttons-overlay button:active {
	background-color: #e0e0e0;
}

.error-message {
	background-color: #ffcccc;
	padding: 10px;
	border-radius: 5px;
	margin: 10px; /* Adds spacing around the error message */
	font-size: 14px;
}

/* Updated Railway Inputs Styling */
.railway-inputs {
    display: flex;
    flex-direction: row; /* Align items horizontally */
    gap: 10px; /* Space between inputs */
    padding: 10px;
    background-color: #f9f9f9;
    border-top: 1px solid #ddd;
    align-items: center; /* Vertically center the inputs */
}

.railway-inputs .railway-input {
    flex: 1; /* Allow input to take available space */
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.railway-inputs .railway-textarea {
    flex: 2; /* Make textarea wider than input */
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    resize: vertical; /* Allow vertical resizing */
    height: 20px; /* Fixed height */
}

/* Optional: Responsive Design */
@media (max-width: 600px) {
    .railway-inputs {
        flex-direction: column; /* Stack vertically on small screens */
    }

    .railway-inputs .railway-textarea {
        flex: none;
        width: 100%;
    }
}
