:root{--purple:#5d00c9;--ink:#28104f;--panel:#f5ccd5;--font:Arial,Helvetica,sans-serif}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:var(--font);color:var(--ink)}
body{display:flex;flex-direction:column;min-height:100vh;background:#fff}
.topbar{height:54px;background:#fafafa;border-bottom:2px solid #ddd;display:flex;align-items:center;justify-content:space-between;padding:0 47px;font-size:17px;color:#31105e}
.down{font-size:24px;margin-left:7px;font-weight:400}
.nav{min-height:112px;padding:0 23px;display:flex;align-items:center;gap:26px;background:linear-gradient(90deg,#5a00c6,#6900d7 55%,#5d00c9);color:#fff}
.brand{display:flex;align-items:center;gap:17px;flex:none}.bc{width:122px;height:58px}.ielts{width:121px;height:58px}.bc svg,.ielts svg{width:100%;height:100%;display:block}
.links{display:flex;align-items:center;gap:36px;flex:1}.links a{color:#fff;text-decoration:none;font-size:20px;font-weight:700;white-space:nowrap}.links .active{text-decoration:underline;text-underline-offset:5px}
.logout{min-width:141px;height:61px;padding:0 17px;border:0;border-radius:11px;display:flex;align-items:center;justify-content:center;gap:10px;background:linear-gradient(135deg,rgba(132,78,225,.88),rgba(111,57,207,.78));box-shadow:0 5px 13px rgba(23,0,65,.25);color:#fff;font-size:21px;font-weight:700;cursor:pointer}
.logout-icon{width:32px;height:32px;display:inline-flex}.logout-icon svg{width:100%;height:100%}


main{flex:1;padding:46px 0 34px}.wrap{width:min(1170px,calc(100% - 48px));margin:auto}
h1{margin:0 0 54px;font-size:60px;line-height:1.08;letter-spacing:-1.8px;font-weight:900;color:#260052}
.panel{width:100%;max-width:1052px;margin:auto;background:var(--panel);padding:46px 94px 43px;min-height:240px;color:#35105f}
.panel p{margin:0;font-size:19px;line-height:1.45}.book{
  display:inline-block;
  margin-top:19px;
  border:0;
  border-radius:8px;
  background:#5b00c8;
  color:#fff;
  padding:16px 18px;
  font:700 18px var(--font);
  cursor:pointer;
  text-decoration:none;
}

.logout{
  cursor:pointer;
}

.logout-loading{
  position:fixed;
  inset:0;
  background:rgba(35, 10, 70, 0.55);
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  z-index:9999;
  transition:opacity .2s ease;
}

.logout-loading.show{
  opacity:1;
  visibility:visible;
  pointer-events:all;
}

.logout-loading-box{
  width:360px;
  background:#fff;
  border-radius:12px;
  padding:30px 32px;
  text-align:center;
  box-shadow:0 12px 40px rgba(0,0,0,.25);
}

.loading-bar{
  width:100%;
  height:8px;
  background:#e5d9f2;
  border-radius:20px;
  overflow:hidden;
  margin-bottom:18px;
}

.loading-progress{
  width:0;
  height:100%;
  background:#5b00c8;
  border-radius:20px;
  animation:logoutProgress 3s linear forwards;
}

.loading-text{
  color:#35105f;
  font-size:18px;
  font-weight:700;
}

@keyframes logoutProgress{
  from{
    width:0%;
  }
  to{
    width:100%;
  }
}

.book:hover{
  background:#4700a3;
}
.contact{margin-top:19px!important}.contact a{color:#5a00b8;font-weight:700;text-decoration:underline;text-underline-offset:2px}
footer{background:linear-gradient(180deg,#5b08c5,#4d009e);color:#fff;padding:58px 0 47px}.footer-inner{width:min(1650px,calc(100% - 110px));margin:auto}
.footer-links{display:flex;align-items:center;gap:18px;margin-bottom:45px;font-size:17px;font-weight:700}.footer-links a{color:#fff;text-decoration:none}.footer-links span{width:2px;height:28px;background:rgba(255,255,255,.9)}
footer p{margin:0 0 30px;font-size:17px;line-height:1.45;font-weight:700}.desc{font-weight:400!important;margin-bottom:0!important}
@media(max-width:1200px){.links{gap:22px}.links a{font-size:17px}.nav{gap:16px}.bc{width:108px}.ielts{width:105px}.logout{min-width:125px;font-size:17px}}
@media(max-width:900px){.topbar{padding:0 24px}.nav{flex-wrap:wrap;padding:16px 20px;gap:14px}.links{order:3;width:100%;overflow-x:auto;padding-bottom:3px}.links a{font-size:16px}h1{font-size:48px;margin-bottom:38px}.panel{padding:38px 42px}.footer-inner{width:calc(100% - 48px)}}
@media(max-width:600px){.topbar{height:50px;padding:0 16px;font-size:14px}.nav{padding:14px 16px}.brand{width:100%}.bc{width:102px}.ielts{width:94px}.logout{position:absolute;right:16px;top:64px;min-width:112px;height:48px;font-size:15px}.links{padding-right:120px;gap:24px}.links a{font-size:14px}main{padding:34px 0 30px}.wrap{width:calc(100% - 30px)}h1{font-size:39px;margin-bottom:28px}.panel{padding:30px 24px}.panel p{font-size:17px}.book{font-size:16px}.footer-links{flex-wrap:wrap;gap:12px;font-size:14px}.footer-links span{height:22px}footer p{font-size:14px}}
