/**
 * Obituary Gift Buttons – Button Styles
 *
 * @package Obituary_Gift_Buttons
 */

/* ============================================================
   Button Group Container
   ============================================================ */
.ogb-button-group {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 24px 0;
	align-items: center;
}

.ogb-button-group.ogb-layout-horizontal {
	flex-direction: row;
}

.ogb-button-group.ogb-layout-vertical {
	flex-direction: column;
	align-items: flex-start;
}

/* ============================================================
   Individual Button
   ============================================================ */
.ogb-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 16px 32px;
	min-width: 190px;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.2;
	color: #ffffff;
	background-color: #682145;
	background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.1) 100%);
	border: none;
	border-radius: 14px;
	cursor: pointer;
	text-decoration: none;
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08), 0 4px 6px rgba(0, 0, 0, 0.05);
	min-height: 52px;
	-webkit-font-smoothing: antialiased;
	position: relative;
	overflow: hidden;
}

.ogb-button::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

.ogb-button:hover::before {
	opacity: 1;
}

.ogb-button:hover,
.ogb-button:focus-visible {
	transform: translateY(-4px) scale(1.04);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15), 0 8px 12px rgba(0, 0, 0, 0.08);
	filter: contrast(1.1) brightness(1.05);
	outline: none;
}

.ogb-button:active {
	transform: translateY(-1px) scale(0.98);
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
	transition: all 0.1s ease;
}

/* Icon */
.ogb-button-icon {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.ogb-button-icon svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

/* ============================================================
   Toast Notifications
   ============================================================ */
.ogb-toast {
	position: fixed;
	bottom: -80px;
	right: 20px;
	z-index: 1000001;
	padding: 13px 20px;
	max-width: 320px;
	background: #333333;
	color: #ffffff;
	font-size: 14px;
	font-weight: 500;
	border-radius: 6px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
	transition: bottom 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
	pointer-events: none;
}

.ogb-toast.ogb-toast-visible {
	bottom: 20px;
}

.ogb-toast.ogb-toast-success {
	background: #2A9D8F;
}

.ogb-toast.ogb-toast-error {
	background: #E63946;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 600px) {
	.ogb-button-group.ogb-layout-horizontal {
		flex-direction: column;
		align-items: stretch;
	}

	.ogb-button {
		width: 100%;
		min-width: unset;
		justify-content: center;
	}

	.ogb-toast {
		right: 10px;
		left: 10px;
		max-width: unset;
	}
}