/* --------------------------------------------------
   Global
-------------------------------------------------- */

html,
body {
    height: 100%;
    margin: 0;
    font-family: "Segoe UI", "Open Sans", Arial, sans-serif;
    background: #0f1115;
    color: #fff;
}

body {
    overflow: hidden;
    background:
        radial-gradient(circle at top, #1c2430 0%, #0f1115 45%, #090b0f 100%);
}


/* --------------------------------------------------
   Header
-------------------------------------------------- */

#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    height: 30px;

    display: flex;
    align-items: center;

    padding: 0 32px;

    background: rgba(18, 22, 30, 0.92);
    backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(255,255,255,.08);

    box-shadow: 0 6px 20px rgba(0,0,0,.35);

    z-index: 1000;
}

.deloitte-logo {
    display: flex;
    align-items: center;
}

.logoImage {
    display: block;
    height: 20px;
    width: auto;
}


/* --------------------------------------------------
   Main Layout
-------------------------------------------------- */

#fullPage {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    height: calc(100vh - 72px);

    padding-top: 72px;

    box-sizing: border-box;
}


/* --------------------------------------------------
   Content Area
-------------------------------------------------- */

#iframeContainer {
    width: 100%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;
}


/* --------------------------------------------------
   Status Card
-------------------------------------------------- */

#statusPanel,
.install-panel {

    width: min(460px, 92vw);

    padding: 48px;

    margin: 0;

    text-align: center;

    border-radius: 18px;

    background: rgba(24, 29, 38, 0.92);

    border: 1px solid rgba(255,255,255,.08);

    backdrop-filter: blur(18px);

    box-shadow:
        0 20px 60px rgba(0,0,0,.45);
}

#statusPanel h2,
.install-panel h2 {

    margin: 24px 0 12px;

    font-size: 30px;
    font-weight: 600;

    color: #fff;
}

#statusPanel p,
.install-panel p {

    margin: 0;

    color: #b8c2cc;

    line-height: 1.7;

    font-size: 15px;
}


/* --------------------------------------------------
   Spinner
-------------------------------------------------- */

.spinner {

    width: 72px;
    height: 72px;

    margin: 0 auto;

    border: 5px solid rgba(255,255,255,.08);
    border-top-color: #86bc25;

    border-radius: 50%;

    animation: spin .9s linear infinite;
}


/* --------------------------------------------------
   Buttons
-------------------------------------------------- */

.install-button,
.retry-button {

    display: inline-flex;

    justify-content: center;
    align-items: center;

    min-width: 180px;
    height: 48px;

    margin-top: 28px;

    padding: 0 24px;

    border: none;
    border-radius: 10px;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    transition: .2s;
}

.install-button {

    background: #86bc25;
    color: #fff;
}

.install-button:hover {

    background: #99d72d;
}

.retry-button {

    margin-left: 12px;

    background: #394150;
    color: #fff;
}

.retry-button:hover {

    background: #495364;
}


/* --------------------------------------------------
   iframe
-------------------------------------------------- */

iframe {

    width: 100%;
    height: 100%;

    display: block;

    border: 0;
}


/* --------------------------------------------------
   Animation
-------------------------------------------------- */

@keyframes spin {

    to {
        transform: rotate(360deg);
    }

}


/* --------------------------------------------------
   Mobile
-------------------------------------------------- */

@media (max-width: 768px) {

    #header {

        justify-content: center;

        padding: 0 20px;
    }

    #statusPanel,
    .install-panel {

        padding: 32px 24px;
    }

    .install-button,
    .retry-button {

        width: 100%;

        margin: 12px 0 0;
    }

    .retry-button {

        margin-left: 0;
    }
}