.image {
    display: block;
    width: 600px;
    height: 600px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

body {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("PLMAR-GH.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}

.container {
    position: relative;
    max-width: 430px;
    width: 100%;
    display: inline-block;
    background-image: url("logo.png");
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    margin: 0 20px;
}

.container .forms {
    display: flex;
    align-items: center;
    height: 440px;
    width: 200%;
    transition: height 0.2s ease;
}

.container .form {
    width: 50%;
    padding: 30px;
    background-color: #fff;
    transition: margin-left 0.18s ease;
}

.container.active .login {
    margin-left: -50%;
    opacity: 0;
    transition: margin-left 0.18s ease, opacity 0.15s ease;
}

.container .signup {
    opacity: 0;
    transition: opacity 0.09s ease;
}

.container.active .signup {
    opacity: 1;
    transition: opacity 0.2s ease;
}

.container.active .forms {
    height: 600px;
}

.container .form .title {
    position: relative;
    font-size: 27px;
    font-weight: 600;
}

.form .title::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 30px;
    border-radius: 25px;
}

.form .input-field {
    position: relative;
    height: 50px;
    width: 100%;
    margin-top: 30px;
    margin-left: 20px;
    align-items: center;
}

.input-field input {
    position: absolute;
    height: 100%;
    width: calc(100% - 40px);
    padding-left: 40px;
    border: none;
    outline: none;
    font-size: 16px;
    border-bottom: 2px solid #ccc;
    border-top: 2px solid transparent;
    transition: all 0.2s ease;
    left: 0;
}

.input-field input:is(:focus, :valid) {
    border-bottom-color: #4070f4;
}

.input-field i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 23px;
    transition: all 0.2s ease;
}

.input-field input:is(:focus, :valid) ~ i {
    color: #4070f4;
}

.input-field i.icon {
    left: 0;
}

/* 🔹 Align Checkbox & Text */
.terms-container {
    display: flex;
    align-items: center;
    font-size: 14px;
    margin-top: 15px;
}

/* 🔹 Space between checkbox & text */
.terms-container input {
    margin-right: 8px;
}

/* 🔹 Align the links and '|' properly */
.terms-links {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}


.form .text {
    color: #333;
    font-size: 14px;
}

.form a.text {
    color: #4070f4;
    text-decoration: none;
    display: inline-block;
    margin: 0; /* No weird spacing */
}

.form a:hover {
    text-decoration: underline;
}

a:link, a:visited {
    border-radius: 6px;
    color: rgb(14, 23, 197);
    margin: auto;
    padding: 14px 25px;
    align-items: center;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.logo {
    margin-bottom: 15px;
}

.logo img {
    width: 60px;
}

.container1 {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 450px;
    padding: 20px;
    text-align: center;
}

.container1 img {
    width: 80px;
    margin-bottom: 10px;
}

.container1 h1 {
    font-size: 25px;
    margin-bottom: 20px;
}

.container1 p {
    font-size: 13px;
    margin: 0px;
    color: rgb(10, 10, 61);
}

.links {
    font-size: 0.9rem;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.links a {
    text-decoration: none;
    color: #041b38;
    background-color: rgb(255, 255, 255);
}

.links span {
    color: rgb(7, 31, 247);
}

.links a:hover {
    text-decoration: underline;
}
