﻿/* basic reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ensure the footer stays at the bottom */
html {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#main-content {
    flex: 1;
}

.body-content {
    flex: 1;
}

/* Radio buttons */
.form-check-input {
    transform: scale(1.4);
    margin-right: 1rem;
}

/* Setting status and badges */
.btn.setting-status {
    font-weight: 600;
    transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
}

    /* Accredited */
    .btn.setting-status.accredited,
    .setting-status.accredited {
        background-color: #d1e7dd;
        color: #0f5132;
    }

        .btn.setting-status.accredited:hover {
            background-color: #bcdccc;
            color: #0c3f27;
        }

    /* Danger */
    .btn.setting-status.danger,
    .setting-status.danger {
        background-color: #f8d7da;
        color: #842029;
    }

        .btn.setting-status.danger:hover {
            background-color: #eebfc3;
            color: #6a1a22;
        }

    /* Warning */
    .btn.setting-status.warning,
    .setting-status.warning {
        background-color: #fff3cd;
        color: #664d03;
    }

        .btn.setting-status.warning:hover {
            background-color: #f2e1b5;
            color: #4f3a02;
        }

    /* Info */
    .btn.setting-status.info,
    .setting-status.info {
        background-color: #cff4fc;
        color: #055160;
    }

        .btn.setting-status.info:hover {
            background-color: #b8e8f2;
            color: #043f4a;
        }

    /* Inactive */
    .btn.setting-status.inactive,
    .setting-status.inactive {
        background-color: #e2e3e5; /* light gray */
        color: #41464b; /* dark gray text */
    }

        .btn.setting-status.inactive:hover {
            background-color: #cfd0d2;
            color: #2c3034;
        }


    /* subtle lift effect */
    .btn.setting-status:hover {
        transform: translateY(-1px);
        box-shadow: 0 2px 4px rgba(0,0,0,0.12);
    }

/* Center status icon alignment */

.status-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    line-height: 1;
    vertical-align: baseline;
}

/* Icon size adjustments */

.ca-gov-icon-clock {
    font-size: 1.2em;
}

/* Errors */
.ossd-error-shell {
    max-width: 720px;
    margin: 2rem auto;
}

.ossd-error-card {
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 1rem 2.5rem rgba(30, 60, 90, 0.12);
}

.ossd-error-icon {
    width: 4rem;
    height: 4rem;
    margin-right: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 1.5rem;
    background: rgba(232,241,238);
    color: #0d6efd;
}

/* Timeline */

ul.timeline {
    border-left: 1px solid hsl(0, 0%, 90%);
    position: relative;
    list-style: none;
}

    ul.timeline h3 {
        margin-top: 0;
    }

    ul.timeline .timeline-item {
        position: relative;
    }

        ul.timeline .timeline-item:after {
            position: absolute;
            display: block;
            top: 0;
        }

        ul.timeline .timeline-item:after {
            background-color: hsl(0, 0%, 90%);
            left: -38px;
            border-radius: 50%;
            height: 11px;
            width: 11px;
            content: "";
        }

/* Pagination */

.pagination .page-item.active .page-link {
    background-color: #447766;
    border-color: #447766;
    color: #fff;
}

.pagination .page-link {
    color: #447766;
}
