/* =============================================================
   Båtbevakning (ShipAlert) – Minimala stilar
   Fil: themes/shipstheme25/css/boat-watch.css
   Dekorativ CSS är borttagen – sajten sköter färger och typografi.
   ============================================================= */

/* ---- Steg-guide ---- */
.boat-watch-steps {
    margin-top: 10px;
    margin-bottom: 35px;
}

.boat-watch-step {
    padding: 20px 22px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    height: 100%;
}

.boat-watch-step .step-num {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 8px;
}

/* ---- Formulär ---- */
.boat-watch-form-intro {
    margin-bottom: 20px;
}

.boat-watch-form {
    margin-top: 10px;
    max-width: 640px;
}

.boat-watch-form .form-group {
    display: block;
    overflow: hidden;
    margin-bottom: 22px;
}

.boat-watch-form .control-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.boat-watch-form .controls {
    display: block;
}

.boat-watch-form .form-control {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: auto;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.boat-watch-form textarea.form-control {
    min-height: 110px;
}

.boat-watch-form .field-optional {
    font-weight: normal;
    color: #777;
}

.boat-watch-form button[type="submit"] {
    margin-top: 10px;
    padding: 10px 28px;
}

/* ---- Checkbox (GDPR-samtycke) ----
   !important används här för att slå ut SilverStripe admin-bundlens
   forms.less (.checkbox label), som annars styr positionering/padding
   på checkboxen på ett sätt som ignorerar flex-gap. */
.boat-watch-form .field.checkbox {
    display: flex !important;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.boat-watch-form .field.checkbox input[type="checkbox"] {
    position: static !important;
    opacity: 1 !important;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 3px 0 0 !important;
    padding: 0 !important;
}

.boat-watch-form .field.checkbox label.right,
.boat-watch-form .field.checkbox label {
    display: block !important;
    position: static !important;
    padding: 0 !important;
    margin: 0;
    text-align: left;
    font-weight: normal;
    cursor: pointer;
}

.boat-watch-form .field.checkbox label:before,
.boat-watch-form .field.checkbox label:after {
    content: none !important;
}

/* ---- Länkar (fallback om Bootstrap-CDN inte laddas) ---- */
.boat-watch-form a,
.boat-watch-microcopy a {
    color: #006ab4;
    text-decoration: underline;
}

.boat-watch-form a:hover,
.boat-watch-microcopy a:hover {
    color: #004c85;
}

/* ---- Microcopy ---- */
.boat-watch-microcopy {
    margin-top: 16px;
}

/* ---- Sidfotsbanner (nyhetsbrev-granne) ---- */
.footer-top-row {
    margin-top: 10px;
    margin-bottom: 20px;
    align-items: stretch;
}

.boat-watch-teaser {
    height: 100%;
    box-sizing: border-box;
    text-align: center;
    border-top: 1px solid #CCC;
    padding-top: 10px;
    margin-top: 21px;
    color: #333;
}

.boat-watch-teaser-inner {
    max-width: 340px;
    margin: 0 auto;
}

.boat-watch-teaser-text .boat-watch-teaser-title {
    margin: 0 0 4px;
    font-weight: bold;
    color: #333;
}

.boat-watch-teaser-text p {
    margin: 0 0 10px;
    color: #333;
}

.boat-watch-teaser-btn {
    display: inline-block;
}

/* ---- Responsiv ---- */
@media (max-width: 768px) {
    .boat-watch-steps .boat-watch-step {
        margin-bottom: 14px;
    }

    .footer-top-row .col-sm-12 {
        margin-bottom: 15px;
    }
}
