* {
    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;
}

.register-layout {
    display: flex;
    width: 100%;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
}

.left-panel {
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.register-container {
    width: 967px;
    background: rgba(170, 183, 166, 0.85);
    padding: 80px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.register-container h2 {
    font-size: 24px;
    margin-bottom: 50px;
    font-weight: normal;
}

.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.input-group input {
    width: 100%;
    height: 50px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.1);
}

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

.password-group {
    position: relative;
}

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

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

.date-group input {
    padding-right: 10px;
}

#password {
    width: 400px;
}
#confirm_password {
    width: 400px;
}
.hint-text{
    font-size: 12px;
}
.fa-eye-slash, .fa-eye{
    margin-right: 420px;
}


.file-upload-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease-in-out;
}
.file-upload-container:hover {
    border-color: #007bff;
}
.file-upload-container label {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
}
.file-upload-container input[type="file"] {
    display: none;
}
.file-upload-text {
    font-size: 14px;
    color: #666;
    margin-left: 10px;
}


.submit-btn {
    background-color: #333;
    color: white;
    padding: 12px;
    width: 50%;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    margin-bottom: 20px;
}

.submit-btn:disabled {
    background-color: #999;
    cursor: not-allowed;
}

.submit-btn:hover:enabled {
    background-color: #555;
}

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

.line1 {
    margin-top: 20px;
    margin-bottom: 20px;
    width: 100%;
    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;
}

.thai-date-picker {
    display: flex;
    gap: 10px;
}

.thai-date-picker select {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-family: 'Kanit', sans-serif;
}
