/*
 * Dindili-owned styles that replace the non-grid parts of Bootstrap.
 * The external Bootstrap dependency is intentionally limited to
 * bootstrap-grid.min.css.
 */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
}

button,
input,
optgroup,
select,
textarea {
    margin: 0;
    font: inherit;
    line-height: inherit;
}

button,
select {
    text-transform: none;
}

img,
svg {
    vertical-align: middle;
}

/* Layout helpers that are used outside the Bootstrap grid build. */
.align-middle {
    vertical-align: middle !important;
}

.bg-white {
    background-color: #fff !important;
}

.border {
    border: 1px solid #dee2e6 !important;
}

.border-0 {
    border: 0 !important;
}

.gap-2 {
    gap: .5rem !important;
}

.gap-3 {
    gap: 1rem !important;
}

.h-100 {
    height: 100% !important;
}

.w-100 {
    width: 100% !important;
}

.position-relative {
    position: relative !important;
}

.rounded-3 {
    border-radius: .5rem !important;
}

.rounded-pill {
    border-radius: 50rem !important;
}

.shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
}

.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1020;
}

.text-center {
    text-align: center !important;
}

.text-end {
    text-align: right !important;
}

.text-decoration-none {
    text-decoration: none !important;
}

.text-muted {
    color: #6c757d !important;
}

.text-primary {
    color: #0d6efd !important;
}

.text-uppercase {
    text-transform: uppercase !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-semibold {
    font-weight: 600 !important;
}

.vstack {
    align-self: stretch !important;
    display: flex !important;
    flex-direction: column !important;
}

.visually-hidden {
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.h3 {
    font-size: clamp(1.3rem, 1.3rem + .6vw, 1.75rem);
    line-height: 1.2;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.5;
}

.small {
    font-size: .875em;
}

@media (min-width: 768px) {
    .text-md-end {
        text-align: right !important;
    }
}

@media (min-width: 992px) {
    .text-lg-end {
        text-align: right !important;
    }
}

/* Form primitives used by the older account, onboarding and Workspace views. */
.form-label {
    display: inline-block;
    margin-bottom: .5rem;
}

.form-control,
.form-select {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    color: #212529;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #dee2e6;
    border-radius: .375rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-control:focus,
.form-select:focus {
    color: #212529;
    background-color: #fff;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
}

textarea.form-control {
    min-height: calc(1.5em + .75rem + 2px);
    resize: vertical;
}

.form-select {
    padding-right: 2.25rem;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
}

.form-check {
    display: flex;
    align-items: center;
    min-height: 1.5rem;
    gap: .5rem;
}

.form-check-input {
    width: 1em;
    height: 1em;
    flex: 0 0 auto;
    margin: 0;
    accent-color: #0d6efd;
}

.form-check-label {
    cursor: pointer;
}

.form-text {
    display: block;
    margin-top: .25rem;
    color: #6c757d;
    font-size: .875em;
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc3545;
}

.form-control.is-valid,
.form-select.is-valid {
    border-color: #198754;
}

/* Feedback and content primitives used by the shared views. */
.alert {
    position: relative;
    padding: 1rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .375rem;
}

.alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

.alert-info {
    color: #055160;
    background-color: #cff4fc;
    border-color: #b6effb;
}

.alert-light {
    color: #636464;
    background-color: #fefefe;
    border-color: #fdfdfe;
}

.alert-secondary {
    color: #41464b;
    background-color: #e2e3e5;
    border-color: #d3d6d8;
}

.alert-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

.alert-warning {
    color: #664d03;
    background-color: #fff3cd;
    border-color: #ffecb5;
}

.badge {
    display: inline-block;
    padding: .35em .65em;
    color: #fff;
    font-size: .75em;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .375rem;
}

.text-bg-success {
    color: #fff !important;
    background-color: #198754 !important;
}

.text-bg-warning {
    color: #000 !important;
    background-color: #ffc107 !important;
}

.btn {
    display: inline-block;
    padding: .375rem .75rem;
    color: #212529;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: .375rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.btn-outline-primary {
    color: #0d6efd;
    border-color: #0d6efd;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, .175);
    border-radius: .375rem;
}

.card-text {
    margin-top: 0;
    margin-bottom: 1rem;
}

.table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    vertical-align: top;
    border-color: #dee2e6;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
