{% extends '@!SymfonyAdmin/base.html.twig' %}
{% block stylesheets %}
{{ parent() }}
<style>
html,
body {
min-height: 100%;
overflow-y: auto !important;
}
.portal-page {
min-height: 100vh;
background: #f4f7fb;
display: flex;
align-items: center;
justify-content: center;
padding: 40px 20px;
font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.portal-card {
width: 100%;
max-width: 700px;
background: #ffffff;
border: 1px solid #d8dee8;
border-radius: 12px;
box-shadow: 0 14px 35px rgba(15, 23, 42, 0.12);
padding: 40px 44px 42px;
text-align: center;
}
.portal-logo img {
height: 42px;
margin-bottom: 20px;
}
.portal-card h1 {
margin: 0;
font-size: 38px;
line-height: 1.12;
font-weight: 800;
color: #070b16;
letter-spacing: -0.035em;
}
.portal-subtitle {
margin: 16px 0 30px;
font-size: 18px;
line-height: 1.5;
color: #6f7782;
font-weight: 400;
}
.info-row {
display: grid;
grid-template-columns: 76px 1fr;
gap: 16px;
align-items: center;
text-align: left;
max-width: 610px;
margin: 0 auto;
}
.info-row p {
margin: 0;
font-size: 16px;
line-height: 1.6;
color: #111827;
}
.info-row strong {
font-weight: 800;
}
.icon-circle {
width: 60px;
height: 60px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto;
}
.icon-circle svg {
width: 32px;
height: 32px;
display: block;
}
.icon-circle.blue {
background: #edf4ff;
color: #3b82f6;
}
.icon-circle.green {
background: #eff7ea;
color: #76a83b;
}
.divider {
max-width: 610px;
height: 1px;
background: #dfe5ee;
margin: 22px auto;
}
.notice-box {
max-width: 610px;
margin: 26px auto 26px;
border: 1px solid #f1dc9a;
background: #fffaf0;
border-radius: 10px;
padding: 18px 20px;
display: grid;
grid-template-columns: 48px 1px 1fr;
gap: 16px;
align-items: center;
text-align: left;
color: #b3871f;
}
.notice-icon {
display: flex;
align-items: center;
justify-content: center;
}
.notice-icon svg {
width: 30px;
height: 30px;
display: block;
}
.notice-divider {
width: 1px;
height: 38px;
background: #efdfb3;
}
.notice-box strong {
font-size: 15px;
line-height: 1.45;
font-weight: 800;
color: #a57a1d;
}
.signin-button {
border: 0;
background: #3b82f6;
color: #ffffff;
font-size: 18px;
font-weight: 700;
padding: 15px 56px;
border-radius: 10px;
cursor: pointer;
box-shadow: 0 8px 18px rgba(59, 130, 246, 0.25);
display: inline-flex;
align-items: center;
justify-content: center;
gap: 10px;
min-width: 210px;
}
.signin-button:hover {
background: #0575eb;
color: #fff;
text-decoration: none;
}
.signin-button__label {
line-height: 1;
}
.signin-button__icon {
width: 20px;
height: 20px;
flex: 0 0 20px;
display: block;
}
@media (max-width: 768px) {
.portal-page {
padding: 28px 16px;
}
.portal-card {
padding: 34px 22px;
}
.portal-logo img {
height: 38px;
margin-bottom: 20px;
}
.portal-card h1 {
font-size: 30px;
}
.portal-subtitle {
font-size: 17px;
margin-bottom: 28px;
}
.info-row {
grid-template-columns: 1fr;
text-align: center;
justify-items: center;
gap: 14px;
}
.info-row p {
font-size: 16px;
}
.icon-circle {
width: 64px;
height: 64px;
}
.icon-circle svg {
width: 34px;
height: 34px;
}
.notice-box {
grid-template-columns: 1fr;
text-align: center;
gap: 12px;
padding: 18px;
}
.notice-divider {
display: none;
}
.notice-box strong {
font-size: 16px;
}
.signin-button {
width: 100%;
min-width: 0;
padding: 16px 20px;
font-size: 17px;
}
}
</style>
{% endblock %}
{% block layout %}
<div class="portal-page">
<div class="portal-card">
<div class="portal-logo">
<img src="{{ asset('images/ledger-logo.png') }}" alt="Ledger" />
</div>
<h1>Client Support Portal</h1>
<p class="portal-subtitle">
Secure portal for client communication, document access, <br /> and account management.
</p>
<div class="info-row">
<div class="icon-circle blue" aria-hidden="true">
<svg viewBox="0 0 24 24" fill="none">
<path d="M12 3l7 3v5c0 4.9-3.1 8.9-7 10-3.9-1.1-7-5.1-7-10V6l7-3z" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"/>
<rect x="9.2" y="10.2" width="5.6" height="4.8" rx="1.1" stroke="currentColor" stroke-width="1.9"/>
<path d="M10.4 10.2V8.9a1.6 1.6 0 013.2 0v1.3" stroke="currentColor" stroke-width="1.9" stroke-linecap="round"/>
</svg>
</div>
<p>
<strong>{{ app.request.host }}</strong> is our dedicated secure client portal domain for existing clients, authorized users, and internal team members.
</p>
</div>
<div class="divider"></div>
<div class="info-row">
<div class="icon-circle green" aria-hidden="true">
<svg viewBox="0 0 24 24" fill="none">
<rect x="6.5" y="10" width="11" height="8" rx="1.8" stroke="currentColor" stroke-width="1.9"/>
<path d="M8.5 10V7.8A3.5 3.5 0 0112 4.5a3.5 3.5 0 013.5 3.3V10" stroke="currentColor" stroke-width="1.9" stroke-linecap="round"/>
<path d="M12 13.2v1.8" stroke="currentColor" stroke-width="1.9" stroke-linecap="round"/>
</svg>
</div>
<p>
Access requires login credentials. Information shared inside the portal is protected within this secure environment and is only available to authorized users.
</p>
</div>
<div class="notice-box">
<div class="notice-icon" aria-hidden="true">
<svg viewBox="0 0 24 24" fill="none">
<path d="M8.2 11.1a2.6 2.6 0 100-5.2 2.6 2.6 0 000 5.2z" stroke="currentColor" stroke-width="1.9"/>
<path d="M15.8 10.4a2.2 2.2 0 100-4.4 2.2 2.2 0 000 4.4z" stroke="currentColor" stroke-width="1.9"/>
<path d="M3.8 18.2v-1c0-2.1 1.8-3.8 4-3.8h.8c2.2 0 4 1.7 4 3.8v1" stroke="currentColor" stroke-width="1.9" stroke-linecap="round"/>
<path d="M13.7 18.2v-.6c0-1.8 1.4-3.1 3.2-3.1h.4c1.8 0 3.2 1.3 3.2 3.1v.6" stroke="currentColor" stroke-width="1.9" stroke-linecap="round"/>
</svg>
</div>
<div class="notice-divider"></div>
<strong>For existing clients, authorized users, and internal team members only.</strong>
</div>
<a href="{{ path('portal_redirect') }}" class="signin-button">
<span class="signin-button__label">Sign in</span>
<svg class="signin-button__icon" viewBox="0 0 20 20" fill="none" aria-hidden="true">
<path d="M4 10h10.5" stroke="currentColor" stroke-width="2" stroke-linecap="round"/>
<path d="M10.5 5.5L15 10l-4.5 4.5" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</a>
</div>
</div>
{% endblock %}