Anupriya commited on
Commit ·
a5d3fab
1
Parent(s): 62d3c8a
duplicate removed
Browse filesFiles changed (14)
- src/app/app.module.ts+13-18
- src/app/auth/auth.component.css+19-19
- src/app/auth/auth.component.html+12-12
- src/app/auth/auth.component.ts+47-47
- src/app/authentication/authentication.component.css+13-13
- src/app/authentication/authentication.component.html+8-8
- src/app/authentication/authentication.component.ts+27-27
- src/app/footer/footer.component.css-1
- src/app/footer/footer.component.ts+4-1
- src/app/home/home.component.css+14-4
- src/app/home/home.component.html+2-2
- src/app/reading/reading.component.css+6
- src/app/sign-in/sign-in.component.css+498-1417
- src/app/sign-up/sign-up.component.css+12-467
24 unmodified lines2526272829303132333435362 unmodified lines3940414243444546474849505152535455564 unmodified lines6162636465666724 unmodified linesimport { HeaderComponent } from './shared/header/header.component';import { SignInComponent } from './sign-in/sign-in.component';import { PronunciationComponent } from './pronunciation/pronunciation.component';import { PronunciationVideoComponent } from './pronunciationvideo/pronunciationvideo.component';import { PronunciationRaggComponent } from './pronunciationragg/pronunciationragg.component';import { FooterComponent } from './footer/footer.component';// If you have AppButtonComponent, import it here as well// import { AppButtonComponent } from './app-button/app-button.component';@NgModule({declarations: [2 unmodified linesAuthenticationComponent,AuthComponent,RootRedirectComponent,PronunciationComponent,PronunciationVideoComponent,PronunciationRaggComponent,FooterComponent,//GenerateQuestionsComponent,//VocabularyBuilderComponent,//FindwordComponent,//HeaderComponent,//SignInComponent,//ReadingComponent,//WritingComponent,// AppButtonComponent],imports: [BrowserModule,4 unmodified linesMatDialogModule,MatSlideToggleModule,MatIconModule,MatCardModule],providers: [],bootstrap: [AppComponent]24 unmodified lines2526272829303132332 unmodified lines363738394041424 unmodified lines4748495051525354555657585960616224 unmodified linesimport { HeaderComponent } from './shared/header/header.component';import { SignInComponent } from './sign-in/sign-in.component';import { PronunciationComponent } from './pronunciation/pronunciation.component';import { FooterComponent } from './footer/footer.component';import { ButtonComponent } from './shared/button/button.component';@NgModule({declarations: [2 unmodified linesAuthenticationComponent,AuthComponent,RootRedirectComponent,PronunciationComponent,],imports: [BrowserModule,4 unmodified linesMatDialogModule,MatSlideToggleModule,MatIconModule,MatCardModule,FooterComponent,GenerateQuestionsComponent,VocabularyBuilderComponent,FindwordComponent,HeaderComponent,SignInComponent,ReadingComponent,WritingComponent,ButtonComponent],providers: [],bootstrap: [AppComponent]
123428 unmodified lines33343536373839404145 unmodified lines87888990919293949564 unmodified lines1601611621631641651661671681691708 unmodified lines179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211.py-learn-text {font-size: 4vw;font-weight: 600;color: #073879;28 unmodified lineswidth: 66vw;height: 600px;background-color: white;border-radius: 24px;/*box-shadow: #ffffff 0px 5px 15px;*/box-shadow: #ffffff 1px 1px 51px;overflow: hidden;}45 unmodified linesinput[type="text"],input[type="password"] {width: 100%;padding: 16px;/* margin: 12px 0; */border: 1px solid #dadce0;border-radius: 6px;font-size: 18px;margin-bottom: 1vw;64 unmodified lines.footer-link a:hover {text-decoration: underline;}/* Positioning the social media icons at the top-right corner */.social-media-icons {position: absolute;top: 1vw;right: 2vw;8 unmodified lines}.social-icon img:hover {transform: scale(1.1); /* Slight zoom effect on hover */}.language-grade-container {display: flex;gap: 13vw; /* Gap between Language and Grade sections */align-items: center;}.language-switcher,.grade-switcher {display: flex;align-items: center;gap: 0.5vw; /* Gap between label and select box */}.language-label, .grade-label {color: #007bff; /* Blue for Language label */font-size: 1vw;font-weight: bold;}.dropdown-select {/* padding: 0.5vw; */font-size: 1vw;border-radius: 5px;/* border: 1px solid #000; */}123428 unmodified lines33343536373839404145 unmodified lines87888990919293949564 unmodified lines1601611621631641651661671681691708 unmodified lines179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211/*.py-learn-text {font-size: 4vw;font-weight: 600;color: #073879;28 unmodified lineswidth: 66vw;height: 600px;background-color: white;border-radius: 24px;*//*box-shadow: #ffffff 0px 5px 15px;*//*box-shadow: #ffffff 1px 1px 51px;overflow: hidden;}45 unmodified linesinput[type="text"],input[type="password"] {width: 100%;padding: 16px;*//* margin: 12px 0; *//*border: 1px solid #dadce0;border-radius: 6px;font-size: 18px;margin-bottom: 1vw;64 unmodified lines.footer-link a:hover {text-decoration: underline;}*//* Positioning the social media icons at the top-right corner *//*.social-media-icons {position: absolute;top: 1vw;right: 2vw;8 unmodified lines}.social-icon img:hover {transform: scale(1.1);*/ /* Slight zoom effect on hover *//*}.language-grade-container {display: flex;gap: 13vw;*/ /* Gap between Language and Grade sections *//*align-items: center;}.language-switcher,.grade-switcher {display: flex;align-items: center;gap: 0.5vw;*/ /* Gap between label and select box *//*}.language-label, .grade-label {color: #007bff;*/ /* Blue for Language label *//*font-size: 1vw;font-weight: bold;}.dropdown-select {*//* padding: 0.5vw; *//*font-size: 1vw;border-radius: 5px;*//* border: 1px solid #000; *//*}*/
123456789101112131415161718192010 unmodified lines3132333435363744 unmodified lines82838485868788899091925 unmodified lines9899100101<div class="login-wrapper"><div class="login-container"><!-- Left side image and logo --><div class="login-image"><img src="assets/images/login/lion.png" alt="Login Illustration" class="bgImage" /><img src="assets/images/pykara-logo.png" alt="Pykara Logo" class="logo" /></div><!-- Right side form --><div class="login-box"><div class="logo-header"><span class="py-learn-text">Py- Learn</span><!-- Added self-learning system text here --><div class="self-learning-system">(A Self-Learning System)</div></div><h2>Login</h2><!--<p class="subtitle">Use your Pykara account</p>--><!--<input type="text" [(ngModel)]="username" placeholder="Username or Email" />10 unmodified lines<button (click)="login()">Login</button>--><form (ngSubmit)="login()" #loginForm="ngForm" autocomplete="on"><input type="text" name="username" [(ngModel)]="username" placeholder="Username or Email" required /><div class="password-field">44 unmodified lines<div class="footer-link"><a href="https://pykara.ai" target="_blank">www.pykara.ai</a></div><!-- Social Media Icons at the top-right --><div class="social-media-icons"><a href="https://www.youtube.com/@PykaraTechnologies/videos" target="_blank" class="social-icon"><img src="assets/images/home/youtube-icon.png" alt="YouTube">5 unmodified lines</div></div>123456789101112131415161718192010 unmodified lines3132333435363744 unmodified lines82838485868788899091925 unmodified lines9899100101<!--<div class="login-wrapper"><div class="login-container">--><!-- Left side image and logo --><!--<div class="login-image"><img src="assets/images/login/lion.png" alt="Login Illustration" class="bgImage" /><img src="assets/images/pykara-logo.png" alt="Pykara Logo" class="logo" /></div>--><!-- Right side form --><!--<div class="login-box"><div class="logo-header"><span class="py-learn-text">Py- Learn</span>--><!-- Added self-learning system text here --><!--<div class="self-learning-system">(A Self-Learning System)</div></div><h2>Login</h2>--><!--<p class="subtitle">Use your Pykara account</p>--><!--<input type="text" [(ngModel)]="username" placeholder="Username or Email" />10 unmodified lines<button (click)="login()">Login</button>--><!--<form (ngSubmit)="login()" #loginForm="ngForm" autocomplete="on"><input type="text" name="username" [(ngModel)]="username" placeholder="Username or Email" required /><div class="password-field">44 unmodified lines<div class="footer-link"><a href="https://pykara.ai" target="_blank">www.pykara.ai</a></div>--><!-- Social Media Icons at the top-right --><!--<div class="social-media-icons"><a href="https://www.youtube.com/@PykaraTechnologies/videos" target="_blank" class="social-icon"><img src="assets/images/home/youtube-icon.png" alt="YouTube">5 unmodified lines</div></div>-->
8 unmodified lines91011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071728 unmodified lines})export class AuthComponent {username: string = '';password: string = '';errorMessage: string = '';showPassword: boolean = false;constructor(private authService: AuthService, private router: Router) { }//ngOnInit(): void {// this.authService.checkSession();//}// ✅ Handle Loginlogin(): void {this.authService.login(this.username, this.password).subscribe((response) => {// 1) Prefer grade coming from backend if it existslet level = this.normalizeGrade((response?.gradeLevel ?? response?.grade ?? response?.role ?? ''));// 2) Otherwise derive it from the USERNAME exactly as you requestedif (!level) level = this.normalizeGrade(this.username);// 3) Persist for ApiService -> sets X-User per requestif (!level) level = 'highergrade'; // final fallback (optional)localStorage.setItem('gradeLevel', level);// 4) Proceed as beforethis.authService.setLoggedIn(true);this.authService.startAutoRefresh();const redirectUrl = localStorage.getItem('redirectAfterLogin') || '/home';localStorage.removeItem('redirectAfterLogin');this.router.navigate([redirectUrl]);},() => {this.errorMessage = 'Invalid username or password';});}private normalizeGrade(v: string): GradeLevel | '' {const s = (v || '').trim().toLowerCase();if (s === 'lowergrade' || s === 'lower' || s === 'low' || s === 'l') return 'lowergrade';if (s === 'midgrade' || s === 'mid' || s === 'm') return 'midgrade';if (s === 'highergrade' || s === 'higher' || s === 'high' || s === 'h') return 'highergrade';return '';}// ✅ Check if user is logged inisLoggedIn(): boolean {return this.authService.isLoggedIn();}togglePasswordVisibility(): void {this.showPassword = !this.showPassword;}}8 unmodified lines91011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071728 unmodified lines})export class AuthComponent {//username: string = '';//password: string = '';//errorMessage: string = '';//showPassword: boolean = false;//constructor(private authService: AuthService, private router: Router) { }////ngOnInit(): void {//// this.authService.checkSession();////}//// ✅ Handle Login//login(): void {// this.authService.login(this.username, this.password).subscribe(// (response) => {// // 1) Prefer grade coming from backend if it exists// let level = this.normalizeGrade(// (response?.gradeLevel ?? response?.grade ?? response?.role ?? '')// );// // 2) Otherwise derive it from the USERNAME exactly as you requested// if (!level) level = this.normalizeGrade(this.username);// // 3) Persist for ApiService -> sets X-User per request// if (!level) level = 'highergrade'; // final fallback (optional)// localStorage.setItem('gradeLevel', level);// // 4) Proceed as before// this.authService.setLoggedIn(true);// this.authService.startAutoRefresh();// const redirectUrl = localStorage.getItem('redirectAfterLogin') || '/home';// localStorage.removeItem('redirectAfterLogin');// this.router.navigate([redirectUrl]);// },// () => {// this.errorMessage = 'Invalid username or password';// }// );//}//private normalizeGrade(v: string): GradeLevel | '' {// const s = (v || '').trim().toLowerCase();// if (s === 'lowergrade' || s === 'lower' || s === 'low' || s === 'l') return 'lowergrade';// if (s === 'midgrade' || s === 'mid' || s === 'm') return 'midgrade';// if (s === 'highergrade' || s === 'higher' || s === 'high' || s === 'h') return 'highergrade';// return '';//}//// ✅ Check if user is logged in//isLoggedIn(): boolean {// return this.authService.isLoggedIn();//}//togglePasswordVisibility(): void {// this.showPassword = !this.showPassword;//}}
123456789101112131415161718192021222324251 unmodified line272829303132333435362 unmodified lines39404142434445464748495067 unmodified lines1181191201211221231241254 unmodified lines130131132133.py-learn-text {font-size: 4vw;font-weight: 600;color: #073879;font-family: Amonk_Outline;}/* Wrapper for the full screen */.login-wrapper {height: 100vh;display: flex;justify-content: center;align-items: center;background-color: #05234b;}/* Container for left and right split */.login-container {display: flex;width: 1100px;height: 600px;1 unmodified lineborder-radius: 24px;box-shadow: #ffffff 0px 5px 15px;overflow: hidden;}/* Left section (image) */.login-image {flex: 1;background-color: #e8f0fe;display: flex;2 unmodified lines.bgImage {width: 100%;height: 66vh;/*opacity: 0.5;*/}/* Right section (form) */.login-box {flex: 1;padding: 60px;font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;67 unmodified lines.password-field input {width: 100%;padding-right: 40px; /* space for the icon */}.toggle-password {position: absolute;4 unmodified linesfont-size: 1.2vw;color: #555;user-select: none;}123456789101112131415161718192021222324251 unmodified line272829303132333435362 unmodified lines39404142434445464748495067 unmodified lines1181191201211221231241254 unmodified lines130131132133/*.py-learn-text {font-size: 4vw;font-weight: 600;color: #073879;font-family: Amonk_Outline;}*//* Wrapper for the full screen *//*.login-wrapper {height: 100vh;display: flex;justify-content: center;align-items: center;background-color: #05234b;}*//* Container for left and right split *//*.login-container {display: flex;width: 1100px;height: 600px;1 unmodified lineborder-radius: 24px;box-shadow: #ffffff 0px 5px 15px;overflow: hidden;}*//* Left section (image) *//*.login-image {flex: 1;background-color: #e8f0fe;display: flex;2 unmodified lines.bgImage {width: 100%;height: 66vh;*//*opacity: 0.5;*//*}*//* Right section (form) *//*.login-box {flex: 1;padding: 60px;font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;67 unmodified lines.password-field input {width: 100%;padding-right: 40px;*/ /* space for the icon *//*}.toggle-password {position: absolute;4 unmodified linesfont-size: 1.2vw;color: #555;user-select: none;}*/
123456789101112139 unmodified lines23242526272829303112 unmodified lines44454647<div class="login-wrapper"><div class="login-container"><!-- Left side image --><div class="login-image"><img src="assets/images/lion1.png" alt="Login Illustration" class="bgImage"/><img src="assets/images/pykara-logo.png" alt="Pykara Logo" class="logo" /></div><!-- Right side form --><div class="login-box"><div class="logo-header"><span class="py-learn-text">Py Learn</span>9 unmodified lines[(ngModel)]="password"placeholder="Password" /><span class="toggle-password" (click)="togglePasswordVisibility()"><i class="{{ showPassword ? 'fas fa-eye' : 'fas fa-eye-slash' }}"></i><!-- {{ showPassword ? '👁️' : '🙈' }}--></span></div><p *ngIf="errorMessage" class="error">{{ errorMessage }}</p>12 unmodified lines</div></div></div></div>123456789101112139 unmodified lines23242526272829303112 unmodified lines44454647<!--<div class="login-wrapper"><div class="login-container">--><!-- Left side image --><!--<div class="login-image"><img src="assets/images/lion1.png" alt="Login Illustration" class="bgImage"/><img src="assets/images/pykara-logo.png" alt="Pykara Logo" class="logo" /></div>--><!-- Right side form --><!--<div class="login-box"><div class="logo-header"><span class="py-learn-text">Py Learn</span>9 unmodified lines[(ngModel)]="password"placeholder="Password" /><span class="toggle-password" (click)="togglePasswordVisibility()"><i class="{{ showPassword ? 'fas fa-eye' : 'fas fa-eye-slash' }}"></i>--><!-- {{ showPassword ? '👁️' : '🙈' }}--><!--</span></div><p *ngIf="errorMessage" class="error">{{ errorMessage }}</p>12 unmodified lines</div></div></div></div>-->
13 unmodified lines14151617181920212223242526272829303132333435363738394041424344454613 unmodified linesconstructor(private authService: AuthenticationService, private router: Router) { }// ✅ Login functionalitylogin(): void {this.authService.login(this.username, this.password).subscribe((response: any) => {// Directly access the tokens from the response bodyconst token = response.access_token; // Access the access token directly from the bodythis.authService.storeToken(token);this.router.navigate(['/home']); // Redirect to the home page or dashboard after successful login},(error) => {this.errorMessage = 'Invalid username or password'; // Show error message if login fails});}// ✅ Check if the user is logged in (token is stored in localStorage)get isLoggedIn(): boolean {return this.authService.isLoggedIn();}showPassword: boolean = false;togglePasswordVisibility(): void {this.showPassword = !this.showPassword;}13 unmodified lines14151617181920212223242526272829303132333435363738394041424344454613 unmodified linesconstructor(private authService: AuthenticationService, private router: Router) { }//// ✅ Login functionality//login(): void {// this.authService.login(this.username, this.password).subscribe(// (response: any) => {// // Directly access the tokens from the response body// const token = response.access_token; // Access the access token directly from the body// this.authService.storeToken(token);// this.router.navigate(['/home']); // Redirect to the home page or dashboard after successful login// },// (error) => {// this.errorMessage = 'Invalid username or password'; // Show error message if login fails// }// );//}//// ✅ Check if the user is logged in (token is stored in localStorage)//get isLoggedIn(): boolean {// return this.authService.isLoggedIn();//}//showPassword: boolean = false;//togglePasswordVisibility(): void {// this.showPassword = !this.showPassword;//}
71 unmodified lines7273747576777871 unmodified linestext-align: center;width: 100%;position: relative;margin-top: 28vw;font-size: 18px;font-weight: 700;font-family: Inter, Segoe UI, -apple-system, BlinkMacSystemFont, sans-serif;71 unmodified lines72737475767771 unmodified linestext-align: center;width: 100%;position: relative;font-size: 18px;font-weight: 700;font-family: Inter, Segoe UI, -apple-system, BlinkMacSystemFont, sans-serif;
12345678910import { Component } from '@angular/core';import { BrandService } from '../shared/brand.service';@Component({selector: 'app-footer',templateUrl: './footer.component.html',styleUrls: ['./footer.component.css']})export class FooterComponent {showPrivacyPopup = false;12345678910111213import { Component } from '@angular/core';import { BrandService } from '../shared/brand.service';import { CommonModule } from '@angular/common';@Component({selector: 'app-footer',templateUrl: './footer.component.html',styleUrls: ['./footer.component.css'],standalone: true,imports: [CommonModule]})export class FooterComponent {showPrivacyPopup = false;
1234567891011121314226 unmodified lines241242243244245246247.hero {background: url('/assets/images/home/background.png') no-repeat;flex: 1;}.hero-text {color: white;text-align: left;max-width: 50%;position: relative;transform: translate(1vw, 17vw);}h1 {226 unmodified linespadding: 3vw 2vw;background-color: #f9f9f9;position: relative;top: 30vw;}.section-title {12345678910111213141516171819202122232425226 unmodified lines252253254255256257.hero {flex: 1;display: flex;flex-direction: column;position: relative;}.hero-text {color: white;text-align: left;height: 100vh;display: flex;flex-direction: column;justify-content: center;padding-left: 1vw;background-image: url('/assets/images/home/background.png');background-repeat: no-repeat;background-position: center center;background-size: cover;position: relative;top: 5vw;padding-bottom: 5vw;}h1 {226 unmodified linespadding: 3vw 2vw;background-color: #f9f9f9;position: relative;}.section-title {
72 unmodified lines737475767778798072 unmodified lines<h1>{{ brand.name }}</h1><h2>A Self-Learning System</h2><p>It is a personalized self-learning system helps students to improve their language skills through interactive and customized exercises.With engaging activities and instant feedback, learning becomes easy and enjoyable!</p></div>72 unmodified lines737475767778798072 unmodified lines<h1>{{ brand.name }}</h1><h2>A Self-Learning System</h2><p>It is a personalized self-learning system helps students to improve their language skills through interactive<br />and customized exercises.With engaging activities and instant feedback,<br />learning becomes easy and enjoyable!</p></div>
705 unmodified lines706707708709710711712713705 unmodified lines.icon-img {width: 4.5vw;}.passage-text .highlight {background-color: yellow;705 unmodified lines706707708709710711712713714715716717718719705 unmodified lines.icon-img {width: 4.5vw;cursor: pointer;transition: transform 0.3s;}.icon-img:hover, .icon-img:focus {transform: scale(1.1);}.passage-text .highlight {background-color: yellow;
14 unmodified lines15161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778793 unmodified lines83848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331 unmodified line1351361371381391401 unmodified line1421431441451461471481491501511521531541551561571581591601611621635 unmodified lines1691701711721731741751761771781791801811821831841851861871 unmodified line18919019119219319414 unmodified lines2092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502517 unmodified lines2592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703715 unmodified lines3773783793803813823833843853863873883893904 unmodified lines3953963973983994004014024034048 unmodified lines4134144154164174184194204214224234244254264274284294304314324335 unmodified lines43944044144244344413 unmodified lines45845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550611 unmodified lines5185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987991 unmodified line8018028038048058061 unmodified line8088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528533 unmodified lines8578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139141 unmodified line91691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894913 unmodified lines96396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212738 unmodified lines1282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313742 unmodified lines1377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917305 unmodified lines173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317645 unmodified lines17701771177217731774177517761777177817791780178117821783178417853 unmodified lines17891790179117921793179417951796179717981799180018011802180318043 unmodified lines180818091810181118121813181418151816181718181819182018212 unmodified lines18241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188914 unmodified linesbackdrop-filter: blur(16px);}/* Ensure no solid white background is set anywhere */.signin-header {width: 420px;max-width: 95vw;display: flex;justify-content: flex-end;align-items: flex-start;padding: 0;position: absolute;top: -28px;right: 12px;pointer-events: none;z-index: 2;}.signin-logo {display: flex;align-items: center;gap: 12px;pointer-events: auto;}.signin-login-link {font-size: 1.1rem;color: #fff;margin-top: 0;pointer-events: auto;background: #18314a;border-radius: 0 0 12px 12px;padding: 8px 18px 4px 18px;box-shadow: 0 2px 8px #0002;position: relative;right: 0;top: 0;}.signin-login-link a {color: #1de9b6;text-decoration: underline;margin-left: 6px;font-weight: 600;cursor: pointer;}.signin-box {margin: 0 auto;/* Center the box horizontally and vertically */position: relative;left: 0;right: 0;top: 0;bottom: 0;background: #18314a;border-radius: 22px;box-shadow: 0 12px 48px #000a;padding: 48px 38px 32px 38px;width: 420px;max-width: 95vw;display: flex;flex-direction: column;align-items: center;}.signin-title {color: #38bdf8;font-size: 2.1rem;3 unmodified linesletter-spacing: 1px;text-shadow: 0 2px 8px #0008;}form {width: 100%;}.signin-row {display: flex;gap: 24px;margin-bottom: 18px;}.signin-field {flex: 1;display: flex;flex-direction: column;}.signin-field label {color: #fff;font-weight: 600;margin-bottom: 6px;font-size: 1rem;letter-spacing: 0.5px;}.signin-field input {background: #fff;color: #18314a;border: none;border-radius: 8px;padding: 12px 14px;font-size: 1rem;margin-bottom: 2px;box-shadow: 0 1px 4px #0002;transition: border 0.2s, box-shadow 0.2s;}.signin-field input:focus {outline: 2px solid #1de9b6;border-color: #1de9b6;box-shadow: 0 0 0 2px #1de9b688;}.signin-field input::placeholder {color: #b0b8c1;opacity: 1;}.signin-field small.error {color: #ff5252;font-size: 0.85rem;margin-top: 4px;}.signin-options-row {display: flex;justify-content: space-between;1 unmodified linemargin-bottom: 2vw;margin-top: -8px;}.remember-me {display: flex;align-items: center;1 unmodified linefont-size: 1rem;color: #b0b8c1;}.remember-me input[type="checkbox"] {accent-color: #38bdf8;width: 16px;height: 16px;}.forgot-password {font-size: 1rem;}.forgot-link {color: #38bdf8;text-decoration: underline;font-weight: 500;cursor: pointer;}.signin-btn {width:100%;background: #18314a;color: #fff;border: none;5 unmodified linescursor: pointer;transition: background 0.2s, color 0.2s;}.signin-btn:hover {background: #38bdf8;}.signin-footer {color: #b0b8c1;font-size: 0.95rem;text-align: center;margin-top: 8px;}.signin-footer .footer-sep {display: block;height: 16px;}.signin-footer a {color: #38bdf8;text-decoration: underline;1 unmodified linefont-weight: 600;cursor: pointer;}.signin-close {position: absolute;top: 18px;14 unmodified linestransition: background 0.2s, color 0.2s;box-shadow: 0 2px 8px #0005;}.signin-close:hover {background: #38bdf8;color: #18314a;}@media (max-width: 700px) {.signin-box {padding: 18px 6vw 18px 6vw;width: 98vw;}.signin-header {flex-direction: column;align-items: flex-start;width: 98vw;padding: 0 0 12px 0;}.signin-title {font-size: 1.3rem;}.signin-row {flex-direction: column;gap: 0;}}.ai-particle-bg {position: absolute;inset: 0;pointer-events: none;z-index: 0;background: url('/assets/particles.svg');opacity: 0.18;animation: particleDrift 18s linear infinite;}@keyframes particleDrift {0% { background-position: 0 0; }100% { background-position: 120px 80px; }}.spinner {display: inline-block;width: 18px;7 unmodified lines}@keyframes spin {0% { transform: rotate(0deg);}100% { transform: rotate(360deg);}}.py-logo-glow {width: 54px;height: 54px;border-radius: 50%;box-shadow: 0 0 24px #38bdf8, 0 0 12px #13bfa6;animation: logoGlow 3.5s ease-in-out infinite alternate;}@keyframes logoGlow {0% { box-shadow: 0 0 12px #38bdf8, 0 0 6px #13bfa6; }100% { box-shadow: 0 0 32px #38bdf8, 0 0 18px #13bfa6; }}.ai-scan-line {display: none;}.ai-slide-in {animation: slideInBox 0.8s cubic-bezier(.39,.58,.57,1) both;}@keyframes slideInBox {0% { opacity: 0; transform: translateY(40px) scale(0.98); }100% { opacity: 1; transform: translateY(0) scale(1); }}.lock-icon {color: #38bdf8;font-size: 1.2em;margin-right: 8px;vertical-align: middle;}.signin-tagline {color: #b0b8c1;font-size: 1.08em;text-align: center;margin-bottom: 8px;font-weight: 600;}.signin-welcome {color: #38bdf8;font-size: 1.05em;text-align: center;margin-bottom: 18px;font-weight: 600;}.switch {position: relative;display: inline-block;width: 38px;height: 22px;}.switch input {opacity: 0;width: 0;height: 0;}.slider {position: absolute;cursor: pointer;top: 0; left: 0; right: 0; bottom: 0;background: #b0b8c1;border-radius: 22px;transition: .4s;}.switch input:checked + .slider {background: #38bdf8;}.slider:before {position: absolute;content: "";height: 16px;width: 16px;left: 3px;bottom: 3px;background: #fff;border-radius: 50%;transition: .4s;}.switch input:checked + .slider:before {transform: translateX(16px);}.signin-hint {color: #b0b8c1;font-size: 0.95em;text-align: right;margin-bottom: 8px;}.ai-pulse {animation: aiPulseGlow 1.5s infinite alternate;}@keyframes aiPulseGlow {0% { box-shadow: 0 2px 12px #38bdf844; }100% { box-shadow: 0 2px 24px #38bdf888; }}.signin-session-tip {color: #b0b8c1;font-size: 0.95em;text-align: center;margin-bottom: 8px;}.signin-security-note {color: #ff5252;font-size: 0.95em;font-weight: 600;display: block;margin-bottom: 4px;}.signin-error-toast {background: transparent;color: #ff5252;5 unmodified linestext-align: center;animation: shakeError 0.3s cubic-bezier(.39,.58,.57,1);}@keyframes shakeError {0% { transform: translateX(0); }20% { transform: translateX(-8px); }40% { transform: translateX(8px); }60% { transform: translateX(-8px); }80% { transform: translateX(8px); }100% { transform: translateX(0); }}.forgot-modal-bg {position: fixed;inset: 0;4 unmodified linesjustify-content: center;animation: fadeInModalBg 0.4s;}@keyframes fadeInModalBg {from { opacity: 0; }to { opacity: 1; }}.forgot-modal {background: #fff;border-radius: 18px;8 unmodified linesalign-items: center;animation: fadeInModal 0.4s;}@keyframes fadeInModal {from { opacity: 0; transform: scale(0.98); }to { opacity: 1; transform: scale(1); }}.forgot-modal h3 {color: #38bdf8;margin: 12px 0 8px 0;font-size: 1.4em;font-weight: 700;}.forgot-modal p {color: #23272b;font-size: 1.08em;margin-bottom: 18px;}.forgot-modal input[type="email"] {background: #f4f6fa;color: #18314a;5 unmodified linesbox-shadow: 0 1px 4px #0002;width: 100%;}.modal-close {width: 23%;background: #18314a;13 unmodified linesbackground: #38bdf8;color: #18314a;}.google-signin-row {width: 100%;display: flex;justify-content: center;margin-bottom: 12px;}#google-btn-div {width: 100%;display: flex;justify-content: center;}#google-btn-div > div {width: 100%;min-width: 0;border-radius: 8px !important;padding: 14px 0 !important;font-size: 1.1rem !important;font-weight: 700 !important;box-shadow: 0 2px 8px #0003 !important;background: #fff !important;color: #18314a !important;border: none !important;margin: 0 !important;display: flex;align-items: center;justify-content: center;}.g-signin2 {width: 100%;min-width: 0;border-radius: 8px !important;padding: 14px 0 !important;font-size: 1.1rem !important;font-weight: 700 !important;box-shadow: 0 2px 8px #0003 !important;background: #fff !important;color: #18314a !important;border: none !important;margin: 0 !important;display: flex;align-items: center;justify-content: center;}.eye-toggle {position: absolute;11 unmodified linesopacity: 0.7;transition: color 0.2s, opacity 0.2s;}#password {padding-right: 40px;}.password-label {display: inline-flex;align-items: center;gap: 8px;}.password-label .eye-toggle {position: static;right: auto;top: auto;background: none;border: none;font-size: 1rem;color: #888;opacity: 0.9;padding: 0 4px;}.password-label .eye-toggle:hover {color: #555;opacity: 1;}/* --- UI DESIGN UPDATE TO MATCH SCREENSHOT --- */.auth-box {display: grid;grid-template-columns: 1fr 1fr;width: 820px;max-width: 98vw;min-width: 340px;border-radius: 18px;box-shadow: 0 8px 32px #0002;overflow: hidden;background: none;}.panel-left {background: #fff;color: #222;display: flex;flex-direction: column;align-items: center;justify-content: center;padding: 48px 32px;}.panel-left .signin-title {font-size: 2.1rem;font-weight: 800;margin-bottom: 12px;text-align: center;color: #222;}.panel-left .signin-desc {font-size: 1.05rem;margin-bottom: 24px;text-align: center;color: #555;}.panel-left .signin-btn {background: var(--primary-cyan-mid);color: #fff;border: none;border-radius: 999px;padding: 12px 32px;font-size: 1.1rem;font-weight: 700;cursor: pointer;transition: background 0.2s, color 0.2s;box-shadow: 0 2px 8px rgba(0,0,0,0.2);}.panel-left .signin-btn:hover {background: var(--primary-cyan-dark);color: #fff;}.panel-right {background: linear-gradient(135deg, var(--primary-cyan-dark) 0%, var(--primary-cyan-mid) 100%);color: #fff;display: flex;flex-direction: column;align-items: center;justify-content: center;padding: 48px 32px;}.panel-right .signup-title {font-size: 2rem;font-weight: 800;margin-bottom: 18px;text-align: left;color: #fff;}.panel-right .signup-desc {font-size: 1.05rem;margin-bottom: 24px;text-align: center;color: #fff;}.panel-right .signup-btn {background: none;color: #fff;border: 2px solid #fff;border-radius: 999px;padding: 12px 32px;font-size: 1.1rem;font-weight: 700;cursor: pointer;transition: background 0.2s, color 0.2s;box-shadow: none;}/* Input fields and buttons for left panel */.panel-left .signin-field input,.panel-left .signin-field select {background: #f5f5f5;color: #222;border: 1px solid #ddd;border-radius: 8px;padding: 12px 14px;font-size: 1rem;margin-bottom: 2px;box-shadow: 0 1px 4px #0001;transition: border 0.2s, box-shadow 0.2s;}.panel-left .signin-field input:focus,.panel-left .signin-field select:focus {outline: 2px solid #ff416c;border-color: #ff416c;box-shadow: 0 0 0 2px #ff416c44;}/* Social buttons row for left panel */.panel-left .social-row {display: flex;gap: 12px;margin-bottom: 18px;justify-content: center;}.panel-left .social-btn {width: 38px;height: 38px;border-radius: 50%;background: #f5f5f5;display: flex;align-items: center;justify-content: center;font-size: 1.3em;color: var(--primary-cyan-dark);border: none;cursor: pointer;box-shadow: 0 2px 8px #0001;transition: background 0.2s, color 0.2s;}.panel-left .social-btn:hover {background: var(--primary-cyan-dark);color: #fff;}/* Professional shadow and rounded corners for the whole box */.auth-box {box-shadow: 0 8px 32px #0002;border-radius: 18px;}/* Ensure identical size and prevent clipping */.auth-box {display: grid;grid-template-columns: 420px 600px; /* match sign-up columns */width: 1020px; /* increased to accommodate both panels */height: 620px; /* increased height to avoid overflow */max-width: 98vw;min-width: 340px;border-radius: 18px;box-shadow: 0 8px 32px #0002;overflow: visible; /* ensure no content is clipped */background: none;position: relative;box-sizing: border-box;}/* Reduce right panel width to make it less large */.auth-box {display: grid;grid-template-columns: 360px 840px; /* reduced right panel from 600px to 520px */width: 850px; /* adjusted total width to match columns */height: 820px;max-width: 98vw;min-width: 340px;border-radius: 18px;box-shadow: 0 8px 32px #0002;overflow: visible; /* ensure no content is clipped */background: none;position: relative;box-sizing: border-box;justify-content:end;align-items:baseline;justify-items:start;}/* Ensure panels occupy full height and use box-sizing */.panel-left, .panel-right {height: 100%;box-sizing: border-box;}/* Card viewport and sliding inner container */.auth-card {width: 1140px; /* viewport width remains */height: 700px; /* increased height to accommodate content and remove scroll */perspective: none;overflow: hidden;border-radius: 12px;box-shadow: 0 8px 24px rgba(0,0,0,0.12), #ffffff 1px 1px 51px; /* added white glow */margin: 0 auto;}.card-inner {width:200%; /* contains both faces side-by-side */height:100%;display: flex; /* place front and back side-by-side *//* much slower transition so flip is clearly visible to users */transition: transform 0.7s cubic-bezier(.22, .9, .32,1);will-change: transform;}.auth-card.flipped .card-inner {transform: translate3d(-50%,0,0);}.auth-card:not(.flipped) .card-inner {transform: translate3d(0,0,0);}/* panel fade with proper syntax */.card-front .main-panel,.card-back .main-panel {transition: opacity 1s ease 0.15s;}.card-front[aria-hidden="true"] .main-panel,.card-back[aria-hidden="true"] .main-panel {opacity:0;}.card-front[aria-hidden="false"] .main-panel,.card-back[aria-hidden="false"] .main-panel {opacity:1;}/* faces: each takes 50% of the inner width (i.e. the viewport) */.card-front, .card-back {width: 50%;height: 100%;flex: 0 0 50%;box-sizing: border-box;position: relative; /* allow absolute children inside */overflow: hidden;}/* layout inside each face: side-panel + main-panel split */.card-content {display: flex;height: 100%;flex-direction: row-reverse;}.side-panel { width: 48%; display:flex; align-items:center; justify-content:center; }.main-panel { width: 55%; padding: 48px 48px; box-sizing:border-box; background:#fff; overflow: visible; display:flex; flex-direction:column; align-items:center; }/* center logo header */.logo-header {display: flex;flex-direction: column;align-items: center;justify-content: center;text-align: center;margin-bottom: 8px;}.py-learn-text {font-size: 3vw;font-weight: 600;1 unmodified linefont-family: Amonk_Outline;margin-bottom: 1vw;}.self-learning-system {font-size: 1.2vw;font-weight: bolder;1 unmodified linemargin-top: -.8vw;}.side-right {background: linear-gradient(135deg,#137ec4 0%,#137ec4 100%);}.side-left {background: linear-gradient(135deg, #137ec4 0%, #38bdf8 100%);}.side-inner { color:#fff; text-align:center; padding: 32px; }.side-inner h3 { font-size: 1.6rem; margin-bottom:12px; }.side-text { opacity: 0.95; }.panel-cta { background:none; border:2px solid #fff; color:#fff; padding:10px 22px; border-radius:999px; cursor:pointer; margin-top:12px; }/* Ensure sign-in text colors for white main panel */.card-front .main-panel .signin-title { color: #222; }.card-back .main-panel .signup-title { color: #222; }/* Maintain previous smaller-screen behavior (stack panels) */@media (max-width: 900px){.auth-card{ width:92vw; height:auto; }.card-inner{ width: 200%; /* still double width but we'll stack */ }.card-content{ flex-direction: column; }.side-panel{ width:100%; height:200px; }.main-panel{ width:100%; overflow: visible; }}/* keep existing control styles unchanged (inputs/buttons/etc.) *//* minimal overwrite of previous rules that used absolute positioning */.m, .signin-close, .card-back .signin-close { position: absolute; top: 5px; right: 5px; z-index: 10; }/* accessibility: hide offscreen face from assistive tech when sliding */.card-front[aria-hidden="true"], .card-back[aria-hidden="true"] {pointer-events: none;}/* Change right panel gradient to blue/cyan */.side-panel.side-right {background: linear-gradient(135deg, #1d608b 0%, #1d608b 100%);}/* Info box styling for right panel */.side-info-box {position: absolute;top: 164px;3 unmodified linesz-index: 2;text-align: left;}.side-info-title {font-size: 1.35rem;font-weight: 800;color: #fff;margin-bottom: 6px;letter-spacing: 0.5px;}.side-info-desc {font-size: 1.08rem;color: #e0f7fa;margin-bottom: 8px;}.side-info-link {color: #fff;font-weight: 700;text-decoration: underline;cursor: pointer;transition: color 0.2s;}.side-info-link:hover {color: #23395d;}/* Ensure info box is above image */.side-panel {position: relative;}/* Google button row spacing */.google-signin-row {width: 100%;display: flex;justify-content: center;margin-bottom: 12px;}#google-btn-div {width: 100%;display: flex;justify-content: center;}.g-signin2 {margin: 0 auto;}/* Ensure main-panel text is black (readable on white background) */.card-front .main-panel,.card-front .main-panel .signin-title,.card-front .main-panel .signin-tagline,.card-front .main-panel .signin-welcome,.card-front .main-panel .signin-session-tip,.card-front .main-panel .signin-hint,.card-front .main-panel .signin-footer,.card-front .main-panel label,.card-front .main-panel .signin-field small,1 unmodified linecolor: #23395d !important;}/* Ensure required field errors are red on the front main panel */.card-front .main-panel .signin-field small.error {color: #ff5252 !important;}/* Keep links styled but darken slightly for contrast */.card-front .main-panel a {color: #0b57a4 !important;}.signin-divider-row {display: flex;align-items: center;justify-content: center;width:100%;margin:12px 018px 0;}.divider {flex:1;height:1px;background: #b0b8c1;margin:08px;}.divider-or {color: #23395d;font-size:1.08em;font-weight:600;margin:08px;}.google-btn {width: 100%;height: 45px;13 unmodified linesgap: 12px;transition: background 0.2s, color 0.2s;}.google-btn:hover {background: #38bdf8;}.google-logo {width:24px;height:24px;}.fact-rotator {font-size:1.18rem;font-weight:700;color: #fff;margin-bottom:8px;min-height:32px;text-align: left;transition: opacity 0.6s;letter-spacing:0.5px;animation: fadeFact0.6s;}@keyframes fadeFact {from { opacity:0; }to { opacity:1; }}.side-panel.side-left {position: relative;overflow: hidden;background: #1d608b; /* Strong blue for contrast */min-height: 400px;}.side-img {position: absolute;top:0; left:0;width:100%; height:100%;object-fit: cover;z-index:0;}.side-bg-shapes {position: absolute;top:0; left:0; right:0; bottom:0;width:100%; height:100%;z-index:1;pointer-events: none;}.bg-circle {position: absolute;border-radius:50%;opacity:0.85;}.circle1 {width: 120px;height: 120px;top: 18px;left: 18px;background: linear-gradient(135deg, #38bdf8 80%, #137ec4 100%);}.circle2 {width: 80px;height: 80px;top: 71%;left: 113px;background: linear-gradient(135deg, #38bdf8 80%, #137ec4 100%);}.circle3 {width: 48px;height: 48px;top: 80%;left: 70%;background: linear-gradient(135deg, #38bdf8 80%, #137ec4 100%);}.circle4 {width: 160px;height: 160px;top: 70px;right: 204px;background: linear-gradient(135deg, #38bdf8 80%, #137ec4 100%);opacity: 0.7;}.circle5 {width: 36px;height: 36px;top: 30%;left: 80%;background: linear-gradient(135deg, #38bdf8 80%, #137ec4 100%);opacity: 0.6;}.circle6 {width: 60px;height: 60px;bottom: 12%;right: 18%;background: linear-gradient(135deg, #38bdf8 80%, #137ec4 100%);opacity: 0.5;}.circle7 {width: 54px;height: 54px;top: 10%;right: 10%;background: #18314a;opacity: 0.8;}.circle8 {width: 32px;height: 32px;bottom: 20%;left: 60%;background: #14263c;opacity: 0.8;}.circle9 {width: 44px;height: 44px;top: 75%;left: 40%;background: #18314a;opacity: 0.7;}.circle10 {width: 28px;height: 28px;top: 15%;left: 60%;background: #14263c;opacity: 0.9;}.circle11 {width: 38px;height: 38px;bottom: 10%;right: 10%;background: #18314a;opacity: 0.7;}.circle12 {width: 22px;height: 22px;top: 85%;right: 20%;background: #14263c;opacity: 0.8;}/* New large solid circles for sign-in page background */.circle-large1 {width:220px;height:220px;top:40px;left:60px;background: #137ec4;opacity:0.45;z-index:0;}.circle-large2 {width:180px;height:180px;bottom:40px;right:40px;background: #38bdf8;opacity:0.35;z-index:0;}.circle-large3 {width:140px;height:140px;top:60%;left:60%;background: #18314a;opacity:0.25;z-index:0;}.circle-large4 {width:100px;height:100px;bottom:11%;left:5%;background: #13bfa6;opacity:0.52;z-index:0;}/* Add more white rings for contrast */.bg-ring {position: absolute;border-radius:50%;border:6px solid #fff;background: none;opacity:0.8;z-index:1;}.ring1 { width:90px; height:90px; bottom:24px; left:18px; }.ring2 { width:48px; height:48px; top:60px; right:32px; }.ring3 { width:72px; height:72px; top:10%; left:70%; border-color: #fff; opacity:0.7; }.ring4 { width:110px; height:110px; bottom:2%; right:43%; border-color: #fff; opacity:0.5; }.ring5 { width:38px; height:38px; top:75%; left:10%; border-color: #fff; opacity:0.8; }.ring6 { width:64px; height:64px; top:49%; right:20%; border-color: #fff; opacity:0.7; }.ring7 { width:120px; height:120px; top:14%; left:49%; border-color: #fff; opacity:0.6; }.ring8 { width:80px; height:80px; bottom:20%; right:30%; border-color: #fff; opacity:0.7; }.ring9 { width:60px; height:60px; top:65%; left:36%; border-color: #fff; opacity:0.7; }.side-welcome-overlay {position: absolute;top:30%;left:50px;width:93%;text-align: start;z-index:2;padding:024px;pointer-events: auto;}.welcome-back-title {font-size:2.1rem;font-weight:800;color: #fff;margin-bottom:8px;}.welcome-back-desc {font-size:1rem;color: #e0f7fa;margin-bottom:18px;}.action-btn {width:21%;background: #18314a;color: #fff;border: none;border-radius:8px;padding:14px 0;font-size:1.1rem;font-weight:700;margin-top:18px;margin-bottom:0;display: inline-block;letter-spacing:0.5px;box-shadow:02px 8px #0003;cursor: pointer;transition: background 0.2s, color 0.2s;}.action-btn:hover {background: #38bdf8;color: #18314a;}/* Place reveal icon inline when inside the password label */.password-label {display: inline-flex;align-items: center;gap: 8px;}/* Wrap for input with trailing icon */.input-with-icon {position: relative;display: flex;align-items: center;}.input-with-icon input {width: 100%;padding-right: 42px; /* space for the icon */}.input-with-icon .eye-toggle {position: absolute;right: 12px;top: 50%;transform: translateY(-50%);background: none;border: none;font-size: 1.2em;color: #888;cursor: pointer;line-height: 1;padding: 0;opacity: 0.8;}.input-with-icon .eye-toggle:hover {opacity: 1;color: #555;}/* add invalid input red outline */.signin-field input.invalid {border: 1px solid #ff5252;}/* === Readability enhancements for left image overlay (scoped) === */.side-panel.side-left { position: relative; }.side-panel.side-left::before {content: "";position: absolute;inset: 0;background: linear-gradient(205deg, rgba(5,25,46,0.85) 8%, rgba(5,25,46,0.70) 40%, rgba(5,25,46,0.35) 75%);z-index: 1; /* sits above the image, below text card */pointer-events: none;}/* Frosted glass card for the welcome text */.side-panel.side-left .side-welcome-overlay {position: absolute;top: 44%;8 unmodified linesbox-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.05);max-width: 429px;width: auto;text-align: center;}/* Strengthen text contrast */.side-panel.side-left .welcome-back-desc,.side-panel.side-left .welcome-back-title { text-shadow: 0 2px 6px rgba(0,0,0,0.6); }/* Refine button inside overlay only */.side-panel.side-left .action-btn {background: #38bdf8;color: #082a47;border: 1px solid #4fd3ff;box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 6px 18px -4px rgba(0,0,0,0.55);padding: 10px 28px;width: auto; /* shrink to content */margin-top: 4px;letter-spacing: 0.6px;transition: background .25s, box-shadow .25s, transform .25s;}.side-panel.side-left .action-btn:hover {background: #4fd3ff;box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 8px 22px -6px rgba(0,0,0,0.6);transform: translateY(-2px);}.side-panel.side-left .action-btn:active { transform: translateY(0); }.side-panel.side-left .action-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }/* Responsive adjustment so card stays readable on narrow screens */@media (max-width: 900px) {.side-panel.side-left .side-welcome-overlay {left: 50%;top: auto;bottom: 20px;transform: translateX(-50%);max-width: 92%;padding: 18px 20px 22px;}}/* === End readability enhancements === *//* === Readability enhancements for right image overlay (scoped) === */.side-panel.side-right { position: relative; overflow:hidden; }.side-panel.side-right::before {content: "";position: absolute;inset: 0;background: linear-gradient(205deg, rgba(5,25,46,0.85) 10%, rgba(5,25,46,0.70) 45%, rgba(5,25,46,0.32) 78%);z-index: 1; /* above image, below info card */pointer-events: none;}.side-panel.side-right .side-info-box {position: absolute;top: 38%;left: 7%;z-index: 2;background: rgba(15, 40, 70, 0.55);backdrop-filter: blur(6px) saturate(140%);-webkit-backdrop-filter: blur(6px) saturate(140%);padding: 20px 24px 24px;border-radius: 18px;border: 1px solid rgba(255, 255, 255, 0.15);box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.05);max-width: 469px;/* width: auto; */text-align: center;}.side-panel.side-right .welcome-back-title,.side-panel.side-right .welcome-back-desc { text-shadow: 0 2px 6px rgba(0,0,0,0.6); }.side-panel.side-right .action-btn {background: #38bdf8;color: #082a47;border: 1px solid #4fd3ff;box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 6px 18px -4px rgba(0,0,0,0.55);padding: 10px 28px;width: auto;margin-top: 4px;letter-spacing: 0.6px;transition: background .25s, box-shadow .25s, transform .25s;}.side-panel.side-right .action-btn:hover {background: #4fd3ff;box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 8px 22px -6px rgba(0,0,0,0.6);transform: translateY(-2px);}.side-panel.side-right .action-btn:active { transform: translateY(0); }.side-panel.side-right .action-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }@media (max-width: 900px) {.side-panel.side-right .side-info-box {left: 50%;top: auto;bottom: 20px;2 unmodified linespadding: 18px 20px 22px;}}.side-panel.side-right {position: relative;overflow: hidden;background: #1d608b; /* Strong blue for contrast */min-height: 400px;}.side-img {position: absolute;top:0; left:0;width:100%; height:100%;object-fit: cover;z-index:0;}.side-bg-shapes {position: absolute;top:0; left:0; right:0; bottom:0;width:100%; height:100%;z-index:1;pointer-events: none;}.bg-circle {position: absolute;border-radius:50%;opacity:0.85;}.circle1 {width: 120px;height: 120px;top: 18px;left: 18px;background: linear-gradient(135deg, #38bdf8 80%, #137ec4 100%);}.circle2 {width: 80px;height: 80px;top: 71%;left: 113px;background: linear-gradient(135deg, #38bdf8 80%, #137ec4 100%);}.circle3 {width: 48px;height: 48px;top: 80%;left: 70%;background: linear-gradient(135deg, #38bdf8 80%, #137ec4 100%);}.circle4 {width: 160px;height: 160px;top: 70px;right: 204px;background: linear-gradient(135deg, #38bdf8 80%, #137ec4 100%);opacity: 0.7;}.circle5 {width: 36px;height: 36px;top: 30%;left: 80%;background: linear-gradient(135deg, #38bdf8 80%, #137ec4 100%);opacity: 0.6;}.circle6 {width: 60px;height: 60px;bottom: 12%;right: 18%;background: linear-gradient(135deg, #38bdf8 80%, #137ec4 100%);opacity: 0.5;}.circle7 {width: 54px;height: 54px;top: 10%;right: 10%;background: #18314a;opacity: 0.8;}.circle8 {width: 32px;height: 32px;bottom: 20%;left: 60%;background: #14263c;opacity: 0.8;}.circle9 {width: 44px;height: 44px;top: 75%;left: 40%;background: #18314a;opacity: 0.7;}.circle10 {width: 28px;height: 28px;top: 15%;left: 60%;background: #14263c;opacity: 0.9;}.circle11 {width: 38px;height: 38px;bottom: 10%;right: 10%;background: #18314a;opacity: 0.7;}.circle12 {width: 22px;height: 22px;top: 85%;right: 20%;background: #14263c;opacity: 0.8;}/* New large solid circles for sign-in page background */.circle-large1 {width:220px;height:220px;top:40px;left:60px;background: #137ec4;opacity:0.45;z-index:0;}.circle-large2 {width:180px;height:180px;bottom:40px;right:40px;background: #38bdf8;opacity:0.35;z-index:0;}.circle-large3 {width:140px;height:140px;top:60%;left:60%;background: #18314a;opacity:0.25;z-index:0;}.circle-large4 {width:100px;height:100px;bottom:11%;left:5%;background: #13bfa6;opacity:0.52;z-index:0;}/* Add more white rings for contrast */.bg-ring {position: absolute;border-radius:50%;border:6px solid #fff;background: none;opacity:0.8;z-index:1;}.ring1 { width:90px; height:90px; bottom:24px; left:18px; }.ring2 { width:48px; height:48px; top:60px; right:32px; }.ring3 { width:72px; height:72px; top:10%; left:70%; border-color: #fff; opacity:0.7; }.ring4 { width:110px; height:110px; bottom:2%; right:43%; border-color: #fff; opacity:0.5; }.ring5 { width:38px; height:38px; top:75%; left:10%; border-color: #fff; opacity:0.8; }.ring6 { width:64px; height:64px; top:49%; right:20%; border-color: #fff; opacity:0.7; }.ring7 { width:120px; height:120px; top:14%; left:49%; border-color: #fff; opacity:0.6; }.ring8 { width:80px; height:80px; bottom:20%; right:30%; border-color: #fff; opacity:0.7; }.ring9 { width:60px; height:60px; top:65%; left:36%; border-color: #fff; opacity:0.7; }.side-welcome-overlay {position: absolute;top:30%;left:50px;width:93%;text-align: start;z-index:2;padding:024px;pointer-events: auto;}.welcome-back-title {font-size:2.1rem;font-weight:800;color: #fff;margin-bottom:8px;}.welcome-back-desc {font-size:1rem;color: #e0f7fa;margin-bottom:18px;}.action-btn {width:21%;background: #18314a;color: #fff;border: none;border-radius:8px;padding:14px 0;font-size:1.1rem;font-weight:700;margin-top:18px;margin-bottom:0;display: inline-block;letter-spacing:0.5px;box-shadow:02px 8px #0003;cursor: pointer;transition: background 0.2s, color 0.2s;}.action-btn:hover {background: #38bdf8;color: #18314a;}/* Place reveal icon inline when inside the password label */.password-label {display: inline-flex;align-items: center;gap: 8px;}/* Wrap for input with trailing icon */.input-with-icon {position: relative;display: flex;align-items: center;}.input-with-icon input {width: 100%;padding-right: 42px; /* space for the icon */}.input-with-icon .eye-toggle {position: absolute;right: 12px;top: 50%;transform: translateY(-50%);background: none;border: none;font-size: 1.2em;color: #888;cursor: pointer;line-height: 1;padding: 0;opacity: 0.8;}.input-with-icon .eye-toggle:hover {opacity: 1;color: #555;}/* add invalid input red outline */.signin-field input.invalid {border: 1px solid #ff5252;}/* === Readability enhancements for left image overlay (scoped) === */.side-panel.side-left { position: relative; }.side-panel.side-left::before {content: "";position: absolute;inset: 0;background: linear-gradient(205deg, rgba(5,25,46,0.85) 8%, rgba(5,25,46,0.70) 40%, rgba(5,25,46,0.35) 75%);z-index: 1; /* sits above the image, below text card */pointer-events: none;}/* Frosted glass card for the welcome text */.side-panel.side-left .side-welcome-overlay {position: absolute;top: 44%;left: 10%;z-index: 2;background: rgba(15, 40, 70, 0.55);backdrop-filter: blur(6px) saturate(140%);-webkit-backdrop-filter: blur(6px) saturate(140%);padding: 20px 24px 24px;border-radius: 18px;border: 1px solid rgba(255, 255, 255, 0.15);box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.05);max-width: 429px;width: auto;text-align: center;}/* Strengthen text contrast */.side-panel.side-left .welcome-back-desc,.side-panel.side-left .welcome-back-title { text-shadow: 0 2px 6px rgba(0,0,0,0.6); }/* Refine button inside overlay only */.side-panel.side-left .action-btn {background: #38bdf8;color: #082a47;border: 1px solid #4fd3ff;box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 6px 18px -4px rgba(0,0,0,0.55);padding: 10px 28px;width: auto; /* shrink to content */margin-top: 4px;letter-spacing: 0.6px;transition: background .25s, box-shadow .25s, transform .25s;}.side-panel.side-left .action-btn:hover {background: #4fd3ff;box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 8px 22px -6px rgba(0,0,0,0.6);transform: translateY(-2px);}.side-panel.side-left .action-btn:active { transform: translateY(0); }.side-panel.side-left .action-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }/* Responsive adjustment so card stays readable on narrow screens */@media (max-width: 900px) {.side-panel.side-left .side-welcome-overlay {left: 50%;top: auto;bottom: 20px;transform: translateX(-50%);max-width: 92%;padding: 18px 20px 22px;}}/* === End readability enhancements === *//* === Readability enhancements for right image overlay (scoped) === */.side-panel.side-right { position: relative; overflow:hidden; }.side-panel.side-right::before {content: "";position: absolute;inset: 0;background: linear-gradient(205deg, rgba(5,25,46,0.85) 10%, rgba(5,25,46,0.70) 45%, rgba(5,25,46,0.32) 78%);z-index: 1; /* above image, below info card */pointer-events: none;}.side-panel.side-right .side-info-box {position: absolute;top: 38%;left: 7%;z-index: 2;5 unmodified linesborder: 1px solid rgba(255, 255, 255, 0.15);box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.05);max-width: 469px;/* width: auto; */text-align: center;}.side-panel.side-right .welcome-back-title,.side-panel.side-right .welcome-back-desc { text-shadow: 0 2px 6px rgba(0,0,0,0.6); }.side-panel.side-right .action-btn {background: #38bdf8;color: #082a47;border: 1px solid #4fd3ff;box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 6px 18px -4px rgba(0,0,0,0.55);padding: 10px 28px;width: auto;margin-top: 4px;letter-spacing: 0.6px;transition: background .25s, box-shadow .25s, transform .25s;}.side-panel.side-right .action-btn:hover {background: #4fd3ff;box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 8px 22px -6px rgba(0,0,0,0.6);transform: translateY(-2px);}.side-panel.side-right .action-btn:active { transform: translateY(0); }.side-panel.side-right .action-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }@media (max-width: 900px) {.side-panel.side-right .side-info-box {left: 50%;5 unmodified lines}}/* Top-left brand logo inside popup */.signin-brand-logo {position: absolute;top: 18px;left: 24px;z-index: 1200;}.signin-brand-logo .brand-link { display:flex; align-items:center; gap:10px; text-decoration:none; }.brand-logo-img { /* width: 42px; */height: 42px;display: block;filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));3 unmodified linesborder-radius: 1vw;margin: 0.5vw;}.brand-text { font-size:1.05rem; font-weight:700; letter-spacing:0.6px; color:#fff; text-shadow:0 2px 6px rgba(0,0,0,0.6); font-family:inherit; }.signin-brand-logo:hover .brand-text { color:#4fd3ff; }@media (max-width:700px){.signin-brand-logo { top:10px; left:10px; padding:6px 12px 6px 8px; }.brand-logo-img { width:34px; height:34px; }.brand-text { font-size:0.9rem; }}/* Bottom-right watermark */.signin-watermark {text-decoration: none;position: absolute;3 unmodified linesfont-weight: 600;letter-spacing: 0.5px;color: #ffffff;text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);}@media (max-width:700px){.signin-watermark { bottom:8px; right:12px; font-size:0.65rem; }}/* Social Media Icons Top-Right for Sign-In (Home Style) */.social-icons.signin-social-icons {position: absolute;top: 18px;2 unmodified linesdisplay: flex;gap: 18px;}.social-icons.signin-social-icons .social-icon {width: 42px;height: 42px;display: inline-flex;align-items: center;justify-content: center;border-radius: 50%;background-color: #fff;color: #38bdf8;font-size: 18px;box-shadow: 0 0 0 1px #214055, 0 4px 14px #0006;transition: background-color 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;text-decoration: none;}.social-icons.signin-social-icons .social-icon.facebook {color: #1877f2;}.social-icons.signin-social-icons .social-icon.youtube {color: #ff0000;}.social-icons.signin-social-icons .social-icon.linkedin {color: #0a66c2;}.social-icons.signin-social-icons .social-icon.instagram {color: #fd5949;}.social-icons.signin-social-icons .social-icon.facebook:hover {background-color: #1877f2;color: #fff;}.social-icons.signin-social-icons .social-icon.youtube:hover {background-color: #ff0000;color: #fff;}.social-icons.signin-social-icons .social-icon.linkedin:hover {background-color: #0a66c2;color: #fff;}.social-icons.signin-social-icons .social-icon.instagram:hover {background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%);color: #fff;filter: brightness(1.15);box-shadow: 0 6px 22px rgba(253, 89, 73, .6);}.social-icons.signin-social-icons .social-icon.website:hover {background-color: #009688;color: #fff;transform: translateY(-4px);box-shadow: 0 6px 20px #00968888, 0 0 0 2px #009688 inset;}@media (max-width:700px){.social-icons.signin-social-icons {top: 10px;right: 10px;gap: 10px;}.social-icons.signin-social-icons .social-icon {width: 28px;height: 28px;font-size: 1em;}}14 unmodified lines1516171819203 unmodified lines2425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182831 unmodified line858687888990911 unmodified line939495969798991001011021031041051061071081091101111121131141151161171185 unmodified lines1241251261271281291301311321331341351361371381391401411 unmodified line14314414514614714814914 unmodified lines1641651661671681691701711721731741757 unmodified lines1831841851861871881891901911921931941951961975 unmodified lines2032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342354 unmodified lines2402412422432442452462472482492502512522532542552568 unmodified lines2652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952965 unmodified lines30230330430530630730813 unmodified lines32232332432532632711 unmodified lines3393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324331 unmodified line4354364374384394404411 unmodified line4434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884893 unmodified lines4934944954964974984995005015025035045051 unmodified line50750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154213 unmodified lines5565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826838 unmodified lines6926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337342 unmodified lines7377387397407417427437447457467477487497507517527537547557567577587595 unmodified lines7657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048055 unmodified lines8118128138148158168178188198208218228238248258268278288298308313 unmodified lines8358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708713 unmodified lines8758768778788798808818828838848858868878888898908912 unmodified lines89489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997014 unmodified linesbackdrop-filter: blur(16px);}.signin-title {color: #38bdf8;font-size: 2.1rem;3 unmodified linesletter-spacing: 1px;text-shadow: 0 2px 8px #0008;}form {width: 100%;}.signin-row {display: flex;gap: 24px;margin-bottom: 18px;}.signin-field {flex: 1;display: flex;flex-direction: column;}.signin-field label {color: #fff;font-weight: 600;margin-bottom: 6px;font-size: 1rem;letter-spacing: 0.5px;}.signin-field input {background: #fff;color: #18314a;border: none;border-radius: 8px;padding: 12px 14px; /* KEEP THIS */font-size: 1rem; /* KEEP THIS */margin-bottom: 2px;box-shadow: 0 1px 4px #0002;transition: border 0.2s, box-shadow 0.2s;}.signin-field input:focus {outline: 2px solid #1de9b6;border-color: #1de9b6;box-shadow: 0 0 0 2px #1de9b688;}.signin-field input::placeholder {color: #b0b8c1;opacity: 1;}.signin-field small.error {color: #ff5252;font-size: 0.85rem;margin-top: 4px;}.signin-options-row {display: flex;justify-content: space-between;1 unmodified linemargin-bottom: 2vw;margin-top: -8px;}.remember-me {display: flex;align-items: center;1 unmodified linefont-size: 1rem;color: #b0b8c1;}.remember-me input[type="checkbox"] {accent-color: #38bdf8;width: 16px;height: 16px;}.forgot-password {font-size: 1rem;}.forgot-link {color: #38bdf8;text-decoration: underline;font-weight: 500;cursor: pointer;}.signin-btn {width: 100%;background: #18314a;color: #fff;border: none;5 unmodified linescursor: pointer;transition: background 0.2s, color 0.2s;}.signin-btn:hover {background: #38bdf8;}.signin-footer {color: #b0b8c1;font-size: 0.95rem;text-align: center;margin-top: 8px;}.signin-footer a {color: #38bdf8;text-decoration: underline;1 unmodified linefont-weight: 600;cursor: pointer;}.signin-close {position: absolute;top: 18px;14 unmodified linestransition: background 0.2s, color 0.2s;box-shadow: 0 2px 8px #0005;}.signin-close:hover {background: #38bdf8;color: #18314a;}.spinner {display: inline-block;width: 18px;7 unmodified lines}@keyframes spin {0% {transform: rotate(0deg);}100% {transform: rotate(360deg);}}.signin-error-toast {background: transparent;color: #ff5252;5 unmodified linestext-align: center;animation: shakeError 0.3s cubic-bezier(.39,.58,.57,1);}@keyframes shakeError {0% {transform: translateX(0);}20% {transform: translateX(-8px);}40% {transform: translateX(8px);}60% {transform: translateX(-8px);}80% {transform: translateX(8px);}100% {transform: translateX(0);}}.forgot-modal-bg {position: fixed;inset: 0;4 unmodified linesjustify-content: center;animation: fadeInModalBg 0.4s;}@keyframes fadeInModalBg {from {opacity: 0;}to {opacity: 1;}}.forgot-modal {background: #fff;border-radius: 18px;8 unmodified linesalign-items: center;animation: fadeInModal 0.4s;}@keyframes fadeInModal {from {opacity: 0;transform: scale(0.98);}to {opacity: 1;transform: scale(1);}}.forgot-modal h3 {color: #38bdf8;margin: 12px 0 8px 0;font-size: 1.4em;font-weight: 700;}.forgot-modal p {color: #23272b;font-size: 1.08em;margin-bottom: 18px;}.forgot-modal input[type="email"] {background: #f4f6fa;color: #18314a;5 unmodified linesbox-shadow: 0 1px 4px #0002;width: 100%;}.modal-close {width: 23%;background: #18314a;13 unmodified linesbackground: #38bdf8;color: #18314a;}.eye-toggle {position: absolute;11 unmodified linesopacity: 0.7;transition: color 0.2s, opacity 0.2s;}#password {padding-right: 40px;}.auth-card {width: 1140px; /* viewport width remains */height: 700px; /* increased height to accommodate content and remove scroll */perspective: none;overflow: hidden;border-radius: 12px;box-shadow: 0 8px 24px rgba(0,0,0,0.12), #ffffff 1px 1px 51px; /* added white glow */margin: 0 auto;}.card-inner {width: 200%; /* contains both faces side-by-side */height: 100%;display: flex; /* place front and back side-by-side *//* much slower transition so flip is clearly visible to users */transition: transform 0.7s cubic-bezier(.22, .9, .32,1);will-change: transform;}.auth-card.flipped .card-inner {transform: translate3d(-50%,0,0);}.auth-card:not(.flipped) .card-inner {transform: translate3d(0,0,0);}.card-front .main-panel,.card-back .main-panel {transition: opacity 1s ease 0.15s;}.card-front[aria-hidden="true"] .main-panel,.card-back[aria-hidden="true"] .main-panel {opacity: 0;}.card-front[aria-hidden="false"] .main-panel,.card-back[aria-hidden="false"] .main-panel {opacity: 1;}.card-front, .card-back {width: 50%;height: 100%;flex: 0 0 50%;box-sizing: border-box;position: relative; /* allow absolute children inside */overflow: hidden;}.card-content {display: flex;height: 100%;flex-direction: row-reverse;}.side-panel {width: 48%;display: flex;align-items: center;justify-content: center;}.main-panel {width: 55%;padding: 48px 48px;box-sizing: border-box;background: #fff;overflow: visible;display: flex;flex-direction: column;align-items: center;}.logo-header {display: flex;flex-direction: column;align-items: center;justify-content: center;text-align: center;margin-bottom: 8px;}.py-learn-text {font-size: 3vw;font-weight: 600;1 unmodified linefont-family: Amonk_Outline;margin-bottom: 1vw;}.self-learning-system {font-size: 1.2vw;font-weight: bolder;1 unmodified linemargin-top: -.8vw;}.card-front .main-panel .signin-title {color: #222;}.card-back .main-panel .signup-title {color: #222;}@media (max-width: 900px) {.auth-card {width: 92vw;height: auto;}.card-inner {width: 200%; /* still double width but we'll stack */}.card-content {flex-direction: column;}.side-panel {width: 100%;height: 200px;}.main-panel {width: 100%;overflow: visible;}}.card-front[aria-hidden="true"], .card-back[aria-hidden="true"] {pointer-events: none;}.side-panel.side-right {background: linear-gradient(135deg, #1d608b 0%, #1d608b 100%);}.side-info-box {position: absolute;top: 164px;3 unmodified linesz-index: 2;text-align: left;}.side-panel {position: relative;}.card-front .main-panel,.card-front .main-panel .signin-title,.card-front .main-panel .signin-footer,.card-front .main-panel label,.card-front .main-panel .signin-field small,1 unmodified linecolor: #23395d !important;}.card-front .main-panel .signin-field small.error {color: #ff5252 !important;}.card-front .main-panel a {color: #0b57a4 !important;}.signin-divider-row {display: flex;align-items: center;justify-content: center;width: 100%;margin: 12px 018px 0;}.divider {flex: 1;height: 1px;background: #b0b8c1;margin: 08px;}.divider-or {color: #23395d;font-size: 1.08em;font-weight: 600;margin: 08px;}.google-btn {width: 100%;height: 45px;13 unmodified linesgap: 12px;transition: background 0.2s, color 0.2s;}.google-btn:hover {background: #38bdf8;}.google-logo {width: 24px;height: 24px;}.side-panel.side-left {position: relative;overflow: hidden;background: #1d608b; /* Strong blue for contrast */min-height: 400px;}.side-img {position: absolute;top: 0;left: 0;width: 100%;height: 100%;object-fit: cover;z-index: 0;}.side-welcome-overlay {position: absolute;top: 30%;left: 50px;width: 93%;text-align: start;z-index: 2;padding: 024px;pointer-events: auto;}.welcome-back-title {font-size: 2.1rem;font-weight: 800;color: #fff;margin-bottom: 8px;}.welcome-back-desc {font-size: 1rem;color: #e0f7fa;margin-bottom: 18px;}.action-btn {width: 21%;background: #18314a;color: #fff;border: none;border-radius: 8px;padding: 14px 0;font-size: 1.1rem;font-weight: 700;margin-top: 18px;margin-bottom: 0;display: inline-block;letter-spacing: 0.5px;box-shadow: 02px 8px #0003;cursor: pointer;transition: background 0.2s, color 0.2s;}.action-btn:hover {background: #38bdf8;color: #18314a;}.input-with-icon {position: relative;display: flex;align-items: center;}.input-with-icon input {width: 100%;padding-right: 42px; /* space for the icon */}.input-with-icon .eye-toggle {position: absolute;right: 12px;top: 50%;transform: translateY(-50%);background: none;border: none;font-size: 1.2em;color: #888;cursor: pointer;line-height: 1;padding: 0;opacity: 0.8;}.input-with-icon .eye-toggle:hover {opacity: 1;color: #555;}.signin-field input.invalid {border: 1px solid #ff5252;}.side-panel.side-left {position: relative;}.side-panel.side-left::before {content: "";position: absolute;inset: 0;background: linear-gradient(205deg, rgba(5,25,46,0.85) 8%, rgba(5,25,46,0.70) 40%, rgba(5,25,46,0.35) 75%);z-index: 1; /* sits above the image, below text card */pointer-events: none;}.side-panel.side-left .side-welcome-overlay {position: absolute;top: 44%;8 unmodified linesbox-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.05);max-width: 429px;width: auto;text-align: center;}.side-panel.side-left .welcome-back-desc,.side-panel.side-left .welcome-back-title {text-shadow: 0 2px 6px rgba(0,0,0,0.6);}.side-panel.side-left .action-btn {background: #38bdf8;color: #082a47;border: 1px solid #4fd3ff;box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 6px 18px -4px rgba(0,0,0,0.55);padding: 10px 28px;width: auto; /* shrink to content */margin-top: 4px;letter-spacing: 0.6px;transition: background .25s, box-shadow .25s, transform .25s;}.side-panel.side-left .action-btn:hover {background: #4fd3ff;box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 8px 22px -6px rgba(0,0,0,0.6);transform: translateY(-2px);}.side-panel.side-left .action-btn:active {transform: translateY(0);}.side-panel.side-left .action-btn:focus-visible {outline: 2px solid #fff;outline-offset: 3px;}@media (max-width: 900px) {.side-panel.side-left .side-welcome-overlay {left: 50%;top: auto;bottom: 20px;2 unmodified linespadding: 18px 20px 22px;}}.side-panel.side-right {position: relative;overflow: hidden;}.side-panel.side-right::before {content: "";position: absolute;inset: 0;background: linear-gradient(205deg, rgba(5,25,46,0.85) 10%, rgba(5,25,46,0.70) 45%, rgba(5,25,46,0.32) 78%);z-index: 1; /* above image, below info card */pointer-events: none;}.side-panel.side-right .side-info-box {position: absolute;top: 38%;left: 7%;z-index: 2;5 unmodified linesborder: 1px solid rgba(255, 255, 255, 0.15);box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.05);max-width: 469px;text-align: center;}.side-panel.side-right .welcome-back-title,.side-panel.side-right .welcome-back-desc {text-shadow: 0 2px 6px rgba(0,0,0,0.6);}.side-panel.side-right .action-btn {background: #38bdf8;color: #082a47;border: 1px solid #4fd3ff;box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 6px 18px -4px rgba(0,0,0,0.55);padding: 10px 28px;width: auto;margin-top: 4px;letter-spacing: 0.6px;transition: background .25s, box-shadow .25s, transform .25s;}.side-panel.side-right .action-btn:hover {background: #4fd3ff;box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 8px 22px -6px rgba(0,0,0,0.6);transform: translateY(-2px);}.side-panel.side-right .action-btn:active {transform: translateY(0);}.side-panel.side-right .action-btn:focus-visible {outline: 2px solid #fff;outline-offset: 3px;}@media (max-width: 900px) {.side-panel.side-right .side-info-box {left: 50%;5 unmodified lines}}.signin-brand-logo {position: absolute;top: 18px;left: 24px;z-index: 1200;}.signin-brand-logo .brand-link {display: flex;align-items: center;gap: 10px;text-decoration: none;}.brand-logo-img {height: 42px;display: block;filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));3 unmodified linesborder-radius: 1vw;margin: 0.5vw;}.brand-text {font-size: 1.05rem;font-weight: 700;letter-spacing: 0.6px;color: #fff;text-shadow: 0 2px 6px rgba(0,0,0,0.6);font-family: inherit;}.signin-brand-logo:hover .brand-text {color: #4fd3ff;}@media (max-width:700px) {.signin-brand-logo {top: 10px;left: 10px;padding: 6px 12px 6px 8px;}.brand-logo-img {width: 34px;height: 34px;}.brand-text {font-size: 0.9rem;}}.signin-watermark {text-decoration: none;position: absolute;3 unmodified linesfont-weight: 600;letter-spacing: 0.5px;color: #ffffff;text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);}@media (max-width:700px) {.signin-watermark {bottom: 8px;right: 12px;font-size: 0.65rem;}}.social-icons.signin-social-icons {position: absolute;top: 18px;2 unmodified linesdisplay: flex;gap: 18px;}.social-icons.signin-social-icons .social-icon {width: 42px;height: 42px;display: inline-flex;align-items: center;justify-content: center;border-radius: 50%;background-color: #fff;color: #38bdf8;font-size: 18px;box-shadow: 0 0 0 1px #214055, 0 4px 14px #0006;transition: background-color 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;text-decoration: none;}.social-icons.signin-social-icons .social-icon.facebook {color: #1877f2;}.social-icons.signin-social-icons .social-icon.youtube {color: #ff0000;}.social-icons.signin-social-icons .social-icon.linkedin {color: #0a66c2;}.social-icons.signin-social-icons .social-icon.instagram {color: #fd5949;}.social-icons.signin-social-icons .social-icon.facebook:hover {background-color: #1877f2;color: #fff;}.social-icons.signin-social-icons .social-icon.youtube:hover {background-color: #ff0000;color: #fff;}.social-icons.signin-social-icons .social-icon.linkedin:hover {background-color: #0a66c2;color: #fff;}.social-icons.signin-social-icons .social-icon.instagram:hover {background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%);color: #fff;filter: brightness(1.15);box-shadow: 0 6px 22px rgba(253, 89, 73, .6);}.social-icons.signin-social-icons .social-icon.website:hover {background-color: #009688;color: #fff;transform: translateY(-4px);box-shadow: 0 6px 20px #00968888, 0 0 0 2px #009688 inset;}@media (max-width:700px) {.social-icons.signin-social-icons {top: 10px;right: 10px;gap: 10px;}.social-icons.signin-social-icons .social-icon {width: 28px;height: 28px;font-size: 1em;}}
3 unmodified lines456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263118 unmodified lines1821831841851861871881891901911921931941951961971981998 unmodified lines20820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628720 unmodified lines30830931031131231331419 unmodified lines3343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706713 unmodified linesmin-height: 100vh;}.signup-bg {min-height: 100vh;display: flex;align-items: center;justify-content: center;background: #f7fafd;}.signup-container {display: flex;width: 100vw;max-width: 1200px;min-height: 600px;border-radius: 0;box-shadow: none;overflow: hidden;align-items: center;justify-content: center;}.signup-panel-right {display: flex;align-items: center;justify-content: center;padding: 32px 0;}.signup-panel-right {flex: 1 1 0;background: #f7fafd;}.create-card {background: #fff;width: 90%;max-width: 540px;display: flex;flex-direction: column;align-items: center;padding: 38px 38px 28px 38px;border-radius: 18px;box-shadow: 0 12px 48px rgba(2, 6, 23, 0.18), 0 0 0 2px rgba(56, 189, 248, 0.08);margin: 0 auto;}.create-title {font-size: 2.1rem;font-weight: 900;text-align: center;margin-bottom: 28px;letter-spacing: 0.6px;color: #23395d;}.signup-title.center-title {text-align: center;margin-bottom: 32px;118 unmodified linescolor: #fff;}.create-login-link {grid-column: 1 / -1;text-align: center;color: #137ec4;margin-top: 0px;}.create-login-link a {color: #137ec4;font-weight: 700;}.create-footer {grid-column: 1 / -1;text-align: center;8 unmodified linesmargin-top: 0px;}.welcome-info-box {position: absolute;top: 32px;left: 0;width: 100%;padding: 0 32px;z-index: 2;text-align: left;}.welcome-info-title {font-size: 1.35rem;font-weight: 800;color: #fff;margin-bottom: 6px;letter-spacing: 0.5px;}.welcome-info-desc {font-size: 1.08rem;color: #e0f7fa;margin-bottom: 8px;}.welcome-info-link {color: #fff;font-weight: 700;text-decoration: underline;cursor: pointer;transition: color 0.2s;}.welcome-info-link:hover {color: #23395d;}/* Extra whitespace and centering for small screens */@media (max-width: 900px) {.signup-container {flex-direction: column;width: 98vw;align-items: center;justify-content: center;}.signup-panel-right {padding: 18px 6vw;}.create-card {padding: 18px 6vw;margin: 0 auto;}.create-form {grid-template-columns: 1fr;gap: 18px;}.create-btn {width: 100%;}}@media (max-width: 600px) {.create-card {padding: 10px 2vw;}.signup-panel-right {padding: 10px 2vw;}}.signin-close {position: absolute;top: 5px;20 unmodified linescolor: #18314a;}/* Eye toggle inside password fields: match sign-in positioning */.form-field .eye-toggle {position: absolute;right: 12px;19 unmodified linesoutline: none;}/* Ensure button SVG scales nicely */.form-field .eye-toggle svg {width: 22px;height: 22px;}/* Small screen tweak: move eye toggle slightly up if spacing differs */@media (max-width: 700px) {.form-field .eye-toggle {top: 28px;}}.fact-rotator {font-size: 1.18rem;font-weight: 700;color: #fff;margin-bottom: 18px;min-height: 32px;text-align: center;transition: opacity 0.6s;letter-spacing: 0.5px;animation: fadeFact 0.6s;}@keyframes fadeFact {from {opacity: 0;}to {opacity: 1;}}.side-panel.side-right {position: relative;overflow: hidden;display: flex;align-items: center;justify-content: center;background: linear-gradient(135deg, #38bdf8 0%, #7b2ff2 100%);min-height: 100%;}.side-panel.side-left {position: relative;overflow: hidden;display: flex;align-items: center;justify-content: center;min-height: 100%;}.wave-bg {position: absolute;inset: 0;width: 100%;height: 100%;z-index: 1;overflow: hidden;}.wave-svg {position: absolute;top: 0;left: 0;width: 100%;height: 100%;z-index: 1;}.circle {position: absolute;border-radius: 50%;background: linear-gradient(135deg, #38bdf8 0%, #7b2ff2 100%);opacity: 0.85;}.circle1 {width: 90px;height: 90px;top: 80px;left: 60px;box-shadow: 0 0 32px #7b2ff2aa;}.circle2 {width: 60px;height: 60px;top: 220px;left: 220px;box-shadow: 0 0 24px #38bdf8aa;}.circle3 {width: 120px;height: 120px;bottom: 40px;left: 120px;box-shadow: 0 0 48px #7b2ff2aa;}.circle4 {width: 36px;height: 36px;bottom: 80px;right: 60px;box-shadow: 0 0 12px #38bdf8aa;}.welcome-content {position: relative;z-index: 2;width: 100%;text-align: center;display: flex;flex-direction: column;align-items: center;justify-content: center;margin-top: 80px;}.welcome-title {font-size: 2.2rem;font-weight: 800;color: #fff;margin-bottom: 18px;text-shadow: 0 2px 16px #0006;}.welcome-subtitle {font-size: 1.08rem;color: #e0e7ef;margin-bottom: 32px;letter-spacing: 1px;text-shadow: 0 2px 8px #0004;}.welcome-footer {font-size: 1.05rem;color: #fff;opacity: 0.7;margin-top: 120px;letter-spacing: 2px;}/* Glossy info popup for role info */.role-info-popup-bg {position: fixed;inset: 0;background: rgba(30, 41, 59, 0.55);backdrop-filter: blur(1px);z-index: 0;display: flex;align-items: center;justify-content: flex-end;padding: 48px 56px 48px 24px;animation: fadeInModalBg 0.3s;}@keyframes fadeInModalBg {from {opacity: 0;}to {opacity: 1;}}@keyframes popupOpen {0% {opacity: 0;transform: scale(0.92) translateY(24px);}100% {opacity: 1;transform: scale(1) translateY(0);}}.role-info-popup {background: rgba(255, 255, 255, 0.92);border-radius: 4px;box-shadow: 0 8px 32px #38bdf844 0 24px #1e293b88;padding: 22px 28px 18px 28px;min-width: 220px;max-width: 90vw;text-align: left;z-index: 3001;font-size: 0.98em;color: #23395d;letter-spacing: 0.2px;line-height: 1.5;position: relative;font-family: inherit;opacity: 1;animation: popupOpen 1.2s cubic-bezier(.22, .9, .32, 1) both;}.role-info-popup .close-btn {position: absolute;top: 8px;right: 8px;width: 24px;height: 24px;border: none;background: #14263c;color: #fff;border-radius: 50%;font-size: 1.1rem;font-weight: bold;display: flex;align-items: center;justify-content: center;cursor: pointer;z-index: 10;transition: background 0.2s, color 0.2s;box-shadow: 0 2px 8px #0005;}.role-info-popup .close-btn:hover {background: #38bdf8;color: #18314a;}.role-info-btn {background: none;border: none;color: #38bdf8;font-size: 1.15em;cursor: pointer;margin-left: 6px;vertical-align: middle;padding: 0;display: inline-flex;align-items: center;justify-content: center;transition: color 0.2s;}.role-info-btn:hover {color: #137ec4;}/* Spinner for loading state on buttons */.spinner {display: inline-block;width:18px;height:18px;border:3px solid #fff;border-top:3px solid #38bdf8;border-radius:50%;animation: spin0.7s linear infinite;vertical-align: middle;margin-right:8px;}@keyframes spin {0% { transform: rotate(0deg);}100% { transform: rotate(360deg);}}/* Info button and floating info popup styles */.info-btn {background: #38bdf8;color: #fff;border: none;border-radius:50%;width:28px;height:28px;font-size:1.1rem;font-weight: bold;cursor: pointer;margin-left:8px;}.info-popup-bg {position: fixed;inset:0;background: rgba(30,41,59,0.45);backdrop-filter: blur(2px);z-index:;display: flex;align-items: center;justify-content: center;}.info-popup {background: rgba(255,255,255,0.85);border-radius: 16px;box-shadow: 08px 32px #38bdf844,0024px #1e293b88;padding: 24px 28px 18px 28px;min-width: 320px;max-width: 90vw;text-align: left;font-size: 0.98rem;color: #23395d;position: relative;font-family: inherit;left: 840px;}.info-title {font-size:1.08rem;font-weight:700;margin-bottom:8px;color: #38bdf8;letter-spacing:0.5px;}.info-text {font-size:0.95rem;color: #23395d;opacity:0.95;}.info-close {position: absolute;top:8px;right:12px;background: none;border: none;font-size:1.5rem;color: #38bdf8;cursor: pointer;font-weight: bold;opacity:0.7;transition: opacity 0.2s;}.info-close:hover {opacity:1;}3 unmodified lines456789118 unmodified lines1281291301311321338 unmodified lines14214314414514614720 unmodified lines16816917017117217319 unmodified lines1931941951961971981992002012022032042052062072082092102112122132142152163 unmodified linesmin-height: 100vh;}.signup-title.center-title {text-align: center;margin-bottom: 32px;118 unmodified linescolor: #fff;}.create-footer {grid-column: 1 / -1;text-align: center;8 unmodified linesmargin-top: 0px;}.signin-close {position: absolute;top: 5px;20 unmodified linescolor: #18314a;}.form-field .eye-toggle {position: absolute;right: 12px;19 unmodified linesoutline: none;}.spinner {display: inline-block;width: 18px;height: 18px;border: 3px solid #fff;border-top: 3px solid #38bdf8;border-radius: 50%;animation: spin 0.7s linear infinite;vertical-align: middle;margin-right: 8px;}@keyframes spin {0% {transform: rotate(0deg);}100% {transform: rotate(360deg);}}
src/app/app.module.ts+13-18
src/app/auth/auth.component.css+19-19
src/app/auth/auth.component.html+12-12
src/app/auth/auth.component.ts+47-47
src/app/authentication/authentication.component.css+13-13
src/app/authentication/authentication.component.html+8-8
src/app/authentication/authentication.component.ts+27-27
src/app/footer/footer.component.css-1
src/app/footer/footer.component.ts+4-1
src/app/home/home.component.css+14-4
src/app/home/home.component.html+2-2
src/app/reading/reading.component.css+6
src/app/sign-in/sign-in.component.css+498-1417
src/app/sign-up/sign-up.component.css+12-467