* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #f8f9fd;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
}

.login-box {
    display: flex;
    background: #fff;
    width: 100%;
}

.left-panel {
    flex: 1;
    padding: 100px 130px;
    margin-top: 100px;
}

.logo {
    position: absolute;
    top: 30px;
    left: 30px;
}

.logo img {
    width: 120px;
}

h2 {
    color: #232323;
    font-size: 35px;
    margin-bottom: 15px;
}

.subtitle {
    color: #969696;
    font-size: 16px;
    margin-bottom: 25px;
}

/*Form group*/

.form-group {
    position: relative;
    margin-bottom: 15px;
}

.form-group input[type='text'], .form-group input[type='password'] {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
    margin-bottom: 10px;
}

.input-wrapper input[type='text'] {
    border: none;
    outline: none;
    font-size: 16px;
    width: 100%;
    background: transparent;
    margin-bottom: 0;
}

.input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 0 12px;
    height: 44px;
    margin-bottom: 10px;
}

.input-wrapper .icon img {
    width: 16px;
    margin-right: 8px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
}

.remember label {
    margin: 0;
}

.btn-primary {
    width: 100%;
    background: #2b68ff;
    color: #fff;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    margin-top: 10px;
    cursor: pointer;
}

.btn-primary:hover {
    background: #1f4fd6;
}

.register-text {
    margin-top: 20px;
    font-size: 15px;
    text-align: center;
}

.register-text a {
    color: #2b68ff;
    text-decoration: none;
}

.right-panel { /*flex: 1;*/
    position: relative;
    width: 55%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 20px 20px 0;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.right-panel img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 3s ease-in-out;
}

.right-panel img.active {
    opacity: 1;
}

.form-group select {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    height: 44px;
    padding: 0 12px;
    background: #fff;
    margin-bottom: 10px;
    /*appearance: none;*/
}

.form-group.floating label {
    position: absolute;
    pointer-events: none;
    transition: 0.2s ease all;
    background: #fff;
    padding: 0 4px;
    opacity: 0;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group select:focus + label,
.form-group select:valid + label {
    top: -8px;
    left: 10px;
    font-size: 14px;
    color: #2b68ff;
    opacity: 1;
}

.password-field {
    margin-top: 10px;
    margin-bottom: 0;
}

.password-field .toggle-password {
    position: absolute;
    right: 14px;
    top: 45%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 16px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group.birthday {
    width: 215px;
}

.form-group.gender {
    flex: 1;
}

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