﻿.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 5px solid #ccc;
    border-top: 5px solid #000;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
    margin-bottom: 12px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


form {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.container-form {
    box-shadow: 5px 10px 15px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40%;
    background: #ffffff;
    overflow: hidden;
    position: relative;
    border-radius: 2.5px;
    margin: 30px auto;
}

.title {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #e7e7e7;
    margin-bottom: 15px;
    padding: 15px 0;
}

    .title p {
        font-size: 34px;
        font-family: 'Upbolters', Arial;
        margin: 0;
    }

.logo {
    width: 40%;
    z-index: 2;
}

.ama-logo {
    width: 100%;
}

.inputs-container {
    width: 85%;
    margin-top: 40px;
    z-index: 3;
}

.input {
    display: flex;
    flex-direction: column;
    width: 100%;
    font-size: 16px;
    margin-bottom: 15px;
}

    .input:last-child {
        margin-bottom: 25px;
    }

.text-box {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid #e7e7e7;
    outline: none;
    transition: all .25s ease;
    background: transparent;
}

    .text-box:focus {
        border-bottom: 1px solid #005da8;
    }

    .text-box::placeholder {
        color: #e7e7e7;
    }

.button-container {
    width: 85%;
}

.submit-button {
    width: 100%;
    padding: 15px 0;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    background-color: #005da8;
    color: #ffffff;
    border: none;
    transition: all .25s ease;
}

    .submit-button:hover {
        transform: scale(1.01);
        box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.35);
    }

.error-container {
    margin-top: 20px;
    width: 85%;
    font-size: 16px;
    text-align: center;
    z-index: 1;
}

.member-assistance {
    margin-top: 30px;
    text-align: center;
    font-size: 14px;
    line-height: 1;
}

.member-link {
    text-decoration: underline;
}

.watermark-bkg {
    position: absolute;
    z-index: 1;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    opacity: .5;
}

footer {
    margin-bottom: 15px;
}

.input {
    display: flex;
    flex-direction: column;
    width: 100%;
    font-size: 16px;
    margin-bottom: 15px;
}

.input-with-icon {
    position: relative;
    display: inline-block;
}

    .input-with-icon input {
        padding-right: 30px;
    }

    .input-with-icon button {
        position: absolute;
        right: 8px;
        top: 50%;
        transform: translateY(-50%);
        border: none;
        background: transparent;
        cursor: pointer;
        padding: 0;
        color: #000;
    }

@media screen and (max-width: 768px) {
    form {
        align-items: stretch;
    }

    .container-form {
        width: 100%;
        height: 100%;
        box-shadow: none;
        justify-content: space-evenly;
    }

    .container {
        width: 100%;
    }
}
