/* General Styling */
body {
    color: #E3E3E3; /* Light gray for text */
    margin: 0px;
    padding: 0px;
    font-family: 'Source Sans Pro', Helvetica, Arial, sans-serif;
    font-size: 17px;
    background-color: #153042ff;
}

/* Main Content */
.main_content {
    background: #fff;
    margin: 0px;
    padding: 0px 0px 50px;
    line-height: 1.25em;
}

/* Header */
.hero {
    background-color: #153042ff;
    color: white;
    font-size: 18px;

    padding: 50px 0px;
    text-align: center;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 10px;
    font-weight: bold;
}

.hero a {
    color: white;
    text-decoration: underline;
}

.hero-inner {
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

.form-control {
    display: inline-block;
    border-radius: 2px;
    font-size: 20px;
    padding: 20px;
}

.rvet-stats {
    padding: 10px 0;
    background-color: #fd4315ff;
    text-align: center;
    border-bottom: 1px solid #d3d3d3;
    border-top: 1px solid #d3d3d3;
    margin-bottom: 30px;
}

.rvet-stats .stat {
    display: inline-block;
    min-width: 170px;
    padding: 10px;
    font-size: 16px;
    color: #153042ff;
}

.project-list .subtitle {
    font-style: italic;
}

.project-list h2 {
    font-size: 24px;
    font-weight: bold;
}

.project-list .project {
    border: 1px solid #d3d3d3;
    padding: 10px;
    background-color: #ececec;
    min-height: 45px;
    margin-top: 15px;
}

.project-list .project .title {
    font-size: 20px;
}

.project-list .project a {
    color: #153042ff;
}

.project-list .project .bio {
    font-size: 16px;
    font-weight: normal;
    font-style: italic;
}


footer {
    margin-top: 50px;
    padding: 20px;
    text-align: center;
    color: white;
}

footer a {
    color: #153042ff;
}

.error-msg {
    color: #b30000;
}

.page-core {
    padding: 20px;
}

.bom-page h1 {
    color: #ffffff;
}

.bom-page .card {
    background-color: #1f3a56;
    border: none;
    color: #e3e3e3;
}

.bom-page .card-header {
    border-bottom: none;
}

.bom-page .card-body {
    background-color: #142536;
}

.bom-page .table {
    color: #e3e3e3;
}

.scanner-frame {
    min-height: 260px;
    border: 2px dashed rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
}

.scanner-frame video {
    width: 100%;
    height: auto;
}

.bom-row-complete {
    transition: background-color 0.3s ease-in-out;
}

.bom-row-highlight {
    animation: bomHighlight 0.8s ease-in-out;
}

.bom-row-error {
    animation: bomError 0.8s ease-in-out;
}

@keyframes bomHighlight {
    0% { background-color: rgba(40, 167, 69, 0.2); }
    100% { background-color: transparent; }
}

@keyframes bomError {
    0% { background-color: rgba(220, 53, 69, 0.4); }
    100% { background-color: transparent; }
}