body {
	background-color: #040504;
	margin: 0;
	padding: 0;
	font-family: 'Roboto Mono', monospace;
	overflow: hidden;
}

.main-container {
    box-sizing: border-box;
    border-width: 0px;
    width: 85%;
    height: 80%;
    margin: auto;
    overflow: hidden;
    position: absolute;
    top: 55%; /* Start a little lower */
    left: 50%;
    transform: translate(-50%, -50%);
    animation: riseUp 1.1s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}
@keyframes riseUp {
    0% {
        top: 55%;
    }
    100% {
        top: 50%;
    }
}
.banner {
	box-sizing: border-box;
	background-color: #121313;
	height: 11%;
	width: 100%;
	border-radius: 13px;
	border-width: 0px;
	display: flex;
	align-items: center;
	padding-left: 20px;
}
.inner-container {
	display: flex;
	height: -webkit-fill-available;
}
.left-box {
	box-sizing: border-box;
	border-width: 0px;
	width: 25%;
	min-width: 200px;
	background-color: #171818;
	height: 87%;
	overflow: hidden;
	padding: 20px;
	overflow-y: auto;
	margin-right: 12px;
	margin-top: 12px;
	border-radius: 13px;
}
.left-box::-webkit-scrollbar {
	width: 0;
}
.text-group {
	transition: transform 0.3s ease;
}
.text-group:hover {
	transform: translateX(15px);
}
.text-group:hover .selection-arrow {
	opacity: 100;
	transition: opacity 0.5s ease;
}
.text-group.active {
	transform: translateX(15px);
}
.text-group.active .selection-arrow {
	opacity: 100;
	transition: opacity 0.5s ease;
}
.text-group p {
	text-indent: 5px;
}
.text-group h1,
.text-group p,
.text-group a {
	margin: 0;
	color: white;
	text-transform: lowercase;
}
.left-box a {
	color: #3498db;
}
.left-box a:hover {
	text-decoration: underline;
}
.right-box {
	flex-grow: 1;
	/* background-color: #212121; */
	height: 100%;
	margin-top: 12px;
	/* border-radius: 13px; */
	border-width: 0px;
	box-sizing: border-box;
}
.iframe-container {
	width: calc(100% - 2px);
	/* height: calc(100% - 2px); */
	background-clip: padding-box;
	box-sizing: border-box;
	flex-grow: 1;
	position: relative;
	font-family: 'Roboto Mono', monospace;
	/* background-color: #fff; */
	border-radius: 13px;
	height: 87%;
}
iframe {
	opacity: 100%;
	width: 100%;
	height: 100%;
	background-clip: padding-box;
	/* border-spacing: 5px; */
	border-radius: 13px;
}
#reusabletitle {
	position: absolute;
	color: #ffffff;
	font-size: 20px;
	left: 3%;
}
#byodtitle {
	position: absolute;
	color: #ffffff;
	font-size: 15px;
	right: 3%;
}
#byodtext {
	color: #ffffff;
	font-size: 15px;
}
.p {
	text-overflow: ellipsis;
}
.h1 {
	text-overflow: ellipsis;
}
#es {
	font-size: 20px;
	text-overflow: ellipsis;
	overflow: hidden;
	width: 100%;
	display: inline-block;
	white-space: nowrap;
}
#ep {
	font-size: 11px;
	text-overflow: ellipsis;
	overflow: hidden;
	width: 100%;
	display: inline-block;
	white-space: nowrap;
}
#alias {
	color: white;
	animation: colorRotate 6s linear 0s infinite;
}
@keyframes colorRotate {
	from {
		color: #6666ff;
	}
	10% {
		color: #0099ff;
	}
	65% {
		color: #ff3399;
	}
	100% {
		color: #6666ff;
	}
}
.selection-arrow {
	width: 23px;
	height: 23px;
	filter: brightness(0) invert(1);
	position: relative;
	opacity: 0;
	float: inline-start;
	margin-top: 20px;
	margin-left: -30px;
	transition: opacity 0.5s ease;
}
.trash-can {
	width: 23px;
	height: 23px;
	filter: brightness(0) invert(1);
	position: relative;
	opacity: 0;
	float: inline-start;
	margin-top: 20px;
	margin-left: -30px;
	transition: opacity 0.5s ease;
}
.active:hover .selection-arrow {
	transition: opacity 0.5s ease;
	opacity: 0;
}
.active:hover .trash-can {
	transition: opacity 0.5s ease;
	opacity: 100;
}
.sender-icon {
	width: 17px;
	height: 17px;
	filter: brightness(0) invert(1);
}
.email-sender {
	font-size: 11px;
	opacity: 100;
	display: flex;
	align-items: center;
	padding-bottom: 3px;
}
.email-timestamp {
	font-size: 11px;
	opacity: 100;
	display: flex;
	align-items: center;
	padding-bottom: 3px;
}
.timestamp-icon {
	width: 17px;
	height: 17px;
	filter: brightness(0) invert(1);
}

/* Mobile Device Optimizations */
@media only screen and (max-width: 768px) {
    #byodtitle {
        display: none;
    }
	.main-container {
		width: 95%;
		height: 90%;
		top: 55%;
		left: 50%;
		transform: translate(-50%, -50%);
	}
	.left-box {
		min-width: 150px; /* Reduced min-width to better fit smaller screens */
	}
	/* Use active state on mobile to mimic click effects */
	.text-group:active {
		transform: translateX(15px);
	}
	.text-group:active .selection-arrow {
		opacity: 100;
		transition: opacity 0.5s ease;
	}
	/* Optionally disable hover effects on touch devices */
	.text-group:hover {
		transform: none;
	}
	.text-group:hover .selection-arrow {
		opacity: 0;
	}
}
