﻿body {
    color: #2b3e51;
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", sans-serif;
}

h2 {
    font-weight: 500;
    text-align: center;
    color: white;
    margin: 0;
    line-height: 44px;
}

p {
    margin: 15px 0;
}

#login-form-wrap {
    background-color: #fff;
    width: 100%;
    max-width: 380px;
    margin: 40px auto;
    text-align: center;
    padding-top: 0;
    padding-bottom: 20px;
    border-radius: 4px;
    box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.1);
}

#login-form {
    padding: 0 20px;
}

input[type="text"],
input[type="password"] {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 40px;
    padding: 0 10px;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

    input[type="text"]:focus,
    input[type="password"]:focus {
        border-color: #3ca9e2;
    }

input[type="submit"] {
    width: 100%;
    background-color: #3ca9e2;
    border: none;
    color: white;
    padding: 10px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

    input[type="submit"]:hover {
        background-color: #238ac9;
    }

#errmsg,
#errmsg_pass {
    color: red;
    font-size: 12px;
    margin-top: 5px;
    text-align: left;
}

.password-wrapper {
    position: relative;
}

    .password-wrapper input {
        padding-right: 35px;
    }

.toggle-password {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #007bff;
}

    .toggle-password:hover {
        color: #ff3f33;
    }

@media (max-width: 600px) {
    #login-form-wrap {
        width: 90%;
        margin: 20px auto;
        box-shadow: none;
    }

    h2 {
        font-size: 18px;
    }

    input[type="submit"] {
        font-size: 14px;
    }
}
