/* Login page specific styles */

/* Prevent scroll on login page */
html,
body {
    overflow: hidden;
}

/* Main content area */
.login-main {
    background-color: rgb(235, 235, 235);
    min-height: calc(100vh - 100px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

/* Login panel */
.login-panel {
    background-color: rgb(221, 221, 221);
    border-radius: 4px;
    padding: 40px 50px;
    width: 500px;
    max-width: 90%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* System title */
.system-title {
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
    color: rgb(0, 0, 0);
}

/* Mitutoyo logo */
.mitutoyo-logo {
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Mitutoyo logo */
.mitutoyo-logo img {
    max-width: 200px;
    height: auto;
    display: block;
}

/* Form field */
.form-field {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

/* Form label */
.form-label {
    width: 100px;
    text-align: left;
    color: rgb(0, 0, 0);
    font-size: 14px;
    margin-right: 15px;
    flex-shrink: 0;
}

/* Form input */
.form-input {
    flex: 1;
    padding: 8px;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 4px;
    font-size: 14px;
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
}

/* Password wrapper */
.password-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

/* Password input */
.password-input {
    padding-right: 35px;
}

/* Password toggle */
.password-toggle {
    position: absolute;
    right: 8px;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: opacity 0.2s;
}

/* Password toggle */
.password-toggle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Password toggle */
.password-toggle:hover {
    opacity: 0.7;
}

/* Password reset link */
.password-reset-link {
    text-align: right;
    margin-bottom: 20px;
}

/* Reset link */
.reset-link {
    color: rgb(0, 0, 255);
    text-decoration: none;
    font-size: 14px;
}

/* Reset link */
.reset-link:hover {
    color: rgb(0, 0, 200);
}

/* Login button wrapper */
.login-button-wrapper {
    text-align: center;
    margin-top: 20px;
}

/* Login button */
.login-button {
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    border: 1px solid rgb(0, 0, 0);
    border-radius: 4px;
    padding: 10px 40px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.3);
    transition: border-color 0.2s, box-shadow 0.2s;
}

/* Login button */
.login-button:focus {
    outline: none;
}

/* Login button */
.login-button:active {
    box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.3);
}