/* Set base font-size for rem calculations */
html {
    font-size: 16px;
}

/* General Container and Body Styling */
body {
    font-family: "Ubuntu", sans-serif;
    /*background-color: #ebeef0;*/
    background-color: #f9faff;
    color: #333;
}

.container {
    max-width: 75em; /* 1200px */
    padding: 1.25em; /* 20px */
}

#betanoResults {
    margin-bottom: 6em;
}

/* Navbar Styling */
.navbar-orange {
    background-color: #ff3c00;
    color: #ffffff;
    padding: 0;
}

.navbar-orange .navbar-brand,
.navbar-orange .nav-link {
    color: #ffffff;
    font-weight: bold;
}

.navbar-orange .navbar-brand img {
    height: 2.5em; /* 40px */
    margin-right: 0.625em; /* 10px */
}

.navbar-orange .nav-link {
    margin-right: 0.9375em; /* 15px */
    font-size: 0.9em;
    text-transform: uppercase;
}

.navbar-orange .nav-link:hover {
    color: #ffd1a1;
}

.navbar-title {
    font-size: 1.5em;
    font-weight: bold;
}

.navbar > .container {
    padding: 0.5em 1.25em; /* 8px 20px */
}

/* Tab Navigation Styling */
.nav.container {
    padding: 0 1.25em;
}

.nav-top {
    background-color: #fff;
}

.nav-tabs {
    border: none !important;
}

.nav-tabs .nav-link:hover {
    color: #ff3c00;
    background-color: #fff;
    border: none !important;
}

.nav-tabs .nav-link {
    padding: 0.75em; /* 12px */
    color: #333;
    border-radius: 0;
    border: none;
    margin-right: 0.5em;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-link:focus {
    color: #ff3c00;
    border-bottom: 4px solid #ff3c00 !important;
}

.tab-pane {
    display: none;
    unicode-bidi: isolate;
}

.tab-pane.active {
    display: block;
    unicode-bidi: isolate;
}

/* Card Styling */
.card {
    background-color: #ffffff;
    border: 0.0625em solid #e0e4ea; /* 1px */
    border-radius: 1em; /* 16px */
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
    overflow: hidden;
    height: 100%;
    margin-bottom: 1.25em; /* 20px */
    text-align: left;
}

.card-bet {
    color: #fff;
    background-color: #1c2026;
    border: none;
}

.card-bet .icon-small {
    padding: 0.25em; /* 4px */
    border-radius: 50%;
    color: #fff;
    background-color: #48576f;
}

.card-bet .text-muted {
    color: #fff !important;
}

.card-title {
    font-weight: bold;
    color: #1c2026;
    margin-bottom: 0.5em;
}

h4.card-title{
    padding: 0.5em 0;
    margin: 0;
}

.card-footer ul {
    margin: 0.5em 0;
}

.card p.display-5 {
    font-size: 1.8em; /* 28.8px */
    font-weight: bold;
    margin-bottom: 0.2em;
}

.card small {
    font-size: 0.85em;
    color: #6c757d;
    margin-bottom: -1em !important;
}

blockquote.blockquote {
    padding: 0.5em !important;
    background: #fff8df;
    border: 1px solid #ffeba2;
    border-radius: 0.5em;
}

.blockquote-footer {
    margin-top: 0.25em;
}

/* Heading and Section Title Styling */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: #1c2026;
    margin-bottom: 1em;
    padding-bottom: 0.5em;
}

h1 {
    font-size: 1.6em;
}

h2 {
    font-size: 1.4em;
}

h2 i {
    color: #374456;
    vertical-align: middle;
    font-size: 1em;
    margin-right: 0.25em;
}

h3 {
    font-size: 1.15em;
}

h4 {
    font-size: 1em;
}

/* Text Styling */
p,
small,
.card small {
    font-weight: 400;
}

.d-flex.mt-3 span {
    font-size: 0.9em;
    color: #6c757d;
}

/* Chart Container Styling */
.chart-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* Table Styling */
.table {
    font-size: 0.9em;
    color: #333;
}

.table-bordered th,
.table-bordered td {
    border-color: #dee2e6;
}

/* Form and Footer Styling */
.form-control {
    border-radius: 0.25em;
    border-color: #ced4da;
}

.fixed-bottom {
    background-color: #f8f9fa;
    padding: 0.25em 0;
}

.fixed-bottom label,
.fixed-bottom span {
    font-size: 0.9em;
    color: #333;
}

.fixed-bottom.bg-dark {
    background-color: #101419 !important;
    border-top: 0.0625em solid #707275 !important;
}

.fixed-bottom.bg-dark label,
.fixed-bottom.bg-dark span {
    color: #999ca2 !important;
    font-size: 1em;
    font-weight: 500;
    line-height: 1.5em;
}

/* Button Styling */
button,
.btn-primary {
    background-color: #ff6600;
    border: none;
    color: #ffffff;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

button:hover,
.btn-primary:hover {
    background-color: #cc5200;
}

/* Icon Styling */
.icon-small {
    font-size: 1em;
    color: #ff3c00;
}

/* Pagination Styling */
.pagination .page-link {
    color: #fff;
    background-color: rgba(45, 55, 69, 1);
    border-color: #2d3745;
}

.active > .page-link,
.page-link.active,
.pagination .page-link:hover {
    color: #fff;
    background-color: rgba(45, 55, 69, 0.8);
    border-color: #2d3745;
}

/* Checkbox Styling */
.form-check-input[type="checkbox"] {
    width: 1.5em;
    height: 1.5em;
    border-radius: 0.5em;
}

/* Timeline */

.timeline {
    position: relative;
    padding: 2rem 0;
}
.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 2em;
    left: 50%;
    width: 2px;
    background-color: #FFC6AC;
    transform: translateX(-50%);
}
.timeline-event {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-event:last-of-type {
    margin-bottom: 0;
}

.timeline-event .timeline-icon {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -1.2em;
    padding: 0.15em;
    width: 1.6em;
    height: 1.6em;
    background-color: #FFC6AC;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-icon.emoji {
    font-size: 2em;
}
.timeline-event-content {
    padding: 1rem;
    background-color: #fff3ed;
    border: 1px solid #FFC6AC;
    border-radius: 0.5rem;
}

/* Canvas Section */

.canvas-section {
    border: 1px solid #dee2e6;
    padding: 1rem;
    background-color: #f8f9fa;
}
.section-title {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.1rem;
    color: #495057;
    margin-bottom: 0.5rem;
}