html,
body {
    height: 100%;
}

.default-text {
    color: #858a8d;
    font-weight: normal;
    font-size: 12px;
    letter-spacing: 0.15px;
    font-family: Roboto;
    font-style: normal;
    line-height: 14px;
    text-align: center;
}

.body {
    display: flex;
    flex-direction: column;
    background: #f9f9f9;
}

.header {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    height: 75px;
    background: #fff;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.14);
}

.header-logo {
    width: 124px;
    height: 25px;
    padding-left: 37px;
}

.header-title {
    color: #6a8192;
    font-size: 20px;
    line-height: 23px;
    padding: 0 23px;
}

.main {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.instance-switcher-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px;
}

.instance-switcher-title {
    color: #3c4043;
    font-size: 35px;
    line-height: 41px;
}

.instance-switcher-button {
    display: none;
    align-items: center;
    padding-top: 19px;
    color: #ff9621;
    cursor: pointer;
    transition: color 0.3s;
}

.instance-switcher-button:hover {
    color: #f60;
}

.instance-switcher-button-title {
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
}

.instance-switcher-button-icon {
    padding-right: 7px;
}

.instance-switcher-select {
    position: absolute;
    top: 147px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.16);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    max-height: 300px;
    width: 250px;
    overflow-y: auto;
}

.instance-switcher-select :not(:last-child) {
    border-bottom: 1px solid #ecf0f6;
}

.instance-switcher-select-active {
    opacity: 100;
    pointer-events: all;
}

.instance-switcher-option {
    padding: 15px 30px;
    font-size: 16px;
    line-height: 19px;
}

.instance-switcher-option-disabled {
    pointer-events: none;
}

.apps-list {
    display: grid;
    grid-gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(240px, max-content));
    justify-content: center;
}

.empty-apps-list-message {
    font-size: 16px;
    line-height: 19px;
}

.app {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 240px;
    height: 181px;
    text-decoration: none;
    background: #ff9621;
    border-radius: 6px;
    cursor: pointer;
}

.app-disabled {
    cursor: default;
    opacity: 50%;
    pointer-events: none;
}

.app:hover {
    filter: brightness(1.1);
    transition: all 0.3s;
}
.app-icon {
    width: 46px;
    height: 45%;
    padding-top: 5%;
}

.app-title {
    width: 90%;
    display: -webkit-box;
    word-break: break-word;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    padding: 0 5% 0 5%;
    color: #fff;
    font-weight: 500;
    font-size: 20px;
    line-height: 23px;
    overflow: hidden;
}

.bottom {
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    padding: 23px;
    font-weight: 500;
}

.bottom :not(:first-child) {
    margin-left: 45px;
}

@media screen and (max-width: 47.9375em) {
    .bottom {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        flex-shrink: 0;
        margin: 23px;
    }
    .bottom :not(:first-child) {
        margin-top: 15px;
        margin-left: 0;
    }
}

.link {
    color: #ff9621;
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}
