﻿body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Tahoma, Verdana, Geneva, sans-serif;
    font-size: 16px;
}

[hidden] {
    display: none !important;
}

.cursor-pointer {
    cursor: pointer;
}

.pcm-color {
    color: #7b204f !important;
}

.notification {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    top: 20px;
    left: 20px;
    background: rgb(239, 83, 80);
    padding: 10px 20px;
    color: #fff;
    position: absolute;
    border-radius: 3px;
    animation: 0.7s ease-out 0s 1 slide-in;
    font-size: inherit;
    margin-right: 20px;
}

    .notification.success {
        color: #155724;
        background-color: #d4edda;
        border-color: #c3e6cb;
    }

    .notification .notification-icon {
        font-size: 30px;
    }

    .notification .notification-content {
    }

    @keyframes slide-in {
        0% {
        transform: translateX(-100%)
    }
    100% {
        transform: translateX(0%);
    }
}

.pcm-layout {
    display: flex;
    height: 100vh;
    background: url(/main_background.jpg);
    background-size: cover;
    justify-content: center;
    align-items: center;
    position: relative;
}

    .pcm-layout #system-requirements {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translateX(-50%) translateY(-50%);
        z-index: 6;
        display: none;
    }

    .pcm-layout #overlay {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        z-index: 5;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0, 0.4);
    }

    .pcm-layout .login-card {
        min-width: 240px;
        max-width: 240px;
        width: 240px;
    }

    .pcm-layout .logo-container {
        margin-bottom: 10px;
    }

    .pcm-layout .input-container {
        position: relative;
    }

        .pcm-layout .input-container > .icon {
            position: absolute;
            left: 0;
            top: 2px;
            left: 5px;
            font-size: 20px;
            color: rgb(135, 135, 135);
        }

        .pcm-layout .input-container > .icon.pull-right {
            left: unset;
            right: 5px;
        }

    .pcm-layout .input-container input {
        padding: 6px 8px 6px 27px;
        font-family: inherit;
        font-size: 12pt;
        border: none;
        width: 100%;
        box-sizing: border-box;
        outline: none;
        background: #ffffffe5;
        border-radius: 3px;
        height: 32px;
        margin-bottom: 10px;
        font-size: inherit;
        font-family: inherit;
    }

        .pcm-layout .input-container input.input-validation-error {
            border: 1px solid rgb(239, 83, 80) !important;
        }

    .pcm-layout .action-button {
        text-decoration: none;
        display: inline-block;
        cursor: pointer;
        outline: none;
        border: none;
        background-color: #7b204f;
        color: #fff;
        text-align: left;
        padding: 6px 8px 6px 27px;
        border-radius: 3px;
        width: 100%;
        height: 32px;
        margin: 0 0;
        margin-bottom: 10px;
        font-size: inherit;
        font-family: inherit;
        position: relative;
        box-sizing: border-box;
    }

        .pcm-layout .action-button.inverted {
            background-color: #fff;
            color: #7b204f;
        }

        .pcm-layout .action-button.inverted .icon {
            color: #7b204f;
        }

        .pcm-layout .action-button .icon {
            position: absolute;
            left: 5px;
            top: 2px;
            font-size: 20px;
            color: #fff;
        }

    .pcm-layout .link-box {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        background: #ffffffe5;
        padding: 0 10px;
        border-radius: 3px;
        margin-bottom: 10px;
    }

    .pcm-layout .forgot-password-box h5 {
        margin: 10px 0;
    }

    .pcm-layout .forgot-password-box {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        background: #ffffffe5;
        padding: 0 10px;
        border-radius: 3px;
        margin-bottom: 10px;
        padding-bottom: 10px;
    }

        .pcm-layout .forgot-password-box div {
            font-size: 12px;
            color: #878787;
        }

        .pcm-layout .link-box .link {
            padding: 5px 0;
        }

            .pcm-layout .link-box .link a,
            .pcm-layout .link-box .link span,
            .pcm-layout .link-box .link a:visited {
                color: #7b204f;
                text-decoration: none;
                cursor: pointer;
                font-size: 95%;
            }

.system-requirements-box {
    display: flex;
    flex-direction: column;
    box-shadow: 0px 0px 12px 8px rgba(0,0,0,0.4);
    max-width: 800px;
    border-radius: 3px;
}

    .system-requirements-box .system-requirements-header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        background-color: #7b204f;
        color: #fff;
        padding: 0 20px;
        font-weight: 600;
        border-top-left-radius: 3px;
        border-top-right-radius: 3px;
        font-size: 18px;
    }

        .system-requirements-box .system-requirements-header .actions {
            display: flex;
            gap: 10px;
            font-size: 28px;
        }

            .system-requirements-box .system-requirements-header .actions .icon {
                cursor: pointer;
            }

            .system-requirements-box .system-requirements-content {
                background-color: #fff;
                padding: 10px 20px;
                border-bottom-left-radius: 3px;
                border-bottom-right-radius: 3px;
            }

        .system-requirements-box .system-requirements-content ul {
            margin-top: 10px;
            margin-bottom: 20px;
        }

        .system-requirements-box .system-requirements-content ul li {
            font-size: 12px;
        }

        .system-requirements-box .system-requirements-content .section-header {
            font-weight: 600;
        }


        .system-requirements-box .system-requirements-content .hint-text {
            font-weight: 600;
            font-size: 14px;
        }

        .system-requirements-box .system-requirements-content .foot-notes {
            margin-top: 40px;
            font-size: 12px;
        }

.two-factor-spinner {
    position: relative;
    background-color: transparent;
    box-sizing: border-box;
    font-size: 58pt;
    z-index: 10;
    color: #7b204f;
    position: absolute;
    left: 50%;
    top: calc(50% - 40px);
    transform: translateX(-50%) translateY(-50%);
}

    .two-factor-spinner.hidden {
        display:none;
    }

    .two-factor-spinner:after {
        margin-top: -0.25em;
        margin-left: -0.25em;
        width: 0.5em;
        height: 0.5em;
        animation: rotation reverse 1.4s linear infinite;
    }


    .two-factor-spinner:before {
        margin-top: -0.5em;
        margin-left: -0.5em;
        width: 1em;
        height: 1em;
        animation: rotation 0.7s linear infinite;
    }

    .two-factor-spinner:before,
    .two-factor-spinner:after {
        position: absolute;
        top: 50%;
        left: 50%;
        display: inline-block;
        content: '';
        box-sizing: inherit;
        border-radius: 50%;
        border-width: 0.05em;
        border-style: solid;
        border-color: currentColor;
        border-top-color: transparent;
        border-bottom-color: transparent;
        background-color: transparent;
        border-width: 1px;
        color: var(--ci-color100);
    }



.two-factor-box {
    max-width: 520px;
    background: rgba(255,255,255,180);
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0px 0px 12px 8px rgba(0,0,0,0.4);
}

    .two-factor-box > .two-factor-box-header {
        background-color: #7b204f;
        color: white;
        border-top-left-radius: 3px;
        border-top-right-radius: 3px;
        display: flex;
        align-items:center;
        padding: 0 10px;
    }

        .two-factor-box > .two-factor-box-header .actions {
            margin-left: auto;
        }

        .two-factor-box > .two-factor-box-header .actions .icon {
            color: white;
            text-decoration: none;
            font-size: 22pt;
        }

        .two-factor-box > .two-factor-box-content {
            padding: 20px;
        }

        .two-factor-box > .two-factor-box-content > .two-factor-code-wrapper {
            margin: 10px 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }

            .two-factor-box > .two-factor-box-content > .two-factor-code-wrapper .input-container {
                max-width: 220px;
            }

            .two-factor-box > .two-factor-box-content > .two-factor-code-wrapper input {
                border: 1px solid lightgray;
            }

        .two-factor-box > .two-factor-box-content > .two-factor-button-wrapper {
            display: flex;
            justify-content: center;
        }

        .two-factor-box > .two-factor-box-content > .two-factor-button-wrapper button {
            max-width: 150px;
        }








@keyframes rotation {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}