﻿/* Page styles for reg.html */

body[data-page="login"],
body[data-page="reg"],
body[data-page="repwd"]  {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 18%, rgba(253, 185, 51, 0.22), transparent 24%),
    radial-gradient(circle at 82% 20%, rgba(0, 154, 214, 0.22), transparent 28%),
    radial-gradient(circle at 72% 82%, rgba(0, 108, 84, 0.16), transparent 26%),
    linear-gradient(135deg, #eaf6fb 0%, #f8fcfd 45%, #edf4f8 100%);
  overflow-x: hidden;
}

body[data-page="login"] .cy-main,
body[data-page="reg"] .cy-main,
body[data-page="repwd"] .cy-main  {
  position: relative;
  min-height: 100vh;
  margin-top: 0;
  padding: 64px 0;
  place-items: center;
}

body[data-page="login"] .cy-main::before,
body[data-page="reg"] .cy-main::before,
body[data-page="repwd"] .cy-main::before  {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(43, 68, 144, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 68, 144, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 72%);
}

.cy-auth  {
  position: relative;
  width: 980px;
  margin: 0 auto;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(43, 68, 144, 0.16);
}

.cy-auth .cy-card-head  {
  display: none;
}

.cy-auth .cy-card-body  {
  position: relative;
  z-index: 1;
  padding: 0;
}

.cy-auth-layout  {
  display: grid;
  grid-template-columns: 1fr 430px;
  min-height: 560px;
  background: #fff;
}

.cy-auth-brand  {
  position: relative;
  padding: 58px 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(43, 68, 144, 0.96), rgba(0, 154, 214, 0.9)),
    radial-gradient(circle at 20% 20%, rgba(253, 185, 51, 0.42), transparent 32%);
  overflow: hidden;
}

.cy-auth-brand::after  {
  content: "";
  position: absolute;
  right: -58px;
  bottom: -58px;
  width: 210px;
  height: 210px;
  border: 34px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.cy-auth-logo  {
  width: 230px;
  margin-bottom: 42px;
}

.cy-auth-logo img  {
  width: 100%;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.18));
}

.cy-auth-brand h2  {
  position: relative;
  margin: 0 0 14px;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 1px;
}

.cy-auth-brand p  {
  position: relative;
  max-width: 390px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.9;
}

.cy-auth-brand-list  {
  position: relative;
  display: grid;
  gap: 12px;
  margin-top: 36px;
}

.cy-auth-brand-list span  {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 900;
}

.cy-auth-brand-list span::before  {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cy-gold);
  box-shadow: 0 0 12px rgba(253, 185, 51, 0.8);
}

.cy-auth-panel  {
  padding: 50px 42px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cy-auth-head  {
  display: grid;
  gap: 9px;
  margin-bottom: 26px;
}

.cy-auth-head strong  {
  color: var(--cy-navy);
  font-size: 28px;
  font-weight: 900;
}

.cy-auth-head p  {
  margin: 0;
  color: var(--cy-muted);
  font-size: 13px;
  line-height: 1.7;
}

.cy-auth-form  {
  gap: 15px;
}

.cy-password-wrap  {
  position: relative;
}

.cy-password-wrap .cy-input  {
  padding-right: 52px;
}

.cy-password-toggle  {
  position: absolute;
  top: 50%;
  right: 9px;
  width: 32px;
  height: 32px;
  transform: translateY(-50%);
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #7f94a3;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.cy-password-toggle::before  {
  content: "";
  position: absolute;
  inset: 7px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 5c5.1 0 8.4 4.2 9.5 5.9.4.7.4 1.5 0 2.2C20.4 14.8 17.1 19 12 19s-8.4-4.2-9.5-5.9c-.4-.7-.4-1.5 0-2.2C3.6 9.2 6.9 5 12 5Zm0 2C7.8 7 5 10.5 4.2 12c.8 1.5 3.6 5 7.8 5s7-3.5 7.8-5C19 10.5 16.2 7 12 7Zm0 2.3a2.7 2.7 0 1 1 0 5.4 2.7 2.7 0 0 1 0-5.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 5c5.1 0 8.4 4.2 9.5 5.9.4.7.4 1.5 0 2.2C20.4 14.8 17.1 19 12 19s-8.4-4.2-9.5-5.9c-.4-.7-.4-1.5 0-2.2C3.6 9.2 6.9 5 12 5Zm0 2C7.8 7 5 10.5 4.2 12c.8 1.5 3.6 5 7.8 5s7-3.5 7.8-5C19 10.5 16.2 7 12 7Zm0 2.3a2.7 2.7 0 1 1 0 5.4 2.7 2.7 0 0 1 0-5.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.cy-password-toggle.is-visible  {
  color: var(--cy-cyan);
}

.cy-password-toggle.is-visible::before  {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M3.3 2.3 21.7 20.7l-1.4 1.4-3.1-3.1A10.8 10.8 0 0 1 12 20c-5.1 0-8.4-4.2-9.5-5.9a2 2 0 0 1 0-2.2 16 16 0 0 1 4-4.2L1.9 3.7l1.4-1.4ZM8 9.2A12.7 12.7 0 0 0 4.2 13c.8 1.5 3.6 5 7.8 5 1.4 0 2.6-.4 3.7-1l-2-2a3 3 0 0 1-3.8-3.8L8 9.2ZM12 6c5.1 0 8.4 4.2 9.5 5.9.4.7.4 1.5 0 2.2a15 15 0 0 1-2.4 3l-1.4-1.4A12.5 12.5 0 0 0 19.8 13c-.8-1.5-3.6-5-7.8-5-.8 0-1.5.1-2.2.3L8.2 6.7C9.3 6.2 10.6 6 12 6Zm.2 4a3 3 0 0 1 2.8 2.8L12.2 10Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M3.3 2.3 21.7 20.7l-1.4 1.4-3.1-3.1A10.8 10.8 0 0 1 12 20c-5.1 0-8.4-4.2-9.5-5.9a2 2 0 0 1 0-2.2 16 16 0 0 1 4-4.2L1.9 3.7l1.4-1.4ZM8 9.2A12.7 12.7 0 0 0 4.2 13c.8 1.5 3.6 5 7.8 5 1.4 0 2.6-.4 3.7-1l-2-2a3 3 0 0 1-3.8-3.8L8 9.2ZM12 6c5.1 0 8.4 4.2 9.5 5.9.4.7.4 1.5 0 2.2a15 15 0 0 1-2.4 3l-1.4-1.4A12.5 12.5 0 0 0 19.8 13c-.8-1.5-3.6-5-7.8-5-.8 0-1.5.1-2.2.3L8.2 6.7C9.3 6.2 10.6 6 12 6Zm.2 4a3 3 0 0 1 2.8 2.8L12.2 10Z'/%3E%3C/svg%3E");
}

.cy-password-toggle:hover  {
  background: rgba(0, 154, 214, 0.06);
  color: var(--cy-cyan);
}

.cy-captcha-row  {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  align-items: center;
  gap: 12px;
}

.cy-captcha-row .cy-input  {
  min-width: 0;
}

.cy-captcha-image  {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--cy-border);
  border-radius: 8px;
  background: #f7fbfd;
  color: var(--cy-text);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  overflow: hidden;
  cursor: pointer;
  white-space: nowrap;
}

.cy-captcha-image img  {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cy-captcha-image:disabled  {
  cursor: not-allowed;
  opacity: 0.72;
}

.cy-captcha-image > span  {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(20, 36, 51, 0.62);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.cy-captcha-image:hover > span,
.cy-captcha-image.is-loading > span  {
  display: flex;
}

.cy-captcha-refresh  {
  width: max-content;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--cy-cyan);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

body[data-page="reg"] .cy-graph-verify-row  {
  display: none !important;
}

.cy-captcha-row.is-slide  {
  display: block;
}

.cy-captcha-row.is-slide .cy-input  {
  display: none;
}

.cy-captcha-row.is-slide .cy-captcha-image  {
  display: block;
  width: 100%;
  height: auto;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
  cursor: default;
}

.cy-captcha-refresh.is-slide  {
  display: none;
}

.slide-verify-card  {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 54px;
  padding: 0 14px;
  box-sizing: border-box;
  border: 1px solid rgba(0, 154, 214, 0.24);
  border-radius: 8px;
  background: linear-gradient(180deg, #f8fdff 0%, #eef9fd 100%);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.cy-captcha-image .slide-verify-card  {
  display: flex;
}

.slide-verify-card:hover  {
  border-color: rgba(0, 154, 214, 0.46);
  box-shadow: 0 8px 20px rgba(0, 154, 214, 0.12);
  transform: translateY(-1px);
}

.slide-verify-card.is-success  {
  border-color: rgba(0, 188, 101, 0.36);
  background: linear-gradient(180deg, #f7fffb 0%, #effff7 100%);
  cursor: default;
}

.slide-verify-card.is-success:hover  {
  box-shadow: none;
  transform: none;
}

.slide-verify-icon  {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  margin-right: 12px;
  border-radius: 50%;
  color: var(--cy-cyan);
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 154, 214, 0.14);
}

.slide-verify-card.is-success .slide-verify-icon  {
  color: var(--cy-green);
  box-shadow: 0 0 0 1px rgba(0, 188, 101, 0.16);
}

.slide-verify-main  {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.slide-verify-title  {
  display: block;
  color: var(--cy-text);
  font-size: 14px;
  font-weight: 900;
  line-height: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.slide-verify-desc  {
  display: block;
  margin-top: 2px;
  color: var(--cy-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.slide-verify-action  {
  flex-shrink: 0;
  margin-left: 10px;
  color: var(--cy-cyan);
  font-size: 12px;
  font-weight: 900;
}

.slide-verify-card.is-success .slide-verify-action  {
  color: var(--cy-green);
}

.cy-auth-agreement  {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--cy-muted);
  font-size: 12px;
  line-height: 1.7;
}

.cy-auth-agreement input  {
  margin-top: 4px;
  accent-color: var(--cy-cyan);
}

.cy-auth-agreement a  {
  color: var(--cy-cyan);
  font-weight: 900;
}

.cy-auth-message  {
  min-height: 20px;
  color: var(--cy-muted);
  font-size: 13px;
  line-height: 20px;
}

.cy-auth-message.is-error  {
  color: #d43d35;
}

.cy-auth-message.is-success  {
  color: var(--cy-green);
}

.cy-auth-submit  {
  width: 100%;
  font-size: 15px;
}

.cy-auth-submit:disabled  {
  opacity: 0.68;
  cursor: not-allowed;
}

.cy-auth-links  {
  display: flex;
  justify-content: center;
  gap: 22px;
  padding-top: 2px;
  color: var(--cy-muted);
  font-size: 13px;
  font-weight: 800;
}

.cy-auth-links a:hover  {
  color: var(--cy-cyan);
}

.cy-field-error  {
  min-height: 18px;
  color: #d93025;
  font-size: 12px;
  line-height: 18px;
}

.cy-auth-decoration  {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
}

.cy-auth-decoration-1  {
  width: 170px;
  height: 170px;
  left: -58px;
  top: -58px;
  background: rgba(253, 185, 51, 0.18);
}

.cy-auth-decoration-2  {
  width: 116px;
  height: 116px;
  right: 376px;
  top: 46px;
  border: 18px solid rgba(0, 154, 214, 0.12);
}

.cy-auth-decoration-3  {
  width: 96px;
  height: 96px;
  right: -30px;
  bottom: -28px;
  background: rgba(0, 108, 84, 0.12);
}

