:root {
    --green-dark: #00563f;
    --green-light: #008060;
    --white: #ffffff;
    --black: #000000;
    --coffee-brown: #4b3621;
}

.svg-mb {
    display: none;
}

.login-wrapper {
    height: 100vh;
    justify-content: center;
    align-items: center;
    display: flex;
    margin-top: 50px;
}

@media (max-width: 992px) {
    .login-wrapper {
        margin-top: 150px;
        margin-bottom: 150px;
    }
}

.login-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.svg-wave svg {
    width: 100%;
    height: 100%;
}

.img-anime {
    width: 100%;
    height: 60%;
    right: -3%;
}

.small-deco {
    position: absolute;
    width: 55px;
    opacity: 0.9;
    animation: float 3s ease-in-out infinite alternate;
    filter: brightness(0) invert(1);
}

.deco1 {
    top: 15px;
    right: 15px;
}

.deco2 {
    top: 10%;
    right: 65%;
    width: 35px;
}

.deco3 {
    bottom: 12%;
    right: 18%;
    width: 35px;
}

@keyframes float {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-6px);
    }
}

.login-container {
    width: 100%;
    padding: 40px 30px;
    text-align: center;
}

.form-title {
    font-weight: 800;
    font-size: 20px;
    background: linear-gradient(135deg, #00563f, #00a878);
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

@keyframes showTitle {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.line-wave {
    display: block;
    width: 140px;
    height: 16px;
    margin: 3px auto 0;
    background: linear-gradient(90deg, #00664e74, #00a878, #00b188);
    -webkit-mask: url("data:image/svg+xml,%3Csvg width='140' height='16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 10 Q35 2 70 10 T135 10' stroke='black' stroke-width='4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg width='140' height='16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 10 Q35 2 70 10 T135 10' stroke='black' stroke-width='4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center;
}

.login-form input {
    width: 100%;
    padding: 13px 15px;
    margin: 10px 0;
    border-radius: 10px;
    border: 1px solid #d8e8e2;
    background: linear-gradient(135deg, #e6f3ef 0%, #ffffff 90%);
    transition: 0.25s ease;
    font-size: 14px;
}

.login-form input:focus {
    border-color: #008060;
    background: linear-gradient(135deg, #dff0ea 0%, #ffffff 100%);
    outline: none;
}

.login-form input::placeholder {
    color: #9bb7ad;
    transition: 0.25s ease;
}

.login-form input:focus::placeholder {
    color: #7aa89e;
}

.password-wrapper {
    position: relative;
}

.eye-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--green-dark);
}

.btn-signin {
    width: 100%;
    padding: 10px;
    margin-top: 20px;
    background: linear-gradient(135deg, var(--green-light), var(--green-dark));
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-weight: 700;
    transition: 0.2s;
}

.btn-signin:hover {
    background: linear-gradient(135deg, var(--green-dark), var(--green-light));
    filter: brightness(1.15);
    transform: translateY(-2px);
}

.signup-text {
    font-size: 14px;
    margin-top: 40px;
    margin-bottom: 30px;
}

.signup-text a {
    text-decoration: none;
    color: #008060;
    font-weight: 800;
    font-size: 14px;
}

.divider {
    margin: 20px 0;
    color: var(--green-dark);
    display: flex;
    align-items: center;
    font-weight: 900;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #ccc;
}

.divider span {
    padding: 0 10px;
}

.social-login {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--green-light), var(--green-dark));
    color: #dec9b5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    transition: transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.social-btn:hover {
    transform: scale(1.08);
}

@media (max-width: 992px) {
    .svg-wave {
        display: none;
    }
    .svg-mb {
        display: block;
    }
    .svg-mb svg {
        width: 500%;
        height: 40vh;
        right: -30%;
        position: relative;
    }
    .login-card {
        border-radius: 15px;
    }
    .img-anime {
        width: 40%;
        height: 93%;
        right: -30%;
        top: -7%;
    }
    .deco1 {
        top: 10px;
        right: 55%;
    }
    .deco3 {
        right: 45%;
        width: 20px;
    }
    .deco2 {
        top: 50%;
        right: 90%;
        width: 32px;
    }
}

@media (max-width: 768px) {
    .left-items {
        min-height: 170px;
    }
    .img-anime {
        width: 57%;
        height: 86%;
        right: -24%;
    }
    .deco1 {
        right: 75%;
        width: 40px;
    }
    .deco2 {
        top: 50%;
        right: 58%;
        width: 32px;
    }
    .deco3 {
        right: 92%;
        width: 20px;
        bottom: 10px;
    }
}

@media (max-width: 510px) {
    .img-anime {
        width: 60%;
        height: 90%;
        right: -23%;
        top: 0%;
    }
}

.invalid-feedback {
    display: block;
    font-size: 13px;
    text-align: right !important;
}

.invalid-feedback span strong {
    color: red;
    font-size: 13px;
    text-align: right !important;
}