/**
 * Giving Module Styles
 *
 * @package Kingdom_Connect
 */

.kc-giving-container {
	max-width: 600px;
	margin: 40px auto;
	padding: 30px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.kc-giving-form {
	position: relative;
}

.kc-giving-step {
	display: none;
}

.kc-giving-step.active {
	display: block;
}

.kc-giving-step h2 {
	margin-top: 0;
	margin-bottom: 30px;
	color: #1d2327;
	font-size: 24px;
}

.kc-amount-buttons {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 15px;
	margin-bottom: 30px;
}

.kc-amount-btn {
	padding: 20px;
	font-size: 18px;
	font-weight: 600;
	background: #f0f0f1;
	border: 2px solid #ddd;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.3s;
}

.kc-amount-btn:hover {
	background: #e0e0e1;
	border-color: #2271b1;
}

.kc-amount-btn.active {
	background: #2271b1;
	color: #fff;
	border-color: #2271b1;
}

.kc-custom-amount {
	margin-bottom: 30px;
}

.kc-custom-amount label {
	display: block;
	margin-bottom: 10px;
	font-weight: 600;
}

.kc-custom-amount input {
	width: 100%;
	padding: 12px;
	font-size: 16px;
	border: 2px solid #ddd;
	border-radius: 4px;
}

.kc-fund-selection {
	margin-bottom: 30px;
}

.kc-fund-option {
	display: block;
	padding: 15px;
	margin-bottom: 10px;
	background: #f9f9f9;
	border: 2px solid #ddd;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.3s;
}

.kc-fund-option:hover {
	background: #f0f0f1;
	border-color: #2271b1;
}

.kc-fund-option input[type="radio"] {
	margin-right: 10px;
}

.kc-fund-option input[type="radio"]:checked + span {
	font-weight: 600;
	color: #2271b1;
}

.kc-fund-option input[type="radio"]:checked {
	accent-color: #2271b1;
}

#kc-card-element {
	padding: 15px;
	margin-bottom: 20px;
	border: 2px solid #ddd;
	border-radius: 6px;
	background: #fff;
}

.kc-error-message {
	color: #d63638;
	margin-bottom: 20px;
	font-size: 14px;
}

.kc-donor-info {
	margin-bottom: 30px;
}

.kc-donor-info label {
	display: block;
	margin-bottom: 15px;
	font-weight: 600;
}

.kc-donor-info input {
	width: 100%;
	padding: 12px;
	margin-top: 5px;
	font-size: 16px;
	border: 2px solid #ddd;
	border-radius: 4px;
}

.kc-btn,
.kc-btn-next,
.kc-btn-back,
.kc-btn-submit {
	padding: 12px 24px;
	font-size: 16px;
	font-weight: 600;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.3s;
}

.kc-btn-next,
.kc-btn-submit {
	background: #2271b1;
	color: #fff;
	float: right;
}

.kc-btn-next:hover,
.kc-btn-submit:hover {
	background: #135e96;
}

.kc-btn-back {
	background: #f0f0f1;
	color: #1d2327;
	float: left;
}

.kc-btn-back:hover {
	background: #e0e0e1;
}

.kc-giving-step::after {
	content: '';
	display: table;
	clear: both;
}

.kc-success-message {
	text-align: center;
	padding: 40px 20px;
}

.kc-success-message .dashicons {
	font-size: 64px;
	width: 64px;
	height: 64px;
	color: #00a32a;
	margin-bottom: 20px;
}

.kc-success-message h2 {
	color: #00a32a;
	margin-bottom: 15px;
}

/* My Giving Styles */
.kc-my-giving-container {
	max-width: 900px;
	margin: 40px auto;
	padding: 30px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.kc-giving-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin-bottom: 40px;
}

.kc-stat-box {
	padding: 20px;
	background: #f9f9f9;
	border-radius: 6px;
	text-align: center;
}

.kc-stat-label {
	display: block;
	font-size: 14px;
	color: #646970;
	margin-bottom: 10px;
}

.kc-stat-value {
	display: block;
	font-size: 32px;
	font-weight: 600;
	color: #2271b1;
}

.kc-giving-chart-container {
	margin-bottom: 40px;
}

.kc-giving-chart-container h3 {
	margin-bottom: 20px;
}

.kc-giving-history h3 {
	margin-bottom: 20px;
}

.kc-giving-table {
	width: 100%;
	border-collapse: collapse;
}

.kc-giving-table thead {
	background: #f0f0f1;
}

.kc-giving-table th,
.kc-giving-table td {
	padding: 12px;
	text-align: left;
	border-bottom: 1px solid #ddd;
}

.kc-giving-table th {
	font-weight: 600;
}

.kc-tax-statement {
	margin-top: 40px;
	padding-top: 40px;
	border-top: 2px solid #ddd;
}

.kc-btn-secondary {
	background: #646970;
	color: #fff;
}

.kc-btn-secondary:hover {
	background: #50575e;
}

.kc-no-donations {
	text-align: center;
	padding: 40px 20px;
	color: #646970;
}

@media (max-width: 768px) {
	.kc-giving-container,
	.kc-my-giving-container {
		margin: 20px;
		padding: 20px;
	}

	.kc-amount-buttons {
		grid-template-columns: 1fr;
	}
}



* Giving Module Styles
*
* @package Kingdom_Connect
*/

.kc-giving-container {
	max-width: 600px;
	margin: 40px auto;
	padding: 30px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.kc-giving-form {
	position: relative;
}

.kc-giving-step {
	display: none;
}

.kc-giving-step.active {
	display: block;
}

.kc-giving-step h2 {
	margin-top: 0;
	margin-bottom: 30px;
	color: #1d2327;
	font-size: 24px;
}

.kc-amount-buttons {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 15px;
	margin-bottom: 30px;
}

.kc-amount-btn {
	padding: 20px;
	font-size: 18px;
	font-weight: 600;
	background: #f0f0f1;
	border: 2px solid #ddd;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.3s;
}

.kc-amount-btn:hover {
	background: #e0e0e1;
	border-color: #2271b1;
}

.kc-amount-btn.active {
	background: #2271b1;
	color: #fff;
	border-color: #2271b1;
}

.kc-custom-amount {
	margin-bottom: 30px;
}

.kc-custom-amount label {
	display: block;
	margin-bottom: 10px;
	font-weight: 600;
}

.kc-custom-amount input {
	width: 100%;
	padding: 12px;
	font-size: 16px;
	border: 2px solid #ddd;
	border-radius: 4px;
}

.kc-fund-selection {
	margin-bottom: 30px;
}

.kc-fund-option {
	display: block;
	padding: 15px;
	margin-bottom: 10px;
	background: #f9f9f9;
	border: 2px solid #ddd;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.3s;
}

.kc-fund-option:hover {
	background: #f0f0f1;
	border-color: #2271b1;
}

.kc-fund-option input[type="radio"] {
	margin-right: 10px;
}

.kc-fund-option input[type="radio"]:checked + span {
	font-weight: 600;
	color: #2271b1;
}

.kc-fund-option input[type="radio"]:checked {
	accent-color: #2271b1;
}

#kc-card-element {
	padding: 15px;
	margin-bottom: 20px;
	border: 2px solid #ddd;
	border-radius: 6px;
	background: #fff;
}

.kc-error-message {
	color: #d63638;
	margin-bottom: 20px;
	font-size: 14px;
}

.kc-donor-info {
	margin-bottom: 30px;
}

.kc-donor-info label {
	display: block;
	margin-bottom: 15px;
	font-weight: 600;
}

.kc-donor-info input {
	width: 100%;
	padding: 12px;
	margin-top: 5px;
	font-size: 16px;
	border: 2px solid #ddd;
	border-radius: 4px;
}

.kc-btn,
.kc-btn-next,
.kc-btn-back,
.kc-btn-submit {
	padding: 12px 24px;
	font-size: 16px;
	font-weight: 600;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.3s;
}

.kc-btn-next,
.kc-btn-submit {
	background: #2271b1;
	color: #fff;
	float: right;
}

.kc-btn-next:hover,
.kc-btn-submit:hover {
	background: #135e96;
}

.kc-btn-back {
	background: #f0f0f1;
	color: #1d2327;
	float: left;
}

.kc-btn-back:hover {
	background: #e0e0e1;
}

.kc-giving-step::after {
	content: '';
	display: table;
	clear: both;
}

.kc-success-message {
	text-align: center;
	padding: 40px 20px;
}

.kc-success-message .dashicons {
	font-size: 64px;
	width: 64px;
	height: 64px;
	color: #00a32a;
	margin-bottom: 20px;
}

.kc-success-message h2 {
	color: #00a32a;
	margin-bottom: 15px;
}

/* My Giving Styles */
.kc-my-giving-container {
	max-width: 900px;
	margin: 40px auto;
	padding: 30px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.kc-giving-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin-bottom: 40px;
}

.kc-stat-box {
	padding: 20px;
	background: #f9f9f9;
	border-radius: 6px;
	text-align: center;
}

.kc-stat-label {
	display: block;
	font-size: 14px;
	color: #646970;
	margin-bottom: 10px;
}

.kc-stat-value {
	display: block;
	font-size: 32px;
	font-weight: 600;
	color: #2271b1;
}

.kc-giving-chart-container {
	margin-bottom: 40px;
}

.kc-giving-chart-container h3 {
	margin-bottom: 20px;
}

.kc-giving-history h3 {
	margin-bottom: 20px;
}

.kc-giving-table {
	width: 100%;
	border-collapse: collapse;
}

.kc-giving-table thead {
	background: #f0f0f1;
}

.kc-giving-table th,
.kc-giving-table td {
	padding: 12px;
	text-align: left;
	border-bottom: 1px solid #ddd;
}

.kc-giving-table th {
	font-weight: 600;
}

.kc-tax-statement {
	margin-top: 40px;
	padding-top: 40px;
	border-top: 2px solid #ddd;
}

.kc-btn-secondary {
	background: #646970;
	color: #fff;
}

.kc-btn-secondary:hover {
	background: #50575e;
}

.kc-no-donations {
	text-align: center;
	padding: 40px 20px;
	color: #646970;
}

@media (max-width: 768px) {
	.kc-giving-container,
	.kc-my-giving-container {
		margin: 20px;
		padding: 20px;
	}

	.kc-amount-buttons {
		grid-template-columns: 1fr;
	}
}
