/* Reset & Base */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Inter", sans-serif;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100vh;
	background-color: #ffffff;
	transition: background-color 0.5s ease;
}

/* Container */
.container {
	background: rgba(243, 243, 243, 0.822);
	border: 2px dashed #000000;
	border-radius: 20px;
	backdrop-filter: blur(10px);
	padding: 40px 60px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.137);
	text-align: center;
	max-width: 400px;
	width: 90%;
}

/* Title */
.container h1 {
	font-size: 1.8rem;
	color: #333;
	margin-bottom: 20px;
	font-weight: 600;
}

/* RGBA Text */
.color-code {
	font-size: 1.2rem;
	font-weight: 500;
	color: #555;
	margin-bottom: 30px;
	transition: color 0.3s;
}

/* Buttons */
.buttons {
	display: flex;
	gap: 20px;
	justify-content: center;
	outline: none;
}

button {
	padding: 12px 25px;
	font-size: 1rem;
	font-weight: 600;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	background-color: #007bff;
	/* background-color: rgba(233, 38, 38, 0.733); */
	color: white;
	transition: background-color 0.3s, transform 0.2s;
}

button:hover {
	background-color: #0056d2;
	transform: translateY(-2px);
}

button:active {
	transform: scale(0.98);
}

#stop {
	background-color: #dc3545;
}

#stop:hover {
	background-color: #b52b36;
}

/* Countdown Circle */
.countdown {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: linear-gradient(145deg, #ffffff, #e6e6e6);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 25px auto;
	position: relative;
	transition: background-color 0.3s ease;
}

.countdown span {
	font-size: 1.8rem;
	font-weight: 600;
	color: #333;
	transition: transform 0.2s ease, color 0.3s ease;
}

/* Optional animation when the number updates */
.countdown span.animate {
	transform: scale(1.3);
	color: #007bff;
}

.disable {
	display: none !important;
}
