.app-icon {
    color: inherit;
    display: inline-flex;
    font-size: 35px;
    min-width: 42px;
}

.app-launch-card {
    background: #fff;
    border: 1px solid #cfd4da;
    border-radius: .35rem;
    color: var(--mtip-text);
    display: block;
    height: 100%;
    min-height: 132px;
    padding: 1rem;
    text-decoration: none !important;
    transition: border-color .08s linear, box-shadow .08s linear;
}

.app-launch-card:focus,
.app-launch-card:active,
.app-launch-card:hover {
    border-color: var(--mtip-red);
    box-shadow: 0 .75rem 1.35rem rgba(33, 37, 41, .18);
    color: var(--mtip-text);
    cursor: pointer;
    text-decoration: none !important;
    transform: none;
}

.app-launch-head {
    align-items: center;
    display: flex;
    gap: .65rem;
    margin-bottom: .65rem;
}

.app-launch-head h5 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
}

.app-launch-card p {
    color: #6c757d;
    margin: 0;
}

.assign-user-summary {
    background: #f8f9fa;
    border: 1px solid var(--mtip-border);
    border-radius: .35rem;
    padding: .75rem 1rem;
}

.access-matrix {
    display: grid;
    gap: .85rem;
}

.access-app-card {
    border: 1px solid var(--mtip-border);
    border-left: 4px solid #cfd4da;
    border-radius: .35rem;
    padding: .85rem 1rem;
}

.access-app-card.is-enabled {
    border-left-color: var(--mtip-red);
}

.access-app-head {
    align-items: center;
    display: flex;
    gap: .75rem;
    justify-content: space-between;
}

.access-state {
    background: #f1f3f5;
    border-radius: 999px;
    color: #495057;
    font-size: .8rem;
    padding: .2rem .65rem;
}

.access-app-card.is-enabled .access-state {
    background: #f8d7dc;
    color: var(--mtip-red-dark);
}

.access-app-title {
    align-items: center;
    display: flex;
    flex: 1 1 auto;
    gap: .9rem;
    min-width: 0;
}

.access-app-check {
    align-items: center;
    display: inline-flex;
    flex: 0 0 auto;
    gap: .4rem;
    margin: 0;
    min-height: 24px;
    padding-left: 0;
}

.access-app-check .form-check-input {
    float: none;
    margin: 0;
}

.access-app-toggle {
    align-items: center;
    background: transparent;
    border: 0;
    color: inherit;
    display: inline-flex;
    flex: 1 1 auto;
    font-weight: 600;
    gap: .5rem;
    min-width: 0;
    padding: .25rem 0;
    text-align: left;
}

.access-app-toggle span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.access-app-toggle:hover {
    color: var(--mtip-red-dark);
}

.access-app-card.is-open .access-app-toggle i {
    transform: rotate(90deg);
}

.access-app-body {
    border-top: 1px solid #edf0f2;
    display: none;
    margin-top: .75rem;
    padding-top: .75rem;
}

.access-app-card.is-open .access-app-body {
    display: block;
}

.access-group-title {
    color: #495057;
    font-size: .9rem;
    font-weight: 600;
    margin-bottom: .45rem;
}

.access-check-list {
    display: grid;
    gap: .35rem;
}

.access-check {
    align-items: center;
    border: 1px solid #edf0f2;
    border-radius: .3rem;
    display: flex;
    gap: .45rem;
    margin: 0;
    min-height: 48px;
    overflow: hidden;
    padding: .45rem .55rem;
    padding-left: .55rem;
}

.access-check .form-check-input {
    flex: 0 0 auto;
    float: none;
    margin: 0;
}

.access-check-text {
    display: block;
    flex: 1 1 auto;
    line-height: 1.2;
    min-width: 0;
    overflow-wrap: anywhere;
}

.access-check small {
    color: #6c757d;
    display: block;
    font-size: .78rem;
}

.permission-check {
    background: #fbfbfc;
}

.profile-card {
    max-width: 1120px;
}

.profile-media,
.profile-signature {
    border: 1px solid var(--mtip-border);
    border-radius: 6px;
    padding: 20px;
}

.profile-avatar {
    align-items: center;
    background: #f7f8fa;
    border: 1px solid var(--mtip-border);
    border-radius: 50%;
    display: flex;
    height: 150px;
    justify-content: center;
    margin: 0 auto;
    overflow: hidden;
    width: 150px;
}

.profile-avatar img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.profile-avatar span {
    color: var(--mtip-red);
    font-size: 56px;
    font-weight: 700;
}

.signature-preview {
    align-items: center;
    background: #fff;
    border: 1px dashed #cbd1d8;
    border-radius: 6px;
    display: flex;
    height: 120px;
    justify-content: center;
    overflow: hidden;
}

.signature-preview img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.signature-preview span {
    color: #697386;
}

.mtip-login-page {
    background: #e9edf2;
}

.mtip-login-box {
    width: 450px;
}

.mtip-login-card {
    border-radius: 4px;
    border-top: 4px solid var(--mtip-red);
    overflow: hidden;
}

.mtip-login-logo {
    align-items: center;
    background: #fff;
    border-bottom: 1px solid #d8dbe0;
    display: flex;
    gap: 28px;
    justify-content: center;
    padding: 30px 26px 24px;
}

.mtip-logo-word {
    color: #ef3438;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 76px;
    font-weight: 900;
    line-height: .9;
}

.mtip-logo-sub {
    color: #5c5e69;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.1;
}

.mtip-login-card .login-card-body {
    padding: 28px 26px 24px;
}

.mtip-login-card .login-box-msg {
    color: #4f5965;
    font-size: 20px;
    margin-bottom: 26px;
}

.mtip-login-card .form-control,
.mtip-login-card .input-group-text {
    border-color: #d7dce2;
    font-size: 18px;
    min-height: 46px;
}

.mtip-login-card .btn-primary {
    font-size: 18px;
    font-weight: 700;
    min-height: 48px;
}

@media (max-width: 576px) {
    .mtip-login-box {
        width: auto;
    }

    .mtip-login-logo {
        gap: 16px;
        padding-inline: 18px;
    }

    .mtip-logo-word {
        font-size: 56px;
    }

    .mtip-logo-sub {
        font-size: 19px;
    }
}
