/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #EAF6FF;
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Login Container */
.login-container {
    width: 100%;
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Logo */
.logo-container {
    position: absolute;
    top: 27px;
    left: 35px;
    z-index: 10;
}

.company-logo {
    height: 39.545px;
    width: 163px;
    object-fit: contain;
}

/* Login Card */
.login-card {
    background: white;
    border-radius: 40px;
    box-shadow: 0px 4px 35px 0px rgba(0, 0, 0, 0.08);
    padding: 50px 44px;
    width: 539px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

/* Login Title */
.login-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #000000;
    text-align: center;
    margin: 0;
    width: 100%;
}

/* Form */
form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Form Group */
.form-group-login {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 12px 0;
    width: 100%;
}

.password-group {
    padding-bottom: 30px;
}

.form-label-login {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    margin: 0;
}

/* Input Fields */
.login-input {
    width: 100%;
    max-width: 451px;
    padding: 12px;
    border: 1px solid #4285F4;
    border-radius: 9px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: grey;
    background: white;
}

.login-input:focus {
    border-color: #4285F4;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(66, 133, 244, 0.25);
}

.login-input::placeholder {
    color: grey;
    font-weight: 300;
}

/* Password Input Wrapper */
.password-input-wrapper {
    position: relative;
    width: 100%;
    max-width: 451px;
}

.password-input-wrapper .login-input {
    padding-right: 45px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
}

.password-toggle:hover {
    opacity: 0.7;
}

.eye-icon {
    width: 22px;
    height: 22px;
}

/* Forgot Password Link */
.forgot-password-link {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #0067B4;
    text-decoration: underline;
    text-align: right;
    align-self: flex-end;
    max-width: 451px;
    width: 100%;
}

.forgot-password-link:hover {
    color: #004d87;
}

/* Login Button */
.login-btn {
    width: 301px;
    height: 54px;
    background-color: #01479D;
    border: none;
    border-radius: 10px;
    box-shadow: 0px 4px 19px 0px rgba(119, 147, 65, 0.3);
    font-family: 'Poppins', 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    transition: background-color 0.3s ease;
    margin: 0 auto;
}

.login-btn:hover {
    background-color: #013670;
}

.login-btn:focus {
    background-color: #01479D;
    box-shadow: 0px 4px 19px 0px rgba(119, 147, 65, 0.3);
}

.arrow-icon {
    position: absolute;
    right: 14.97px;
    width: 24.027px;
    height: 36px;
}

/* Register Link */
.register-link {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #0067B4;
    text-decoration: underline;
    text-align: center;
    width: 100%;
}

.register-link:hover {
    color: #004d87;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-container {
        left: 20px;
        top: 20px;
    }

    .company-logo {
        height: 30px;
        width: auto;
    }

    .login-card {
        width: 90%;
        max-width: 539px;
        padding: 30px 24px;
        margin: 80px 20px 20px;
    }

    .login-title {
        font-size: 18px;
    }

    .form-group-login {
        padding: 8px 0 0;
    }

    .login-input,
    .password-input-wrapper {
        max-width: 100%;
    }

    .forgot-password-link {
        max-width: 100%;
    }

    .login-btn {
        width: 100%;
        max-width: 301px;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 25px 20px;
        gap: 20px;
    }

    .login-title {
        font-size: 16px;
    }

    .form-label-login {
        font-size: 14px;
    }

    .register-link {
        font-size: 14px;
    }
}
