/**
 * Theme    : Luxury Corporate – SHAN Enterprise Financial Suite
 * Standard : International Enterprise Financial Technology
 * Palette  : Midnight Navy (#06182B), Deep Ocean Blue (#102E46), Champagne Gold (#C6A66B), Platinum White
 * Reference: SHAN Corporate Luxury Mockup (Full-Screen Wallpaper with Floating Gold-Border Card)
 */

html, body {
	height: 100%;
	margin: 0;
	padding: 0;
	overflow-x: hidden;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	background-color: #06182B;
	color: #1E293B;
	-webkit-font-smoothing: antialiased;
}

.text-gold {
	color: #C6A66B !important;
}

/* ==========================================================================
   1. FULL SCREEN WALLPAPER CONTAINER
   ========================================================================== */

.auth-fullscreen-wrapper {
	position: relative;
	width: 100vw;
	min-height: 100vh;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	display: flex;
	align-items: center;
	justify-content: flex-end; /* Card floats on right side over background */
	padding: 24px 5vw;
	box-sizing: border-box;
	overflow-x: hidden;
}

/* Ambient Visual Overlays spanning full screen */
.visual-gradient-overlay {
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 30% 60%, rgba(6, 24, 43, 0.02) 0%, rgba(6, 24, 43, 0.1) 75%, rgba(6, 24, 43, 0.25) 100%);
	pointer-events: none;
	z-index: 1;
}

.visual-particles-grid {
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(198, 166, 107, 0.08) 1.2px, transparent 1.2px);
	background-size: 36px 36px;
	pointer-events: none;
	z-index: 2;
	opacity: 0.25;
}

/* ==========================================================================
   2. FLOATING LUXURY LOGIN CARD (EXACT MOCKUP PANEL)
   ========================================================================== */

.auth-right-panel {
	position: relative;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}

/* Luxury Floating Card Frame */
.auth-card-frame {
	width: 385px;
	max-width: 90vw;
	background: linear-gradient(175deg, #F1F4FA 0%, #E7EFF8 55%, #EBF4F7 100%);
	border: 2px solid #C6A66B;
	border-radius: 40px;
	box-shadow: 0 25px 65px rgba(0, 0, 0, 0.45), 0 0 40px rgba(198, 166, 107, 0.25);
	padding: 38px 34px 26px 34px;
	box-sizing: border-box;
	position: relative;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Top-Right Luxury Gold Ribbon Wave */
.card-gold-ribbon-wrap {
	position: absolute;
	top: 0;
	right: 0;
	width: 120px;
	height: 120px;
	pointer-events: none;
	z-index: 1;
}

.card-gold-ribbon-svg {
	width: 100%;
	height: 100%;
	display: block;
}

/* A. Welcome Back Heading (Bold Inter Sans) & Subtitle */
.auth-panel-header {
	margin-bottom: 24px;
	position: relative;
	z-index: 2;
}

.auth-welcome-title {
	font-family: 'Inter', sans-serif;
	font-size: 1.85rem;
	font-weight: 800;
	color: #1E293B;
	margin: 0 0 6px 0;
	letter-spacing: -0.5px;
	line-height: 1.25;
}

.auth-welcome-desc {
	font-family: 'Inter', sans-serif;
	font-size: 0.86rem;
	color: #475569;
	margin: 0;
	font-weight: 500;
	line-height: 1.45;
}

/* Alert Styling */
.corporate-alert {
	border-radius: 12px !important;
	border: 1px solid #FECACA !important;
	background-color: #FEF2F2 !important;
	color: #DC2626 !important;
	font-size: 0.82rem !important;
	font-weight: 600 !important;
	display: flex !important;
	align-items: center !important;
	padding: 10px 14px !important;
	margin-bottom: 16px !important;
	position: relative;
	z-index: 2;
}

/* B. Modern Form Fields (Clean White Floating Squircle, No Labels) */
.corporate-login-form {
	position: relative;
	z-index: 2;
}

.corporate-form-group {
	margin-bottom: 16px;
	text-align: left;
}

.input-group-corporate {
	position: relative;
	display: flex;
	align-items: center;
	border: 1.5px solid #E2E8F0 !important;
	border-radius: 16px !important;
	background: #FFFFFF !important;
	height: 52px !important;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03) !important;
	overflow: hidden;
}

.input-group-corporate:hover {
	border-color: #CBD5E1 !important;
}

.input-group-corporate:focus-within {
	border-color: #C6A66B !important;
	background: #FFFFFF !important;
	box-shadow: 0 0 0 3.5px rgba(198, 166, 107, 0.22), 0 4px 16px rgba(6, 24, 43, 0.08) !important;
}

.input-icon-box {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 100%;
	color: #475569;
	font-size: 1.05rem;
	flex-shrink: 0;
	transition: all 0.2s ease;
}

.input-group-corporate:focus-within .input-icon-box {
	color: #C6A66B;
}

.corporate-input {
	border: none !important;
	background: transparent !important;
	height: 100% !important;
	padding: 0 12px 0 0 !important;
	font-family: 'Inter', sans-serif !important;
	font-size: 0.92rem !important;
	font-weight: 500 !important;
	color: #1E293B !important;
	width: 100% !important;
	box-shadow: none !important;
	outline: none !important;
}

.corporate-input::placeholder {
	color: #64748B;
	font-weight: 500;
	font-size: 0.9rem;
}

.btn-toggle-password {
	border: none;
	background: transparent;
	padding: 0 16px;
	height: 100%;
	color: #475569;
	font-size: 1.05rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	outline: none;
	transition: color 0.2s;
	flex-shrink: 0;
}

.btn-toggle-password:hover {
	color: #1E293B;
}

/* C. Remember Me & Forgot Password Row */
.corporate-options-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 4px;
	margin-bottom: 22px;
}

.corporate-checkbox-container {
	display: inline-flex;
	align-items: center;
	cursor: pointer;
	user-select: none;
	margin: 0;
}

.corporate-checkbox-input {
	appearance: none;
	-webkit-appearance: none;
	width: 18px;
	height: 18px;
	border: 1.5px solid #E5C07B;
	border-radius: 5px;
	background: #FFFFFF;
	cursor: pointer;
	display: grid;
	place-content: center;
	transition: all 0.2s;
	margin: 0;
	position: relative;
}

.corporate-checkbox-input:checked {
	background: #C6A66B;
	border-color: #C6A66B;
}

.corporate-checkbox-input:checked::before {
	content: "\f00c";
	font-family: "Font Awesome 5 Free", "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 10px;
	color: #FFFFFF;
}

.corporate-checkbox-label {
	font-family: 'Inter', sans-serif;
	font-size: 0.85rem;
	font-weight: 600;
	color: #1E293B;
	margin-left: 8px;
}

.corporate-forgot-link {
	font-family: 'Inter', sans-serif;
	font-size: 0.85rem;
	font-weight: 600;
	color: #1E60D5;
	text-decoration: none;
	transition: color 0.2s;
}

.corporate-forgot-link:hover {
	color: #154DB0;
	text-decoration: underline;
}

/* D. Login Button (Midnight Navy + Flare + White "SIGN IN" + Gold Arrow) */
.btn-corporate-signin {
	width: 100% !important;
	height: 52px !important;
	border-radius: 14px !important;
	background: #031124 !important;
	border: 1.5px solid rgba(212, 175, 55, 0.7) !important;
	color: #FFFFFF !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 10px !important;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
	box-shadow: 0 6px 20px rgba(3, 17, 36, 0.45), 0 0 16px rgba(212, 175, 55, 0.3) !important;
	cursor: pointer !important;
	position: relative !important;
	overflow: hidden !important;
	text-decoration: none !important;
}

/* Top & bottom rim subtle golden flare glow */
.btn-corporate-signin::before {
	content: '';
	position: absolute;
	top: -20px;
	left: 50%;
	transform: translateX(-50%);
	width: 120px;
	height: 30px;
	background: radial-gradient(ellipse, rgba(255, 235, 170, 0.6) 0%, transparent 70%);
	pointer-events: none;
}

.btn-corporate-signin::after {
	content: '';
	position: absolute;
	bottom: -20px;
	left: 50%;
	transform: translateX(-50%);
	width: 120px;
	height: 30px;
	background: radial-gradient(ellipse, rgba(255, 235, 170, 0.6) 0%, transparent 70%);
	pointer-events: none;
}

.btn-corporate-signin:hover {
	background: #061933 !important;
	border-color: #DFBA73 !important;
	box-shadow: 0 10px 28px rgba(3, 17, 36, 0.55), 0 0 20px rgba(212, 175, 55, 0.45) !important;
	transform: translateY(-1.5px);
	color: #FFFFFF !important;
}

.btn-corporate-signin:active {
	transform: translateY(0) !important;
	box-shadow: 0 3px 10px rgba(3, 17, 36, 0.3) !important;
}

.btn-signin-text {
	font-family: 'Inter', sans-serif;
	font-size: 0.95rem;
	font-weight: 800;
	letter-spacing: 2.2px;
	text-transform: uppercase;
	color: #FFFFFF;
}

.btn-gold-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #DFBA73;
	font-size: 1.1rem;
	font-weight: 900;
	transition: transform 0.2s ease;
}

.btn-corporate-signin:hover .btn-gold-arrow {
	transform: translateX(4px);
}

/* E. Diamond Divider (—— ◆ ——) */
.auth-diamond-divider {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin: 24px 0 16px 0;
}

.diamond-line {
	width: 55px;
	height: 1.5px;
	background: linear-gradient(90deg, transparent, #C6A66B, transparent);
}

.diamond-gem {
	color: #DFBA73;
	font-size: 0.85rem;
	line-height: 1;
}

/* F. Footer (© 2026 PT. SHAN TAMA WIJAYA, All Rights Reserved.) */
.auth-card-footer {
	text-align: center;
	margin-top: 0;
	padding-top: 0;
}

.footer-copy {
	font-family: 'Inter', sans-serif;
	font-size: 0.78rem;
	font-weight: 700;
	color: #1E293B;
	margin-bottom: 2px;
}

.footer-rights {
	font-family: 'Inter', sans-serif;
	font-size: 0.74rem;
	font-weight: 600;
	color: #334155;
}

/* ==========================================================================
   3. RESPONSIVE DESIGN (DESKTOP, TABLET, MOBILE)
   ========================================================================== */

/* Tablet (max-width: 1024px) */
@media screen and (max-width: 1024px) {
	.auth-fullscreen-wrapper {
		padding: 20px 3vw;
		background-position: left center;
	}

	.auth-card-frame {
		width: 360px;
		padding: 32px 26px 22px 26px;
		border-radius: 34px;
	}
}

/* Mobile (max-width: 768px) */
@media screen and (max-width: 768px) {
	.auth-fullscreen-wrapper {
		justify-content: center;
		padding: 24px 16px;
		background-position: center center;
	}

	.auth-card-frame {
		width: 100%;
		max-width: 380px;
		border-radius: 28px;
		padding: 30px 22px 20px 22px;
		box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
	}

	.auth-welcome-title {
		font-size: 1.65rem;
	}
}

/* Auth Sub-pages (Recovery / Reset Password Compatibility) */
.card-header,
.card-body {
	background: transparent !important;
	border: none !important;
	padding: 0 !important;
}

.card-header {
	text-align: center;
	margin-bottom: 20px;
}
