/* ===== GRUNDSTIL ===== */
body {
    margin: 0;
    padding: 0;
    background-color: #000;
    color: #0f0;
    font-family: 'Courier New', monospace;
}

/* ===== MENY ===== */
.menu {
    background-color: #000;
    color: #0f0;
    padding: 10px 0;
    text-align: center;
    border-bottom: 2px solid #0f0;
    z-index: 2;
    position: relative;
}

.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
    gap: 40px;
}

.menu li a {
    color: #0f0;
    text-decoration: none;
    font-size: 1.1em;
    transition: 0.2s;
}

.menu li a:hover {
    color: #00ffcc;
    text-decoration: underline;
}

/* ===== GEMENSAM RAM ===== */
.container, .form-container {
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid #0f0;
    border-radius: 12px;
    box-shadow: 0 0 20px #0f0;
    padding: 30px;
    margin: 80px auto;
    max-width: 760px;
    width: 90%;
    color: #0f0;
    z-index: 1;
    position: relative;
    text-align: center;
}

/* ===== FORMULÄRFÄLT ===== */
input, textarea, select, button {
    font-family: 'Courier New', monospace;
    background-color: #000;
    color: #0f0;
    border: 1px solid #0f0;
    padding: 10px;
    margin: 10px 0;
    width: 100%;
    box-sizing: border-box;
    font-size: 1em;
    border-radius: 4px;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #00ffcc;
    box-shadow: 0 0 5px #00ffcc;
}

/* ===== KNAPPAR ===== */
button, input[type="submit"] {
    cursor: pointer;
    background-color: #000;
    color: #0f0;
    border: 1px solid #0f0;
    padding: 10px 20px;
    margin-top: 20px;
    border-radius: 4px;
    transition: background 0.3s, color 0.3s;
}

button:hover, input[type="submit"]:hover {
    background-color: #0f0;
    color: #000;
}

/* ===== RUBRIKER & TEXT ===== */
h1, h2, h3, p, label {
    color: #0f0;
    margin-bottom: 15px;
}

/* ===== RESPONSIV ===== */
@media (max-width: 480px) {
    .menu ul {
        flex-direction: column;
        gap: 15px;
    }

    .container, .form-container {
        padding: 20px;
        margin: 40px auto;
    }
}

/* ===== SPRÅKMENY ===== */
.language-switch {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
}

.language-switch select {
    background: #000;
    color: #0f0;
    border: 1px solid #0f0;
}

/* ===== FLYTANDE ADMINMENY ===== */
.admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    background: #111;
    border-right: 1px solid #0f0;
    width: 240px;
    height: 100%;
    padding: 20px;
    box-shadow: 2px 0 10px #0f0;
    z-index: 5;
}

.with-sidebar {
    margin-left: 260px;
    padding: 20px;
    box-sizing: border-box;
}
/* ===== LOGO I HÖGER HÖRN ===== */
.site-logo {
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 10;
}

.site-logo img {
    height: 40px;
    width: auto;
}
