/* ============================================================
   Samtalshuset – Index / Helprivat
============================================================ */

body {
    margin: 0;
    font-family: "Helvetica Neue", Arial, sans-serif;
    background: #ffffff;
    color: #333;
    line-height: 1.45;
}

/* ------------------------------------------------------------
   Header
------------------------------------------------------------ */
.site-header {
    text-align: center;
    padding: 22px 16px 14px;
}

.site-header img {
    max-height: 56px;
}

.site-header h1 {
    margin: 6px 0 10px;
    color: #833332;
    font-size: 26px;
    font-weight: 600;
}

.site-header p {
    font-size: 16px;
    max-width: 680px;
    margin: 0 auto;
}

.site-header::after {
    content: "";
    display: block;
    margin-top: 14px;
    border-bottom: 4px solid #833332;
}

/* ------------------------------------------------------------
   Layout wrapper
------------------------------------------------------------ */
.page-wrap {
    display: flex;
    justify-content: center;
    padding: 18px 12px 48px;
}

.page-inner {
    width: 100%;
    max-width: 1000px;
}

/* ------------------------------------------------------------
   Tjänsteområden
------------------------------------------------------------ */
.area {
    margin-bottom: 34px;
}

.area h2 {
    color: #833332;
    font-size: 22px;
    margin-bottom: 10px;
}

.area-desc {
    font-size: 16px;
    margin-bottom: 14px;
}

/* ------------------------------------------------------------
   Teman (kompakta plattor)
------------------------------------------------------------ */
.theme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

@media (min-width: 900px) {
    .theme-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.theme-card {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.theme-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.theme-card img {
    max-width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 6px;
}

.theme-card h3 {
    font-size: 15px;
    margin: 4px 0;
}

/* ------------------------------------------------------------
   CTA
------------------------------------------------------------ */
.cta {
    text-align: center;
    margin: 30px 0;
}

.cta a {
    display: inline-block;
    padding: 10px 22px;
    background: #833332;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
}

.cta a:hover {
    background: #9d3c3c;
}

/* ------------------------------------------------------------
   Administrativa val
------------------------------------------------------------ */
.admin-area {
    max-width: 1000px;
    margin: 50px auto 0;
    padding-top: 30px;
    border-top: 1px solid #ddd;
}

.admin-area h2 {
    font-size: 20px;
    color: #833332;
    margin-bottom: 14px;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
}

@media (min-width: 700px) {
    .admin-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.admin-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    background: #f7f7f7;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.admin-card:hover {
    background: #ececec;
}

.admin-icon {
    font-size: 22px;
    margin-bottom: 6px;
}

/* ------------------------------------------------------------
   Lead magnet
------------------------------------------------------------ */
.lead-magnet {
    background: #f7f7f7;
    border-radius: 12px;
    padding: 24px 20px;
    margin: 24px auto 40px;
    max-width: 800px;
    text-align: center;
}

.lead-magnet h2 {
    color: #833332;
    font-size: 22px;
    margin-bottom: 8px;
}

.lead-text {
    font-size: 16px;
    margin-bottom: 16px;
    color: #444;
}

.lead-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.lead-form input[type="email"] {
    padding: 10px 12px;
    font-size: 15px;
    width: 260px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.lead-submit {
    padding: 10px 18px;
    background: #833332;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
}

.lead-submit:hover {
    background: #9d3c3c;
}

.lead-note {
    font-size: 13px;
    color: #777;
    margin-top: 10px;
}

/* ------------------------------------------------------------
   Footer
------------------------------------------------------------ */
.site-footer {
    text-align: center;
    font-size: 14px;
    color: #777;
    margin-top: 40px;
}

/* =========================
   AUTH DROPDOWN
========================= */

.service-header {
    position: relative;
}

/* Wrapper */
.auth-bar {
    position: absolute;
    top: 20px;
    right: 30px;
}

/* Dropdown container */
.auth-dropdown {
    position: relative;
    display: inline-block;
}

/* Trigger button */
.auth-trigger {
    cursor: pointer;
    font-weight: 500;
    color: #333;
    background: none;
    border: none;
    font-size: 14px;
    padding: 6px 10px;
}

/* Dropdown menu */
.auth-menu {
    position: absolute;
    top: 100%;
    right: 0;

    background: #ffffff;
    min-width: 180px;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    z-index: 2000;

    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all 0.18s ease;
}

/* Show on hover */
.auth-dropdown:hover .auth-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Links */
.auth-menu a {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: #333;
    transition: background 0.2s ease;
}

.auth-menu a:hover {
    background: #f5f5f5;
}
.auth-trigger {
    text-decoration: none;
}

.auth-trigger:hover {
    text-decoration: none;
}

.flash-pay {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 320px;
    max-width: 600px;
    text-align: center;
    z-index: 9999;
}
