:root {
	--primary-color: #667eea;
	--primary-dark: #764ba2;
	--success-color: #28a745;
	--warning-color: #ffc107;
	--info-color: #17a2b8;
	--light-bg: #f8f9fa;
	--card-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
	--card-shadow-hover: 0 1rem 2rem rgba(0, 0, 0, 0.2);
	--transition: all 0.3s ease;
}

.petchipbody {
	background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 50%, rgba(240, 147, 251, 0.1) 100%);
	min-height: 100vh;
	padding: 2rem 0;
}

/* Hero Section */
.hero-section {
	background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 50%, rgba(240, 147, 251, 0.8) 100%);
	padding: 120px 0 60px 0;
	position: relative;
	overflow: hidden;
	margin-bottom: 3rem;
	margin-top: 0;
}

.hero-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: 
		radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
		radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
	animation: gradientShift 8s ease-in-out infinite;
	z-index: 1;
}

@keyframes gradientShift {
	0%, 100% { transform: scale(1) rotate(0deg); }
	50% { transform: scale(1.1) rotate(5deg); }
}

.hero-content {
	position: relative;
	z-index: 2;
	text-align: center;
	color: white;
}

.hero-title {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
	font-size: 1.2rem;
	margin-bottom: 1.5rem;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
	opacity: 0.95;
}

.hero-badges {
	display: flex;
	justify-content: center;
	gap: 2rem;
	flex-wrap: wrap;
}

.hero-badge {
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 15px;
	padding: 1rem 1.5rem;
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
}

.hero-badge i {
	font-size: 1.2rem;
	color: #ffc107;
}

/* Modern Login Card */
.login-card {
	background: rgba(255, 255, 255, 0.95);
	border-radius: 25px;
	box-shadow: var(--card-shadow);
	backdrop-filter: blur(15px);
	border: 1px solid rgba(255, 255, 255, 0.3);
	overflow: hidden;
	transition: var(--transition);
	margin-bottom: 2rem;
}

.login-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--card-shadow-hover);
}

.card-header {
	background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
	color: white;
	padding: 1.5rem 2rem;
	border: none;
	font-size: 1.4rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.card-header h4 {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 12px;
}

.forgot-password-link {
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
	transition: var(--transition);
}

.forgot-password-link:hover {
	color: white;
	text-decoration: underline;
}

.card-body {
	padding: 2rem;
	background: rgba(248, 249, 250, 0.8);
}

/* Form Styling */
.form-group {
	margin-bottom: 1.5rem;
}

.form-control {
	border: 2px solid rgba(102, 126, 234, 0.1);
	border-radius: 12px;
	padding: 0.75rem 1rem 0.75rem 3rem;
	transition: var(--transition);
	background: rgba(255, 255, 255, 0.9);
	font-size: 1rem;
	position: relative;
}

.form-control:focus {
	border-color: var(--primary-color);
	box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.15);
	background: white;
	transform: translateY(-2px);
}

.input-group {
	position: relative;
}

.input-icon {
	position: absolute;
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--primary-color);
	z-index: 10;
	font-size: 1.1rem;
}

.btn-success {
	background: linear-gradient(135deg, var(--success-color) 0%, #20c997 100%);
	border: none;
	border-radius: 15px;
	padding: 1rem 2.5rem;
	font-weight: 700;
	font-size: 1.1rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
	transition: var(--transition);
	display: flex;
	align-items: center;
	gap: 10px;
	justify-content: center;
	width: 100%;
}

.btn-success:hover {
	transform: translateY(-3px);
	box-shadow: 0 15px 35px rgba(40, 167, 69, 0.4);
	background: linear-gradient(135deg, #20c997 0%, var(--success-color) 100%);
}

/* Primary action button used across auth pages */
.btn-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 14px 18px;
	font-weight: 800;
	font-size: 1.05rem;
	color: #fff;
	border: none;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
	box-shadow: 0 12px 30px rgba(102, 126, 234, 0.18), inset 0 -3px 8px rgba(0,0,0,0.06);
	transition: transform 220ms var(--transition), box-shadow 220ms var(--transition), filter 220ms var(--transition);
}

.btn-action i { font-size: 1.15rem; }

.btn-action:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(102, 126, 234, 0.25), inset 0 -4px 10px rgba(0,0,0,0.07);
	filter: brightness(1.03);
}

.btn-action:active {
	transform: translateY(-1px) scale(.998);
	box-shadow: 0 8px 18px rgba(102, 126, 234, 0.18);
}

/* Alert Styling */
.alert {
	border: none;
	border-radius: 15px;
	padding: 1.5rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
	backdrop-filter: blur(10px);
}

.alert-danger {
	background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(231, 76, 60, 0.1) 100%);
	border: 1px solid rgba(220, 53, 69, 0.3);
	color: #721c24;
	display: flex;
	align-items: center;
	gap: 10px;
}

.alert-danger::before {
	content: '\f071';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	color: #dc3545;
}

/* Registration Links */
.registration-section {
	background: rgba(255, 255, 255, 0.95);
	border-radius: 20px;
	padding: 2rem;
	box-shadow: var(--card-shadow);
	margin-top: 2rem;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.3);
	text-align: center;
}

.registration-section h3 {
	color: var(--primary-color);
	font-weight: 700;
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.registration-section p {
	color: #495057;
	margin-bottom: 1.5rem;
	line-height: 1.6;
}

.btn-outline-primary {
	background: transparent;
	border: 2px solid var(--primary-color);
	color: var(--primary-color);
	border-radius: 15px;
	padding: 0.8rem 2rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: var(--transition);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.btn-outline-primary:hover {
	background: var(--primary-color);
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

@media (max-width: 768px) {
	.hero-section {
		padding: 100px 0 40px 0;
		margin-bottom: 2rem;
	}
    
	.hero-title {
		font-size: 1.8rem;
		margin-bottom: 0.8rem;
	}
    
	.hero-subtitle {
		font-size: 1rem;
		margin-bottom: 1.2rem;
		padding: 0 1rem;
	}
    
	.hero-badges {
		flex-direction: column;
		align-items: center;
		gap: 1rem;
		padding: 0 1rem;
	}
    
	.hero-badge {
		width: 100%;
		max-width: 250px;
		justify-content: center;
		padding: 0.8rem 1rem;
		font-size: 0.9rem;
	}
    
	.login-card {
		margin: 0 1rem 2rem 1rem;
		border-radius: 15px;
	}
    
	.card-header {
		padding: 1rem 1.5rem;
		font-size: 1.2rem;
		flex-direction: column;
		gap: 0.5rem;
		text-align: center;
	}
    
	.card-body {
		padding: 1.5rem;
	}
    
	.form-control {
		padding: 0.65rem 0.8rem 0.65rem 2.5rem;
		font-size: 0.95rem;
	}
    
	.input-icon {
		left: 0.8rem;
		font-size: 1rem;
	}
    
	.btn-success {
		padding: 0.8rem 2rem;
		font-size: 1rem;
	}
    
	.registration-section {
		margin: 0 1rem 2rem 1rem;
		padding: 1.5rem;
		border-radius: 15px;
	}
    
	.registration-section h3 {
		font-size: 1.3rem;
	}
    
	.container {
		padding-left: 15px;
		padding-right: 15px;
	}
}
