:root {
    --purple: #800080;
    --light-purple: #CC99FF;
    --yellow: #FFFF00;
    --light-yellow: #FFE599;
    --green: #38761D;
    --light-green: #C6E0B4;
    --orange: #ED7D31;
    --light-orange: #FFCC99;
    --blue: #6FA8DC;
    --aqua: #A2E8F1;
    --gray: #999999;
}

.border-start-purple {
    border-left-color: var(--purple) !important;
}
.border-start-yellow {
    border-left-color: var(--yellow) !important;
}
.border-start-green {
    border-left-color: var(--green) !important;
}
.border-start-orange {
    border-left-color: var(--orange) !important;
}
.border-start-blue {
    border-left-color: var(--blue) !important;
}
.border-start-aqua {
    border-left-color: var(--aqua) !important;
}
.border-start-gray {
    border-left-color: var(--gray) !important;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #000;
}

.card-header > p {
    margin: 0;
}

.card-header div.custom, .card-header div.custom form {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.card-header button {
    font-size: 14px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 5px;
}

.card-header button img {
    filter: invert(1);
}

.dropdown-item {
    font-size: 14px;
}

div.notification {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
    position: fixed;
    bottom: 0;
    right: 0;
}

.table-responsive {
    overflow-x: unset;
}

.badge {
    width: 100%;
}

[data-coreui-theme=dark] header img.icon {
    filter: invert(1);
}

[data-coreui-theme=dark] img.icon {
    filter: invert(1);
}

.table tr td:last-of-type:not(:first-child) {
    text-align: end;
}

.table tr td:last-of-type div.dropdown {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.sidebar-brand {
    text-align: center;
}

.sidebar-brand img {
    width: 60%;
    height: auto;
}

form.login aside {
    margin-top: 10px;
    font-size: 12px;
    color: red;
}

.avatar-md span.avatar_name {
    background-color: var(--cui-blue);
    color: var(--cui-body-bg);
    width: 2.5rem;
    height: 2.5rem;
    padding: 8px;
    display: block;
    border-radius: 50%;
    text-align: center;
}

.form-check-label {
    width: 180px;
}

table tr.expand_data {
    cursor: pointer;
}

table tr.expand_data td {
    color: black;
}

table tr.expand_data td img.icon {
    filter: invert(0);
}

table tr.expand_data td img.icon.pinned {
    filter: invert(20%) sepia(66%) saturate(7090%) hue-rotate(356deg) brightness(96%) contrast(120%);
}

table tr.expanded td {
    background-color: #bbb;
}

table tr td span {
    color: #000 !important;
}

table tr td {
    color: #000;
}

table tr.pinned td {
    background-color: var(--gray);
}

div.searched_educations {
    height: 300px;
    overflow: scroll;
}

div.searched_educations div.form-check {
    display: none;
}

div.form-floating + div.form-floating {
    margin-top: 1rem;
}

div.tab-pane {
    padding: 25px 0 50px 0;
}

div.hidden {
    display: none;
}

.table > :not(caption) > * > * {
    background-color: unset !important;
}

img.pinned {
    filter: invert(20%) sepia(66%) saturate(7090%) hue-rotate(356deg) brightness(96%) contrast(120%);
}

div.document_photos {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 25px;
}

div.document_photos picture {
    display: block;
    width: 150px;
    height: 150px;
    position: relative;
}

div.document_photos picture a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

div.document_photos picture img.icon {
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0;
    transition-duration: .5s;
    cursor: pointer;
}

div.document_photos picture:hover img.icon {
    opacity: 1;
    transition-duration: .5s;
}

.card-body.hide > * {
    display: none;
}

.card-body > form.update_conversation {
    display: none;
}

.card-body > form.update_conversation.active {
    display: flex;
}

.table tr td.text-align-center {
    text-align: center !important;
    width: max-content;
}

.table tr td.text-align-center > * {
    padding: 0 10px;
    margin: 0 5px;
}

.table tr td.text-align-center > label {
    display: flex;
    gap: 5px;
    align-items: center;
    width: 150px;
}

table tr td p {
    color: #000000 !important;
}

#drop-area {
    border: 2px dashed #aaa;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
}

#drop-area.highlight {
    border-color: #4CAF50;
    background: #f6fff6;
}

.preview-wrapper img {
    max-width: 100%;
    margin-top: 15px;
    border-radius: 8px;
}

#preview-area {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    margin-top: 25px;
    gap: 25px;
    flex-wrap: wrap;
}

#preview-area .preview-item {
    width: 300px;
    height: 200px;
    position: relative;
}

#preview-area .preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#preview-area .preview-item button {
    position: absolute;
    right: 10px;
    top: 10px;
}