body{ 
    font-family:"Comfortaa";
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #e7eef5;
    padding: 0px;
    margin: 0;
}

.svgMap {
    background: white;
    border: 3px solid #cbd5e1;
    border-radius: 8px;
    
}

header h1{
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
    color: #4b636f;
}

.main {
    display: flex;
    gap: 20px;
    align-items: center;
}


.svgMap {
  width: 940px;
  height: 550px;
  display: block;
  flex-shrink: 0; /* щоб контейнер не намагався її стиснути */
}


.svgMap image{
    display: none;
}
.svgMap image.active {
    display: block;
}

.buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floor-btn {
    padding: 10px 20px;
    border: 1px solid #cbd5e1;
    background: #fff;
    border-radius: 5px;
    font-family: "Comfortaa";
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    color: #6e6e6e;
}

.floor-btn:hover {
    background: #d6e2ea;
}

.floor-btn.active {
    background-color: #77929e;
    color: white;
}

/* Контейнер для стрілочок між кнопками */
.arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20px;
    gap: 10px;
    font-size: 1.2rem;
    color: #cbd5e1; /* Неактивний (сірий) колір */
    font-weight: bold;
    padding: 2px 0;
}

.arrow-ap.active {
    color: #0051fffc; 
    transform: scale(1.1);
}

.route-panel {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 10px 16px;
    border-radius: 8px;
}

.route-panel input {
    padding: 8px 12px;
    border: 2px solid #cbd5e1;
    border-radius: 5px;
    font-family: "Comfortaa";
    font-size: 0.9rem;
    outline: none;
    width: 180px;
}

.route-panel input:focus {
    border-color: #5A7B8A;
}

.route-arrow {
    font-size: 1.2rem;
    font-weight: bold;
    color: #5e8ca1;
}

#find-route-btn {
    padding: 8px 16px;
    background: #77929e;
    color: white;
    border: 2px solid #cbd5e1;
    border-radius: 5px;
    font-family: "Comfortaa";
    font-weight: bold;
    cursor: pointer;
}

#alt-route-btn {
    padding: 8px 16px;
    background: #77929e;
    color: white;
    border: 2px solid #cbd5e1;
    border-radius: 5px;
    font-family: "Comfortaa";
    font-weight: bold;
    cursor: pointer;
}