body {
    padding: 5px;
	margin: 0;
	font-family: Roboto, sans-serif;
	background: #202124;
	color: #e8eaed;
}

.top-bar {
	display: flex;
	justify-content: flex-end;
	padding: 10px;
	gap: 10px;
	font-size: 13px;
}

.top-bar a {
	color: #e8eaed;
	text-decoration: none;
}

.center {
	min-height: calc(100vh - 60px);
	margin-top: -85px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 20px;
	text-align: center;
}

.logo {
	font-size: 2rem;
	margin-bottom: 1rem;
	font-family: "Bitcount", system-ui, sans-serif;
	font-weight: 200;
    color: #00FFD0;
}

@media (min-width: 768px) {
	.logo {
		font-size: 3.2rem;
		margin-bottom: 20px;
	}
}

.subheader {
    display: block;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    color: #5f6368;
    margin-top: 25px;
    font-family: Arial, sans-serif;
}

.search-box {
	width: 100%;
	max-width: 720px;
	height: 48px;
	border: 1px solid #5f6368;
	border-radius: 30px;
	padding: 0 18px;
	background: #303134;
	display: flex;
	align-items: center;
	transition: all 0.2s ease;
}

.search-box input {
	flex: 1;
	border: none;
	outline: none;
	background: transparent;
	color: white;
	font-size: 15px;
	font-weight: 300;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.search-box button {
	margin-left: 10px;
	background: transparent;
	border: none;
	width: 38px;
	height: 38px;
	border-radius: 8px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

button {
    display: flex;
    align-items: center;
    justify-content: center;
}

button svg {
    width: 18px;
    height: 18px;
    display: block;
    fill: currentColor;
}

.chat-container {
	display: none;
	padding: 15px;
	max-width: 800px;
	margin: auto;
	padding-bottom: 90px;
}

.message {
	padding: 10px 12px;
	border-radius: 10px;
	margin-bottom: 10px;
	max-width: 85%;
	word-wrap: break-word;
}

.user {
	background: rgba(255, 255, 255, 0.04);
	color: #ffffff;
	margin-left: auto;
	border-radius: 16px 16px 4px 16px;
	padding: 10px 14px;
	border: 1px solid rgba(255, 255, 255, 0.06);
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	font-weight: 300;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.assistant {
	background: transparent;
	color: #ececf1;
	margin-right: auto;
	border-bottom-left-radius: 2px;
	font-weight: 300;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.chat-input {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 10px;
	background: #202124;
	z-index: 1000;
}

.chat-box {
	display: flex;
	max-width: 800px;
	margin: auto;
	border: 1px solid #5f6368;
	border-radius: 24px;
	padding: 4px 10px;
	background: #303134;
    margin-bottom: 25px;
}

.chat-box input {
	flex: 1;
	border: none;
	outline: none;
	background: transparent;
	color: white;
	font-size: 15px;
	font-weight: 300;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.chat-box button {
	margin-left: 10px;
	background: transparent;
	border: none;
	width: 38px;
	height: 38px;
	border-radius: 8px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

hr {
	border: none;
	height: 1px;
	background: #5f6368;
	opacity: 0.3;
	margin: 10px 0;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #171717;
    border-top: 1px solid #2a2a2a;
    font-family: Roboto, sans-serif;
    font-size: 0.9rem;
    color: #9aa0a6;
}

.footer-top {
    padding: 12px 24px;
    border-bottom: 1px solid #2a2a2a;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px 24px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.footer a {
    color: #9aa0a6;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.message-actions {
    display: flex;
    gap: 8px;
    margin-top: 15px;
}

.message-actions button {
    background: transparent;
    border: none; /* ✅ removed border */
    color: white;
    padding: 6px;
    border-radius: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
}

.message-actions button:hover {
    background: #222;
    /* border removed here too */
}

.message-actions button svg {
    width: 18px;
    height: 18px;
    display: block;
    fill: currentColor;
}

.message-actions button:active {
    transform: scale(0.95);
}

.dots::after {
    content: "";
    display: inline-block;
    animation: dots 1.2s steps(4, end) infinite;
}

@keyframes dots {
    0% { content: ""; }
    25% { content: "."; }
    50% { content: ".."; }
    75% { content: "..."; }
    100% { content: ""; }
}
