.gpa-app{
display:grid;
grid-template-columns:380px 1fr;
gap:30px;
font-family:Inter,sans-serif;
margin:30px 0;
}

.gpa-sidebar{
background:#fff;
padding:24px;
border-radius:24px;
box-shadow:0 10px 35px rgba(0,0,0,.08);
height:max-content;
}

.gpa-brand h2{
margin:0;
font-size:28px;
font-weight:800;
}

.gpa-brand p{
color:#666;
margin:8px 0 24px;
}

.gpa-card-box{
background:#f7f8fc;
padding:18px;
border-radius:18px;
margin-bottom:18px;
}

.gpa-sidebar label{
display:block;
font-size:13px;
font-weight:700;
margin-bottom:8px;
margin-top:14px;
}

.gpa-sidebar input,
.gpa-sidebar textarea{
width:100%;
border:1px solid #d9ddea;
border-radius:14px;
padding:14px;
box-sizing:border-box;
font-family:Inter,sans-serif;
background:#fff;
}

.gpa-input-row{
display:flex;
gap:10px;
}

.gpa-btn-primary,
.gpa-btn-secondary,
.gpa-btn-download{
width:100%;
border:none;
border-radius:16px;
padding:16px;
font-weight:700;
cursor:pointer;
transition:.2s;
}

.gpa-btn-primary{
background:#0f172a;
color:#fff;
width:120px;
}

.gpa-btn-secondary{
background:#edf1f7;
margin-bottom:10px;
}

.gpa-btn-download{
background:#2563eb;
color:#fff;
font-size:16px;
}

.gpa-preview-wrap{
display:flex;
justify-content:center;
align-items:flex-start;
}

.gpa-post{
width:430px;
height:760px;
border-radius:30px;
overflow:hidden;
position:sticky;
top:20px;
background:#111;
box-shadow:0 20px 60px rgba(0,0,0,.25);
}

.gpa-post-bg,
.gpa-overlay,
.gpa-content{
position:absolute;
inset:0;
}

.gpa-post-bg{
background-size:cover;
background-position:center;
transform:scale(1.02);
}

.gpa-overlay{
background:linear-gradient(to top,rgba(0,0,0,.95) 10%,rgba(0,0,0,.15) 60%);
}

.gpa-content{
z-index:2;
display:flex;
flex-direction:column;
justify-content:space-between;
padding:35px;
box-sizing:border-box;
}

.gpa-bottom{
text-align:center;
}

#gpa-preview-title{
font-size:32px;
line-height:1.1;
font-weight:900;
color:#fff;
margin:0 0 25px;
text-shadow:0 3px 12px rgba(0,0,0,.5);
}

.gpa-line{
width:130px;
height:4px;
background:#1d4ed8;
border-radius:30px;
margin:0 auto 28px;
}

#gpa-preview-logo{
max-width:190px;
max-height:60px;
object-fit:contain;
filter:brightness(0) invert(1);
}

@media(max-width:900px){
.gpa-app{grid-template-columns:1fr;}
.gpa-post{width:100%;max-width:430px;height:760px;}
}
