﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.page-content {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 40px;
    background-image: url(/AEA/image/singin-background.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size:cover;
}
.signin-container {
    width: 600px;
    height: 598px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    padding: 40px;
    gap: 24px;
    background-color: #FFFFFF;
}

.signin-container h1 {
    text-align:center;
    margin-bottom: 0 !important;
}

#form-signIn {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

#form-signIn .form-group {
    margin-bottom: 0 !important;
    display: flex;
    flex-direction:column;
    gap:10px !important;
    height:84px;
}
    #form-signIn .form-group input {
        padding: 16px 20px;
        outline: none;
        border: none;
    }

    #form-signIn .form-group label {
        position: unset;
        font-size: 14px;
    }
    #form-signIn .form-group:focus-within label {
        color: #E84E0E; /* Màu cam khi input trong cùng form-group được focus */
        font-size: 16px; /* Tùy chọn: thay đổi kích thước chữ */
        transition: color 0.3s; /* Hiệu ứng mượt mà */
    }

    #form-signIn .form-group label {
        font-size: 14px; /* Trạng thái mặc định */
        color: #808080; /* Màu mặc định */
    }

.username-field {
    border: 1px solid #C4C4C4;
    border-radius: 10px;
    width: 100%;
    height: 56px;
    position: relative;
}

.password-field {
    border: 1px solid #C4C4C4;
    border-radius: 10px;
    width: 100%;
    height: 56px;
    position: relative;
}

input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}


.password-toggle-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    cursor: pointer;
    color: #79747E;
}

.forgot-password {
    text-align: right;
    height:19px;
}
.signup-link {
    text-align: right;
    height: 19px;
}
.signin-btn {
    width: 520px;
    height: 52px;
    border-radius: 10px;
    background-color: #E84E0E;
    color: #FFFFFF;
    border:none;
}
.btn-social {
    display: flex;
    justify-content:space-between;
}

.google-signin {
    width: 250px;
    height: 52px;
    border: none;
    border-radius: 10px;
    font-size:16px;
}

    .google-signin svg {
        width: 20px;
        height: 20px;
      
    }

.facebook-signin {
    width: 250px;
    height: 52px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
}
    .facebook-signin svg {
        width: 20px;
        height: 20px;
    }
.signup-link a {
    color: #E84E0E;
    font-size:17px;
}
/* Responsive CSS for Mobile - Sign in Page */
@media screen and (max-width: 767px) {
    .page-content {
        padding-top: 90px;
        padding-bottom: 20px;
    }

    .signin-container {
        width: 90%;
        height: auto;
        min-height: 520px;
        padding: 25px 20px;
        gap: 16px;
    }

        .signin-container h1 {
            font-size: 24px;
        }

    #form-signIn {
        gap: 16px;
    }

        #form-signIn .form-group {
            gap: 5px !important;
            height: auto;
            margin-bottom: 5px !important;
        }

            #form-signIn .form-group input {
                padding: 12px 15px;
            }

    .username-field,
    .password-field {
        height: 48px;
    }

    .forgot-password {
        margin-bottom: 5px;
    }

    .signin-btn {
        width: 100%;
        height: 48px;
    }

    .btn-social {
        flex-direction: column;
        gap: 12px;
    }

    .google-signin,
    .facebook-signin {
        width: 100%;
        height: 48px;
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

        .google-signin svg,
        .facebook-signin svg {
            width: 18px;
            height: 18px;
        }

    .signup-link {
        text-align: center;
        margin-top: 5px;
    }

        .signup-link a {
            font-size: 15px;
        }
}

/* Tablet Responsive */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .signin-container {
        width: 80%;
        height: auto;
        min-height: 550px;
    }

    .signin-btn {
        width: 100%;
    }

    .google-signin,
    .facebook-signin {
        width: 48%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
}

/* Additional refinements for very small screens */
@media screen and (max-width: 375px) {
    .signin-container {
        padding: 20px 15px;
    }

        .signin-container h1 {
            font-size: 22px;
        }

    #form-signIn .form-group input {
        padding: 10px 12px;
    }

    .forgot-password a,
    .signup-link a {
        font-size: 14px;
    }
}