
a {
    color: var(--app-color-primary);
    text-decoration: none;
}

a:hover {
    color: var(--app-color-primary-dark);
}

/* Helper Classes */

input.full-right {
    direction: rtl;
    text-align: right;
}

input[type="number"] ,
input[type="password"] ,
input.full-left {
    direction: ltr;
    text-align: left;
}

.w-fit {
    width: fit-content;
}

.text-justify {
    text-align: justify;
}

.app-form-label1 {
    color: #797c7f;
    font-weight: 700;
}

.app-form-field-require::before {
    content: '*';
    color: #dc3545;
    font-weight: 900;
    margin-left: 2px;
}

.app-shadow {
    box-shadow: #0000003d 0px 3px 8px;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-color-primary {
    color: var(--app-color-primary);
}

.app-bg-primary {
    background-color: var(--app-color-primary);
}

.app-border-primary {
    border-color: var(--app-color-primary);
}

.app-color-primary-dark {
    color: var(--app-color-primary-dark);
}

.app-bg-primary-dark {
    background-color: var(--app-color-primary-dark);
}

.app-border-primary-dark {
    border-color: var(--app-color-primary-dark);
}

/* App Card */

.card2 {
    display: block;
    width: 100%;
    background-color: #fff;
    box-shadow: #0000003d 0px 3px 8px;
    padding: 1rem;
    border-radius: 0.25rem;
    font-size: 90%;
    transition: 0.2s;
}

.card2.with-hover:hover {
    box-shadow: #0000003d 0px 3px 8px 2px;
}

/* App Card Pill buttons Group */

.card2 .pill-group {
    display: block;
    width: fit-content;
    border: 1px solid var(--app-color-primary);
    border-radius: 5rem;
    padding: 0.25rem;
}

.card2 .pill-group .item {
    display: inline-block;
    width: fit-content;
    background-color: #fff;
    border-radius: 5rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    text-align: center;
}

.card2 .pill-group .item:hover {
    background-color: #ebebeb9e;
}

.card2 .pill-group.items-lg {
    padding: 0.35rem;
}

.card2 .pill-group.items-lg .item {
    padding: 0.45rem 1.15rem;
    font-size: 0.9rem;
}

.card2 .pill-group .item.active {
    color: #fff;
    background-color: var(--app-color-primary);
}

/* App Main Button */

.app-btn1 {
    display: inline-block;
    width: fit-content;
    padding: 0.5rem 0.75rem;
    text-align: center;
    cursor: pointer;
    color: #fff;
    text-decoration: none;
    background-color: var(--app-color-primary);
    border: none;
    border-radius: 0.25rem;
    /* box-shadow: #0000003d 0px 3px 8px; */
    font-size: 1rem;
    border: 2px solid transparent;
    margin: 0.15rem 0;
}

.app-btn1.outline {
    color: var(--app-color-primary);
    border-color: var(--app-color-primary);
    background-color: #fff;
}

.app-btn1:not(:disabled):hover {
    background-color: var(--app-color-primary);
    color: #fff;
    text-decoration: none;
    opacity: 0.9;
}

.app-btn1.outline:not(:disabled):hover {
    border-color: var(--app-color-primary);
    text-decoration: none;
}

.app-btn1:not(:disabled):active {
    transform: scale(0.975);
}

.app-btn1:disabled {
    opacity: 0.5;
}

/* App Tab Button */

.app-tab1 .nav-link {
    color: var(--app-color-primary);
    border-bottom: 2px solid var(--app-color-primary);
    border-radius: 0;
}

.app-tab1 .nav-link.active {
    background-color: var(--app-color-primary);
    color: #fff;
}