body {
    font-family: 'Roboto', sans-serif;
    background-color: #1b2838;
    color: #c4c4c4;

    text-align: center;

    padding-top: 10px;
}

a {
    color: #c4c4c4;
}

#loader-view, #confs-loading {
    text-align: center;
}

#main-app-view, #fatal-error-view, #no-confs-msg, #configure-server-view {
    display: none;
}

#fatal-error-view {
    font-size: 24px;
    font-weight: 300;
}

.loader-cube {
    animation: loaderCube 1.8s cubic-bezier(0.75, 0, 0.5, 1) infinite;
    width: 30px;
    height: 30px;
    background-color: #c4c4c4;
    margin: auto;
}

@keyframes loaderCube {
    50% {
        border-radius: 50%;
        transform: scale(0.5) rotate(360deg);
    }

    100% {
        transform: scale(1) rotate(720deg);
    }
}

button {
    border: 0;
    background-color: #c4c4c411;
    cursor: pointer;

    color: #c4c4c4;
    padding: 5px 10px;
}

button:hover, button:active {
    background-color: #c4c4c433;
}

p {
    margin: 0;
}

#account-info {
    margin-bottom: 50px;
}

#refresh-btn {
    margin-top: 5px;
}

#accept-all-btn {
    margin: 20px auto 0;
    font-size: 24px;
}

#no-confs-msg {
    font-weight: 300;
    font-size: 24px;
}

#accept-all-btn, #no-confs-msg, #confs-container {
    display: none;
}

#main-app-view.has-confirmations #accept-all-btn,
#main-app-view.has-confirmations #confs-container {
    display: block;
}

#main-app-view:not(.has-confirmations) #no-confs-msg {
    display: block;
}

.confirmation {
    border-radius: 5px;
    background-color: #c4c4c411;

    margin: 0 auto 5px;

    height: 74px;
    max-width: 750px;

    position: relative;
}

.confirmation .loader-cube {
    position: absolute;
    top: 22px;
    right: 22px;

    display: none;
}

.confirmation.loading .loader-cube {
    display: block;
}

.confirmation.loading .action {
    display: none;
}

.confirmation .icon {
    position: absolute;
    top: 5px;
    left: 5px;

    width: 64px;
    height: 64px;
}

.confirmation .type-desc {
    position: absolute;
    bottom: 5px;
    right: 143px;

    text-transform: uppercase;
    font-size: 12px;
    font-weight: 300;
    opacity: 0.3;
}

.confirmation .headline {
    position: absolute;
    top: 5px;
    left: 74px;

    font-weight: 500;
    font-size: 20px;
}

.confirmation .summary {
    position: absolute;
    top: 31px;
    left: 74px;

    font-weight: 300;
    font-size: 16px;

    text-align: left;
}

.confirmation .action {
    width: 64px;
    height: 64px;
    padding: 0;
}

.confirmation .accept {
    position: absolute;
    top: 5px;
    right: 5px;

    font-size: 36px;
    color: #0f0;
}

.confirmation .cancel {
    position: absolute;
    top: 5px;
    right: 74px;

    font-size: 64px;
    line-height: 64px;
    color: #f00;
}

/* Configure UI stuff */

.configure-server-link {
    display: block;
    font-size: 14px;
    margin-top: 50px;
}

#twofa-server-url {
    font-size: 16px;

    border: 0;
    outline: 0;
    padding: 5px;
    background-color: #c4c4c411;
    color: #c4c4c4;
}

#twofa-server-url:hover, #twofa-server-url:focus {
    background-color: #c4c4c422;
}

#twofa-server-save-btn {
    display: block;

    margin: 10px auto;
    padding: 5px 15px;

    font-size: 20px;
}
