﻿/* Grundläggande typsnitt och bakgrund */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9fafb;
    color: #222;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}
.honeypot {
/*    display: none !important;
*/    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.support-rubrik {
    max-width: 700px;
    color: #007bff; /* Bootstrap-blå */
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

    .support-rubrik i {
        /*             font-size: 2rem;
 */ color: blue; /* Blå ikonfärg */
    }
.om-mig-text {
    max-width: 700px;
    /*margin: 0 auto 1rem auto;*/ /* centrerar blocket, men inte texten */
    /*    padding: 0 1rem;
*/ text-align: left;
    text-indent: 0;
    font-size: 1.1rem
}

/* Lite luft runt stora rubriker */
h1, h2, h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #003366; /* En sober blå färg */
}

/* Länkar */
a {
    color: #007bff;
    text-decoration: none;
}

    a:hover, a:focus {
        color: #0056b3;
        text-decoration: underline;
    }

/* Containers */
.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0.5rem 1.5rem;
}

/* Formulär */
input, textarea, select, button {
    font-family: inherit;
    font-size: 1rem;
}

input, textarea, select {
    border: 1px solid #ccc;
    padding: 0.5rem;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 1rem;
    transition: border-color 0.3s ease;
}

    input:focus, textarea:focus, select:focus {
        border-color: #007bff;
        outline: none;
    }

/* Knappar */
button.btn-primary {
    background-color: #007bff;
    border: none;
    padding: 0.6rem 1.2rem;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    button.btn-primary:hover {
        background-color: #0056b3;
    }

/* Alertmeddelanden */
.alert {
    padding: 1rem 1.25rem;
    margin-top: 1rem;
    border-radius: 4px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
footer {
    background-color: #003366;
    color: white;
    padding: 1rem 0;
    text-align: center;
    font-size: 0.9rem;
    margin-top: 3rem;
}

/* Responsivitet för små skärmar */
@media (max-width: 600px) {
    .container {
        padding: 1rem;
    }

    nav .container {
        padding: 0 1rem;
    }
}
