﻿body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #f2f5f9;
}

.header {
    background: #004b8d;
    padding: 12px 20px;
    color: #fff;
}

.header-left {
    display: flex;
    align-items: center;
}

.logo {
    width: 55px;
    margin-right: 12px;
}

.header h1 {
    margin: 0;
    font-size: 18px;
}

.header p {
    margin: 0;
    font-size: 12px;
}

.container {
    max-width: 380px;
    margin: 40px auto;
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 18px rgba(0,0,0,.1);
    text-align: center;
}

    .container h2 {
        color: #004b8d;
        margin-bottom: 20px;
    }

.textbox {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    margin-top: 10px;
    cursor: pointer;
    font-size: 15px;
}

.primary {
    background: #004b8d;
    color: #fff;
    transition: .3s;
}

    .primary:hover {
        background: #0066c0;
    }

.secondary {
    background: #ccc;
    transition: .3s;
}

    .secondary:hover {
        background: #aaa;
    }

.error {
    color: red;
    margin-bottom: 10px;
    display: block;
}

.success {
    color: green;
    margin-bottom: 10px;
    display: block;
}

/* LOADER */
#loaderOverlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.45);
    top: 0;
    left: 0;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loaderBox {
    background: #fff;
    padding: 25px 30px;
    border-radius: 10px;
    text-align: center;
}

.spinner {
    width: 45px;
    height: 45px;
    border: 5px solid #ddd;
    border-top: 5px solid #004b8d;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: auto;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
