3636
3737 body {
3838 margin : 0 ;
39- background : # edf2f7 ;
39+ background : radial-gradient (circle at 10 % 10 % , # f7fbff 0 % , # e8edf3 58 % , # d9e0e9 100 % ) ;
4040 font-family : 'Crimson Pro' , serif;
4141 }
4242
5353 linear-gradient (180deg , rgba (255 , 255 , 255 , 0.98 ), rgba (255 , 252 , 245 , 0.98 )),
5454 var (--cert-paper );
5555 border : 1px solid # d7dce3 ;
56- box-shadow : 0 28 px 70 px rgba (15 , 23 , 42 , 0.12 );
57- padding : 56 px 60 px 44 px ;
56+ box-shadow : 0 18 px 44 px rgba (15 , 23 , 42 , 0.12 );
57+ padding : 46 px 50 px 38 px ;
5858 }
5959
6060 .certificate ::before ,
6565 }
6666
6767 .certificate ::before {
68- inset : 16 px ;
69- border : 6 px solid var (--cert-gold );
68+ inset : 14 px ;
69+ border : 3 px solid var (--cert-gold );
7070 }
7171
7272 .certificate ::after {
73- inset : 32 px ;
74- border : 2 px solid var ( --cert-gold );
73+ inset : 24 px ;
74+ border : 1 px solid rgba ( 200 , 160 , 56 , 0.45 );
7575 }
7676
7777 .certificate-shell {
8888 align-items : center;
8989 justify-content : center;
9090 font-family : 'Manrope' , sans-serif;
91- font-size : clamp (90 px , 12 vw , 170 px );
91+ font-size : clamp (84 px , 11 vw , 146 px );
9292 font-weight : 800 ;
9393 letter-spacing : 0.12em ;
94- color : rgba (200 , 160 , 56 , 0.04 );
95- transform : rotate (-29 deg );
94+ color : rgba (200 , 160 , 56 , 0.035 );
95+ transform : rotate (-24 deg );
9696 user-select : none;
9797 pointer-events : none;
9898 z-index : 0 ;
128128
129129 .cert-header h2 {
130130 margin : 10px 0 8px ;
131- font-size : clamp (28 px , 3.8 vw , 40 px );
131+ font-size : clamp (26 px , 3.4 vw , 35 px );
132132 line-height : 1.02 ;
133133 letter-spacing : -0.03em ;
134134 color : var (--cert-ink );
158158 .student-name {
159159 margin : 0 ;
160160 font-family : 'Manrope' , sans-serif;
161- font-size : clamp (34 px , 5 vw , 56 px );
161+ font-size : clamp (30 px , 4.4 vw , 46 px );
162162 line-height : 0.95 ;
163163 letter-spacing : -0.04em ;
164164 color : # 020617 ;
170170 display : inline-flex;
171171 align-items : center;
172172 gap : 8px ;
173- padding : 10 px 18 px ;
173+ padding : 8 px 16 px ;
174174 border-radius : 999px ;
175175 background : rgba (15 , 138 , 95 , 0.1 );
176176 border : 1px solid rgba (15 , 138 , 95 , 0.16 );
193193 .portal-panel {
194194 background : rgba (255 , 255 , 255 , 0.88 );
195195 border : 1px solid var (--cert-border );
196- border-radius : 22 px ;
197- padding : 18 px 20 px ;
198- box-shadow : 0 12 px 28 px rgba (15 , 23 , 42 , 0.05 );
196+ border-radius : 16 px ;
197+ padding : 16 px 18 px ;
198+ box-shadow : 0 8 px 18 px rgba (15 , 23 , 42 , 0.05 );
199199 }
200200
201201 .section-heading {
248248
249249 .proof-panel {
250250 display : grid;
251- grid-template-columns : minmax (0 , 1.4 fr ) 220 px ;
251+ grid-template-columns : minmax (0 , 1.45 fr ) 190 px ;
252252 gap : 18px ;
253253 align-items : start;
254254 }
308308
309309 # qrcode {
310310 background : # fff ;
311- padding : 10 px ;
312- border-radius : 20 px ;
311+ padding : 8 px ;
312+ border-radius : 14 px ;
313313 border : 1px solid # e2e8f0 ;
314- box-shadow : 0 14 px 32 px rgba (15 , 23 , 42 , 0.08 );
314+ box-shadow : 0 8 px 18 px rgba (15 , 23 , 42 , 0.08 );
315315 }
316316
317317 # certQrCanvas {
318318 display : block;
319319 }
320320
321321 .proof-badge {
322- width : 88 px ;
323- height : 88 px ;
322+ width : 76 px ;
323+ height : 76 px ;
324324 border-radius : 50% ;
325325 display : grid;
326326 place-items : center;
327327 text-align : center;
328328 background : radial-gradient (circle at 30% 30% , # fff6d3, # d1a62b 70% );
329329 color : # 7c5800 ;
330330 font-family : 'Manrope' , sans-serif;
331- font-size : 10 px ;
331+ font-size : 9 px ;
332332 font-weight : 800 ;
333333 letter-spacing : 0.08em ;
334334 text-transform : uppercase;
383383 word-break : break-all;
384384 }
385385
386+ .portal-url .muted {
387+ opacity : 0.85 ;
388+ font-size : 11px ;
389+ }
390+
386391 .portal-copy {
387392 margin : 8px 0 0 ;
388393 color : var (--cert-muted );
398403 }
399404
400405 .portal-actions .btn {
401- border-radius : 999px ;
402- padding : 10px 16px ;
406+ border-radius : 10px ;
407+ padding : 8px 14px ;
408+ font-size : 12px ;
403409 }
404410
405411 .final-note {
416422 z-index : 1 ;
417423 }
418424
425+ .btn-group-container .btn {
426+ border-radius : 12px ;
427+ padding : 12px 24px ;
428+ font-weight : 700 ;
429+ }
430+
419431 @media (max-width : 1100px ) {
420432 .certificate {
421433 padding : 48px 42px 38px ;
@@ -616,7 +628,7 @@ <h5 class="authority-title">Credify Network Validator</h5>
616628 < section class ="portal-panel ">
617629 < div >
618630 < h4 class ="portal-title "> Verification Portal</ h4 >
619- < div class ="portal-url " > https://udaycodespace.github.io/credify-verify/ </ div >
631+ < div id =" portalUrlDisplay " class ="portal-url muted " > Generating secure verification link... </ div >
620632 < p class ="portal-copy ">
621633 Scan the QR or enter the Credential ID to verify authenticity.
622634 </ p >
@@ -637,9 +649,9 @@ <h4 class="portal-title">Verification Portal</h4>
637649 </ div >
638650 </ div >
639651
640- < div class ="btn-group-container mt-5 text-center ">
652+ < div class ="btn-group-container mt-4 text-center ">
641653 < a href ="{{ pdf_download_url }} "
642- class ="btn btn-primary btn-lg px-5 shadow rounded-pill ">
654+ class ="btn btn-primary btn-lg px-5 shadow ">
643655 < i class ="fas fa-file-download me-2 "> </ i > Download Official Certificate (PDF)
644656 </ a >
645657 </ div >
@@ -652,6 +664,11 @@ <h4 class="portal-title">Verification Portal</h4>
652664 document . addEventListener ( 'DOMContentLoaded' , function ( ) {
653665 certVerifyURL = `{{ verify_url|safe }}` ;
654666 document . getElementById ( 'certVerifyUrl' ) . value = certVerifyURL ;
667+ const portalUrlDisplay = document . getElementById ( 'portalUrlDisplay' ) ;
668+ if ( portalUrlDisplay ) {
669+ portalUrlDisplay . textContent = certVerifyURL ;
670+ portalUrlDisplay . classList . remove ( 'muted' ) ;
671+ }
655672
656673 QRCode . toCanvas ( document . createElement ( 'canvas' ) , certVerifyURL , {
657674 width : 180 ,
0 commit comments