:root{--bg:#0b1220;--card:#111a2c;--text:#edf3ff;--muted:#9fb0cc;--accent:#ffb000;--line:#26344d;--ok:#1f9d63;--danger:#d9534f}*{box-sizing:border-box}body{margin:0;font-family:Arial,sans-serif;background:#f4f6f9;color:#172033}.wrap{width:min(1120px,92%);margin:auto}.topbar{background:var(--bg);color:white;position:sticky;top:0;z-index:5}.nav{display:flex;align-items:center;justify-content:space-between;min-height:68px}.brand{font-weight:800;color:white;text-decoration:none;font-size:1.2rem}.nav nav{display:flex;gap:16px;align-items:center}.nav a{color:white;text-decoration:none}.btn{display:inline-block;background:var(--accent);color:#111!important;padding:12px 18px;border-radius:10px;border:0;font-weight:800;text-decoration:none;cursor:pointer}.btn.secondary{background:#24344f;color:#fff!important}.btn.small{padding:8px 12px}.hero{background:linear-gradient(135deg,#0b1220,#1e3558);color:white;padding:72px 0}.hero h1{font-size:clamp(2rem,5vw,4rem);margin:.2em 0}.hero p{font-size:1.2rem;color:#d9e4f7;max-width:760px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px}.section{padding:48px 0}.card{background:white;border:1px solid #dfe5ee;border-radius:16px;padding:22px;box-shadow:0 8px 24px rgba(13,35,67,.06)}.price{font-size:1.7rem;font-weight:900}.muted{color:#68758c}.form{display:grid;gap:14px;max-width:760px}.form label{font-weight:700}.form input,.form select,.form textarea{width:100%;padding:12px;border:1px solid #bdc8d8;border-radius:9px;font:inherit}.form textarea{min-height:120px}.alert{margin-top:18px;padding:14px;border-radius:10px;background:#eaf4ff}.alert.success{background:#e7f7ef}.alert.error{background:#fde9e8}.table{width:100%;border-collapse:collapse;background:#fff}.table th,.table td{padding:12px;border-bottom:1px solid #e2e7ef;text-align:left}.badge{display:inline-block;padding:5px 9px;border-radius:999px;background:#e8edf5}.adminbar{background:#172033;color:white;padding:12px 0}.adminbar a{color:white;margin-right:14px;text-decoration:none}footer{background:#0b1220;color:white;padding:35px 0;margin-top:40px}@media(max-width:760px){.nav{align-items:flex-start;padding:16px 0}.nav nav{flex-wrap:wrap;justify-content:flex-end}.hero{padding:48px 0}}
.actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.actions form{margin:0}.btn.danger{background:var(--danger);color:#fff!important}.checkline{display:flex!important;align-items:center;gap:10px}.checkline input{width:auto!important}.form hr{width:100%;border:0;border-top:1px solid #dfe5ee}

/* Min sida 1.3.1 – tillägg, påverkar inte befintliga formulär */
.customer-auth{min-height:calc(100vh - 240px);background:linear-gradient(155deg,#eef3fb 0%,#f8fafc 65%,#eaf0fa 100%);padding:64px 0 88px}
.customer-auth .wrap{max-width:560px}
.customer-auth-intro{text-align:center;margin-bottom:28px}
.customer-eyebrow{display:inline-block;font-size:12px;font-weight:800;letter-spacing:.15em;color:#8b6300;margin-bottom:10px}
.customer-auth-intro h1{font-size:clamp(29px,5vw,38px);line-height:1.15;margin:0 0 12px;color:#14223a}
.customer-auth-intro p{color:#52637c;line-height:1.6;margin:0}
.customer-auth-card{max-width:none;padding:32px;gap:18px;border-radius:18px;box-shadow:0 16px 45px rgba(18,35,66,.11)}
.customer-auth-card label{display:block;color:#1c2c44;font-size:14px}
.customer-auth-card input{display:block;margin-top:8px;background:#fff;min-height:48px;border:1px solid #bdc8d8;transition:border-color .15s,box-shadow .15s}
.customer-auth-card input:focus{outline:none;border-color:#d49a00;box-shadow:0 0 0 3px rgba(255,176,0,.2)}
.customer-auth-card .btn{width:100%;font-size:16px;min-height:48px}
.customer-auth-bottom{text-align:center;border-top:1px solid #e5eaf1;padding-top:18px;color:#53627b;font-size:14px}
.customer-auth-bottom a{color:#174d9b;font-weight:700}
@media(max-width:760px){.customer-auth{padding:40px 0 60px}.customer-auth-card{padding:22px}.nav nav{gap:9px}.nav{gap:12px;flex-wrap:wrap}.nav nav{justify-content:flex-start}}

/* Kundmeddelanden */
.message-thread{display:flex;flex-direction:column;gap:12px;min-height:120px}.message-bubble{padding:14px 16px;border-radius:14px;background:#eef3fa;margin:12px 0;max-width:85%;overflow-wrap:anywhere}.message-bubble.mine{background:#fff0c6;margin-left:auto}.message-bubble.theirs{margin-right:auto}.message-bubble p{line-height:1.5}.message-bubble small{color:#526078}
