html,
body {
    height: 100%;
}

/* จัดกลางหน้าจอ */
.login-page {
    /*min-height: 100vh;*/
    display: flex;
    justify-content: center;
    align-items: center;
    /*margin-top: 10%;*/
}

/* กล่อง Login */
.login-card {
    background: #fff;
    width: 100%;
    max-width: 420px;
    padding: 32px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* หัวข้อ */
.title {
    margin-bottom: 24px;
    font-size: 22px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* input */
.login-card input[type="text"],
.login-card input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 16px;
    border: 1px solid #dcdfe6;
    border-radius: 6px;
    font-size: 14px;
}

.login-card input:focus {
    outline: none;
    border-color: #1f9d6c;
}

/* remember + forgot */
.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    margin-bottom: 20px;
}

.options label {
    display: flex;
    align-items: center;
    gap: 6px;
}

.forgot {
    color: #1f9d6c;
    text-decoration: none;
}

/* ปุ่ม */
.btn-login {
    width: 100%;
    padding: 12px;
    background: #1f9d6c;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
}

.btn-login:hover {
    background: #17845a;
}

/* สมัคร */
.register {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
}

.register a {
    color: #1f9d6c;
    text-decoration: none;
}

.bg-gray {
    background-color: #EDEDED;
    height: 100vh;
}

.content-center {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.fix-icon {
    height: 100px;
    width: 100px;
}

.login-section {
    background: #e9e9e9;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-wrapper {
    width: 100%;
    max-width: 460px;
    text-align: center;
}

.login-icon {
    width: 80px;
    height: 80px;
    background: #4f7cf3;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
}

.login-title {
    font-weight: 700;
    margin-bottom: 4px;
}

.login-subtitle {
    font-size: 14px;
    color: #777;
    margin-bottom: 20px;
}

/* ปุ่มสลับ */
.login-switch {
    display: flex;
    background: #ddd;
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 20px;
}

.login-switch button {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px;
    border-radius: 10px;
    font-weight: 600;
    transition: 0.3s;
}

.login-switch button.active {
    background: #fff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

/* กล่องฟอร์ม */
.login-card-2 {
    background: #fff;
    padding: 30px 25px;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    text-align: left;
}

.login-card-2 label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    /* display: block; */
}

.login-card-2 input[type="text"],
.login-card-2 input[type="password"],
.login-card-2 input[type="email"] {
    width: 100%;
    padding: 10px 14px;
    border-radius: 12px;
    border: none;
    background: #f3f3f3;
    margin-bottom: 15px;
    font-size: 14px;
}

.login-card-2 input:focus {
    /* outline: none;
    background: #eaeaea; */
    outline: none;
    border-color: #1f9d6c;
}

.login-left {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* min-height: 100%; */
}


/* remember + forgot */
/* .login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-bottom: 15px;
}

.remember-me {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    margin: 0;
    width: 16px;
    height: 16px;
}

.login-options a {
    text-decoration: none;
    color: #666;
} */

/* ปุ่ม login */
.login-btn {
    width: 100%;
    border-radius: 12px;
    padding: 10px;
    background: #bfbfbf;
    border: none;
    font-weight: 600;
    transition: 0.3s;
}

.login-btn:hover {
    background: #4f7cf3;
    color: #fff;
}

.full-height {
    min-height: 100vh;
}

.password-toggle {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
    font-size: 18px;
}

.password-toggle:hover {
    color: #333;
}