/**
 * Authentication Modal Styles
 * SF Beer Week Authentication UI
 */

/* Modal Customization */
#authModal .modal-content
{
	border-radius: 12px;
	border: none;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

#authModal .modal-header
{
	border-bottom: 1px solid #e9ecef;
	padding: 1.5rem;
}

#authModal .modal-title
{
	font-family: 'brandon-grotesque', sans-serif;
	font-weight: 700;
	color: #55575b;
	font-size: 1.5rem;
}

#authModal .modal-body
{
	padding: 2rem;
}

/* OAuth Provider Buttons */
.oauth-providers
{
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 1.5rem;
}

.btn-oauth
{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 12px 20px;
	border: none;
	border-radius: 8px;
	font-weight: 600;
	font-size: 15px;
	transition: all 0.2s ease;
	position: relative;
	overflow: hidden;
}

.btn-oauth:hover
{
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-oauth:active
{
	transform: translateY(0);
}

.btn-oauth i
{
	font-size: 18px;
}

/* Google Button */
.btn-google
{
	background-color: #4285f4;
	color: white;
}

.btn-google:hover
{
	background-color: #357ae8;
	color: white;
}

/* Salesforce Button */
.btn-salesforce
{
	background-color: #00a1e0;
	color: white;
}

.btn-salesforce:hover
{
	background-color: #0089c7;
	color: white;
}

/* LinkedIn Button */
.btn-linkedin
{
	background-color: #0077b5;
	color: white;
}

.btn-linkedin:hover
{
	background-color: #006399;
	color: white;
}

/* Apple Button */
.btn-apple
{
	background-color: #000000;
	color: white;
}

.btn-apple:hover
{
	background-color: #1a1a1a;
	color: white;
}

/* Divider */
.auth-divider
{
	position: relative;
	text-align: center;
	margin: 2rem 0;
}

.auth-divider::before
{
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 1px;
	background-color: #dee2e6;
}

.auth-divider span
{
	position: relative;
	background-color: white;
	padding: 0 1rem;
	color: #6c757d;
	font-weight: 600;
	font-size: 14px;
}

/* Magic Link Section */
.magic-link-section
{
	margin-top: 1.5rem;
}

.magic-link-description
{
	color: #55575b;
	margin-bottom: 1.5rem;
	font-size: 14px;
	line-height: 1.6;
}

.magic-link-section .form-label
{
	font-weight: 600;
	color: #55575b;
	margin-bottom: 0.5rem;
}

.magic-link-section .form-control
{
	padding: 12px 16px;
	border: 2px solid #dee2e6;
	border-radius: 8px;
	font-size: 15px;
	transition: all 0.2s ease;
}

.magic-link-section .form-control:focus
{
	border-color: #EEA31B;
	box-shadow: 0 0 0 0.2rem rgba(238, 163, 27, 0.15);
}

/* Magic Link Button */
.btn-magic-link
{
	background-color: #EEA31B;
	color: white;
	border: none;
	padding: 12px 24px;
	border-radius: 8px;
	font-weight: 700;
	font-size: 15px;
	transition: all 0.2s ease;
	margin-top: 1rem;
}

.btn-magic-link:hover
{
	background-color: #d99316;
	color: white;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(238, 163, 27, 0.3);
}

.btn-magic-link:active
{
	transform: translateY(0);
}

.btn-magic-link:disabled
{
	background-color: #f0c76b;
	cursor: not-allowed;
	transform: none;
}

/* Alert Messages */
#magicLinkSuccess,
#magicLinkError
{
	border-radius: 8px;
	border: none;
	display: flex;
	align-items: center;
	gap: 8px;
}

#magicLinkSuccess
{
	background-color: #d4edda;
	color: #155724;
}

#magicLinkError
{
	background-color: #f8d7da;
	color: #721c24;
}

#magicLinkSuccess i,
#magicLinkError i
{
	font-size: 16px;
}

/* Privacy Notice */
.auth-privacy-notice
{
	text-align: center;
	padding-top: 1rem;
	border-top: 1px solid #e9ecef;
}

.auth-privacy-notice small
{
	font-size: 12px;
	line-height: 1.5;
}

/* Loading State */
.btn-spinner
{
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

/* Responsive Design */
@media (max-width: 576px)
{
	#authModal .modal-body
	{
		padding: 1.5rem;
	}

	.btn-oauth
	{
		padding: 10px 16px;
		font-size: 14px;
	}

	.btn-oauth i
	{
		font-size: 16px;
	}

	#authModal .modal-title
	{
		font-size: 1.25rem;
	}
}
