* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(120deg, #0a0f3d, #1e3c72, #2a5298, #ffffff);
    background-size: 400% 400%;
    animation: auroraBoreal 15s ease infinite;
    color: white;
    font-family: 'Segoe UI', sans-serif;
}


@keyframes auroraBoreal {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


#spinnerOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(25, 155, 255);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    text-align: center;
    color: #333;
}

.image-preview-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-preview {
    width: 150px;
    height: 150px;
    border: 2px dashed #ccc;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #f8f8f8;
    margin-bottom: 10px;
    text-align: center;
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-preview p {
    color: #999;
    font-size: 14px;
}

.general {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 98%;

    .formRegister {
        height: 80%;
        margin: 0 auto;
    }

    .title {
        position: relative;
        top: 30px;
    }
}

.formLogin {
    max-width: 400px;
    margin: 50px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', sans-serif;
    transition: 0.3s ease-in-out;

    .login-form h2 {
        text-align: center;
        margin-bottom: 20px;
        color: #333;
    }

    .input-group {
        position: relative;
        display: flex;
        align-items: center;
        margin-bottom: 20px;
    }

    .input-icon {
        background-color: #f0f0f0;
        padding: 16px;
        border-top-left-radius: 8px;
        border-bottom-left-radius: 8px;
        color: #888;
        display: flex;
        align-items: center;
    }

    .input-group .form-control {
        flex: 1;
        padding: 12px;
        border: 1px solid #ccc;
        border-left: none;
        border-top-right-radius: 8px;
        border-bottom-right-radius: 8px;
        transition: border-color 0.2s ease;
    }

    .input-group .form-control:focus {
        border-color: #4a90e2;
        outline: none;
    }

    .pin-input-container {
        display: flex;
        gap: 17px;
        margin-left: 10px;
    }

 

    .pin-input:focus {
        border-color: #4a90e2;
        outline: none;
        background-color: #eef6ff;
    }

    .sms {
        text-align: center;
        margin: 10px 0;
        color: #666;
    }

    .btn-group {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .btn {
        padding: 12px;
        font-size: 16px;
        border-radius: 8px;
        border: none;
        cursor: pointer;
        transition: 0.3s ease;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
    }

    .btn.primary {
        background-color: #4a90e2;
        color: white;
    }

    .btn.primary:hover {
        background-color: #357acb;
    }

    .btn.secondary {
        background-color: #5cb85c;
        color: white;
    }

    .btn.secondary:hover {
        background-color: #4cae4c;
    }

    .btn.outline {
        background: none;
        border: 2px solid #ccc;
        color: #444;
    }

    .btn.outline:hover {
        border-color: #4a90e2;
        color: #4a90e2;
    }


}

#overlay-spinner {
    z-index: 1050;
}

.password-display {
    animation: zoomIn 0.5s ease-in-out;
}

@keyframes zoomIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.text-danger {
    color: #dc3545;
    font-weight: bold;
}

@media screen and (max-width: 740px) {
  .formLogin .btn {
    font-size: 15px;
    padding: 10px;
  }
  .formLogin .input-icon {
    border-radius: 8px 8px 0 0;
    justify-content: center;
  }

  .formLogin .form-control {
    border-radius: 0 0 8px 8px;
    border-left: 1px solid #ccc;
  }
}
