* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: sans-serif;
    display: flex;
    min-height: 100vh;
    background-color: #ffffff;
}

.left-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 50%;
    height: 100vh;
    overflow: none;
    scroll-behavior: none;
    background-color: #008D44;
}

.left-container .bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.left-container .branding-content {
    position: relative;
    z-index: 2;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    text-align: center;
}

.left-container .intro1 {
    font-size: 50px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.left-container .intro2 {
    font-size: 32.5px;
    font-weight: 700;
    color: #ffffff;
    margin-top: 10px;
    margin-bottom: 50px;
}

.left-container .logo-icon {
    display: block;
    width: 110px;
    height: auto;
    margin-bottom: 80px;
    margin-top: 30px;
}

.left-container .logo-icon img {
    display: block;
    width: 100%;
    height: auto;
}

.left-container .logo-text {
    display: block;
    width: 440px;
    max-width: 90%;
    height: auto;
}

.left-container .logo-text img {
    display: block;
    width: 100%;
    height: auto;
}

.right-container {
    position: fixed;
    margin-left: 50%;
    width: 50%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    overflow: none;
    scroll-behavior: none;
}

.form-title {
    color: #008D44;
    font-size: 42px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 30px;
}

.login-box {
    width: 350px;
    height: 350px;
    max-width: 420px;
    background-color: #ffffff;
    padding: 45px 35px;
    border-radius: 24px;
    box-shadow: 0 2px 25px rgba(0, 0, 0, 0.13);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.input-box {
    width: 100%;
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 3.8px solid #008D44;
    border-radius: 10px;
    padding: 14px 18px;
}

.input-box input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 16px;
    color: #333333;
    font-weight: 700;
    background: transparent;
}

.input-box input::placeholder {
    color: #8f8f8f;
    font-weight: 700;
}

.btn-wrapper {
    width: 100%;
    margin-top: 10px;
    display: flex;
    text-decoration: none;
    justify-content: center;
}

.login-btn {
    width: 160px;
    padding: 12px 0;
    margin-top: 18px;
    background: #008D44;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.login-btn:hover {
    background: #006B33;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 65px;
    color: #008D44;
    font-size: 30px;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.back-link i {
    font-size: 46px;
}

.back-link:hover {
    transform: scale(1.03);
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media screen and (max-width: 767px) {
    body {
        display: block;
        overflow-x: hidden;
    }

    .page-transition-wrapper {
        position: relative;
        min-height: 100vh;
        height: auto;
        overflow: hidden;
    }

    .left-container {
        position: absolute;
        top: 123px;
        left: 2px;
        width: calc(100% - 4px);
        height: calc(100vh - 123px);
        border-radius: 30px 30px 0 0;
        overflow: hidden;
    }

    .left-container::after {
        position: absolute;
        z-index: 1;
        background: rgba(0, 0, 0, 0.2);
        content: "";
        inset: 0;
        pointer-events: none;
    }

    .left-container .bg-image {
        object-position: center;
    }

    .left-container .branding-content {
        position: absolute;
        inset: 0;
        padding: 0;
        pointer-events: none;
    }

    .left-container .intro1,
    .left-container .intro2 {
        position: absolute;
        right: 0;
        left: 0;
        width: 100%;
        margin: 0;
        line-height: 1.15;
        text-align: center;
    }

    .left-container .intro1 {
        bottom: 171px;
        font-size: 24px;
    }

    .left-container .intro2 {
        bottom: 143px;
        font-size: 16px;
    }

    .left-container .logo-icon,
    .left-container .logo-text {
        position: fixed;
        z-index: 3;
        margin: 0;
    }

    .left-container .logo-icon {
        top: 37px;
        left: calc(50% - 135px);
        width: 48px;
    }

    .left-container .logo-text {
        top: 42px;
        left: calc(50% - 67px);
        width: min(55vw, 205px);
        max-width: none;
    }

    .right-container {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 4;
        width: 100%;
        height: 100vh;
        min-height: 0;
        margin: 0;
        padding: 0;
        display: block;
        overflow: visible;
    }

    .right-container form {
        position: absolute;
        top: 180px;
        left: 50%;
        width: 225px;
        margin: 0;
        transform: translateX(-50%);
    }

    .form-title {
        position: absolute;
        top: 222px;
        left: 50%;
        z-index: 5;
        margin: 0;
        color: #5f5f5f;
        font-size: 22px;
        line-height: 1;
        transform: translateX(-50%);
    }

    .form-title.reveal {
        transform: translateX(-50%) translateY(40px);
    }

    .form-title.reveal.active {
        transform: translateX(-50%);
    }

    .login-box {
        width: 100%;
        height: 300px;
        min-height: 300px;
        max-width: none;
        padding: 76px 20px 20px;
        gap: 10px;
        border-radius: 30px;
        box-shadow: none;
    }

    .input-box {
        width: 100%;
        min-height: 40px;
        padding: 9px 12px;
        border-width: 1px;
        border-radius: 22px;
    }

    .input-box input {
        font-size: 13px;
    }

    .login-btn {
        width: 118px;
        height: 40px;
        margin-top: 4px;
        padding: 0;
        border-radius: 22px;
        font-size: 13px;
    }

    .back-link {
        position: absolute;
        top: 143px;
        left: 20px;
        z-index: 5;
        margin: 0;
        gap: 7px;
        color: #ffffff;
        font-size: 14px;
    }

    .back-link i {
        font-size: 18px;
    }
}