@import url(../../src/css/globals.css);

.wraper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: var(--bg);
}
.container {
    display: flex;
    width: 800px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
	min-height: 350px;
}
.left {
    flex: 1;
    background: var(--bg-gradient);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    position: relative;
}
.left h2 { font-size: 24px; font-weight: 600; margin-bottom: 10px; }
.left::before, .left::after { content: ''; position: absolute; }
.left::before {
    top: 20px;
    left: 25%;
	width: 215px;
    height: 60px;
	background:url(../images/anb-logo-trans1.png) center no-repeat;
	background-size:cover;
}
.left::after {
    bottom: 20px;
    right: 20px;
 	width: 65px;
    height: 65px;
	border: 2px solid rgba(255, 255, 255, 0.5);
	content: 'ANB';
  	font-size: 25px;
  	font-weight: 600;
  	display: flex;
  	align-items: center;
  	justify-content: center;
	box-shadow: var(--box-shadow);
	border-radius: 50%;
}
.left .user-email { color: whitesmoke; text-align: center; font-weight: bold; }
.right { flex: 1; padding: 40px; }
.right h2 { font-size: 22px; font-weight: 600; margin-bottom: 20px; }
.input-group { margin-bottom: 15px; position: relative; }
.input-group:has(p){margin-bottom:0px;}
.input-group input { text-align: center; }
.input-group .fa {
    position: absolute;
    right: 1em;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
}
.input-group .fa {
    position: absolute;
    right: 1em;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
}
.input-group .fa.fa-eye-slash { color: var(--primary-color); }
.btn {
    width: 100%;
    background: var(--background-gradient);
    color: var(--white);
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.4s ease-in-out, transform 0.2s ease-in-out;
}
.btn:hover { background: var(--button-hover); transform: scale(1.05);}
.register { margin-top: 15px; text-align: center; font-size: 14px; }
.register a { text-decoration: none; color: var(--primary-color); }
.register a:hover { color: var(--secondary-color); }
.register:has(form) { display: flex; justify-content: space-around; }
.options { display: flex; justify-content: space-between; margin: 2em 0; }
.error { color: rgb(223, 8, 8); text-align: center; font-size:12px; }
.error-messages,
.success-messages {
    padding: 0.2em 0.5em;
    text-align: center;
    border-radius:12px;
    margin-bottom:1em;
	font-size:12px;
}
.error-messages{ background:rgb(235, 79, 79); }
.success-messages{ background:rgb(89, 213, 89); }
.error-messages .error, .success-messages .error{ color:whitesmoke; }
.btn-link {
    outline: none;
    border: none;
    background: transparent;
    color: var(--primary-color);
	font-size:12px;
	cursor: pointer;
}
.btn-link:hover { color: var(--secondary-color); }
.active-code {letter-spacing:15px;font-size:20px;padding:10px 12px;}
.title-h2 {font-size:1.5rem;font-weight:600;color:var(--primary);text-align:center;margin-bottom:5px;}
.anb-logo{display:none;height:60px;text-align:center; & img{height:60px;}}


/* iPads (portrait and landscape) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
.wraper {padding:3%;align-items:start;width:100%;}
.right{padding:40px 20px;}

}

/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
.wraper {padding:3%;align-items:start;width:100%;}
.container { flex-direction: column; }
.left { display: none; }
.anb-logo{ display:block;}

}