@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&family=DM+Mono:wght@400;500&display=swap');

/* ── Status Widget ── */

.hs-widget {
    font-family: 'DM Sans', sans-serif;
    max-width: 640px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 4px 24px rgba(0,0,0,.10);
    background: #ffffff;
    margin: 24px auto;
}

.hs-status-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
}

.hs-status-bar.hs-green { background: linear-gradient(135deg, #0d9e6b 0%, #0bc47a 100%); }
.hs-status-bar.hs-red   { background: linear-gradient(135deg, #d93025 0%, #f54f3d 100%); }

.hs-status-text { display: flex; flex-direction: column; gap: 2px; }

.hs-label { font-size: 17px; font-weight: 700; color: #fff; letter-spacing: -.3px; }
.hs-date  { font-family: 'DM Mono', monospace; font-size: 12px; color: rgba(255,255,255,.75); }

.hs-pulse-dot {
    width: 18px; height: 18px;
    border-radius: 50%; flex-shrink: 0;
}

.hs-pulse-green {
    background: #fff;
    animation: hs-pulse-green 2s infinite;
}
.hs-pulse-red {
    background: #fff;
    animation: hs-pulse-red 1.4s infinite;
}

@keyframes hs-pulse-green {
    0%   { box-shadow: 0 0 0 0 rgba(255,255,255,.45); }
    70%  { box-shadow: 0 0 0 10px rgba(255,255,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
@keyframes hs-pulse-red {
    0%   { box-shadow: 0 0 0 0 rgba(255,255,255,.55); }
    70%  { box-shadow: 0 0 0 12px rgba(255,255,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

.hs-body { padding: 24px; background: #fff; }

.hs-ok-message { display: flex; align-items: center; gap: 18px; }
.hs-ok-icon {
    width: 48px; height: 48px; border-radius: 50%;
    background: linear-gradient(135deg, #0d9e6b, #0bc47a);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 22px; font-weight: 700; flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(11,196,122,.35);
}
.hs-ok-message p { margin: 0; color: #444; font-size: 15px; line-height: 1.55; }

.hs-stoerung-titel       { margin: 0 0 8px; font-size: 18px; font-weight: 700; color: #1a1a1a; }
.hs-stoerung-beschreibung{ margin: 0 0 14px; font-size: 15px; color: #555; line-height: 1.6; }
.hs-meta                 { font-family: 'DM Mono', monospace; font-size: 12px; color: #999; }

.hs-notify-box {
    background: #f8f9fa; border: 1px solid #e8e8e8;
    border-radius: 12px; padding: 18px 20px; margin-top: 16px;
}
.hs-notify-headline { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: #333; }
.hs-notify-form     { display: flex; gap: 10px; flex-wrap: wrap; }

.hs-notify-form input[type="email"] {
    flex: 1; min-width: 200px;
    padding: 10px 14px; border: 1.5px solid #ddd; border-radius: 8px;
    font-size: 14px; font-family: 'DM Sans', sans-serif; color: #222;
    background: #fff; outline: none; transition: border-color .2s;
}
.hs-notify-form input[type="email"]:focus { border-color: #d93025; }

.hs-btn-notify {
    padding: 10px 20px;
    background: linear-gradient(135deg, #d93025, #f54f3d);
    color: #fff; border: none; border-radius: 8px;
    font-size: 14px; font-weight: 600; font-family: 'DM Sans', sans-serif;
    cursor: pointer; transition: opacity .2s, transform .15s; white-space: nowrap;
}
.hs-btn-notify:hover { opacity: .88; transform: translateY(-1px); }

.hs-notify-msg { margin-top: 12px; font-size: 14px; padding: 10px 14px; border-radius: 8px; font-weight: 500; }
.hs-notify-msg.hs-success { background: #edfaf4; color: #0d7a52; border: 1px solid #b7edd8; }
.hs-notify-msg.hs-error   { background: #fef0ef; color: #c0392b; border: 1px solid #f7c0bb; }

/* ── Report Widget ── */

.hs-report-widget {
    font-family: 'DM Sans', sans-serif;
    max-width: 640px; border-radius: 16px; overflow: hidden;
    box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 4px 24px rgba(0,0,0,.10);
    background: #fff; margin: 16px auto 24px;
}

.hs-report-header {
    display: flex; align-items: center; gap: 14px; padding: 18px 24px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}
.hs-report-icon    { font-size: 26px; line-height: 1; flex-shrink: 0; }
.hs-report-title   { margin: 0 0 3px; font-size: 16px; font-weight: 700; color: #fff; }
.hs-report-subtitle{ margin: 0; font-size: 13px; color: rgba(255,255,255,.65); }

.hs-report-body { padding: 22px 24px; }

.hs-report-field { margin-bottom: 14px; }
.hs-report-field label {
    display: block; font-size: 13px; font-weight: 600; color: #444; margin-bottom: 6px;
}
.hs-report-field input[type="text"],
.hs-report-field input[type="email"],
.hs-report-field textarea {
    width: 100%; padding: 10px 14px;
    border: 1.5px solid #ddd; border-radius: 8px;
    font-size: 14px; font-family: 'DM Sans', sans-serif; color: #222;
    background: #fff; outline: none; transition: border-color .2s;
    box-sizing: border-box; resize: vertical;
}
.hs-report-field input:focus,
.hs-report-field textarea:focus { border-color: #334155; }

.hs-btn-report {
    width: 100%; padding: 12px 20px;
    background: linear-gradient(135deg, #1e293b, #334155);
    color: #fff; border: none; border-radius: 8px;
    font-size: 15px; font-weight: 600; font-family: 'DM Sans', sans-serif;
    cursor: pointer; transition: opacity .2s, transform .15s; margin-top: 4px;
}
.hs-btn-report:hover    { opacity: .88; transform: translateY(-1px); }
.hs-btn-report:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.hs-required { color: #e53e3e; font-weight: 700; margin-left: 2px; }
.hs-optional  { color: #999; font-weight: 400; font-size: 12px; margin-left: 4px; }

@media (max-width: 480px) {
    .hs-notify-form { flex-direction: column; }
    .hs-btn-notify  { width: 100%; }
}
