/* General Styles */
body {
    font-family: "Roboto", serif;
    font-size: 16px;
    font-weight: 500;
    font-style: normal;
    font-optical-sizing: auto;
    margin: 0;
    padding: 0;
    background-color: var(--content-bg);
    color: var(--label);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 10px;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary);
}

h4 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--secondary);
}

.hide {
    display: none;
}

.show {
    visibility: hidden;
}

.empty-line {
    margin-bottom: 15px;
    clear: both;
}

.nowrap {
    white-space: nowrap;
}

.no-select {
    -webkit-user-select: none;
    /* Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE/Edge */
    user-select: none;
    /* Standard syntax */
}

.fit-content {
    width: fit-content;
}

/*------------------------------------*\
  #LAYOUT
\*------------------------------------*/

.container {
    display: flex;
    /* Enables Flexbox for layout */
    min-height: 100vh;
    /* Ensures the container takes at least the full viewport height */
    flex-direction: row;
    border-radius: 5px;
    align-items: stretch;
}

.content-area {
    /* Allow the content area to grow and take up remaining space */
    display: flex;
    /* Create space for the nav bar */
    flex-grow: 1;
    flex-direction: column;

    /* Stack header, main, and footer vertically */
    margin-left: 0px;
}

header {
    background-color: var(--content-bg);
    z-index: 5;
}

/* Main Content */
main {
    flex-grow: 1;
    /* Allow main content to grow and take up available space */
    padding: 0.8rem;
    position: relative;
    background-color: var(--content-bg);
    z-index: 4;
}

footer {
    padding: 1rem;
    text-align: center;
    background: linear-gradient(to bottom,
            var(--content-bg),
            /* Starting color (at the top) */
            var(--theme-vlight-2)
            /* Ending color (at the bottom) */
        );
    z-index: 3;
}

nav {
    flex-grow: 1;
    background-color: var(--sidebar-bg);
    z-index: 2;
}

/*------------------------------------*\
  # COMPONENTS
\*------------------------------------*/

main .main-title {
    /*background-color: var(--title);*/
    display: flex;
    align-items: center;
    margin: 10px 0 30px;
    color: var(--title);
    border-radius: 5px;
    border-top: 5px solid var(--titleborder);
    padding: 5px 5px 5px 10px;
    /*background: linear-gradient(90deg, var(--theme-vlight-4), transparent, transparent);*/
    background-color: var(--theme-vlight-4);
}

main .main-title i.fas {
    font-size: 0.6em;
    margin-right: 10px;
}

main .font-big {
    font-size: 1.3rem;
}

main .font-medium {
    font-size: 1.1rem;
}

main .font-small {
    font-size: 0.8rem;
}

/* Table Styles */
main table {
    font-size: 0.9em;
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0px 0px 4px var(--control-shadow);
    background-color: var(--white);
}

main table tr {
    border: 2px solid var(--theme-vlight);
    height: 35px;
}

main table tr:nth-child(even) {
    background-color: var(--theme-vlight-4);
}

main table tr:hover {
    background: var(--theme-vlight-3);
    transition: var(--transition);
}

main table tr.colspan-header {
    background-color: var(--theme-vlight-2) !important;
    font-weight: bold;
}

main table th {
    background: var(--theme-vlight);
    color: var(--black);
    text-transform: capitalize;
    padding: 8px 12px;
    vertical-align: middle;
    border-left: 1px solid var(--theme-light-1);
    font-size: 1em;
}

main table td {
    display: table-cell;
    padding: 5px;
    text-align: left;
    vertical-align: middle;
    border-left: 1px solid var(--theme-light-1);
}

main table th.action-column {
    width: 10%;
}

main table td.action-column {
    width: 10%;
    white-space: nowrap;
}

main table th.per5-col,
main table td.per5-col {
    width: 5%;
}

main table th.per10-col,
main table td.per10-col {
    width: 10%;
}

main table th.per15-col,
main table td.per15-col {
    width: 15%;
}

main table th.per20-col,
main table td.per20-col {
    width: 20%;
}

main table td.ac {
    text-align: center
}

main table .ctp {
    margin-right: 10px;
}

main table .ctp:hover {
    color: var(--control-hover)
}

/*------------------------------------*\
  #COMPONENTS CLASSES
\*------------------------------------*/

/* Button Styles */
.btn,
button {
    color: var(--white) !important;
    padding: 12px 15px 12px 15px;
    font-size: 0.9rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn i.fas {
    margin-right: 5px;
}

.btn-sm {
    padding: 6px 8px 6px 8px;
    font-size: 0.8rem;
}

.btn:hover,
button:hover {
    background-color: var(--control-hover);
}

.btn-primary {
    background-color: var(--control);
}

.btn-secondary {
    background-color: var(--grey);
}

.btn-tertiary {
    background-color: var(--primary);
}

.btn-success {
    background-color: var(--green);
}

.btn-danger {
    background-color: var(--red);
}

.btn-warning {
    background-color: var(--yellow-3)
}

.btn-cancel {
    background-color: var(--cancel);
}

.btn-edit,
.btn-delete,
.btn-deactivate {
    background-color: var(--grey);
    color: var(--white);
    border: none;
    padding: 4px 8px;
    border-radius: 5px;
    cursor: pointer;
    height: 24px;
    width: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-delete:hover {
    background-color: var(--red);
}

.btn-edit i,
.btn-delete i {
    font-size: 12px;
    /* Smaller icon size */
}

/* Table column action icons & pagination classes */
.action-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    /* Make icons vertically centered */
    transition: var(--transition);
}

.action-icon {
    margin-right: 5px;
    font-size: 1.2em;
    text-decoration: none;
    color: var(--control) !important;
    cursor: pointer;
}

.action-icon:hover {
    color: var(--control-hover) !important;
}

.action-icon.inactive {
    color: var(--grey) !important;
    cursor: no-drop;
}

button.action-icon {
    padding: 0;
    background-color: transparent;
}

.action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

/*.fa-edit,
.fa-trash-alt {
    cursor: pointer;
}

.fa-edit:hover,
.fa-trash-alt:hover {
    opacity: 0.8;
}*/

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 10px 0;
    margin: 20px 0;
    gap: 8px;
    /* Adds space between each page number */
}

.pagination a {
    text-decoration: none;
    color: var(--label);
    padding: 10px 15px;
    border: 1px solid var(--theme-vlight);
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination a:hover {
    background-color: var(--control-hover);
}

.pagination a.active {
    background-color: var(--control);
    color: var(--white);
    pointer-events: none;
}

.pagination-info {
    margin-top: 10px;
    text-align: right;
    font-size: 0.9em;
    color: var(--label);
}

/* Form & Form Control Styles */
form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

form .form-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

input[type="text"],
[type="email"],
[type="password"],
input[type="file"],
textarea,
select {
    min-width: 200px;
    border: 2px solid var(--control);
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 1em;
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
    background-color: var(--control-bg);
}

input[type="text"],
[type="email"],
[type="password"],
input[type="file"],
textarea,
select {
    width: 100%;
}

select[multiple] {
    min-height: 100px;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

input[type="text"]:focus,
[type="password"]:focus,
[type="email"]:focus,
input[type="file"]:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0px 0px 8px var(--control-shadow);
    border-color: var(--control-hover);
}

input[type="text"]:hover,
[type="password"]:hover,
[type="email"]:hover,
input[type="file"]:hover,
select:hover,
textarea:hover {
    outline: none;
    box-shadow: 0px 0px 8px var(--control-shadow);
}

input[type="text"]:read-only,
[type="email"]:read-only,
[type="password"]:read-only,
textarea:read-only,
select:disabled {
    border: 2px solid var(--theme-light-2);
    background-color: var(--theme-vlight-4);
}

.select-container {
    position: relative;
    width: 300px;
    /* Adjust as needed */
}

/*select option {
    max-width: 50ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}*/

.radio-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    margin: 0;
}

.date-input {
    width: fit-content;
    padding: 8px 12px;
    font-size: 1em;
    border: 2px solid var(--control);
    border-radius: 5px;
    background-color: var(--content-bg);
    transition: var(--transition);
    cursor: pointer;
}

.date-input:hover {
    outline: none;
    box-shadow: 0px 0px 8px var(--control-shadow);
}

.date-input:focus {
    outline: none;
    box-shadow: 0px 0px 8px var(--control-shadow);
}

/*------------------------------------*\
  # CONTAINERS & BOXES
\*------------------------------------*/

/* User Form Styles */
.user-form {
    margin: 20px auto;
    padding: 20px;
    background: var(--white);
    border-radius: 5px;
    box-shadow: 0px 0px 4px var(--control-shadow);
}

.form-wrapper {
    background: var(--theme-vlight-2);
    padding: 10px;
    border-radius: var(--border-radius);
    justify-content: center;
    border: 1px solid var(--theme-vlight);
}

/* Form Container Styles */
form.form-container {
    display: flex;
    flex-direction: column;
    background-color: var(--content-bg);
    margin: 0px 0px 20px;
    padding: 10px;
    border-radius: var(--border-radius);
    box-shadow: 0px 0px 4px var(--control-shadow);
    border: 1px solid var(--theme-vlight);
}

form.form-container .f-title {
    display: flex;
    margin: -10px -10px 10px -10px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--title);
    background-color: var(--theme-vlight-2);
    height: 40px;
    justify-content: left;
    align-items: center;
    padding-left: 1rem;
}

form.form-container .f-title .fas {
    font-size: 1rem;
    margin-right: 10px;
}

form.form-container .form-group {
    display: flex;
    gap: 20px;
    margin: 0 auto;
    align-items: center;
    width: var(--form-inner-space);
    height: inherit;
}

form.form-container .form-group .form-subgroup {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

form.form-container .form-group .form-subgroup-row {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

form.form-container .form-group>label {
    min-width: 250px;
    display: flex;
    align-items: center;
    color: var(--label);
}

form.form-container h3 {
    margin: 0px;
    color: var(--title);
    font-size: 1.3rem;
}

form.form-container .title {
    font-size: 1.3rem;
    border-bottom: 1px solid var(--theme-vlight);
}

form.form-container .form-group .required-field::after {
    content: "*";
    color: var(--red);
    margin-left: 5px;
    vertical-align: super;
}

form.form-container .button-group {
    margin-top: 10px;
    margin-bottom: 30px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

form.form-container .button-group>label {
    min-width: 250px;
}

form.form-container .section {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 10px 0px 20px;
    background: linear-gradient(90deg, transparent, var(--theme-vlight-4), transparent);
}

form .form-field-info {
    font-size: 0.7rem;
}

form.form-container div.ac {
    justify-content: center;
    align-items: center;
}

form.form-container .form-group .v-alert {
    line-height: 1.5;
    font-size: 0.9rem;
    text-align: left;
}

form.form-container .form-group .v-alert .error {
    color: var(--red);
}

.submit-group {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 5px;
    align-items: center;
    /*margin-left: 400px;*/
}

/* --------------------------------------------- */
/* Filter box styles */
form.filter-container {
    display: flex;
    background: var(--content-bg);
    margin: 0px 0px 20px;
    padding: 10px;
    border-radius: var(--border-radius);
    box-shadow: 0px 0px 4px var(--control-shadow);
    border: 1px solid var(--theme-vlight);
}

form.filter-container .f-title {
    display: flex;
    margin: -10px -10px 10px -10px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--title);
    background-color: var(--theme-vlight-2);
    height: 40px;
    justify-content: left;
    align-items: center;
    padding-left: 1rem;
}

form.filter-container .f-title .fas {
    font-size: 1rem;
    margin-right: 5px;
}

form.filter-container .filter-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: left;
    align-items: center;
    gap: 20px;
}

form.filter-container .filter-group {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin: 0 auto;
    align-items: center;
    width: var(--form-inner-space);
    height: inherit;
}

form.filter-container .filter-group .required-field::after {
    content: "*";
    color: var(--red);
    margin-left: 5px;
    vertical-align: super;
}

form.filter-container .filter-group.col {
    flex-direction: column;
}

form.filter-container .filter-group>label {
    min-width: 150px;
    display: flex;
    align-items: center;
    color: var(--label);
}

.filters {
    display: grid;
    grid-template-columns: auto;
    gap: 20px;
    margin-bottom: 20px;
}

/* --------------------------------------------- */
/* Information container & View container */
.info-box {
    display: flex;
    flex-direction: column;
    margin: 0px 0px 20px;
    padding: 10px;
    font-size: 0.9rem;
    line-height: 1.5;
    border-radius: var(--border-radius);
    box-shadow: 0px 0px 4px var(--control-shadow);
    border: 1px solid var(--theme-vlight);
}

.info-box.flow-row {
    flex-direction: row;
}

.info-box.flow-column {
    flex-direction: column;
}

.info-box.t1 {
    background-color: var(--theme-vlight);
}

.info-box.t2 {
    background-color: var(--theme-vlight-2);
}

.info-box.t3 {
    background-color: var(--theme-vlight-3);
}

.info-box.t4 {
    background-color: var(--theme-vlight-4);
}

.info-box.banner {
    border-left: 4px solid var(--titleborder);
}

.info-box .grid {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-auto-rows: minmax(40px, auto);
    gap: 0px 15px;
    align-items: center;
}

.info-box .grid .grid-item {
    align-self: center;
}

.info-box .grid .ctp {
    margin-left: 10px;
    font-size: 0.9rem;
    line-height: 1.5em;
}

.info-box .grid .ctp:hover {
    color: var(--control-hover)
}

.info-box .f-title {
    display: flex;
    margin: -10px -10px 10px -10px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--title);
    background-color: var(--theme-vlight-2);
    height: 40px;
    justify-content: left;
    align-items: center;
    padding-left: 1rem;
}

.info-box .f-title .ctp {
    margin-left: 10px;
    font-size: 0.7em;
}

.info-box .f-title .ctp:hover {
    color: var(--control-hover)
}

.info-box h4 {
    margin: 0px;
    color: var(--title);
    font-size: 1.2rem;
}

.info-box .item {
    display: flex;
    margin-top: 10px;
    font-weight: 1rem;
    background-color: var(--white);
}

.info-box a {
    text-decoration: none;
    color: var(--control);
    cursor: pointer;
}

.info-box a:hover {
    text-decoration: none;
    color: var(--control-hover);
}

.info-box i.fas {
    color: var(--title);
    font-size: 1.2rem;
    margin-right: 10px;
    margin-top: 4px;
}

/* --------------------------------------------- */

.box-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
    margin: 0px 0px 20px;
    background: var(--theme-vlight-2);
    border-radius: var(--border-radius);
    box-shadow: 0px 0px 4px var(--control-shadow);
    border: 1px solid var(--theme-vlight);
}

.box-wrapper h3 i.fas {
    margin-right: 10px;
    font-size: 0.8em;
}

.box-wrapper .ctp {
    margin-left: 10px;
    font-size: 0.9em;
}

.box-wrapper .ctp:hover {
    color: var(--control-hover);
}

/* --------------------------------------------- */
.chart-container {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.chart {
    width: 45%;
}

/* --------------------------------------------- */
/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--titleborder-val) / 0.2);
}

.modal-dialog {
    position: relative;
    max-width: 500px;
    margin: 10% auto;
    background-color: var(--content-bg);
    /* pointer-events: none; */
}

.modal-content {
    display: flex;
    flex-direction: column;
    margin: 0px auto;
    padding: 15px;
    max-width: 500px;
    border-radius: 5px;
    border: 1px solid var(--titleborder);
    background-color: var(--white);
    box-shadow: 0px 0px 4px var(--control-shadow);
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    border-bottom: 1px solid var(--theme-light);
}

.modal-title {
    margin: 0;
    font-size: 1.25rem;
    color: var(--title);
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.modal-footer {
    padding-top: 1rem;
    border-top: 1px solid var(--theme-light);
}

.modal-buttons {
    margin-top: 15px;
    text-align: right;
}

.modal .modal-close {
    color: var(--control);
    float: right;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 3px;
    text-decoration: none;
    width: 2rem;
    height: 2rem;
}

.modal .modal-close:hover,
.modal .modal-close:focus {
    color: var(--control-hover);
    text-decoration: none;
}

/*------------------------------------*\
  #UTILITIES
\*------------------------------------*/

.badge {
    padding: 4px 8px;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    color: var(--white);
    white-space: nowrap;
}

.badge:hover {
    transition: var(--transition);
}

.badge.tag {
    border-radius: 12px;
}

.badge.checkbox {
    display: inline-block;
    vertical-align: middle;
    background-color: var(--control-bg);
    border: 1px solid var(--control);
    font-size: 1em;
    line-height: 1.5em;
    color: var(--label);
    cursor: pointer;
}

.badge.checkbox:hover,
.badge.checkbox:focus {
    box-shadow: 0px 0px 8px var(--control-shadow);
}

.badge i.fas {
    margin-right: 10px;
}

.badge-primary,
.bg-primary,
.s-later {
    background-color: #007bff;
}

.badge-secondary,
.bg-secondary,
.s-pending {
    background-color: #6c757d;
}

.badge-tertiary,
.bg-tertiary {
    background-color: rgba(var(--titleborder-val) / 0.8);
    /* 10 percentage */
}

.badge-tertiary:hover,
.bg-tertiary:hover {
    background-color: rgba(var(--titleborder-val) / 0.9);
    /* 9 percentage */
}

.badge-info,
.badge-moderate,
.bg-info,
.s-na {
    background-color: #17a2b8;
}

.badge-success,
.badge-minor,
.bg-success,
.p-low,
.s-passed {
    background: #28a745;
}

.badge-warning,
.badge-major,
.p-medium,
.s-blocked {
    background-color: #856404;
}

.badge-error,
.badge-danger,
.badge-critical,
.p-high,
.s-failed {
    background: #dc3545;
}

/* --------------------------------------------- */
/* Tag style */
.tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 0.75rem;
    white-space: nowrap;
    color: var(--white);
}

.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    width: 100%;
}

/* Add new class for tag filter container */
.tag-filter-section {
    width: 100%;
    /* Force it to take full width */
    margin-top: 5px;
    border-top: 1px solid #eee;
    padding-top: 5px;
    align-self: center;
}

.tag-filter-container {
    display: flex;
    flex-flow: row wrap;
    gap: 12px;
    padding: 8px 0;
    margin-top: 5px;
    align-items: center;
}

.tags-selection {
    border: 1px solid var(--titleborder);
    border-radius: 5px;
    min-height: 50px;
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 5px;
}

.tag-dot {
    display: inline-block;
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 50%;
    margin: 0 5px 0 3px;
}

.tag-label {
    color: var(--label);
    font-size: 0.9rem;
}

.tag-checkbox {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    white-space: nowrap;
    cursor: pointer;
    padding: 8px;
    background-color: var(--theme-vlight-3);
    border-radius: 15px;
    border: 1px solid var(--theme-light);
    transition: var(--transition);
}

.tag-checkbox:hover {
    background-color: var(--theme-light-2);
}

/*.tag-checkbox input[type="checkbox"]:checked + .tag-dot + span {
    font-weight: 500;
}*/

.tag-checkbox input[type="checkbox"]:checked {
    background-color: var(--primary);
    border-color: var(--control);
}

/* --------------------------------------------- */
/* Message section styling */

.alert {
    padding: 10px;
    margin: 0px 0px 20px;
    display: block;
    overflow-wrap: break-word;
    text-align: center;
    border-radius: var(--border-radius);
    border: 1px solid;
    box-shadow: 0px 0px 4px var(--control-shadow);
}

.alert.v-alert {
    text-align: left;
}

.alert i.fas {
    font-size: 1.2rem;
    margin-right: 10px;
}

.alert-success {
    background-color: var(--green-1);
    border-color: var(--green-2);
    color: var(--green-3);
}

.alert-warning {
    background-color: var(--yellow-1);
    border-color: var(--yellow-2);
    color: var(--yellow-3);
}

.alert-danger,
.alert-error {
    background-color: var(--red-1);
    border-color: var(--red-2);
    color: var(--red-3);
}

.alert-info {
    background-color: var(--blue-1);
    border-color: var(--blue-2);
    color: var(--blue-3);
}

.success-message {
    background-color: var(--green-1);
    color: var(--green-3);
    padding: 15px;
    margin: 0px 0px 20px;
    border-radius: 5px;
}

.error-message {
    background-color: var(--red-1);
    color: var(--red-3);
    padding: 15px;
    margin: 0px 0px 20px;
    border-radius: 5px;
}

/* --------------------------------------------- */
/* Design section styling */

.divider-fade {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--titleborder), transparent);
    position: relative;
}

.divider-gradient {
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
    margin: 3px 0 3px;
    border-radius: 2px;
}

.divider-gradient.thin {
    height: 1px;
}

#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;

    background-color: rgba(0, 0, 0, 0.5);
    z-index: 20000;
    display: none;
}

#loading-spinner {
    padding: 20px;
    background-color: white;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    color: #333;
    width: 40px;
    height: 40px;
    margin: 40vh auto;
    text-align: center;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

#common-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;

    background-color: rgba(0, 0, 0, 0.5);
    z-index: 19999;
    display: none;
}

.toastr-title-success {
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.toastr-title-error {
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

/* --------------------------------------------- */

.test-case-tags {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.test-case-tag {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    white-space: nowrap;
}

.test-case-link {
    color: #007bff;
    text-decoration: none;
}

.test-case-link:hover {
    text-decoration: underline;
}

.build-select {
    max-height: 150px;
    overflow-y: auto;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
}

.build-option {
    margin: 5px 0;
}

.feature-header {
    font-size: 1.2em;
    margin: 20px 0;
    padding: 10px;
    background-color: #f5f5f5;
    border-radius: 5px;
}

.inline-form {
    display: flex;
    gap: 8px;
}

/* For multi-line lists (projects and roles) */
.item-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center the list items container */
}

.item-list li {
    margin-bottom: 3px;
    line-height: 1.2;
}

/* For single line content */
.single-line {
    vertical-align: middle;
    height: 100%;
}

.text-danger {
    color: var(--red);
}

/*------------------------------------*\
  #RESPONSIVE DESIGN
\*------------------------------------*/
@media screen and (max-width: 768px) {
    nav {
        width: 60px;
    }

    main {
        margin-left: 80px;
        width: calc(100% - 80px);
    }

    .form-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-row select {
        width: 100%;
    }

    .tabs-container a {
        min-width: 150px;
        padding: 12px 20px;
    }
}

/* --------------------------------- 
    have to rework                   
   --------------------------------- */

/* Style for the file input container */
.file-input-container {
    position: relative;
    margin: 20px 0;
}

/* Hide the default file input */
.file-input {
    opacity: 0;
    width: 0.1px;
    height: 0.1px;
    position: absolute;
}

/* Style for the custom file input button */
.file-input-label {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f8f9fa;
    border: 2px solid #d6a1e7;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    color: #8704df;
    transition: var(--transition);
}

/* Hover effect */
.file-input-label:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
}

/* Focus style */
.file-input:focus+.file-input-label {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

/* Selected file name display */
.file-name {
    margin-left: 10px;
    font-size: 14px;
    color: #36383b;
}

/* Disabled state */
.file-input:disabled+.file-input-label {
    background-color: #e9ecef;
    border-color: #dee2e6;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Success state - when file is selected */
.file-input.has-file+.file-input-label {
    border-color: #198754;
    color: #198754;
}

/* Error state - if needed */
.file-input.has-error+.file-input-label {
    border-color: #dc3545;
    color: #dc3545;
}