* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Kanit", serif;
}
#wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
body {
    background-color: #f4f4f4;
}

/* .background-image {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: url('pic/DSC09813.png') no-repeat center center/cover;
    z-index: -1;
} */

.login-container {
    width: 714px;
    height: 100vh;
    background: #AAB7A6;
    padding: 120px 80px 0px 80px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

#logo-black-login {
    height: 130px;
}

.login-container h2 {
    margin-top: 40px;
    margin-bottom: 40px;
    font-size: 40px;
    font-weight: normal;
}

.input-group {
    position: relative;
    width: 100%;
    max-width: 460px;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    margin-left: 50px;
}

.input-group input {
    width: 100%;
    height: 60px;
    padding: 10px;
    padding-right: 50px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 18px;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease-in-out; 
}

.input-group input:focus {
    box-shadow: 4px 6px 12px rgba(0, 0, 0, 0.3); 
    outline: none;  
}

.password-container {
    position: relative;
    width: 100%;
    max-width: 460px;
    display: flex;
    align-items: center;
}

.password-container input {
    width: 100%;
    height: 60px;
    padding: 10px;
    padding-right: 50px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 18px;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease-in-out;
}

.password-container input:focus {
    box-shadow: 4px 6px 12px rgba(0, 0, 0, 0.3);
    outline: none;
}

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

.toggle-password:hover {
    color: #04757b;
}



.forget-password {
    float: right;
    margin-bottom: 15px;
    margin-right: 50px;
    cursor: pointer;
    color: #242424;
    text-decoration: none;
}
.forget-password:hover {
    color: #04757b;
}


.login-btn {
    background-color: #f8fbf8;
    color: #242424;
    width: 170px;
    height: 40px;
    font-size: 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-left: 130px;
    margin-top: 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
}

.login-btn:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.register-link{
    color: #04757b;
}
.register-link:hover {
    color: #f8fbf8;
}

.line1 {
    margin-top: 20px;
    margin-bottom: 20px;
    width: 550px;
    height: 1px;
    background-color: #242424;
}
้

.error {
    color: red;
    font-size: 14px;
}

.google-login {
    margin-top: 100px;
    color: #242424;
    padding: 10px;
    font-size: 40px;
    border-radius: 5px;
    margin-top: 10px;
}

.google-login:hover {
    color: #04757b;
}


.back-button {
  position: fixed;
  top: 50px;
  left: 650px;
  cursor: pointer;
  padding: 10px;
  border-radius: 12px;
  transition: background-color 0.3s, transform 0.3s ease;
}

.back-button:hover {
  color: #04757b;
  transform: translateY(-2px);
}

.arrow-left {
  width: 24px;
  height: 24px;
  border: 2px solid #333;
  border-left: 0;
  border-top: 0;
  transform: rotate(135deg);
  margin: auto;
  transition: border-color 0.3s ease;
}

.back-button:hover .arrow-left {
  border-color: #04757b;
}
