@font-face {
    font-family: "norse bold";
    src: url('../src/Norse-Bold.otf');
}


@font-face {
    font-family: "roboto500";
    src: url('../src/Roboto/static/Roboto-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "roboto500I";
    src: url('../src/Roboto/static/Roboto-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: "roboto400";
    src: url('../src/Roboto/static/Roboto-Medium.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "roboto600";
    src: url('../src/Roboto/static/Roboto-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}
*{
    box-sizing: border-box;
}

html{
    font-size: 62.5%;
}

body{
    font-size: 1.6rem;
    font-family: "roboto400", sans-serif;
}

.container{
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 2rem;
}

.page{
    width: 100%;
    display: flex;
}

.page-left{
    flex: 1;
    background-image: url('../src/bg-form.jpg');
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 100px;
}

.logo{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background-color: hsla(0, 0%, 0%, 0.5);
    backdrop-filter: blur(2px);
}

.logo>.logo-text{
    font-family: "norse bold";
    font-size: 6.4rem;
    color: white;
}

.logo>.logo-img{
    width: 6.4rem;
}



.page-right{
    flex: 2;
}

.form-top{
    padding: 100px 100px 30px 30px;
    background-color: rgb(230, 230, 230);
}
.desc{
    font-size: 2rem;
    font-family: "roboto500";
}
.desc2{
    margin-top: 20px;
}
em{
    font-family: "roboto500I";
}

.form-middle{
    padding: 20px 100px 30px 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

h3{
    font-size: 2.4rem;
    font-family: "roboto500";    
}

.row{
    display: flex;
    align-items: center;
    gap: 50px;
}

.col{
    display: flex;
    flex-direction: column;
}

label{
    font-size: 1.2rem;
    color: hsl(0, 0%, 20%);
}

.button{
    font-family: "roboto600";
    font-size: 1.5rem;
    padding: 10px 40px;
    color: white;
    background-color: #596D48;
    cursor: pointer;
    border-radius: 5px;
    border: none;
}

.login{
    margin-top: 30px;
}

.login-click{
    text-decoration: none;
    color: #596D48;
}

.form-bottom{
    padding: 20px 100px 100px 30px;
    background-color: rgb(230, 230, 230);
    box-shadow: inset 0 5px 10px -5px rgba(0, 0, 0, 0.3);
}

/* Mặc định */
input {
  border: 1px solid #E5E7EB;
  padding: 0.5rem;
  border-radius: 0.25rem;
  outline: none; /* loại bỏ outline mặc định */
  transition: border 0.2s, box-shadow 0.2s;
}

/* Khi input password không hợp lệ */
input[type="password"]:invalid {
  border-color: red;
}

/* Khi input đang được chọn (focus) */
input:focus {
  border-color: #3B82F6; /* màu xanh */
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2); /* subtle blue shadow */
}

input[type="password"]:valid {
  border-color: green;
}