﻿/* Set padding to keep content from hitting the edges */
.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

html, body, #container {
    height: 100%;
    margin: 0;
    padding: 0;
}

#map {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
}

#sidebar {
    position: absolute;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background-color: white;
    box-shadow: 2px 0 5px rgba(0,0,0,0.2);
    padding: 10px;
    overflow-y: auto;
    z-index: 2;
    transition: transform 0.3s ease;
}

    #sidebar.closed {
        transform: translateX(-100%);
    }

#statusBar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #f8f9fa;
    border-top: 1px solid #ccc;
    padding: 5px 10px;
    font-size: 0.9rem;
    color: #333;
    z-index: 9999;
}
#toggleSidebar {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 4; /* πάνω από sidebar και map */
}
.popup-card {
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    background: white;
    padding: 10px 12px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    color: #333;
    min-width: 180px;
}

.popup-title {
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 6px;
    color: #004085;
}

.popup-line {
    margin-bottom: 4px;
}

.popup-link {
    display: inline-block;
    margin-top: 6px;
    padding: 4px 10px;
    background-color: #28a745; /* βασικό πράσινο */
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
}

    .popup-link:hover {
        background-color: #2ecc71; /* πιο φωτεινό πράσινο στο hover */
        color: #fff; /* παραμένει λευκό το κείμενο */
        transform: translateY(-1px); /* ελαφρύ “ανέβασμα” */
    }
