/* Evolve Donate – Public Styles */

.evd-donate-wrap {
	max-width: 560px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Campaign Header on Donation Form */
.evd-campaign-header {
	display: flex;
	align-items: center;
	gap: 15px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-left: 4px solid #27ae60;
	border-radius: 8px;
	padding: 14px 18px;
	margin-bottom: 22px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.evd-campaign-header-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: #fef2f2;
	border-radius: 50%;
	flex-shrink: 0;
}

.evd-campaign-header-text {
	flex-grow: 1;
}

.evd-campaign-sublabel {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #64748b;
	margin-bottom: 3px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.evd-campaign-title {
	margin: 0 !important;
	font-size: 20px !important;
	font-weight: 700;
	color: #1e293b;
	line-height: 1.3;
}

.evd-form .evd-field {
	margin-bottom: 18px;
}

.evd-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
	font-size: 14px;
	color: #333;
}

.evd-form label .required {
	color: #e74c3c;
}

.evd-form input[type="text"],
.evd-form input[type="email"],
.evd-form input[type="tel"],
.evd-form input[type="number"],
.evd-form input[type="url"],
.evd-form select,
.evd-form textarea {
	width: 100%;
	padding: 11px 15px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 15px;
	box-sizing: border-box;
	transition: border-color .2s, box-shadow .2s, background-color .2s;
	font-family: inherit;
	background-color: #f8fafc;
	color: #0f172a;
}

.evd-form input:focus,
.evd-form select:focus,
.evd-form textarea:focus {
	border-color: #2563eb;
	background-color: #ffffff;
	outline: none;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.evd-field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.evd-amount-presets {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 10px;
}

.evd-preset-btn {
	padding: 8px 16px;
	border: 2px solid #1a73e8;
	background: #fff;
	color: #1a73e8;
	border-radius: 20px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	transition: all .2s;
}

.evd-preset-btn:hover,
.evd-preset-btn.active {
	background: #1a73e8;
	color: #fff;
}

.evd-btn {
	display: inline-block;
	padding: 14px 32px;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	font-size: 16px;
	font-weight: 700;
	transition: background .2s, transform .1s;
	width: 100%;
}

.evd-btn-primary {
	background: #27ae60;
	color: #fff;
}

.evd-btn-primary:hover {
	background: #219a52;
}

.evd-btn-primary:active {
	transform: scale(.98);
}

.evd-btn:disabled {
	opacity: .6;
	cursor: not-allowed;
}

.evd-message {
	padding: 12px 16px;
	border-radius: 6px;
	margin-bottom: 14px;
	font-size: 14px;
}

.evd-message.evd-error {
	background: #fdecea;
	color: #c0392b;
	border: 1px solid #f5c6cb;
}

.evd-message.evd-success {
	background: #eafaf1;
	color: #1e8449;
	border: 1px solid #a9dfbf;
}

.evd-secure-note {
	text-align: center;
	color: #999;
	font-size: 12px;
	margin-top: 12px;
}

.evd-secure-note .dashicons {
	font-size: 14px;
	vertical-align: middle;
}

.evd-thank-you {
	text-align: center;
	padding: 40px 20px;
}

.evd-checkmark {
	display: inline-block;
	width: 64px;
	height: 64px;
	line-height: 64px;
	background: #27ae60;
	color: #fff;
	border-radius: 50%;
	font-size: 32px;
	margin-bottom: 16px;
}

.evd-thank-you h3 {
	font-size: 22px;
	color: #222;
	margin-bottom: 10px;
}

.evd-receipt-number {
	font-size: 13px;
	color: #666;
}

/* Campaign Progress Bar */
.evd-progress-wrap {
	margin: 16px 0;
}

.evd-progress-bar-outer {
	background: #e9ecef;
	border-radius: 30px;
	height: 12px;
	overflow: hidden;
}

.evd-progress-bar-inner {
	height: 100%;
	background: linear-gradient(90deg, #27ae60, #1abc9c);
	border-radius: 30px;
	transition: width .4s ease;
}

.evd-progress-labels {
	display: flex;
	justify-content: space-between;
	margin-top: 6px;
	font-size: 14px;
	color: #555;
}

.evd-raised {
	font-weight: 700;
	color: #27ae60;
}

.evd-percent {
	text-align: center;
	font-size: 13px;
	color: #888;
	margin-top: 4px;
}

/* ==========================================================================
   Phase 3: Fundraiser Module Styles
   ========================================================================== */

/* Fundraiser Page & Hero */
.evd-fundraiser-page,
.evd-fundraiser-dashboard,
.evd-become-fundraiser {
	max-width: 800px;
	margin: 0 auto 30px auto;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.evd-fundraiser-hero {
	text-align: center;
	padding-bottom: 20px;
	border-bottom: 1px solid #f1f5f9;
	margin-bottom: 20px;
}

.evd-fundraiser-avatar,
.evd-dashboard-avatar {
	width: 90px;
	height: 90px;
	border-radius: 50%;
	overflow: hidden;
	margin: 0 auto 12px auto;
	background: #e2e8f0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.evd-fundraiser-avatar img,
.evd-dashboard-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.evd-avatar-placeholder {
	font-size: 36px;
	font-weight: 700;
	color: #64748b;
}

.evd-fundraiser-name {
	font-size: 24px;
	font-weight: 700;
	color: #1e293b;
	margin: 0 0 4px 0;
}

.evd-fundraiser-slug a,
.evd-dashboard-url a {
	color: #2563eb;
	text-decoration: none;
	font-size: 14px;
}

.evd-fundraiser-slug a:hover,
.evd-dashboard-url a:hover {
	text-decoration: underline;
}

.evd-fundraiser-progress {
	margin-bottom: 24px;
}

.evd-progress-bar {
	background: #e2e8f0;
	border-radius: 20px;
	height: 14px;
	overflow: hidden;
	margin-bottom: 8px;
}

.evd-progress-fill {
	height: 100%;
	background: linear-gradient(90deg, #10b981, #059669);
	border-radius: 20px;
	transition: width 0.4s ease;
}

.evd-progress-stats {
	display: flex;
	justify-content: center;
	align-items: baseline;
	gap: 6px;
	font-size: 16px;
}

.evd-fundraiser-bio {
	background: #f8fafc;
	border-left: 4px solid #10b981;
	padding: 16px 20px;
	border-radius: 0 8px 8px 0;
	margin-bottom: 24px;
	color: #334155;
	font-size: 15px;
	line-height: 1.6;
}

.evd-fundraiser-actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	margin-bottom: 24px;
}

.evd-btn-lg {
	max-width: 320px;
	padding: 14px 28px;
	font-size: 18px;
}

.evd-fundraiser-qr {
	text-align: center;
	padding: 16px;
	background: #f8fafc;
	border-radius: 12px;
	border: 1px solid #e2e8f0;
}

.evd-fundraiser-qr img,
.evd-qr-code img {
	max-width: 180px;
	height: auto;
	border-radius: 8px;
}

.evd-qr-caption {
	font-size: 12px;
	color: #64748b;
	margin-top: 6px;
}

/* Social Share Buttons */
.evd-share-buttons {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 10px;
}

.evd-share-label {
	font-weight: 600;
	font-size: 14px;
	color: #475569;
}

.evd-share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	color: #fff;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: transform 0.2s, opacity 0.2s;
}

.evd-share-btn:hover {
	opacity: 0.9;
	transform: translateY(-2px);
}

.evd-share-facebook { background: #1877f2; }
.evd-share-twitter { background: #1da1f2; }
.evd-share-whatsapp { background: #25d366; }
.evd-share-email { background: #ea4335; }
.evd-share-copy { background: #64748b; }

.evd-share-copy.copied {
	background: #10b981;
}

/* Campaign Badge */
.evd-fundraiser-campaign {
	border-top: 1px solid #f1f5f9;
	padding-top: 20px;
	margin-top: 20px;
}

.evd-fundraiser-campaign h3 {
	font-size: 16px;
	margin-bottom: 12px;
	color: #334155;
}

.evd-campaign-link {
	display: block;
	padding: 14px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.2s;
}

.evd-campaign-link:hover {
	border-color: #cbd5e1;
}

.evd-campaign-link h4 {
	margin: 0 0 8px 0;
	font-size: 15px;
	color: #1e293b;
}

.evd-mini-progress-bar {
	background: #e2e8f0;
	height: 8px;
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 6px;
}

.evd-mini-progress-fill {
	height: 100%;
	background: #10b981;
}

.evd-mini-progress span {
	font-size: 13px;
	color: #64748b;
}

/* Fundraiser Dashboard */
.evd-dashboard-header {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 24px;
}

.evd-dashboard-title h2 {
	margin: 0 0 4px 0;
	font-size: 22px;
}

.evd-dashboard-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 16px;
	margin-bottom: 24px;
}

.evd-stat-card {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 16px;
	text-align: center;
}

.evd-stat-label {
	font-size: 13px;
	color: #64748b;
	margin-bottom: 4px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.evd-stat-value {
	font-size: 22px;
	font-weight: 700;
	color: #0f172a;
}

.evd-goal-reached {
	text-align: center;
	color: #059669;
	font-weight: 600;
	margin-top: 8px;
}

.evd-dashboard-tabs {
	display: flex;
	gap: 8px;
	border-bottom: 2px solid #e2e8f0;
	margin-bottom: 20px;
}

.evd-tab-btn {
	padding: 10px 20px;
	border: none;
	background: none;
	font-size: 15px;
	font-weight: 600;
	color: #64748b;
	cursor: pointer;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
	transition: all 0.2s;
}

.evd-tab-btn:hover {
	color: #1e293b;
}

.evd-tab-btn.active {
	color: #10b981;
	border-bottom-color: #10b981;
}

.evd-tab-content {
	padding-top: 10px;
}

.evd-donations-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.evd-donations-table th,
.evd-donations-table td {
	padding: 12px 14px;
	text-align: left;
	border-bottom: 1px solid #e2e8f0;
}

.evd-donations-table th {
	background: #f8fafc;
	color: #475569;
	font-weight: 600;
}

.evd-no-data {
	text-align: center !important;
	color: #94a3b8;
	padding: 24px !important;
}

.evd-share-section {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 18px;
	margin-bottom: 16px;
}

.evd-share-section h3 {
	margin: 0 0 12px 0;
	font-size: 16px;
	color: #1e293b;
}

.evd-share-url {
	display: flex;
	gap: 8px;
}

.evd-share-url input {
	flex: 1;
	background: #fff;
}

.evd-embed-code {
	width: 100%;
	height: 60px;
	font-family: monospace;
	font-size: 13px;
	padding: 8px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	box-sizing: border-box;
}

.evd-btn-secondary {
	background: #64748b;
	color: #fff;
	width: auto;
	padding: 10px 18px;
	font-size: 14px;
}

.evd-btn-secondary:hover {
	background: #475569;
}

.evd-notice {
	padding: 12px 16px;
	border-radius: 8px;
	margin-bottom: 16px;
	font-size: 14px;
}

.evd-notice-success {
	background: #ecfdf5;
	color: #047857;
	border: 1px solid #a7f3d0;
}

/* Become Fundraiser Form */
.evd-become-fundraiser h3 {
	font-size: 22px;
	margin: 0 0 6px 0;
	color: #0f172a;
}

.evd-become-fundraiser p {
	color: #475569;
	margin-bottom: 20px;
}

.evd-slug-preview-bar {
	margin-top: 6px;
	padding: 8px 12px;
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	font-size: 13px;
	color: #64748b;
	word-break: break-all;
}

.evd-slug-preview-bar strong {
	color: #2563eb;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.evd-already-fundraiser {
	padding: 16px;
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-radius: 8px;
	color: #1e40af;
}

.evd-already-fundraiser a {
	font-weight: 600;
	color: #1d4ed8;
}

/* ==========================================================================
   Phase 4: Team Fundraising Module Styles
   ========================================================================== */

/* Team Leader Badge */
.evd-team-leader {
	font-size: 14px;
	color: #64748b;
	margin-top: 6px;
}

.evd-team-leader-badge {
	display: inline-block;
	padding: 2px 10px;
	background: #7c3aed;
	color: #fff;
	border-radius: 12px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	vertical-align: middle;
	margin-left: 6px;
}

/* Team Members Section (Public Team Page) */
.evd-team-members-section {
	margin-bottom: 24px;
	border-top: 1px solid #f1f5f9;
	padding-top: 20px;
}

.evd-team-members-section h3 {
	font-size: 16px;
	color: #334155;
	margin-bottom: 16px;
}

/* Team Members Grid (Public Page + Dashboard) */
.evd-team-members-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 16px;
}

.evd-team-member-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 14px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.evd-team-member-card:hover {
	border-color: #cbd5e1;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.evd-team-member-card .evd-team-member-avatar,
.evd-team-member-card-dash .evd-team-member-avatar {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	overflow: hidden;
	margin-bottom: 8px;
	background: #e2e8f0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.evd-team-member-card img,
.evd-team-member-card-dash img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.evd-team-member-card span {
	font-size: 13px;
	font-weight: 600;
	color: #334155;
	text-align: center;
}

/* Team Member Card (Dashboard) */
.evd-team-member-card-dash {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	transition: border-color 0.2s;
}

.evd-team-member-card-dash:hover {
	border-color: #cbd5e1;
}

.evd-team-member-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.evd-team-member-info strong {
	font-size: 14px;
	color: #1e293b;
}

.evd-team-member-info span {
	font-size: 13px;
	color: #64748b;
}

.evd-team-member-info a {
	font-size: 13px;
	color: #2563eb;
	text-decoration: none;
	font-weight: 600;
}

.evd-team-member-info a:hover {
	text-decoration: underline;
}

/* Teams List Shortcode */
.evd-teams-list-wrap {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 20px;
	max-width: 960px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.evd-team-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	transition: box-shadow 0.2s;
}

.evd-team-card:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.evd-team-card-header {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 16px;
}

.evd-team-card-photo {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid #e2e8f0;
}

.evd-team-card-photo-placeholder {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #e2e8f0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	font-weight: 700;
	color: #64748b;
}

.evd-team-card-header h3 {
	margin: 0;
	font-size: 17px;
}

.evd-team-card-header h3 a {
	color: #1e293b;
	text-decoration: none;
}

.evd-team-card-header h3 a:hover {
	color: #2563eb;
}

.evd-team-member-count {
	font-size: 13px;
	color: #64748b;
}

.evd-team-card-progress {
	margin-top: 4px;
}

/* Join Team Shortcode */
.evd-join-team-wrap {
	max-width: 400px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 24px;
	text-align: center;
}

.evd-join-team-wrap p {
	margin-bottom: 16px;
	color: #475569;
}

.evd-join-team-wrap .evd-btn {
	max-width: 240px;
	margin: 0 auto;
}

/* ==========================================================================
   Patron Membership & Devotional Campaign Theme ([evd_donate template="patron"])
   ========================================================================== */

.evd-patron-container {
	max-width: 860px;
	margin: 240px auto 60px auto !important;
	font-family: "Georgia", "Cinzel", "Times New Roman", serif, -apple-system, BlinkMacSystemFont;
	color: #333;
}

.evd-patron-header {
	text-align: center;
	margin-bottom: 25px;
}

.evd-patron-title-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 8px;
}

.evd-patron-title {
	margin: 0 !important;
	font-size: 36px !important;
	font-weight: 700 !important;
	color: #992219 !important;
	font-family: "Georgia", "Cinzel", serif !important;
	letter-spacing: 0.5px;
}

.evd-patron-lotus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.evd-patron-divider {
	width: 240px;
	height: 4px;
	background: #fbbd5c;
	border-radius: 2px;
	margin: 8px auto 0 auto;
}

.evd-patron-card {
	background-color: #fef4cd;
	border: 1px solid #fae1a2;
	border-radius: 12px;
	padding: 38px 45px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.evd-patron-form .evd-field label {
	color: #992219 !important;
	font-weight: 700;
	font-size: 15px;
	margin-bottom: 8px;
	display: block;
}

.evd-patron-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 2px;
}

.evd-patron-form input[type="text"],
.evd-patron-form input[type="email"],
.evd-patron-form input[type="tel"],
.evd-patron-form input[type="number"],
.evd-patron-form select {
	background-color: #ffffff;
	border: 1px solid #d9ceb2;
	border-radius: 6px;
	padding: 12px 16px;
	font-size: 15px;
	color: #333333;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) inset;
}

.evd-patron-form input:focus,
.evd-patron-form select:focus {
	border-color: #992219;
	background-color: #ffffff;
	box-shadow: 0 0 0 3px rgba(153, 34, 25, 0.1);
	outline: none;
}

.evd-patron-radio-list {
	list-style-type: none !important;
	padding: 0 !important;
	margin: 6px 0 0 0 !important;
}

.evd-patron-radio-list li {
	margin-bottom: 12px !important;
}

.evd-patron-radio-label {
	display: inline-flex !important;
	align-items: center;
	cursor: pointer;
	font-weight: 600 !important;
	color: #8d2315 !important;
	font-size: 16px;
	margin-bottom: 0 !important;
}

.evd-patron-radio-label input[type="radio"] {
	margin-right: 10px;
	accent-color: #992219;
	width: 18px;
	height: 18px;
	cursor: pointer;
}

#evd-patron-custom-input {
	max-width: 320px;
	margin-top: 10px;
}

.evd-patron-upi-card {
	background: rgba(255, 255, 255, 0.65);
	border: 1px dashed #d6b365;
	border-radius: 8px;
	padding: 15px 20px;
}

.evd-upi-header {
	margin-bottom: 6px;
}

.evd-upi-badge {
	display: inline-block;
	background-color: #e6f4ea;
	color: #137333;
	font-size: 13px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 20px;
	border: 1px solid #ceead6;
}

.evd-upi-help {
	margin: 0 !important;
	font-size: 13.5px;
	color: #43522a;
	line-height: 1.5;
	font-weight: 500;
}

.evd-patron-submit-wrap {
	margin-top: 25px;
}

.evd-btn.evd-patron-btn {
	background-color: #992219 !important;
	color: #ffffff !important;
	font-size: 17px !important;
	font-weight: 700 !important;
	padding: 14px 34px !important;
	border-radius: 6px !important;
	border: none !important;
	cursor: pointer;
	transition: background-color 0.2s, transform 0.1s;
	display: inline-block;
	width: auto !important;
	box-shadow: 0 3px 10px rgba(153, 34, 25, 0.25);
}

.evd-btn.evd-patron-btn:hover {
	background-color: #7a1b13 !important;
	transform: translateY(-1px);
	box-shadow: 0 5px 14px rgba(153, 34, 25, 0.3);
}

/* Responsive adjustments for mobile */
@media (max-width: 640px) {
	.evd-patron-grid {
		grid-template-columns: 1fr;
		gap: 0;
	}
	.evd-patron-card {
		padding: 25px 20px;
	}
	.evd-patron-title {
		font-size: 26px !important;
	}
}

/* ==========================================================================
   Global Evolve Donate Devotional Singularity Theme
   Applies consistent devotional branding across all forms, dashboards, & pages
   ========================================================================== */

/* Prevent theme margin-collapse underneath fixed/absolute ISKCON header navigation */
.site-main,
.site-main .entry-content,
.site-main .page-content {
	padding-top: 1px !important;
}

/* Automatically hide redundant WordPress theme page titles when an Evolve Donate form or dashboard is present */
.site-main:has(.evd-donate-wrap) .entry-header,
.site-main:has(.evd-patron-container) .entry-header,
.site-main:has(.evd-form-wrap) .entry-header,
.site-main:has(.evd-fundraiser-page-wrap) .entry-header,
.site-main:has(.evd-fundraiser-dashboard-wrap) .entry-header,
.site-main:has(.evd-dashboard-wrap) .entry-header,
.site-main:has(.evd-team-dashboard-wrap) .entry-header,
.site-main:has(.evd-team-page-wrap) .entry-header,
.site-main:has(.evd-join-team-wrap) .entry-header,
.site-main:has(.evd-subscriptions-wrap) .entry-header,
.site-main:has(.evd-team-create-wrap) .entry-header,
.site-main:has(.evd-progress-wrap) .entry-header,
body:has(.evd-donate-wrap) h1.entry-title,
body:has(.evd-patron-container) h1.entry-title,
body:has(.evd-form-wrap) h1.entry-title,
body:has(.evd-fundraiser-page-wrap) h1.entry-title,
body:has(.evd-fundraiser-dashboard-wrap) h1.entry-title,
body:has(.evd-dashboard-wrap) h1.entry-title,
body:has(.evd-team-dashboard-wrap) h1.entry-title,
body:has(.evd-team-page-wrap) h1.entry-title,
body:has(.evd-join-team-wrap) h1.entry-title,
body:has(.evd-subscriptions-wrap) h1.entry-title,
body:has(.evd-team-create-wrap) h1.entry-title,
body:has(.evd-progress-wrap) h1.entry-title,
body:has(.evd-donate-wrap) h1.page-title,
body:has(.evd-patron-container) h1.page-title,
body:has(.evd-subscriptions-wrap) h1.page-title {
	display: none !important;
}

/* Main Page & Form Containers */
.evd-donate-wrap,
.evd-patron-container,
.evd-form-wrap,
.evd-fundraiser-page-wrap,
.evd-fundraiser-dashboard-wrap,
.evd-dashboard-wrap,
.evd-team-dashboard-wrap,
.evd-team-page-wrap,
.evd-join-team-wrap,
.evd-subscriptions-wrap,
.evd-team-create-wrap,
.evd-progress-wrap {
	display: block !important;
	position: relative !important;
	clear: both !important;
	z-index: 5 !important;
	margin: 240px auto 60px auto !important;
	max-width: 860px !important;
}

.evd-donate-wrap,
.evd-form-wrap,
.evd-fundraiser-page-wrap,
.evd-fundraiser-dashboard-wrap,
.evd-dashboard-wrap,
.evd-team-dashboard-wrap,
.evd-team-page-wrap,
.evd-join-team-wrap,
.evd-subscriptions-wrap,
.evd-team-create-wrap {
	background-color: #fef4cd !important;
	border: 1px solid #fae1a2 !important;
	border-radius: 12px !important;
	padding: 35px 40px !important;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: #333333;
}

/* Typography & Headers across all dashboards and pages */
.evd-donate-wrap h1, .evd-donate-wrap h2, .evd-donate-wrap h3,
.evd-fundraiser-page-wrap h1, .evd-fundraiser-page-wrap h2, .evd-fundraiser-page-wrap h3,
.evd-fundraiser-dashboard-wrap h1, .evd-fundraiser-dashboard-wrap h2, .evd-fundraiser-dashboard-wrap h3,
.evd-team-dashboard-wrap h1, .evd-team-dashboard-wrap h2, .evd-team-dashboard-wrap h3,
.evd-team-page-wrap h1, .evd-team-page-wrap h2, .evd-team-page-wrap h3,
.evd-subscriptions-wrap h1, .evd-subscriptions-wrap h2, .evd-subscriptions-wrap h3,
.evd-join-team-wrap h1, .evd-join-team-wrap h2, .evd-join-team-wrap h3 {
	color: #992219 !important;
	font-family: "Georgia", "Cinzel", "Times New Roman", serif !important;
}

/* Campaign Supporting Banner */
.evd-campaign-header {
	background-color: #fffbe6 !important;
	border: 1px solid #fae1a2 !important;
	border-left: 5px solid #fbbd5c !important;
	border-radius: 8px !important;
	padding: 16px 20px !important;
	margin-bottom: 25px !important;
}

.evd-campaign-sublabel {
	color: #715a2a !important;
	font-size: 13px !important;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-weight: 600;
}

.evd-campaign-title {
	color: #992219 !important;
	font-size: 22px !important;
	margin: 4px 0 0 0 !important;
	font-weight: 700 !important;
}

/* Form Fields & Inputs */
.evd-form .evd-field label,
.evd-fundraiser-dashboard-wrap label,
.evd-team-dashboard-wrap label,
.evd-team-create-wrap label {
	color: #992219 !important;
	font-weight: 700 !important;
	font-size: 15px;
	margin-bottom: 8px;
}

.evd-form input[type="text"],
.evd-form input[type="email"],
.evd-form input[type="tel"],
.evd-form input[type="number"],
.evd-form input[type="url"],
.evd-form select,
.evd-form textarea,
.evd-fundraiser-dashboard-wrap input[type="text"],
.evd-fundraiser-dashboard-wrap input[type="email"],
.evd-fundraiser-dashboard-wrap input[type="tel"],
.evd-fundraiser-dashboard-wrap select,
.evd-fundraiser-dashboard-wrap textarea,
.evd-team-dashboard-wrap input[type="text"],
.evd-team-dashboard-wrap textarea {
	background-color: #ffffff !important;
	border: 1px solid #d9ceb2 !important;
	border-radius: 6px !important;
	padding: 12px 16px !important;
	font-size: 15px !important;
	color: #333333 !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) inset !important;
}

.evd-form input:focus,
.evd-form select:focus,
.evd-form textarea:focus,
.evd-fundraiser-dashboard-wrap input:focus,
.evd-fundraiser-dashboard-wrap select:focus,
.evd-fundraiser-dashboard-wrap textarea:focus,
.evd-team-dashboard-wrap input:focus,
.evd-team-dashboard-wrap textarea:focus {
	border-color: #992219 !important;
	background-color: #ffffff !important;
	box-shadow: 0 0 0 3px rgba(153, 34, 25, 0.15) !important;
	outline: none !important;
}

/* Preset Buttons & Radio Groups */
.evd-preset-btn {
	background-color: #fff9e6 !important;
	border: 1px solid #d6b365 !important;
	color: #8d2315 !important;
	font-weight: 600 !important;
	border-radius: 6px !important;
	padding: 10px 18px !important;
	transition: all 0.2s ease;
}

.evd-preset-btn:hover,
.evd-preset-btn.active {
	background-color: #992219 !important;
	color: #ffffff !important;
	border-color: #992219 !important;
	box-shadow: 0 3px 8px rgba(153, 34, 25, 0.2);
}

/* All Primary Buttons Across the Plugin */
.evd-btn,
button#evd-submit-btn,
.evd-fundraiser-dashboard-wrap button[type="submit"],
.evd-team-dashboard-wrap button[type="submit"] {
	background-color: #992219 !important;
	color: #ffffff !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	padding: 12px 28px !important;
	border-radius: 6px !important;
	border: none !important;
	cursor: pointer;
	transition: background-color 0.2s, transform 0.1s;
	box-shadow: 0 3px 10px rgba(153, 34, 25, 0.22);
}

.evd-btn:hover,
button#evd-submit-btn:hover,
.evd-fundraiser-dashboard-wrap button[type="submit"]:hover,
.evd-team-dashboard-wrap button[type="submit"]:hover {
	background-color: #7a1b13 !important;
	transform: translateY(-1px);
	box-shadow: 0 5px 14px rgba(153, 34, 25, 0.28);
}

.evd-btn.evd-btn-secondary {
	background-color: #fbbd5c !important;
	color: #741b11 !important;
}

.evd-btn.evd-btn-secondary:hover {
	background-color: #f59e0b !important;
	color: #ffffff !important;
}

/* Stat Cards, Boxes & Summary Panels */
.evd-stat-card,
.evd-box,
.evd-summary-card,
.evd-team-member-card,
.evd-member-card {
	background-color: #fffbe6 !important;
	border: 1px solid #fbbd5c !important;
	border-radius: 8px !important;
	padding: 18px !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.evd-stat-number,
.evd-stat-value {
	color: #8d2315 !important;
	font-weight: 700 !important;
}

/* Progress Bars */
.evd-progress-bar,
.evd-team-progress,
.evd-mini-progress {
	background-color: #fae1a2 !important;
	border-radius: 20px !important;
	overflow: hidden;
	height: 12px !important;
}

.evd-progress-fill,
.evd-progress-bar-inner,
.evd-mini-progress-fill {
	background: linear-gradient(90deg, #fbbd5c, #992219) !important;
	border-radius: 20px !important;
	transition: width 0.6s ease-in-out;
}

/* Tables across Subscriptions, Teams, and Dashboards */
.evd-table,
.evd-donations-table,
.evd-subscriptions-table {
	width: 100%;
	border-collapse: separate !important;
	border-spacing: 0;
	border: 1px solid #fae1a2 !important;
	border-radius: 8px !important;
	overflow: hidden;
	background: #ffffff !important;
}

.evd-table th,
.evd-donations-table th,
.evd-subscriptions-table th {
	background-color: #fdf2c4 !important;
	color: #8d2315 !important;
	font-weight: 700 !important;
	padding: 14px 16px !important;
	border-bottom: 1px solid #fae1a2 !important;
	text-align: left;
}

.evd-table td,
.evd-donations-table td,
.evd-subscriptions-table td {
	padding: 12px 16px !important;
	border-bottom: 1px solid #f4e8c1 !important;
	color: #444 !important;
}

.evd-table tr:last-child td,
.evd-donations-table tr:last-child td,
.evd-subscriptions-table tr:last-child td {
	border-bottom: none !important;
}

/* Navigation Tabs & Menus */
.evd-tabs button,
.evd-nav-tabs a,
.evd-tab-link {
	background: transparent !important;
	border: none !important;
	color: #8d2315 !important;
	font-weight: 600 !important;
	padding: 12px 20px !important;
	border-bottom: 3px solid transparent !important;
	cursor: pointer;
}

.evd-tabs button.active,
.evd-tabs button:hover,
.evd-nav-tabs a.active,
.evd-nav-tabs a:hover,
.evd-tab-link.active,
.evd-tab-link:hover {
	color: #992219 !important;
	border-bottom-color: #fbbd5c !important;
	background: rgba(251, 189, 92, 0.15) !important;
}

/* Responsive adjustments for mobile across all pages */
@media (max-width: 640px) {
	.evd-donate-wrap,
	.evd-patron-container,
	.evd-form-wrap,
	.evd-fundraiser-page-wrap,
	.evd-fundraiser-dashboard-wrap,
	.evd-dashboard-wrap,
	.evd-team-dashboard-wrap,
	.evd-team-page-wrap,
	.evd-join-team-wrap,
	.evd-subscriptions-wrap,
	.evd-team-create-wrap,
	.evd-progress-wrap {
		margin: 180px auto 40px auto !important;
	}

	.evd-donate-wrap,
	.evd-form-wrap,
	.evd-fundraiser-page-wrap,
	.evd-fundraiser-dashboard-wrap,
	.evd-dashboard-wrap,
	.evd-team-dashboard-wrap,
	.evd-team-page-wrap,
	.evd-join-team-wrap,
	.evd-subscriptions-wrap,
	.evd-team-create-wrap {
		padding: 24px 18px !important;
		border-radius: 8px !important;
	}
}

