.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    box-sizing: border-box;
    margin-top: -1rem;
}

.login-card {
    background-color: white;
    border-radius: 25px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    text-align: center;
    width: 100%;
    max-width: 1250px;
    box-sizing: border-box;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 1rem;
}

.login-title {
    color: #FF914D;
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.login-phrase {
    color: #10C0DF;
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.field {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
    width: 100%; 
}

.login-input {
    background-color: #D9D9D9;
    border: 1px solid #ccc;
    border-radius: 20px;
    box-sizing: border-box;
    font-size: clamp(0.9rem, 3vw, 1rem);
    padding: 0.75rem 1rem;
    width: 150%; 
    max-width: 1200px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    margin-left: -25%; 
}

.login-input:focus {
    background-color: #ffffff;
    border-color: #10C0DF;
    box-shadow: 0 0 5px rgba(16, 192, 223, 0.5);
    outline: none;
}

.button.login-button {
    background-color: #FF914D;
    border: none;
    border-radius: 25px;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.2);
    color: white;
    font-size: clamp(0.9rem, 3vw, 1rem);
    font-weight: bold;
    padding: 1rem;
    text-align: center;
    width: 100%; 
    max-width: 150px; 
    transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.1s ease;
}

.button.login-button:hover {
    background-color: #a55e32;
    color: #000000;
}

.button.login-button:active {
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
    transform: translateY(2px);
}

.forgot-link {
    color: #10C0DF;
    font-weight: bold;
    text-decoration: none;
    font-size: clamp(0.9rem, 3vw, 1rem);
}

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

.login-text {
    color: #333;
    display: block;
    font-size: clamp(0.9rem, 3vw, 1rem);
    font-weight: bold;
    margin-bottom: -0.3rem;
}

.checkbox {
    display: flex;
    align-items: center;
    font-size: clamp(0.85rem, 2.5vw, 0.95rem);
    font-weight: bold;
    color: #333;
    cursor: pointer;
    margin-top: 0.5rem;
}

input[type="checkbox"].checkbox {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
}

.checkbox:hover input[type="checkbox"] {
    box-shadow: 0 0 3px rgba(16, 192, 223, 0.5);
}

.forgot-wrapper {
    margin-top: 1rem;
    text-align: left;
}

.newaccount-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.2rem;
    margin-top: 0.5rem;
    text-align: center;
    font-size: clamp(0.9rem, 3vw, 1rem);
}

.new-account-link {
    color: #FF914D;
    font-weight: bold;
    text-decoration: none;
}

.new-account-link:hover {
    text-decoration: underline;
}

.login-button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.login-logo img {
    width: clamp(100px, 30vw, 150px) !important;
    height: clamp(100px, 30vw, 150px) !important;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    margin-right: 0.5rem;
    margin-top: -2rem;
}

@media (max-width: 768px) {
    .login-container {
        display: flex;
        justify-content: center;
        align-items: center;
        font-family: Arial, sans-serif;
        padding: 0;
        width: 100%;
        min-height: 100vh;
        box-sizing: border-box;
        margin-top: 2rem;
    }

    .login-card {
        padding: 1.5rem;
        max-width: 90%;
        border-radius: 15px;
        min-height: 90vh;
    }

    .login-input,
    .button.login-button {
        width: 100%; 
        max-width: 100%; 
        margin-left: 0;
    }

    .login-logo img {
        width: clamp(80px, 25vw, 120px) !important;
        height: clamp(80px, 25vw, 120px) !important;
        margin-top: -1rem;
    }

    .forgot-wrapper {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .login-title {
        font-size: clamp(1.2rem, 4vw, 1.5rem);
    }

    .login-phrase {
        font-size: clamp(1rem, 3.5vw, 1.2rem);
    }

    .login-card {
        padding: 1rem;
        min-height: 95vh;
        
    }
}

.has-text-danger{
    color: red;
    margin-top: -0.9rem;
}


.login-error {
    background-color: #ff4c4c;
    color: white;
    padding: 0.2rem;
    width: 30%;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    align-self: center;
}
