@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');


body {
    display: flex;
    flex-direction: column;
    background: linear-gradient(90deg, #ffe4c0,
     #eab587 50%,
     #ffe4c0 100%);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    min-width: 450px
}

#logo-permap {
    width: 200px;
}

.header {
    display: flex;
    align-items: center;
    border: black 1px solid;
    padding: 10px;
    margin-bottom: 20px;
    
}

.header a {
    padding-left: 30px;
    padding-top: 10px;
    font-size: 16px;
    text-decoration: none;
    color: black;
    font-weight: 900;
}

.header a:hover {
    color: white;
}

nav {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    align-items: center;
}

.wrapper {
    display: flex;
    height: 100%;
    justify-content: flex-start;  
    flex-wrap: wrap;
    gap: 10px;
}

.wybor-punktow {
    padding: 10px;
    display: flex;
    flex-direction: column;
}

.opis-wsp {
    margin-left: 10px;
}

.pojedynczy-punkt {
    height: 170px;
}

.import-z-txt {
    height: 120px;
}

.import-z-txt fieldset,button {
    margin-left: 10px;
}

.pojedynczy-punkt fieldset {
    width: 40%;
    margin-left: 10px;
    display: inline-block;
}
.pojedynczy-punkt fieldset input {    
    width: 90%;
    padding: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.import-z-txt fieldset {
    width: 50%;
    margin-bottom: 10px;
}

form button {
    font-size: small;
    width: 140px;
    height: 30px;
    border: 2px solid grey;
    border-radius: 4px;
}

.mapa {
    min-height:inherit;
    flex-grow: 1;
    height: 80vh;
}

#map { 
    position:relative;
    height: 100%; 
    width:100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    
}

#points-table-container {
    margin: 10px;
    max-height: calc(80vh - 420px);
    max-width: 100%;
    overflow: auto;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    display: block; /* Zmiana z 'none' na 'block' aby tabela była zawsze widoczna */
}

#points-table {
    width: 100%;
    border-collapse: collapse;
}

#points-table th {
    padding: 5px 10px;
    text-align: center;
    border-bottom: 1px solid #ddd; 
    background-color: #f2f2f2;
    position: sticky;
    top: 0;
}

#points-table td {
    padding: 5px 10px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

#points-table tr {
    cursor: pointer;
}

#points-table tr:hover {
    background-color: #f5f5f5;
}

#points-table tr.selected {
    background-color: #e0f0ff;
}

/* Styl dla wiersza informacyjnego */
#points-table tr.info-row td {
    text-align: center;
    padding: 20px;
    font-style: italic;
    color: #666;
}