﻿/* Grundläggande stil för sidan */
header {
    padding-top: env(safe-area-inset-top, 20px);
    padding-bottom: 15px;
    background-color: #f8f8f8;
    position: sticky;
    top: 0;
    z-index: 1000;
}

body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    padding-top: 15px; /* extra marginal för toppstatusbar på mobil */
}

h2 {
    color: #333;
    margin-top: 20px;
}

/* Stil för kartan */
#map {
    height: 400px;
    width: 90%;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Dropdown stil */
select {
    padding: 10px;
    font-size: 16px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
    background: white;
}

/* Knappar */
button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
    font-size: 16px;
}

    button:hover {
        background-color: #0056b3;
    }

/* Stil för tabellen */
table {
    width: 90%;
    margin: 20px auto;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

th, td {
    border: 1px solid black;
    padding: 10px;
    text-align: left;
}

th {
    background-color: #007bff;
    color: white;
}

/* Registreringsformulär */
div > input {
    padding: 10px;
    font-size: 16px;
    margin: 5px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
    width: 80%;
    max-width: 400px;
}

/* Menylänk */
#menu {
    margin-bottom: 20px;
}

    #menu a {
        text-decoration: none;
        font-size: 18px;
        color: #007bff;
        font-weight: bold;
    }

        #menu a:hover {
            text-decoration: underline;
        }

/* Login-stil */
#login-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 300px;
}

    #login-container input {
        width: 100%;
        padding: 10px;
        margin: 5px 0;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

/* Footer */
footer {
    position: absolute;
    bottom: 10px;
    text-align: center;
    width: 100%;
    font-size: 14px;
    color: #666;
}

    footer a {
        text-decoration: none;
        color: #007bff;
    }

        footer a:hover {
            text-decoration: underline;
        }
