/* ========== Base Styles ========== */
html {
    font-size: 14px;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

h1 {
    text-align: center;
    font-size: 48px;
    font-family: Tahoma, sans-serif;
    font-weight: bold;
}

h3 {
    text-align: center;
    font-weight: bold;
}

.logo {
    text-align: center;
}

/* ========== Utility Classes ========== */
/*.icon {
    margin-right: 10px;
    font-size: 14px;
    color: black;
}*/

#submitForm {
    font-size: 18px;
    width: 50%;
}

#submitButton {
    text-align: center;
}

.center-box {
    padding-bottom: 5%;
    height: 84vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

#priority-span {
    display: none;
    font-size: 16px;
    font-weight: bold;
}

/* ========== Layout ========== */
.dropdown-form-container {
    display: flex;
    gap: 20px;
    padding: 20px;
}

.dropdown-side {
    flex: 1 1 48%;
    display: flex;
    flex-direction: column;
}

.search-expand-header {
    display: flex;
    margin-bottom: 3%;
}

#searchTerm {
    margin-right: 1%;
    width: 60%;
}

#expandToggle {
    margin-left: 10%;
}

.dropdown-container {
    flex: 1 1 48%;
    width: 100%;
}

.form-container {
    flex: 1 1 48%;
    height: 85%;
    width: 100%;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #f9f9f9;
}

.table-container {
    overflow-x: scroll;
}

/* Responsive layout for tablets and below */
@media (max-width: 1080px) {
    .dropdown-form-container {
        flex-direction: column;
        padding: 10px;
    } 

    .dropdown-container,
    .form-container {
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    #searchTerm {
        width: 45%;
        margin-right: 1%;
    }

    #expandToggle {
        margin-left: 5%;
    }
}

/* ========== Table Styling ========== */
th,
td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: center;
}

.highlighted {
/*    background-color: #258cfb;*/
    background-color: #ffeeba;
}

/* ========== Dropdown Styling ========== */
.dropdown-header {
    padding: 10px;
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

/*    .dropdown-header .icon {*/
/*    .dropdown-header {
        margin-right: 8px;
        transition: transform 0.3s ease;
    }*/

/*.dropdown.open > .dropdown-header .icon {
    transform: rotate(90deg);
}*/

.dropdown-content {
    display: none;
    padding-left: 20px;
    background-color: #fff;
    border-left: 2px solid #ddd;
    margin-bottom: 1%;
}

.dropdown.open > .dropdown-content {
    display: block;
}

.dropdown-item {
    padding: 8px 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    border-radius: 10px;
}

    .dropdown-item:hover {
        background-color: #f9f9f9;
    }

/* ========== Form Elements Styling ========== */
/*input,
textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-top: 1%;
    border: 1px solid #ccc;
    border-radius: 4px;
}*/

.formLabel {
    font-weight: bold;
    font-size: 20px;
}

#ReqCategory,
#ReqhashTag {
    font-weight: bold;
}

#recordSearch {
    width: 50%;
}

/* ========== Button Styling ========== */
button {
    width: 100%;
}

    button:hover {
        background: #0056b3;
    }

/* ========== Focus States ========== */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}