@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.3/font/bootstrap-icons.css");
@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Text:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');

body {
    font-family: 'Red Hat Text', sans-serif;
    background-color: #f3f2f7;
    font-size: 14px !important;
}

main>.container {
    padding: 70px 15px 20px;
}

.body-navbar-fixed {
    padding-top: 70px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer>.container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after,
a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li>form>button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li>form>button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav>li>form>button.logout:focus,
.nav>li>form>button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav>li>form>button.logout:focus {
    outline: none;
}

.fw-600 {
    font-weight: 600;
}

.grid-view table thead tr th,
.grid-view table thead tr th a {
    font-size: .75rem;
    line-height: 1rem;
    font-weight: 600;
    color: #64748b;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.grid-view table thead tr th,
.grid-view table tbody tr td {
    vertical-align: middle;
}

th a {
    color: #444;
    text-decoration: none !important;
}

th a:hover {
    color: #444;
    text-decoration: none !important;
}

td .form-control {
    font-size: 14px;
}

.table {
    --bs-table-striped-bg: #f8fafc;
}

.brand-image {
    height: 32px;
}

.brand-logo {
    max-height: 200px;
}

.login-logo {
    max-width: 175px;
}

.form-label {
    font-weight: 500;
}

.login-bg {
    background-color: rgb(222, 222, 222);
}

.login-bg .invalid-feedback {
    color: #ff002d !important;
}

.login-bg .form-control {
    background-color: #f0f0f0;
    color: #000;
}

.login-bg .form-control:focus {
    background-color: white;
    color: #000;
    border-color: #fff;
}

.login-bg .form-control.is-invalid {
    border-color: #ff002d;
}

.login-bg .form-control.is-valid {
    border-color: #28a745;
}

.btn-white,
.btn-white:hover {
    color: #fff;
    background-color: #fff;
    border-color: #fff;
}

.text-sm {
    font-size: 14px;
}

.text-xs {
    font-size: .75rem;
}

.form-control[readonly] {
    background-color: #f0f0f0;
}

.app-text-small {
    font-size: 12px !important;
}

.top-border-dashed {
    border-top: 1px dashed #e9ecef;
}

.m-05 {
    margin: 2px 2px 2px 2px;
}

.tc-badge {
    border-radius: 4px;
}

.fs-8 {
    font-size: 8px;
}

.ql-toolbar.ql-snow.is-invalid {
    border-color: #dc3545;
}

.ql-container.ql-snow.is-invalid {
    border-color: #dc3545;
}


.pin-input.is-invalid {
    border-bottom: 2px solid #dc3545;
}

.pin-input {
    width: 250px;
    outline: none;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 32px;
    letter-spacing: 10px;
    font-weight: 600;
    margin-bottom: 5px;
    border-bottom: 2px solid #c1c0c0;
}

.nav-header {
    height: 70px;
    width: 100%;
    position: relative;
    z-index: 999;
}

.nav-wrapper {
    height: 70px;
    width: 100%;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #FFF;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.grayscale {
    filter: grayscale(100%);
}

.nav-logo {
    height: 50px;
}

.help-block {
    color: #dc3545;
}

.control-label {
    margin-bottom: 0.5rem;
}

/* add error color on input */
.has-error .form-control,
.has-error .form-control:focus {
    border-color: #dc3545;
    box-shadow: none;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.fixed-height-card {
    height: 350px;
}


.card-member-col {
    cursor: pointer;
}

.icon-register {
    max-width: 80px;
}

.btn-xs {
    padding: .25rem .25rem;
    font-size: .75rem;
    line-height: .5;
    border-radius: .2rem;
}

.view-request {
    cursor: pointer;
}

.register-type-box {
    border: 1px solid #cfcfcf;
    border-radius: 5px;
    padding: 20px;
    cursor: pointer;
}

.navbar .nav-item .nav-link {
    font-weight: 500;
    color: #000;
}

.divider-colored {
    height: 15px;
    background: linear-gradient(90deg, #ed097a 0%, #3081c3 101.74%);
}

.feature-list {
    list-style: none !important;
    padding-inline-start: 0px !important;
}

.modal-feature-list {
    list-style: none !important;
    padding-inline-start: 0px !important;
}

.feature-list li,
.modal-feature-list li {
    padding: 2px 0px;
}

.ql-container .ql-snow {
    border-radius: 0 0 0.375rem 0.375rem;
}

.ql-toolbar .ql-snow {
    border-radius: 0.375rem 0.375rem 0 0;
}


/* Green border for valid */
.ql-container.ql-snow.is-valid,
.ql-toolbar.ql-snow.is-valid {
    border-color: #28a745 !important;
}

/* Red border for invalid */
.ql-container.ql-snow.is-invalid,
.ql-toolbar.ql-snow.is-invalid {
    border-color: #ff002d !important;
}

.signature-pad.is-invalid {
    border: 1px solid #dc3545;
}

.signature-pad.is-valid {
    border: 1px solid #28a745;
}

.editor-container-init {
    border-radius: 0 3px;
}

.ql-toolbar {
    border-radius: 3px 0;
}

.logo-text {
    text-decoration: none !important;
    color: #ed097a;
    font-weight: bold;
}

.logo-text:hover {
    color: #e00874;
}