/* Split Screen Grid Layout container */
.pfc-portal-container-27dd8374 {
    display: grid;
    grid-template-columns: 55fr 45fr;
    min-height: 100vh;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

/* Back to Home Link */
.pfc-back-home-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding: 0.4rem 0.8rem;
    border: 1px solid #6E3FF3;
    border-radius: 6px;
    color: #6E3FF3;
    transition: all 0.2s ease-in-out;
}

.pfc-back-home-link:hover {
    background-color: rgba(110, 63, 243, 0.08);
}

/* Logo Styles */
.pfc-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.pfc-login-logo {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
}

/* Hero Panel (Left Column) */
.pfc-hero-side {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 10% 8% 10% 12%;
    box-sizing: border-box;
    color: #ffffff;
}

/* Lavender base atmospheric overlay on the hero panel */
.pfc-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(110, 63, 243, 0.86) 0%, rgba(43, 0, 68, 0.95) 100%);
    backdrop-filter: blur(4px);
    z-index: 1;
}

/* Soft glow / bokeh effect using multiple background gradients in overlay */
.pfc-hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(197, 129, 199, 0.25) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(204, 183, 94, 0.15) 0%, transparent 55%);
    z-index: 2;
}

.pfc-hero-content {
    position: relative;
    z-index: 5;
    max-width: 600px;
}

.pfc-hero-title {
    font-family: 'Georgia', serif;
    font-size: 2.85rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-weight: 700;
}

.pfc-hero-desc {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.pfc-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pfc-bullet-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.pfc-bullet-icon {
    color: #CCB75E; /* PFC Gold Accent */
    font-size: 1.3rem;
}

/* Login Side (Right Column) */
.pfc-login-side {
    background-color: #ECE7F3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    box-sizing: border-box;
}

/* White Login Card */
.pfc-login-card {
    background-color: #ffffff;
    width: 100%;
    max-width: 460px;
    border-radius: 14px;
    padding: 2.5rem;
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(43, 0, 68, 0.08);
    border: 1px solid #E3D9EE;
}

.pfc-login-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1A1A1A;
    margin-top: 0;
    margin-bottom: 0.5rem;
    text-align: center;
}

.pfc-login-helper {
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 2rem;
}

/* Live Form / Shortcode Output Container */
.pfc-live-form-container {
    margin-bottom: 1.5rem;
    width: 100%;
}

/* Remove default UM styles overrides to ensure a perfect fit inside our card */
.pfc-live-form-container .um {
    max-width: 100% !important;
}

/* Shortcode Placeholder box (used in fallback/template only) */
.pfc-shortcode-placeholder {
    background-color: #F8F6FC;
    border: 2px dashed #D5C8F2;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}

.pfc-placeholder-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-family: monospace;
    font-size: 0.85rem;
    color: #5b4699;
}

/* Links & Actions */
.pfc-login-links {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.pfc-login-links a {
    color: #6E3FF3;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.pfc-login-links a:hover {
    opacity: 0.8;
}

.pfc-note-text {
    font-size: 0.75rem;
    color: #888888;
    text-align: center;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

/* Responsive Tablet & Mobile Media Queries */
@media (max-width: 1024px) {
    .pfc-portal-container-27dd8374 {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .pfc-hero-side {
        padding: 5rem 3rem;
    }
    
    .pfc-hero-title {
        font-size: 2.3rem;
    }
}

@media (max-width: 767px) {
    .pfc-portal-container-27dd8374 {
        grid-template-columns: 1fr;
    }
    
    /* On mobile, stack hero first, login second */
    .pfc-hero-side {
        order: 1;
        padding: 4rem 1.5rem;
    }
    
    .pfc-login-side {
        order: 2;
        padding: 3rem 1.5rem;
    }
    
    .pfc-login-card {
        padding: 1.75rem;
        max-width: 100%;
    }
    
    .pfc-hero-title {
        font-size: 1.85rem;
    }
}
