@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap');
/*for sticky footer at always bottom*/
*{
	margin: 0;
	padding: 0;
	list-style: none;
	text-decoration: none;
	box-sizing: border-box;
}
/* Make the body and html take the full height of the viewport */
html, body{
	height:100%;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
}
/* The main content will grow to fill the remaining space */
.canisters{
	flex: 1;
}
footer{
	bottom: 0;
}
body {
	font-family: "Roboto", sans-serif;
	font-weight: 400;
    font-style: normal;
    min-height: 100%;
	min-width: 290px;
	scroll-behavior: smooth;
	text-align: justify;
	white-space: normal;
	text-wrap: wrap;	
}
.alert-success {
	background: #00FF00;
	width: 100%;
	padding: .5rem;
	color: #fff;
	font-size: 1rem;
	text-align: center;
}
.alert-fail {
	background: #FF0000;
	width: 100%;
	padding: .5rem;
	color: #fff;
	font-size: 1rem;
	text-align: center;
}
/*footer starts*/
footer.footer{
	text-align: center;
	font-size: .8rem;
	background: #fff;
	color: #000;
	padding: .5rem 0;
	border-top:5px solid #5034AA;
}
.container{
	max-width: 1200px;
	margin: 0 auto;
	background:#fff;
	color:#000;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin-bottom: 1rem;
}
header {
	background: #C6AC8E;
	width: 100%;
	text-align: center;
	margin-bottom: 1rem;
}
header h1{
	font-size: 1rem;
	color: #ffffff;
	padding:.8rem;
}
h4{
  font-size:2rem;
  color:#57b864;
}
form{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 100%;
	gap:1rem;
}
form .input-group{
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	width: 100%;
	border: 1px solid #CCCCCC;
	outline: none;
    background: transparent;     /* FIX black background */
    padding: 1rem 0 !important;
    border-radius: 5px; 
}
form .input-group i{
	padding: 0 1rem;
	color: #57b864;
}
form input[type='text'],
form input[type='email'],
form input[type='password'],
form textarea{
    width: 100%;  
    border:none;
    outline:none; 
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-text-fill-color: inherit !important;
    background-color: transparent !important;
    transition: background-color 5000s ease-in-out 0s;
}
form textarea{
	color:#757575;
	resize: none;
}
form input::placeholder{
	padding: 0 1rem;
}
.textarea{
    display: flex;
    align-items: flex-start;
    gap:1rem;
    width: 100%;
    border-radius: 5px;
}
.editor-wrapper{
    width:100%;
    display: flex;
    flex-direction: column;
}
#emailCount{
    font-size: 0.8rem;
    color: #57b864;
    margin-left:auto;
}
trix-toolbar{
    border:1px solid #cccccc;
    border-bottom:none;
    border-radius:6px 6px 0 0;
    background:#f9f9f9;
    width: 100%;
}

trix-editor{
    height:250px;
    width: 100%;
    border:1px solid #cccccc;
    border-radius:0 0 6px 6px;
    padding:1rem;
    font-family:Arial, sans-serif;
    font-size:14px;
    overflow-y: scroll;
}

.input-group.textarea i{
    margin-top: 5px; /* adjust if needed */
}
form input[type='submit']{
	background:  #57b864;
	padding: 1rem;
	border-radius: 5px;
	outline: none;
	border: none;
	color:#fff;
	font-size: 1rem;
	width: 100%;
	cursor:pointer;
}
form input[type='submit']:hover,
form input[type='submit']:focus{
	background: #020201;
	color:#fff;
	outline: dotted #000;
}
form .input-group:hover,
form .input-group:focus,
form .textarea:hover,
form .textarea:focus{
    outline: 3px dotted #000;
}
@media(max-width: 768px){
	.container{
		padding: 0 1rem;
	}
}