/* Minimal alignment with MVC styles */
body { background: #D5DAEE; }
.navbar-elevated { box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,.08); }

/* Chart sizing helpers */
.chart-container {
  position: relative;
  height: 120px;
}
.chart-container.tall { height: 160px; }
@media (max-width: 576px) {
  .chart-container { height: 140px; }
}

/* Test settings banner and navbar sizing */
.env-banner { position: sticky; top: 0; z-index: 1080; padding: .25rem .5rem; font-size: .85rem; line-height: 1.1; }
.navbar-elevated { padding-top: 1.1rem; padding-bottom: 1.1rem; }

/* Rich HTML content styling */
.rich-text { overflow-wrap: anywhere; }
.rich-text p { margin-bottom: .5rem; }
.rich-text ul, .rich-text ol { margin: 0 0 .5rem 1.25rem; }
.rich-text li { margin: .125rem 0; }
.rich-text table { width: 100%; border-collapse: collapse; margin: .5rem 0; font-size: .95em; }
.rich-text th, .rich-text td { border: 1px solid #dee2e6; padding: .25rem .5rem; vertical-align: top; }
.rich-text thead th { background-color: #f8f9fa; }
.rich-text h1, .rich-text h2, .rich-text h3, .rich-text h4, .rich-text h5, .rich-text h6 { margin: .5rem 0 .25rem; line-height: 1.2; }
.rich-text img { max-width: 100%; height: auto; }
.rich-text a { color: var(--bs-link-color, #0d6efd); text-decoration: underline; }
.rich-text blockquote { padding: .5rem .75rem; margin: .5rem 0; border-left: .25rem solid #dee2e6; color: #6c757d; background-color: #f8f9fa; }

/* Overrides from cssdacorreggere.md */
/*
.bg-primary {
    background-color: #373F66;
}

.btn-outline-light {
    border-color: #f8f9fa52;
}

.btn {
    padding: 0.5rem 1rem 0.7rem;
    border-radius: 25px;
}

.btn-primary {
    color: #CE0404;
    background-color: #FFF;
    border-color: #CE0404;
}

    .btn-primary:hover {
        color: #fff;
        background-color: #373f66;
        border-color: #373f66;
    }

.me-1 {
    margin-right: .25rem !important;
    margin-top: 3px;
}

.card {
    border-radius: 7px;
}

    .card .card-title {
        margin-bottom: .25rem;
        font-weight: 600;
        color: #373f66;
        padding-bottom: 10px;
        padding-top: 5px;
    }

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

    */


/* NUOVI */

.bg-primary {
  --bs-bg-opacity: 1;
  background-color: #373f66 !important;
}
 
body {
  background-color: #D5DAEE;
}
 
.btn-primary {
  border: var(--bs-btn-border-width) solid #373f66;
  background-color: #373f66 ;
}

.bg-light {
    background-color: rgb(213, 218, 238) !important;
}
 
.border-top {
  border-top: var(--bs-border-width) var(--bs-border-style) #373f6629 ;
}

.border-top {
    border-top: var(--bs-border-width) var(--bs-border-style) #373f6629 !important;
}

.btn:hover {
    color: #373f66;
    background-color: #fff;
    border-color: #373f66;
}