/*
 * style.css
 * Generella stilar för hela applikationen.
 * Denna fil laddas in på alla sidor.
 *
 * @package Styles
 * @author John
 * @version 1.0.0
 */

/* Reset och grundinställningar */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f4;
    min-height: 100vh;
    color: #333;
}

/* Navigationsrad */
.navbar {
    background-color: #333;
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s;
}

.navbar a:hover {
    color: #007bff;
    text-decoration: underline;
}

/* Innehållsområde */
.content {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.content h1 {
    margin-bottom: 20px;
    color: #333;
}

.content p {
    line-height: 1.6;
    color: #555;
}

/* Åtkomst nekad - sida */
.denied-container {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 400px;
    margin: 40px auto;
}

.denied-container h1 {
    color: #dc3545;
    margin-bottom: 20px;
}

.denied-container a {
    color: #007bff;
    text-decoration: none;
}

.denied-container a:hover {
    text-decoration: underline;
}

/* Centrerad layout för sidor utan navbar (t.ex. åtkomst nekad) */
.centered-layout {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
