*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body{
    height: 100%;
}
body{
    font-family: 'Arial', sans-serif;
/*  background-color: #f5f5f5;*/
    font-size: 1rem;
    line-height: 1.55;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(45deg, rgba(0, 0, 0, .15), rgba(0, 0, 0, .5)), url("../images/bg-image.jpg") center center;
    background-size: cover;
}

.login-card {
    width: 700px;
    display: flex;
    flex-direction: column; /* stack by default (mobile first) */
    justify-content: space-between;
    background-color: transparent;
    backdrop-filter: blur(10px);
    border: 1px solid #fff;
    border-radius: 15px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Intro section */
.login-intro {
    flex-basis: 45%;
    text-align: center;
    padding: 4rem 3rem;
    border-radius: 15px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%);
}

.login-intro h2{
    font-weight: 600;
    font-size: 25px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.login-intro h4{
    font-weight: normal;
}

.login-image {
    max-width: 120px;
    height: auto;
    margin-bottom: 10px;
}

/* Form section */
.login-form {
    flex-basis: 55%;
    padding: 4rem 3rem;
    text-align: center;
}

.login-form p + p{
    margin-top: .95rem;
}

.login-heading {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3.5rem;
    color: #fff;
}

.input{
    padding: 1rem;
    display: block;
    width: 100%;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, .15);
}
.input:focus{
    border-color: #3498db;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px 0 rgba(0, 0, 0, .06);
}

/* Validation styling (Bootstrap 3 style) */
/*input:focus {
    box-shadow: none;
}

input:invalid.ng-touched,
input:invalid:focus {
    border-color: #a94442;
}

input:valid {
    border-color: #3c763d;
}*/

input.submit{
    background-color: #3498db;
    cursor: pointer;
    color: #fff;
    border: none;
}
input.submit:hover{
    filter: brightness(110%);
}

/* Helper links */
.login-helper {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 10px;
    margin-top: 15px;
    font-size: 14px;
}

.login-helper span{
    display: block;
    text-align: center;
}

.login-helper a{
    text-decoration: none;
    color: #fff;
}

.login-helper a:hover{
    text-decoration: underline;
    color: #fff;
}

/* ✅ Desktop layout (optional side-by-side) */
@media (min-width: 768px) {
    .login-card {
        flex-direction: row;
        max-width: 600px;
    }

    .login-intro,
    .login-form {
        width: 50%;
    }

    .login-intro {
        text-align: center;
        padding-right: 20px;
        border-right: 1px solid #eee;
    }

    .login-form {
        padding-left: 20px;
    }
}
