/* General reset */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-image: url('.././assets/images/login-web-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}



/* Background waves */
.login-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.login-card {
    background-color: #2e3a4d;
    border-radius: 8px;
    text-align: center;
    padding: 30px;
    color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 50vh;
    max-width: 90vw; 
    min-width: 300px;
    height: auto; 
    max-height: 120vh; 
    overflow-y: auto; 
    box-sizing: border-box;
    display: flex; 
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
    flex-direction: column;
}



.logo img{
    width:70px;
    margin-bottom: 10px;
}

.login-card p {
    margin: 30px 0 30px 0;
    font-size: 20px;
    color: #fff;
}

.input-group {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
    background: #f7f7f7;
}

.input-group img {
    width: 20px;
    margin-right: 10px;
}

input {
    border: none;
    outline: none;
    width: 100%;
    padding: 8px;
    font-size: 14px;
    background: transparent;
    color: #333;
}

.options {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    font-size: 12px;
}

.options a {
    text-decoration: none;
    color: #ccc;
}

.btn {
    background: #48c78e;
    border: none;
    padding: 10px 15px;
    color: white;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
}

.btn:hover {
    background: #3bb07d;
}

.cbHTMLBlockContainer , .cbFormAuthLabelCell, .cbLoginButtonContainer, .cbFormCommonError, .cbFormLabel, .cbFormAuthFieldCell
{
	background:#2D3B4E!important;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	outline-offset: -1px!important;
}

.cbFormTextField
{
	-moz-border-radius: 3px!important;
	-moz-box-sizing: border-box!important;
	-webkit-border-radius: 10px!important;
	-webkit-box-sizing: border-box!important;
	background: #f2fdf4!important;
	border-color: #f2fdf4!important;
	border-radius: 10px!important;
	border-style: solid!important;
	border-width: 1px!important;
	box-sizing: border-box!important;
	color: #20282B!important;
	font-family: Arial, Helvetica, sans-serif!important;
	font-size: 15px!important;
	font-weight: 400!important;
	padding: 15px 8px 15px 60px!important;
	background-image: url('https://skantag.io/assets/images/login-email.png')!important;
	background-repeat: no-repeat!important;
	background-position: 11.5px center!important;
	background-size: 28px 20px!important;
	width:100%!important;
}


.cbFormPassword
{
	-moz-border-radius: 3px!important;
	-moz-box-sizing: border-box!important;
	-webkit-border-radius: 10px!important;
	-webkit-box-sizing: border-box!important;
	background: #f2fdf4!important;
	border-color: #f2fdf4!important;
	border-radius: 10px!important;
	border-style: solid!important;
	border-width: 1px!important;
	border-width: 1px!important;
	box-sizing: border-box!important;
	color: #20282B!important;
	font-family: Arial, Helvetica, sans-serif!important;
	font-size: 17px!important;
	font-weight: 400!important;
	padding: 15px 8px 15px 60px!important;
	background-image: url('https://skantag.io/assets/images/login-lock.png')!important;
	background-repeat: no-repeat!important;
	background-position: 8px center!important;
	background-size: 33px 25px!important;
	width:100%!important;
}

.cbLoginButton
{
	width: 2vw!important;
	padding: 1vh 0!important;
	border-radius: 8px!important;
	border-width: 1px!important;
	border-color: #FFFFFF!important;
	border-style: solid!important;
	display: block!important;
	align-items: center!important;
	justify-content: center!important;
	background-color: transparent!important;
	color: #FFFFFF!important;
	font-size: .6vw!important;
	font-weight: bold!important;
    margin: 0 auto!important;
}

.cbLoginButton:hover
{
	border-color: green!important;
	background-color: green!important;
	color: #FFFFFF!important;
}

.cbFormAuthFieldCell{
    padding: 0 0 30px 0!important;
}
.cbLoginButtonContainer{
    padding: 10px!important;
}
.data-page {
    display: flex;
    justify-content: center; 
    align-items: center; 
    width: 100%;
    height: 100%; 
    margin: 0;
    padding: 0;
    overflow: hidden;
    box-sizing: border-box; 
}
[data-cb-name="cbTable"] {
    width: 100%; 
    height: 100%; 
    box-sizing: border-box; 
    overflow: auto; 
}

/* Splash Container */
#splash-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    z-index: 10;
    opacity: 1;
    transition: opacity 1s ease-out;
}

#splash-text {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    width: 100%; 
    height: 100%; 
    text-align: center; 
}

#splash-text img {
    display: block;
    width:40%;
    opacity: 0;
    animation: fadeInOut 3s ease-in-out forwards;
    animation-delay: 1s; 
}

/* Login Container */
.hidden {
    display: none;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    opacity: 0;
    animation: fadeInLogin 1s ease-out forwards;
    animation-delay: 4s; 
}

/* Keyframes */
@keyframes fadeInOut {
    0% {
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    70% { 
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes fadeInLogin {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
