/**
 * Intervals Social Login - Button Styles
 * Tīrs CSS bez !important
 */

.isl-container {
	width: 100%;
	margin: 0 auto;
}

.isl-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
}

.isl-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex: 0 0 auto;
	padding: 10px 20px;
	border-radius: 4px;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.4;
	transition: opacity 0.2s ease, transform 0.1s ease;
	cursor: pointer;
	box-sizing: border-box;
	text-align: center;
	white-space: nowrap;
}

.isl-button:hover {
	opacity: 0.9;
	text-decoration: none;
	transform: translateY(-1px);
}

.isl-button:active {
	transform: translateY(0);
}

.isl-button-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.isl-button-icon svg {
	width: 24px;
	height: 24px;
	display: block;
}

.isl-button-label {
	text-align: left;
}

/* Google - Light style */
.isl-button-google {
	background: #fff;
	color: #3c4043;
	border: 1px solid #dadce0;
}

.isl-button-google:hover {
	background: #f8f9fa;
	color: #3c4043;
}

/* Facebook - Blue */
.isl-button-facebook {
	background: #1877F2;
	color: #fff;
	border: none;
}

.isl-button-facebook:hover {
	background: #166fe5;
	color: #fff;
}

/* Twitter/X - Black */
.isl-button-twitter {
	background: #000;
	color: #fff;
	border: none;
}

.isl-button-twitter:hover {
	background: #1a1a1a;
	color: #fff;
}

/* Mobile - wrap ja neietilpst */
@media (max-width: 480px) {
	.isl-button {
		padding: 10px 16px;
		font-size: 13px;
	}
}

/* Checkout integrācija - kompaktāks stils */
.woocommerce-checkout .isl-container {
	margin: 20px 0;
}

.woocommerce-checkout .isl-button {
	font-size: 13px;
	padding: 8px 14px;
}

/* My Account lapa */
.woocommerce-account .isl-container {
	margin: 15px 0;
}

/* Produktu lapa - Friend Circle notice */
.product .isl-container {
	margin: 15px 0;
}

/* Loading state (optional) */
.isl-button.loading {
	opacity: 0.6;
	pointer-events: none;
}

/* Error message styling */
.isl-error {
	background: #f8d7da;
	border: 1px solid #f5c6cb;
	color: #721c24;
	padding: 12px 16px;
	border-radius: 4px;
	margin: 15px 0;
	font-size: 14px;
}

/* Success message styling */
.isl-success {
	background: #d4edda;
	border: 1px solid #c3e6cb;
	color: #155724;
	padding: 12px 16px;
	border-radius: 4px;
	margin: 15px 0;
	font-size: 14px;
}
