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

body,
html {
    height: 100%;
    font-family: 'Roboto', sans-serif;
    background: url('https://jpgstaff.csawebapp.com/assets/csa/images/background.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Layout */
.container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px;
}

.login-card {
    position: relative;
    background: #f2f2f2;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.logo {
    width: 150px;
    margin-bottom: 20px;
}

.login-card h2 {
    font-size: 18px;
    margin-bottom: 8px;
}

.login-card p {
    font-size: 14px;
    color: #333;
    margin-bottom: 20px;
}

/* Form */
.login-form input {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: border 0.3s ease;
    font-size: 14px;
}

.tooltip-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.custom-tooltip {
    visibility: hidden;
    opacity: 0;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 8px;
    border-radius: 5px;
    position: absolute;
    bottom: 110%;
    left: 0;
    z-index: 10;
    transition: opacity 0.3s;
    width: 100%;
    font-size: 0.85em;
}

.login-form input:focus {
    outline: none;
    border-color: #007bff;
}

.login-form button {
    width: 100%;
    background: #00a2a8;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.login-form button:hover {
    background: #08878c;
}

.forgot-password {
    display: block;
    margin-top: 12px;
    font-size: 13px;
    color: #3333ff;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.version-label {
    position: absolute;
    bottom: -5px;
    /* distance from bottom */
    right: 30px;
    /* distance from right */
    font-size: 10px !important;
    /* small font */
    color: darkred;
    /* subtle gray text */
}

/* Responsive */
@media (max-width: 480px) {
    .login-card {
        padding: 30px 20px;
    }

    .logo {
        width: 100px;
    }
}