
/* Ornate frame container */
        .auth-ornate-frame {
            position: relative;
            background: linear-gradient(145deg, rgba(26, 31, 46, 0.95), rgba(13, 17, 23, 0.95));
            padding: 60px 50px 50px;
            box-shadow: 
                0 30px 90px rgba(0, 0, 0, 0.7),
                inset 0 0 60px rgba(212, 165, 116, 0.05);
            border: 3px solid var(--gold-dark);
            position: relative;
            max-width: 840px;
            margin: 0 auto;
        }

        /* Auth Ornate corners */
        .corner {
            position: absolute;
            width: 80px;
            height: 80px;
            border: 4px solid var(--gold);
            pointer-events: none;
        }

        .corner::before,
        .corner::after {
            content: '';
            position: absolute;
            background: var(--gold-light);
            box-shadow: 0 0 15px var(--gold);
        }

        /* Top-left corner */
        .corner.tl {
            top: -3px;
            left: -3px;
            border-right: none;
            border-bottom: none;
            border-top-left-radius: 2px;
        }

        .corner.tl::before {
            width: 25px;
            height: 4px;
            top: -4px;
            left: -4px;
        }

        .corner.tl::after {
            width: 4px;
            height: 25px;
            top: -4px;
            left: -4px;
        }

        /* Top-right corner */
        .corner.tr {
            top: -3px;
            right: -3px;
            border-left: none;
            border-bottom: none;
            border-top-right-radius: 2px;
        }

        .corner.tr::before {
            width: 25px;
            height: 4px;
            top: -4px;
            right: -4px;
        }

        .corner.tr::after {
            width: 4px;
            height: 25px;
            top: -4px;
            right: -4px;
        }

        /* Bottom-left corner */
        .corner.bl {
            bottom: -3px;
            left: -3px;
            border-right: none;
            border-top: none;
            border-bottom-left-radius: 2px;
        }

        .corner.bl::before {
            width: 25px;
            height: 4px;
            bottom: -4px;
            left: -4px;
        }

        .corner.bl::after {
            width: 4px;
            height: 25px;
            bottom: -4px;
            left: -4px;
        }

        /* Bottom-right corner */
        .corner.br {
            bottom: -3px;
            right: -3px;
            border-left: none;
            border-top: none;
            border-bottom-right-radius: 2px;
        }

        .corner.br::before {
            width: 25px;
            height: 4px;
            bottom: -4px;
            right: -4px;
        }

        .corner.br::after {
            width: 4px;
            height: 25px;
            bottom: -4px;
            right: -4px;
        }

        /* Decorative edge elements */
        .edge-decoration {
            position: absolute;
            width: 6px;
            height: 6px;
            background: var(--gold-light);
            transform: rotate(45deg);
            box-shadow: 0 0 10px var(--gold);
            animation: edgePulse 2s ease-in-out infinite;
        }

        @keyframes edgePulse {
            0%, 100% { opacity: 0.6; box-shadow: 0 0 10px var(--gold); }
            50% { opacity: 1; box-shadow: 0 0 20px var(--gold); }
        }

        .edge-decoration.top {
            top: -3px;
            left: 50%;
            animation-delay: 0s;
        }

        .edge-decoration.bottom {
            bottom: -3px;
            left: 50%;
            animation-delay: 1s;
        }

        .edge-decoration.left {
            left: -3px;
            top: 50%;
            animation-delay: 0.5s;
        }

        .edge-decoration.right {
            right: -3px;
            top: 50%;
            animation-delay: 1.5s;
        }

        /* Inner frame glow */
        .auth-ornate-frame::before {
            content: '';
            position: absolute;
            top: 5px;
            left: 5px;
            right: 5px;
            bottom: 5px;
            border: 1px solid rgba(212, 165, 116, 0.3);
            pointer-events: none;
            box-shadow: inset 0 0 30px rgba(77, 217, 232, 0.1);
        }

.auth-container {
	position: relative;
	color: #ffffff;
		overflow: hidden;
    	isolation: isolate;
}

.auth-card {
	display: block;
}

.auth-header {
	text-align: center;
	margin-bottom: 2rem;
}

.auth-title {
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
	color: var(--gold-light)
}

.auth-subtitle {
	color: rgba(232, 232, 232, 0.9);
}

.auth-error {
	background: #f8d7da;
	border: 1px solid #f5c6cb;
	color: #721c24;
	padding: 1rem;
	border-radius: 8px;
	margin-bottom: 1.5rem;
	text-align: center;
}

.auth-success {
	background: #d1ecf1;
	border: 1px solid #bee5eb;
	color: #0c5460;
	padding: 1rem;
	border-radius: 8px;
	margin-bottom: 1.5rem;
	text-align: center;
}

.auth-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.form-group {
	display: flex;
	flex-direction: column;
}

.form-label {
	margin-bottom: 0.5rem;
	font-weight: 600;
	color: var( --gold-light );
}

.form-input {
	padding: 12px;
	border: 2px solid var(--gold-dark);
	font-size: 16px;
	transition: border-color 0.2s;
	color: #fff;
	background: #1f2c3c;
    border-radius: 11px;
}

.form-input:focus {
	outline: none;
	border-color: var(--gold);
}

.form-actions {
	margin-top: 1rem;
}

.btn {
	display: inline-block;
	padding: 20px 0 20px 0;
	background: linear-gradient(133deg, #6A11CB, #2575FC);
	color: white;
	text-decoration: none;
	text-align: center;
	border-radius: 6px;
	border: none;
	cursor: pointer;
	font-size: 16px;
	font-weight: 600;
	transition: all 0.2s ease;
	width: 100%;
}

.btn:hover {
	background: linear-gradient(133deg, #7d15f1, #2d46ff);
	transform: translateY(-2px);
}

.btn-discord {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.auth-links {
	text-align: center;
	margin-top: 1.5rem;
}

.auth-link {
	color: #007cba;
	text-decoration: none;
	font-weight: 500;
}

.auth-link:hover {
	text-decoration: underline;
}

.password-error-message {
	display: none;
}

/* 2FA Verification Page Specific Styles */
.voxel-login-page .auth-info {
	color: #495057;
	text-shadow: none;
	margin: 15px 0 15px
}

.voxel-login-page .auth-info strong {
	color: #141730;
	font-weight: 600;
}

.voxel-login-page .auth-info p {
	line-height: 1.5;
	font-size: 16px;
}

/* Checkbox Alignment Fix */
.voxel-login-page .form-group label:has(input[type="checkbox"]) {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0;
	font-weight: 600;
	color: #141730;
	cursor: pointer;
	padding: 0.5rem 0;
}

.voxel-login-page .form-group label:has(input[type="checkbox"]) input[type="checkbox"] {
	width: auto;
	margin: 0;
	flex-shrink: 0;
}

/* Discord Login Section */
.discord-login-section {
	margin: 1.5rem 0;
	padding: 1.5rem;
	background: #23272a;
	border-radius: 8px;
	border: 1px solid #36393f;
}

.auth-divider {
	text-align: center;
	margin-bottom: 1rem;
	position: relative;
}

.auth-divider span {
	background: #141730;
	padding: 0 1rem;
	color: #6c757d;
	font-size: 0.9rem;
	position: relative;
	z-index: 1;
}

.auth-divider::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 1px;
	background: #6c757d;
	z-index: 0;
}

.discord-icon {
	font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
	.auth-container {
		padding: 1rem;
	}

	.auth-card {
		padding: 1.5rem;
	}

	.auth-title {
		font-size: 1.5rem;
	}
}