/* HL2GO Donations - Frontend Styles */

/* Donation Form Wrapper */
.hl2go-donation-form-wrapper {
	max-width: 600px;
	margin: 40px auto;
	padding: 30px;
	background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
	border-radius: 12px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(0, 255, 136, 0.1);
}

.hl2go-donation-form-wrapper h2 {
	color: #00ff88;
	text-align: center;
	margin-bottom: 30px;
	font-size: 28px;
	text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.hl2go-donation-form-wrapper h3 {
	color: #00d9ff;
	margin-top: 25px;
	margin-bottom: 15px;
	font-size: 18px;
}

/* Amount Selection */
.hl2go-donation-amounts {
	margin-bottom: 25px;
}

.hl2go-donation-amounts label {
	display: block;
	color: #fff;
	margin-bottom: 12px;
	font-weight: 600;
}

.hl2go-amount-buttons {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
	gap: 10px;
	margin-bottom: 15px;
}

.hl2go-amount-btn {
	padding: 12px 20px;
	background: rgba(0, 255, 136, 0.1);
	border: 2px solid rgba(0, 255, 136, 0.3);
	border-radius: 8px;
	color: #00ff88;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
}

.hl2go-amount-btn:hover {
	background: rgba(0, 255, 136, 0.2);
	border-color: #00ff88;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 255, 136, 0.3);
}

.hl2go-amount-btn.active {
	background: #00ff88;
	color: #1a1a2e;
	border-color: #00ff88;
	box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.hl2go-custom-amount {
	margin-top: 15px;
}

.hl2go-custom-amount label {
	display: block;
	color: #aaa;
	margin-bottom: 8px;
	font-size: 14px;
}

.hl2go-custom-amount input {
	width: 100%;
	padding: 12px;
	background: rgba(255, 255, 255, 0.05);
	border: 2px solid rgba(0, 255, 136, 0.2);
	border-radius: 8px;
	color: #fff;
	font-size: 16px;
	transition: all 0.3s ease;
}

.hl2go-custom-amount input:focus {
	outline: none;
	border-color: #00ff88;
	box-shadow: 0 0 12px rgba(0, 255, 136, 0.3);
}

/* Donor Info */
.hl2go-donor-info {
	margin-bottom: 25px;
}

.hl2go-donor-info p {
	margin-bottom: 15px;
}

.hl2go-donor-info label {
	display: block;
	color: #fff;
	margin-bottom: 6px;
	font-size: 14px;
}

.hl2go-donor-info input[type="text"],
.hl2go-donor-info input[type="email"] {
	width: 100%;
	padding: 12px;
	background: rgba(255, 255, 255, 0.05);
	border: 2px solid rgba(0, 255, 136, 0.2);
	border-radius: 8px;
	color: #fff;
	font-size: 14px;
	transition: all 0.3s ease;
}

.hl2go-donor-info input:focus {
	outline: none;
	border-color: #00ff88;
	box-shadow: 0 0 12px rgba(0, 255, 136, 0.3);
}

.hl2go-logged-in-info {
	padding: 12px;
	background: rgba(0, 217, 255, 0.1);
	border: 1px solid rgba(0, 217, 255, 0.3);
	border-radius: 8px;
	color: #00d9ff;
}

.hl2go-donor-info input[type="checkbox"] {
	margin-right: 8px;
	accent-color: #00ff88;
}

/* Payment Methods */
.hl2go-payment-methods {
	margin-bottom: 25px;
}

.hl2go-payment-method {
	display: block;
	padding: 15px;
	margin-bottom: 10px;
	background: rgba(255, 255, 255, 0.05);
	border: 2px solid rgba(0, 255, 136, 0.2);
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.hl2go-payment-method:hover {
	background: rgba(0, 255, 136, 0.1);
	border-color: rgba(0, 255, 136, 0.5);
}

.hl2go-payment-method input[type="radio"] {
	margin-right: 10px;
	accent-color: #00ff88;
}

.hl2go-payment-method span {
	color: #fff;
	font-weight: 600;
}

/* Submit Button */
.hl2go-donation-submit {
	margin-top: 30px;
}

.hl2go-donate-btn {
	width: 100%;
	padding: 16px;
	background: linear-gradient(135deg, #00ff88 0%, #00d9ff 100%);
	border: none;
	border-radius: 8px;
	color: #1a1a2e;
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.hl2go-donate-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 255, 136, 0.4);
}

.hl2go-donate-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
}

/* Messages */
.hl2go-donation-message {
	margin-top: 20px;
	padding: 15px;
	border-radius: 8px;
	text-align: center;
	font-weight: 600;
}

.hl2go-donation-message.success {
	background: rgba(0, 255, 136, 0.2);
	border: 1px solid #00ff88;
	color: #00ff88;
}

.hl2go-donation-message.error {
	background: rgba(255, 68, 68, 0.2);
	border: 1px solid #ff4444;
	color: #ff4444;
}

/* Donation Widget */
.hl2go-donation-widget {
	padding: 25px;
	background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(0, 255, 136, 0.1);
	margin-bottom: 30px;
}

.hl2go-donation-widget h3 {
	color: #00ff88;
	margin-bottom: 20px;
	text-align: center;
	font-size: 20px;
	text-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

/* Progress Bar */
.hl2go-progress-bar {
	width: 100%;
	height: 30px;
	background: rgba(0, 0, 0, 0.3);
	border-radius: 15px;
	overflow: hidden;
	margin-bottom: 12px;
	border: 1px solid rgba(0, 255, 136, 0.2);
}

.hl2go-progress-fill {
	height: 100%;
	background: linear-gradient(90deg, #00ff88 0%, #00d9ff 100%);
	border-radius: 15px;
	transition: width 0.5s ease;
	box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.hl2go-progress-text {
	text-align: center;
	color: #fff;
	font-size: 16px;
	margin-bottom: 20px;
}

.hl2go-progress-current {
	color: #00ff88;
	font-weight: 700;
	font-size: 18px;
}

.hl2go-progress-goal {
	color: #00d9ff;
	font-weight: 700;
	font-size: 18px;
}

.hl2go-progress-separator {
	color: #666;
	margin: 0 8px;
}

.hl2go-progress-percentage {
	color: #aaa;
	font-size: 14px;
	margin-left: 8px;
}

/* Widget Heroes Section */
.hl2go-widget-heroes {
	margin: 20px 0;
	padding: 15px;
	background: rgba(0, 0, 0, 0.2);
	border-radius: 8px;
	border: 1px solid rgba(0, 255, 136, 0.1);
}

.hl2go-widget-heroes h4 {
	color: #00d9ff;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin: 0 0 12px 0;
	text-align: center;
	font-weight: 700;
}

.hl2go-heroes-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hl2go-hero-item {
	display: flex;
	align-items: center;
	padding: 8px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	transition: all 0.2s ease;
}

.hl2go-hero-item:last-child {
	border-bottom: none;
}

.hl2go-hero-item:hover {
	background: rgba(0, 255, 136, 0.05);
	padding-left: 5px;
}

.hl2go-hero-rank {
	color: #00d9ff;
	font-weight: 700;
	font-size: 14px;
	min-width: 25px;
	text-align: center;
}

.hl2go-hero-item:nth-child(1) .hl2go-hero-rank {
	color: #ffd700;
	font-size: 16px;
}

.hl2go-hero-item:nth-child(2) .hl2go-hero-rank {
	color: #c0c0c0;
	font-size: 15px;
}

.hl2go-hero-item:nth-child(3) .hl2go-hero-rank {
	color: #cd7f32;
	font-size: 15px;
}

.hl2go-hero-name {
	flex: 1;
	color: #fff;
	font-size: 13px;
	margin: 0 10px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.hl2go-hero-amount {
	color: #00ff88;
	font-weight: 700;
	font-size: 13px;
	white-space: nowrap;
}

.hl2go-widget-donate-btn {
	display: block;
	width: 100%;
	padding: 14px;
	background: linear-gradient(135deg, #00ff88 0%, #00d9ff 100%);
	border: none;
	border-radius: 8px;
	color: #1a1a2e;
	font-size: 16px;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.hl2go-widget-donate-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4);
}

/* Top Donors */
.hl2go-top-donors {
	max-width: 800px;
	margin: 40px auto;
	padding: 30px;
	background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
	border-radius: 12px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(0, 255, 136, 0.1);
}

.hl2go-top-donors h2 {
	color: #00ff88;
	text-align: center;
	margin-bottom: 30px;
	font-size: 28px;
	text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.hl2go-top-donors-table {
	width: 100%;
	border-collapse: collapse;
}

.hl2go-top-donors-table thead {
	background: rgba(0, 255, 136, 0.1);
}

.hl2go-top-donors-table th {
	padding: 15px;
	color: #00ff88;
	font-weight: 700;
	text-align: left;
	border-bottom: 2px solid rgba(0, 255, 136, 0.3);
}

.hl2go-top-donors-table th.rank {
	width: 80px;
	text-align: center;
}

.hl2go-top-donors-table th.amount {
	width: 150px;
	text-align: right;
}

.hl2go-top-donors-table tbody tr {
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	transition: all 0.3s ease;
}

.hl2go-top-donors-table tbody tr:hover {
	background: rgba(0, 255, 136, 0.05);
}

.hl2go-top-donors-table tbody tr:nth-child(1) {
	background: rgba(255, 215, 0, 0.1);
}

.hl2go-top-donors-table tbody tr:nth-child(2) {
	background: rgba(192, 192, 192, 0.1);
}

.hl2go-top-donors-table tbody tr:nth-child(3) {
	background: rgba(205, 127, 50, 0.1);
}

.hl2go-top-donors-table td {
	padding: 15px;
	color: #fff;
}

.hl2go-top-donors-table td.rank {
	text-align: center;
	font-weight: 700;
	color: #00d9ff;
	font-size: 18px;
}

.hl2go-top-donors-table td.donor {
	font-weight: 600;
}

.hl2go-top-donors-table td.amount {
	text-align: right;
	color: #00ff88;
	font-weight: 700;
	font-size: 16px;
}

.hl2go-no-donors {
	text-align: center;
	color: #aaa;
	padding: 40px;
	font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
	.hl2go-donation-form-wrapper,
	.hl2go-top-donors {
		padding: 20px;
		margin: 20px;
	}

	.hl2go-amount-buttons {
		grid-template-columns: repeat(2, 1fr);
	}

	.hl2go-top-donors-table th,
	.hl2go-top-donors-table td {
		padding: 10px;
		font-size: 14px;
	}

	.hl2go-progress-text {
		font-size: 14px;
	}
}

/* PayPal Button Container */
#hl2go-paypal-button-container {
	margin-top: 20px;
}

