body {
    font-size: 14px;
}

#app {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-body {
    padding: 0px 30px 0px 0px;
}

.main-content {
    margin-top: 30px;
    margin-bottom: 30px;
}

.banner {
    height: 60px;
    width: 100vw;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    justify-content: center;
    position: fixed;
    border-bottom: 1px solid rgb(190, 190, 190);
    top: 0px;
    z-index: 9999;
}

.logo {
    max-height: 45px;
    margin-top: 20px;
    margin-bottom: 20px;
    padding-left: 1rem;
}

.primary-button {
    padding-left: 25px;
    padding-right: 25px;
    align-self: flex-end;
}

.filters {
    margin-bottom: 30px;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    margin-bottom: 10px;
}

.filters-grid input,
.filters-grid select {
    background-color: #FFFFFF;
    border: 2px solid #CCCCCC;
    padding: 10px;
    font-size: 14px;
    border-radius: 3px;
    transition: border-color 0.3s;
}

.filters-grid input::placeholder,
.filters-grid select::placeholder {
    color: #777777;
}

.filters-grid input:focus,
.filters-grid select:focus {
    border-color: #333333;
    outline: none;
}

.filters-grid-search {
    display: grid;
    grid-template-columns: 400px auto 1fr auto auto;
    column-gap: 50px;
    margin-bottom: 10px;
    align-items: center;
}

.search {
    font-size: 14px;
    border-radius: 20px;
    padding-left: 15px;
}

.tabs {
    display: flex;
    margin-bottom: 10px;
}

.tabs button {
    padding: 10px 20px;
    margin-right: 20px;
    margin-bottom: 10px;
    background-color: transparent;
    border: none;
    border-radius: 0px;
    cursor: pointer;
    font-size: 15px;
    transition: background-color 0.3s, color 0.3s;
    color: #444444;
}

.tabs button.active {
    border-bottom: 3px solid #FD0166;
    font-weight: 600;
}

.tabs span {
    padding: 12px;
}

.pointer {
    cursor: pointer;
}

.badge-active {
    background-color: green;
}

.badge-inactive {
    background-color: red;
}

.badge-next-active {
    background-color: #00c000;
    /* Lighter green */
}

.badge-next-inactive {
    background-color: #ff4040;
    /* Lighter red */
}

.verification-text {
    color: #444;
    line-height: 1.6;
}

.verification-text p {
    margin-bottom: 15px;
}

.verification-text strong {
    display: block;
    margin: 0 20px;
    color: #FFA500;
}

table {
    border-spacing: 0;
    width: 100%;
    position: relative;
    border-collapse: collapse;
    margin-bottom: 10px;
}

table::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    pointer-events: none;
}

table th {
    background-color: #f8f8f8;
    font-weight: bold;
    color: #5a5a5a;
    font-weight: 600;
    padding: 15px 20px;
    text-align: left;
}

table td {
    padding: 15px 20px;
}

table tr {
    border: 1px solid #ddd;
    border-left: none;
    border-right: none;
    border-radius: 10px;
}

table tr:hover {
    cursor: pointer;
}

table thead tr {
    border-top: none;
}

table tbody tr:last-child {
    border-bottom: none;
}

table th:first-child,
table td:first-child {
    border-left: none;
}

table th:first-child {
    border-radius: 8px 0px 0px 0px;
}

table th:last-child,
table td:last-child {
    border-right: none;
    border-radius: 0px 8px 0px 0px;
}

table td.profile-cell {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-gap: 0.8rem;
    align-items: center;
    padding: 8px 20px;
    margin-right: -1px;
}

table td.profile-cell .user-profile {
    position: relative;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    overflow: hidden;
}

table td.profile-cell .user-profile::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    /* Adjust to create border effect */
    /* background: linear-gradient(-30deg, #ffd45d, #fcb08b, #ff9975, #ff4848); */
    background-color: #36376D;
    z-index: -1;
    /* Place it behind the content */
    border-radius: 50%;
}

table td.profile-cell .user-profile.letters {
    display: grid;
    align-items: center;
    justify-items: center;
    height: 30px;
    width: 30px;
    position: relative;
    z-index: 1;
    color: white;
}

table .actions {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.paginator {
    display: flex;
    flex-direction: row;
}

.paginator button {
    cursor: pointer;
}

.paginator div {
    line-height: 36px;
}

button.pagination {
    background-color: transparent;
    color: #F7FAFC;
    border: none;
    border-radius: 0px;
}

footer {
    background-color: #F09D1E;
    color: white;
    text-align: center;
    position: fixed;
    bottom: 0px;
    right: 0;
    z-index: 9999;
    height: 60px;
    width: 100vw;
}

/* side bar */
.main-body {
    display: grid;
    grid-template-columns: 260px 1fr;
    height: 100%;
    min-height: 100vh;
}

.sidebar {
    position: fixed;
    border-right: 1px solid rgb(190, 190, 190);
    margin-right: 30px;
    height: 100vh;
    min-height: 100vh;
    width: 230px;
    display: flex;
    flex-direction: column;
    background-color: #050643;
    color: #FFFFFF;
}

.option-cluster {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.option-last {
    margin-top: auto;
    margin-bottom: 20px;
}

.option,
.dropdown,
.dropdown-item {
    height: 50px;
    display: grid;
    align-items: center;
    justify-content: start;
    grid-template-columns: auto auto 1fr;
    padding-left: 1rem;
    cursor: pointer;
}

.dropdown-item {
    height: 45px;
    padding-left: 50px;
    font-size: 11px;
}

.option-organization .option {
    height: 70px;
}

.division {
    border-bottom: 1px solid rgb(190, 190, 190);
}

.icon-with-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: right;
    padding: 0.6rem;
}

.icon-with-badge .badge-notification {
    color: #FFFFFF;
    background-color: rgb(255, 59, 59);
    border-radius: 50%;
    font-size: 9pt;
    height: 20px;
    width: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
}

.sidebar-icon {
    width: 20px;
    height: 20px;
    padding-right: 10px;
}

.sidebar-org-arrow {
    width: 25px;
    height: 25px;
    padding-right: 10px;
    padding-left: 10px;
    transition: transform 0.5s ease-out;
}

.sidebar-org-arrow.rotate {
    transform: rotate(180deg);
}

.option:hover,
.dropdown:hover,
.dropdown-item:hover {
    background: #36376D;
}

.option.active,
.dropdown.active,
.dropdown-item.active {
    color: #FD0066;
    font-weight: 500;
}

.option-link {
    text-decoration: none;
    color: inherit;
}

.dropdown-content {
    height: 0px;
    overflow: hidden;
    transition: height 0.5s ease-out;
}

.toast {
    position: fixed;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    background-color: #FE185B;
    color: white;
    border-radius: 5px;
    opacity: 0.9;
    z-index: 1000;
}

.spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.spinner {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Element UI custom styles */
.el-form-item .readonly {
    font-weight: 400;
    font-size: 16px;
}