* {
	font-family: sans-serif;
}

.novote body {
	background: #cff;
	transition: background 0.5s;
}

.vote body {
	background: #afff99;
	transition: background 0.5s;
}

body {
	margin: 0;
	padding: 20px;
}

h1 {
	font-size: 2.5em;
	margin: 0;
}

h3 {
	font-size: 1.2em;
	margin: 10px 0 30px 0;
}

.voting-container {
	max-width: 600px;
	margin: 0 auto;
	text-align: center;
}

/* Hide/show states */
.loading .ifnovote,
.loading .ifvote {
	display: none;
}

.ifvote {
	display: none;
}

.ifnovote {
	display: none;
}

.vote .ifvote {
	display: inherit;
}

.novote .ifnovote {
	display: inherit;
}

/* Vote buttons */
.vote-buttons {
	margin: 40px 0;
}

.novote .vote-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.vote-btn {
	font-size: 1em;
	padding: 8px 16px;
	border: 1px solid #333;
	background: white;
	cursor: pointer;
	font-family: sans-serif;
	min-width: 80px;
}

.vote-btn:hover {
	background: #eee;
}

.nunca-btn {
	border-color: #c00;
	color: #c00;
}

.nunca-btn:hover {
	background: #fee;
}

/* Results section */
.results {
	margin-top: 30px;
}

.bars-container {
	margin: 20px 0;
}

.bar-item {
	display: flex;
	align-items: center;
	margin: 12px 0;
	gap: 15px;
}

.bar-label {
	font-weight: bold;
	min-width: 80px;
	font-size: 14px;
	text-align: left;
}

.bar-wrapper {
	flex: 1;
	height: 25px;
	background: rgba(0, 0, 0, 0.1);
	border: 1px solid #333;
	position: relative;
	min-width: 200px;
}

.bar {
	height: 100%;
	width: 0%;
	transition: width 0.5s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	color: white;
	font-weight: bold;
}

.sabado-bar, .domingo-bar, .lunes-bar, .martes-bar, .miercoles-bar, .jueves-bar, .viernes-bar {
	background: rgba(0, 0, 0, 0.8);
	color: white;
}

.nunca-bar {
	background: rgba(204, 0, 0, 0.8);
	color: white;
}

.winner-bar {
	background: rgba(0, 153, 0, 0.8) !important;
	color: white;
}

.bar-count {
	font-family: monospace;
	font-size: 14px;
	min-width: 30px;
	text-align: right;
}

.total-votes {
	margin-top: 15px;
	font-size: 14px;
	font-family: monospace;
}

/* General messages */
.ifnovote p,
.ifvote p {
	font-size: 1em;
	margin: 20px 0;
}

/* Vote count styling */
.count {
	font-family: monospace;
	font-size: 14px;
	display: inline-block;
	width: 3em;
	text-align: right;
}

/* Responsive design */
@media (max-width: 600px) {
	.vote-btn {
		width: 120px;
		margin: 5px;
	}
	
	.bar-item {
		flex-direction: column;
		text-align: center;
		gap: 8px;
	}

	.bar-wrapper {
		min-width: 150px;
		width: 100%;
	}

	.bar-label {
		min-width: auto;
	}
	
	h1 {
		font-size: 2em;
	}
}

/* Add some early web charm */
marquee {
	background: #ffa;
	border: 1px dashed #333;
	padding: 5px;
	margin: 10px 0;
}