/* JAY Platform */

.jay-login-wrap{
  width:min(92%,520px);
  margin:70px auto;
  font-family:Inter,Arial,sans-serif;
}

.jay-login-box{
  background:#fff;
  border:1px solid #e8e8e8;
  border-radius:28px;
  padding:42px;
  box-shadow:0 20px 60px rgba(0,0,0,.08);
}

.jay-login-mark{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:64px;
  height:42px;
  padding:0 16px;
  margin-bottom:24px;
  border-radius:14px;
  background:#fded00;
  color:#111;
  font-size:16px;
  font-weight:800;
  letter-spacing:1px;
}

.jay-login-box h1{
  margin:0 0 8px;
  color:#111;
  font-size:34px;
  line-height:1.15;
  font-weight:800;
}

.jay-login-intro{
  margin:0 0 28px;
  color:#707070;
  font-size:16px;
  line-height:1.55;
}

.jay-login-box label{
  display:block;
  margin:0 0 8px;
  color:#222;
  font-size:14px;
  font-weight:700;
}

.jay-login-box input[type="text"],
.jay-login-box input[type="password"]{
  width:100%;
  min-height:52px;
  margin:0 0 18px;
  padding:13px 15px;
  border:1px solid #dcdcdc;
  border-radius:14px;
  background:#fff;
  color:#111;
  font-size:16px;
}

.jay-login-box input[type="text"]:focus,
.jay-login-box input[type="password"]:focus{
  outline:none;
  border-color:#111;
  box-shadow:0 0 0 3px rgba(253,237,0,.45);
}

.jay-login-box .login-remember label{
  display:flex;
  align-items:center;
  gap:9px;
  margin-bottom:18px;
  font-weight:500;
}

.jay-login-box input[type="submit"]{
  width:100%;
  min-height:52px;
  border:0;
  border-radius:14px;
  background:#fded00;
  color:#111;
  font-size:15px;
  font-weight:800;
  cursor:pointer;
}

.jay-forgot-link{
  display:block;
  margin-top:20px;
  color:#555;
  text-align:center;
  text-decoration:none;
  font-size:14px;
}

.jay-login-error{
  margin-bottom:20px;
  padding:13px 15px;
  border:1px solid #efb4b4;
  border-radius:12px;
  background:#fff3f3;
  color:#9d1f1f;
  font-size:14px;
}

/* Globaler App-Header */

.jay-app-header{
  width:min(94%,1180px);
  min-height:72px;
  margin:14px auto 0;
  padding:10px 14px 10px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  background:rgba(255,255,255,.96);
  border:1px solid #e8e8e8;
  border-radius:22px;
  box-shadow:0 12px 35px rgba(0,0,0,.07);
  font-family:Inter,Arial,sans-serif;
  position:relative;
  z-index:99999;
}

.jay-header-brand{
  display:flex;
  align-items:center;
  gap:11px;
  color:#111;
  text-decoration:none;
}

.jay-header-logo{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:52px;
  height:40px;
  padding:0 12px;
  border-radius:13px;
  background:#fded00;
  font-size:14px;
  font-weight:850;
  letter-spacing:.8px;
}

.jay-header-title{
  font-size:18px;
  font-weight:800;
}

.jay-profile-menu{
  position:relative;
}

.jay-profile-toggle{
  display:flex;
  align-items:center;
  gap:12px;
  padding:5px;
  border:0;
  background:transparent;
  cursor:pointer;
}

.jay-profile-copy{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  line-height:1.2;
}

.jay-profile-copy small{
  color:#888;
  font-size:11px;
}

.jay-profile-copy strong{
  max-width:180px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#111;
  font-size:14px;
}

.jay-profile-avatar{
  display:flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border-radius:50%;
  background:#111;
  color:#fff;
  font-size:14px;
  font-weight:800;
}

.jay-profile-dropdown{
  position:absolute;
  top:58px;
  right:0;
  width:210px;
  padding:8px;
  background:#fff;
  border:1px solid #e7e7e7;
  border-radius:16px;
  box-shadow:0 18px 45px rgba(0,0,0,.14);
}

.jay-profile-dropdown a{
  display:block;
  padding:11px 12px;
  border-radius:10px;
  color:#222;
  text-decoration:none;
  font-size:14px;
  font-weight:650;
}

.jay-profile-dropdown a:hover{
  background:#f5f5f5;
}

.jay-profile-dropdown .jay-logout-link{
  color:#a51f1f;
}

@media(max-width:600px){
  .jay-login-wrap{margin:32px auto;}
  .jay-login-box{padding:26px 20px;border-radius:22px;}
  .jay-login-box h1{font-size:29px;}

  .jay-app-header{
    width:94%;
    min-height:64px;
    margin-top:8px;
    padding:8px 9px 8px 12px;
    border-radius:18px;
  }

  .jay-header-title,
  .jay-profile-copy{
    display:none;
  }

  .jay-header-logo{
    min-width:48px;
    height:38px;
  }

  .jay-profile-avatar{
    width:40px;
    height:40px;
  }
}
