/* Make sure the full page can flex-center properly */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
html, body, button, input, textarea, select, options {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}
/* Turn body into the flex container that centers .login-page */
body {
    display: flex;
}

/* Page wrapper */
.login-page {
    flex: 1;                        /* take full height inside body */
    display: flex;
    align-items: center;            /* vertical centering */
    justify-content: center;        /* horizontal centering */
    background: #ffffff;
    padding: 20px;
    box-sizing: border-box;
}

/* Login box */
.login-wrapper {
    width: 100%;
    max-width: 420px;
    background: #fff;
    padding: 2rem;
    border-radius: 0.75rem;
    color: #e5e7eb;
}

/* Titles */
.login-title {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    text-transform: none;
    text-align: center;
    letter-spacing: 0px;
    line-height: 62px;  
    margin-bottom: 0.4rem;
    color: #2e2b29ff;
}

.login-subtitle {
    text-align: center;
    color: #2e2b29ff;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* Error box */
.login-error {
    background: #fee2e2;
    color: #991b1b;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Form */
.login-form label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
    color: #2e2b29ff;
}

.login-input {
    width: 100%;
    padding: 0.85rem;
    border-radius: 6px;
    border: 0;
    background: #DEDEDE;
    color:  #2e2b29ff;
    margin-bottom: 1.3rem;
    font-size: 1rem;
    box-sizing: border-box;
}

.login-input:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 2px rgba(59,130,246,0.4);
}

/* Button */
.login-button {
    width: 100%;
    background: #5DCF83;
    border: none;
    padding: 0.85rem;
    border-radius: 6px;
line-height: 1.5;
    font-size: 1rem;
    color: rgb(3, 3, 3);
    cursor: pointer;
    margin-top: 0.5rem;
}

.login-button:hover {
    background: #2563eb;
}
.login-extra a {
    margin-top: 20px;
}
.login-extra a {
    color: #f9f9f9;
    font-size: 14px;
    text-decoration: none;
}
/* Mobile tweaks */
@media (max-width: 480px) {
    .login-wrapper {
        max-width: 100%;
        padding: 1.5rem;
        border-radius: 0.65rem;
    }

    .login-title {
        font-size: 1.5rem;
    }

    .login-subtitle {
        font-size: 0.9rem;
    }

    .login-button {
        padding: 0.75rem;
        font-size: 0.95rem;
    }
}
input[type="text"] {
     width: 100px; 
     box-sizing: border-box;
     -webkit-box-sizing:border-box;
     -moz-box-sizing: border-box;
}