﻿.form-p-bold {
    text-align: left;
    line-height: 110%;
    padding-left: 7px;
    font-weight: bold;
}

.form-p {
    text-align: left;
    line-height: 110%;
    padding-left: 7px;
    margin-bottom: 5px;
}

.form-p-section {
    font-size: 22px;
    text-align: left;
}

.form-box {
    border: solid 2px #005595;
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    width: 98%;
    min-height: 75vh; /* Ensure it fits at least the full viewport height */
    padding: 20px 20px 20px 20px; /* Adjusted padding */
    margin: 20px auto; /* Adjusted margin */
    overflow: auto;
    background: white;
    display: flex;
    flex-direction: column;
}

.form-waiver {
    background-color: rgb(0,48,89);
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
}

.form-textarea {
    float: left;
    margin-left: 5px;
    width: 90%;
}

.date-container {
    position: relative;
    float: left;
    padding-left: 0;
}

.date-icon {
    cursor: pointer;
    color: blue;
    float: left;
    padding-top: 5px;
    padding-left: 5px;
}

.required:after {
    content: "*";
    color: red;
}

html, body {
    background-color: rgb(0,48,89);
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}

.table-wage-rate {
    width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* keeps corners rounded */
}

    .table-wage-rate th,
    .table-wage-rate td {
        border: 1px solid #ddd; /* border for both header and body */
        padding: 8px;
        text-align: center;
    }

    .table-wage-rate th {
        background-color: rgb(0, 74, 133);
        color: white;
        font-weight: bold;
        text-align: center;
        vertical-align: middle;
    }

    .table-wage-rate tr:nth-child(even) {
        background-color: #f9f9f9;
    }

    .table-wage-rate tr:hover {
        background-color: #f1f1f1;
    }

    /* First column width */
    /*.table-wage-rate th:first-child,
    .table-wage-rate td:first-child {
        width: 13%;
    }*/

.card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 15px;
    margin-bottom: 20px;
    flex: 1; /* Make cards grow to the same width */
    display: flex;
    flex-direction: column;
}

.card-container {
    display: flex;
    justify-content: left; /* Left align items horizontally */
    gap: 15px;
    flex-wrap: wrap;
}

.card-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.card-body {
    flex-grow: 1; /* Ensure the card body takes up available space */
    overflow-y: auto; /* Enable scrolling within the card if needed */
    height: 250px; /* Fixed height for the card body */
}

.card-deck {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
}

.card .row.mb-1 {
    margin-bottom: 0.25rem;
}

.card dl {
    margin-bottom: 0.25rem; /* Adjusted for less spacing */
}

.card dt, .card dd {
    margin-bottom: 0.25rem; /* Adjusted for less spacing */
    line-height: 1.2; /* Adjusted line height for less spacing */
}

.card-header {
    background-color: rgb(0, 74, 133); /* Lighter shade of rgb(0,48,89) */
    color: white;
}

.alert-custom {
    background-color: rgb(0, 74, 133, .9); /* Adjust the opacity here (0.2 is 20% opacity) */
    color: white;
    border: none;
}

.alert-custom-orange {
    background-color: rgb(255, 103, 29, .9); /* OHA Orange */
    color: #002147;
    border: none;
}

.bootstrap-select .dropdown-toggle {
    background-color: white;
    color: #000000; /* Text color */
    border: 1px solid #ddd; /* Border color */
}

/* Custom CSS for the popover icon */
.popover-icon {
    color: rgb(0, 74, 133, .9);
    cursor: pointer;
}

/* Custom CSS for the popover */
.custom-popover .popover-header {
    background-color: rgb(0, 74, 133, .9);
    color: white;
    border-bottom: 2px solid rgb(0, 74, 133, .9);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.custom-popover .popover-body {
    background-color: rgb(0, 74, 133, .9);
    color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: auto; /* Adjust this width as needed */
    max-width: 500px; /* Ensure the popover doesn't exceed this width */
}

/* Custom CSS for the popover arrow */
.custom-popover .popover-arrow::before {
    border-right-color: rgb(0, 74, 133, .9);
    border-left-color: rgb(0, 74, 133, .9);
}

/* Adjust popover width for different placements */
.custom-popover {
    max-width: 500px; /* Ensure the popover doesn't exceed this width */
    width: auto; /* Adjust this width as needed */
}

.waiver-attested {
    font-weight: 600; /* Semi-bold weight */
    font-size: 1.1rem; /* Adjust the size as needed */
    color: #333; /* Adjust the color as needed */
    font-style: italic; /* Italic style */
}

/* Increase the checkbox size and visibility */
.form-check-input {
    width: 1.1em; /* Larger checkbox size */
    height: 1.1em; /* Larger checkbox size */
    border: 2px solid #333; /* Darker border for visibility */
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.3); /* Shadow to make it stand out */
}

/* Processing modal styling */
.modal-content {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

.modal-body {
    font-size: 16px;    
}

/* Accessibility: prevent focus outline on programmatic focus containers */
#facilityInfo[tabindex="-1"]:focus {
    outline: none;
}