@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&display=swap');

.gqotd-container {
	width: 100%;
	min-width: 0;
	max-width: 600px;
	margin: 2rem auto;
	padding: 20px;
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(12px);
	border-radius: 10px;
	border: 1px solid #e7e9ec;
	font-family: 'Quicksand', system-ui, sans-serif;
	color: #333;
	box-sizing: border-box;
}



.gqotd-question-text {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
	color: #1a1a1a;
	line-height: 1.3;
}

.gqotd-help-text {
	font-size: 0.9rem;
	color: #666;
	margin-bottom: 1.5rem;
	font-style: italic;
}

.gqotd-answers-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-bottom: 2rem;
}

.gqotd-answer-item {
	display: block;
	cursor: pointer;
	position: relative;
}

.gqotd-answer-item input[type="radio"],
.gqotd-answer-item input[type="checkbox"] {
	position: absolute;
	opacity: 0;
}

.gqotd-answer-content {
	display: flex;
	align-items: center;
	padding: 20px;
	background: #ffffff;
	border: 1px solid #e7e9ec;
	border-radius: 10px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gqotd-answer-item:hover .gqotd-answer-content {
	transform: translateY(-2px);
	border-color: #81c784;
}

.gqotd-answer-item.selected .gqotd-answer-content {
	border-color: #2e7d32;
	background: #e8f5e9;
}

.gqotd-answer-content img {
	max-width: 150px;
	border-radius: 8px;
	margin-right: 1rem;
	object-fit: cover;
}

.gqotd-answer-text {
	font-size: 1.1rem;
	font-weight: 500;
}

.gqotd-submit-wrapper {
	text-align: center;
}

.gqotd-submit-btn {
	background: linear-gradient(135deg, var(--gqotd-btn-1, #22B760), var(--gqotd-btn-2, #1B9B52));
	color: var(--gqotd-btn-text, #ffffff);
	border: none;
	padding: 1rem 2rem;
	font-size: 1.1rem;
	font-weight: 700;
	border-radius: 30px;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	display: inline-block;
}

.gqotd-submit-btn:hover {
	transform: translateY(-2px) scale(1.02);
	color: var(--gqotd-btn-text, #ffffff);
}

/* Results */
.gqotd-success-box, .gqotd-error-box {
	text-align: center;
	padding: 20px;
	border-radius: 10px;
	margin-bottom: 1.5rem;
	animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gqotd-success-box {
	background: #e8f5e9;
	border: 1px solid #e7e9ec;
	color: #1b5e20;
}

.gqotd-error-box {
	background: #ffebee;
	border: 1px solid #e7e9ec;
	color: #b71c1c;
}

.gqotd-challenge-box {
	background: #fff3e0;
	border: 1px solid #e7e9ec;
	border-left: 4px solid #ff9800;
	padding: 20px;
	border-radius: 10px;
	margin-top: 1.5rem;
	animation: slideUp 0.6s ease-out;
}

.gqotd-challenge-box h4 {
	margin-top: 0;
	color: #e65100;
	font-size: 1.2rem;
}

.gqotd-retry-action {
	text-align: center;
	margin-top: 2rem;
}

.gqotd-retry-notice {
	background: #e3f2fd;
	color: #0d47a1;
	padding: 1rem;
	border-radius: 8px;
	margin-bottom: 1.5rem;
	text-align: center;
	font-weight: 600;
}

@keyframes popIn {
	0% { transform: scale(0.9); opacity: 0; }
	100% { transform: scale(1); opacity: 1; }
}

@keyframes slideUp {
	0% { transform: translateY(20px); opacity: 0; }
	100% { transform: translateY(0); opacity: 1; }
}

/* Statistics Dashboards */
.gqotd-stats-dashboard {
	text-align: center;
}

.gqotd-stats-title {
	font-size: 23px;
	font-weight: normal;
	margin-bottom: 2rem;
	color: #4D5C6D;
}

.gqotd-scorecards {
	display: flex;
	justify-content: center;
	gap: 1.5rem;
	flex-wrap: wrap;
	margin-bottom: 2.5rem;
}

.gqotd-scorecard {
	background: #ffffff;
	border-radius: 10px;
	padding: 15px;
	min-width: 120px;
	border: 1px solid #e7e9ec;
	transition: transform 0.3s ease;
	box-sizing: border-box;
}

.gqotd-scorecard:hover {
	transform: translateY(-5px);
}

.gqotd-scorecard-value {
	font-size: 2.5rem;
	font-weight: 700;
	color: #333;
	margin-bottom: 0.5rem;
}

.gqotd-scorecard.gqotd-scorecard-points .gqotd-scorecard-value {
	color: #22B760;
}

.gqotd-scorecard-label {
	font-size: 0.9rem;
	color: #666;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.gqotd-progress-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 1rem;
}

.gqotd-circular-progress {
	width: 140px;
	height: 140px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	background: conic-gradient(var(--gqotd-btn-1, #22B760) var(--gqotd-progress, 0deg), #e0e0e0 0deg);
	position: relative;
	box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
}

.gqotd-circular-progress::before {
	content: "";
	position: absolute;
	width: 115px;
	height: 115px;
	background-color: #fcfcfc;
	border-radius: 50%;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.gqotd-progress-value {
	position: relative;
	font-size: 1.8rem;
	font-weight: 700;
	color: #1a1a1a;
}

.gqotd-progress-label {
	margin-top: 1rem;
	font-weight: 600;
	color: #666;
	font-size: 1.1rem;
}

/* PDF Export Styles */
.gqotd-pdf-mode {
	padding: 40px !important;
	background: #ffffff !important;
	border: none !important;
	box-shadow: none !important;
	max-width: 800px !important;
	margin: 0 auto !important;
}

.gqotd-export-btn {
	transition: all 0.2s ease;
}
.gqotd-export-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.gqotd-scorecards-5 .gqotd-scorecard {
	padding: 15px;
}
.gqotd-scorecards-5 .gqotd-scorecard-value {
	font-size: 2rem;
}
