html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

/* --------- CRUISE LAYOUT ----------- */
.cruise-card {
    border-radius: 1.5rem;
    box-shadow: 0 2px 18px 0 rgba(0,0,0,0.07);
    background: #fff;
}

.topp5-panel {
    background: #f5f8fa;
    border-radius: 1.5rem;
    padding: 0.7rem 1.2rem;
    box-shadow: 0 1px 10px 0 rgba(0,0,0,0.05);
}

@media (min-width: 992px) {
    .topp5-panel {
        position: sticky;
        top: 90px;
        z-index: 10;
    }
}

.topp5-info {
    color: #495057;
    font-size: 0.95em;
    margin-left: 0.2em;
}

/* -------- BADGES - same style for all -------- */
.badge,
.badge.today-badge,
.badge.bg-primary,
.badge.bg-info,
.badge.bg-success,
.badge.bg-danger,
.badge.bg-warning,
.badge.text-dark {
    font-weight: 600;
    border-radius: 0.75rem;
    font-size: 1rem;
    padding: 0.45em 1.1em;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.13);
    line-height: 1.2;
    margin-left: 0.2em;
    vertical-align: middle;
}

    .badge.bg-primary {
        background: #0d6efd !important;
        color: #fff !important;
    }

    .badge.bg-info {
        background: #a5e6fa !important;
        color: #11516b !important;
    }

    .badge.bg-success {
        background: #1ee08b !important;
        color: #0b3f24 !important;
    }

    .badge.bg-danger {
        background: #ff8383 !important;
        color: #850606 !important;
    }

    .badge.bg-warning {
        background: #ffc107 !important;
        color: #222 !important;
        border: 2px solid #ffe680;
    }

    .badge.text-dark {
        color: #222 !important;
    }

    .badge.today-badge {
        background: #ffc107 !important;
        color: #222 !important;
        border: 2px solid #ffe680;
    }

/* Card, image, hr styling (beholdt fra deg) */
.card.cruise-card {
    border: none;
    background: #fafdff;
}

.card-title {
    font-size: 1.05em;
    letter-spacing: 0.04em;
}

img.img-fluid {
    border-radius: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

hr {
    border-top: 1px solid #ddd;
    margin: 2.2rem 0 1.2rem 0;
}

@media (max-width: 991px) {
    .topp5-panel {
        position: static;
    }
}

@media (max-width: 767px) {
    .card.cruise-card, .topp5-panel {
        border-radius: 1.2rem;
        padding: 0.7rem 0.5rem;
    }

    .lead {
        font-size: 1.1em;
    }
}
