﻿body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #4A90E2, #145DA0);
    height: 100vh;
    
}

.div-centre {
    display: flex;
    justify-content: center;
    align-items: center;
}


.login-container {
    background: #ffffff;
    padding: 30px 35px;
    width: 350px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    text-align: center;

}

h2 {
    margin-bottom: 20px;
    color: #333;
}

label {
    display: block;
    font-weight: bold;
    text-align: left;
    margin-top: 10px;
}

input {
    width: 100%;
    padding: 10px;
    margin-top: 6px;
    border: 1px solid #bbb;
    border-radius: 6px;
    font-size: 15px;
}

.password-wrap {
    position: relative;
}

.togglePassword {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 14px;
    color: #007BFF;
}

.btn-login {
    margin-top: 18px;
    width: 100%;
    padding: 12px;
    background: #007BFF;
    border: none;
    color: #fff;
    font-size: 17px;
    border-radius: 6px;
    cursor: pointer;
}

    .btn-login:hover {
        background: #0056b3;
    }

#responseMessage {
    margin-top: 15px;
    min-height: 20px;
    font-weight: bold;
    white-space: pre-wrap;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 3px solid #ddd;
    border-top: 3px solid #333;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
    margin-right: 6px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
