* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body,html {
    height: 100%;
    font-family: Poppins,sans-serif;
    background: #f5f5f5;
    color: #333
}

.custom-container {
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: #fff;
    box-shadow: 0 6px 16px rgba(0,0,0,.1);
    border-radius: 16px;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 24px;
    overflow: hidden
}

.slide {
    flex: 1 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: fadeIn .8s ease;
    text-align: center
}

.slide.d-none {
    display: none
}

.slide.d-flex {
    display: flex
}

.slide i,.slide img {
    margin-bottom: 32px
}

.slide img {
    width: 120px
}

.slide i {
    font-size: 64px;
    color: #28a745
}

.progress {
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 60px
}

.progress-bar {
    height: 100%;
    background: #0051A1
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 16px
}

.overlay.show {
    display: flex
}

.spinner {
    width: 50px;
    height: 50px;
    border: 6px solid #f3f3f3;
    border-top-color: #0051a1;
    border-radius: 50%;
    animation: spin 1s linear infinite
}

@keyframes spin {
    to {
        transform: rotate(1turn)
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: scale(1)
    }
}

@media (max-width: 400px) {
    body {
        font-size:16px
    }

    .custom-container {
        padding: 16px;
        border-radius: 0
    }

    .slide img {
        width: 100px;
        margin-bottom: 28px
    }

    .slide i {
        font-size: 56px;
        margin-bottom: 28px
    }

    h1 {
        font-size: 24px;
        margin-bottom: 12px
    }

    p {
        font-size: 16px;
        margin-bottom: 32px
    }

    .progress {
        height: 5px;
        margin-bottom: 50px
    }

    .buttons {
        padding: 16px
    }

    .buttons .btn {
        padding: 16px 0;
        font-size: 16px
    }
}

.bg-primary {
    background-color: #0051A1!important
}

.dot-loading {
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    animation: pulse 1s ease-in-out infinite
}

.dot-loading:nth-child(2) {
    animation-delay: .2s
}

.dot-loading:nth-child(3) {
    animation-delay: .4s
}

@keyframes pulse {
    0%,80%,to {
        transform: scale(.8);
        opacity: .5
    }

    40% {
        transform: scale(1.4);
        opacity: 1
    }
}


header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    padding: 0 24px;
    justify-content: space-between;
    background-color: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
    z-index: 1000;
    font-family: Segoe UI,sans-serif
}

#notificationBadge,header {
    display: flex;
    align-items: center
}

#notificationBadge {
    position: absolute;
    top: -4px;
    right: -6px;
    background: red;
    color: #fff;
    font-size: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 0 2px rgba(0,0,0,.4)
}

#notificationPopup {
    display: none;
    position: absolute;
    top: 42px;
    right: 0;
    width: 270px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
    border-radius: 10px;
    padding: 16px;
    font-size: 14px;
    color: #333;
    animation: fadeIn .3s ease;
    z-index: 1001
}

.spinner {
    border: 5px solid #f3f3f3;
    border-top-color: #28a745;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite
}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(1turn)
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-10px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}
