/**
 * AOGM Button
 *
 * @package AOGM
 */

/*
|--------------------------------------------------------------------------
| Button Wrapper
|--------------------------------------------------------------------------
*/

.aogm-button-wrapper {
	width: auto;
}

/*
|--------------------------------------------------------------------------
| Button Base
|--------------------------------------------------------------------------
*/

.aogm-button {
    
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;

	position: relative;

	text-decoration: none;
	cursor: pointer;

	border-style: solid;
	border-width: 0;

	box-sizing: border-box;

	transition:
	background-color 0.3s ease,
	color 0.3s ease,
	border-color 0.3s ease,
	box-shadow 0.3s ease,
	transform 0.3s ease;
}



.aogm-button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

/*
|--------------------------------------------------------------------------
| Universal Box Sizing
|--------------------------------------------------------------------------
*/

.aogm-button,
.aogm-button *,
.aogm-button *::before,
.aogm-button *::after {
	box-sizing: border-box;
}

/*
|--------------------------------------------------------------------------
| Full Width
|--------------------------------------------------------------------------
*/

.aogm-button--full-width {
	display: flex;
	width: 100%;
}

/*
|--------------------------------------------------------------------------
| Icon
|--------------------------------------------------------------------------
*/

.aogm-button__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	line-height: 1;
}

.aogm-button__icon i,
.aogm-button__icon svg {
	display: block;

	width: 1em;
	height: 1em;
}

.aogm-button__icon svg {
	fill: currentColor;
}

/*
|--------------------------------------------------------------------------
| Text
|--------------------------------------------------------------------------
*/

.aogm-button__text {
	display: inline-block;
}

/*
|--------------------------------------------------------------------------
| Button Sizes
|--------------------------------------------------------------------------
*/

.aogm-button--xs {
	padding: 8px 16px;
}

.aogm-button--sm {
	padding: 10px 20px;
}

.aogm-button--md {
	padding: 12px 24px;
}

.aogm-button--lg {
	padding: 14px 28px;
}

.aogm-button--xl {
	padding: 16px 32px;
}

/*
|--------------------------------------------------------------------------
| Button Position
|--------------------------------------------------------------------------
*/

.aogm-button-wrapper.align-left {
	text-align: left;
}

.aogm-button-wrapper.align-center {
	text-align: center;
}

.aogm-button-wrapper.align-right {
	text-align: right;
}

.aogm-button-wrapper.align-justify .aogm-button {
	width: 100%;
}

/*
|--------------------------------------------------------------------------
| Disabled
|--------------------------------------------------------------------------
*/

.aogm-button[disabled],
.aogm-button.disabled {
	opacity: 0.6;
	pointer-events: none;
	cursor: not-allowed;
}

/*
|--------------------------------------------------------------------------
| Responsive
|--------------------------------------------------------------------------
*/

@media (max-width: 767px) {

	.aogm-button--xl {
		padding: 14px 28px;
	}

	.aogm-button--lg {
		padding: 12px 24px;
	}

}


