@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* Auth pages — login & register (modern) */
.auth-page {
  min-height: 100vh;
  background: #0f172a;
  font-family: 'Inter', sans-serif;
  color: #f8fafc;
}

/* Site header/footer ile birlikte (master-content) */
.auth-page.auth-with-layout {
  min-height: auto;
  background: transparent;
}

.auth-page.auth-with-layout .register-page {
  min-height: auto;
  z-index: auto;
}

.auth-page.auth-with-layout .register-page > .overlay {
  padding: 24px 0 64px;
}

/* Dynamic animated background */
@keyframes glowingBackground {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.auth-page .register-page {
  width: 100%;
  min-height: 100vh;
  display: flex;
  background: linear-gradient(180deg, #1e293b 0%, #172033 100%) !important;
  position: relative;
  z-index: 1;
}

/* Overlaying some blurred circles for mesh gradient effect */
.auth-page .register-page::before,
.auth-page .register-page::after {
  display: none !important;
}

@keyframes float {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(50px) scale(1.1); }
}

.auth-page .register-page > .overlay {
  width: 100%;
  padding: 40px 0 56px;
  display: flex;
  align-items: center;
  background: transparent;
}

.auth-page .register-page .overlay .container {
  max-width: 1080px;
}

@keyframes entrance {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.auth-page .register-wrap {
  width: 100%;
  display: flex;
  min-height: 560px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: entrance 0.8s ease-out forwards;
}

.auth-page .register-wrap.reverse .register-inner {
  border-radius: 0 24px 24px 0;
}

.auth-page .register-wrap.reverse .register-img {
  border-radius: 24px 0 0 24px;
}

.auth-page .register-inner {
  flex: 1.15;
  background: rgba(255, 255, 255, 0.03);
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
}

.auth-page .auth-signup-head {
  display: none !important;
}

.auth-page .auth-signup-head .auth-logo img {
  max-height: 48px;
  width: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.auth-page .auth-signup-head h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.auth-page .auth-signup-head p {
  margin: 0;
  color: #94a3b8;
  font-size: 1rem;
  line-height: 1.6;
}

/* Stepper */
.auth-page .signup-stages {
  float: none;
  width: 100%;
  margin: 0 0 32px;
  text-align: center;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
}

.auth-page .signup-stage-line {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  margin: 0;
  float: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  z-index: 0;
}

.auth-page .signup-stages-block {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  line-height: 36px;
  margin: 0 8%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  color: #94a3b8;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.auth-page .signup-stages-block.active {
  background: linear-gradient(135deg, var(--color-one), var(--color-one-dark));
  color: #fff;
  transform: scale(1.1);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 20px var(--color-one);
}

.auth-page .stage-click {
  text-decoration: none;
  display: inline-flex;
  flex: 0 0 auto;
  line-height: 1;
}

/* Form sections */
.auth-page .c-form {
  width: 100%;
  flex: 1;
}

.auth-page .clean-theme-signup-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 36px 16px 16px;
  margin-bottom: 8px;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
}

.auth-page .clean-theme-signup-box + .clean-theme-signup-box {
  margin-top: 20px;
}

.auth-page .clean-theme-signup-box:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.auth-page .clean-theme-signup-box-title {
  position: absolute;
  top: -16px;
  left: 20px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(30, 41, 59, 0.9);
  color: #cbd5e1;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.auth-page .clean-theme-signup-box .yuzde50,
.auth-page .clean-theme-signup-box .custom-field--content {
  width: calc(50% - 6px) !important;
  max-width: calc(50% - 6px);
  margin: 0 !important;
  display: block !important;
  float: none !important;
  vertical-align: top;
  box-sizing: border-box;
  flex: 1 1 calc(50% - 6px);
}

.auth-page .clean-theme-signup-box .yuzde100 {
  width: 100% !important;
  max-width: 100%;
  flex: 1 1 100%;
}

.auth-page .clean-theme-signup-box .auth-kind-pills {
  flex: 1 1 100%;
  width: 100%;
}

.auth-page .clean-theme-signup-box input,
.auth-page .clean-theme-signup-box select,
.auth-page .clean-theme-signup-box textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.4);
  color: #f8fafc;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.auth-page .clean-theme-signup-box input::placeholder,
.auth-page .clean-theme-signup-box select::placeholder,
.auth-page .clean-theme-signup-box textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.auth-page .clean-theme-signup-box input:focus,
.auth-page .clean-theme-signup-box select:focus,
.auth-page .clean-theme-signup-box textarea:focus {
  outline: none;
  border-color: var(--color-one);
  background: rgba(15, 23, 42, 0.6);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05);
}

.auth-page .clean-theme-signup-box textarea {
  min-height: 100px;
  resize: vertical;
}

.auth-page #gsm {
  padding-left: 92px !important;
}

.auth-page .intl-tel-input {
  width: 100%;
}

.auth-page .selected-dial-code {
  color: #cbd5e1;
}

.auth-page .intl-tel-input .country-list {
  background: #1e293b;
  border: 1px solid rgba(255,255,255,0.1);
  color: #f8fafc;
}

.auth-page .intl-tel-input .country-list .country.highlight {
  background: #334155;
}

.auth-page .intl-tel-input .country-list .divider {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Kind selector pills */
.auth-page .auth-kind-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.auth-page .auth-kind-pills .radio-custom {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.auth-page .auth-kind-pills .radio-custom-label {
  margin: 0 !important;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.auth-page .auth-kind-pills .radio-custom:checked + .radio-custom-label {
  border-color: var(--color-one);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Password tools */
.auth-page .level-block {
  font-size: 0.9rem;
  color: #94a3b8;
  padding: 10px 0;
}

.auth-page #weak strong { color: #f87171; }
.auth-page #good strong { color: #fbbf24; }
.auth-page #strong strong { color: #4ade80; }

.auth-page .sbtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.1);
  color: #60a5fa;
  font-size: 0.95rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.auth-page .sbtn:hover {
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
}

/* Buttons */
.auth-page .signin-signup-foot-btn {
  margin-top: 16px;
}

.auth-page .signin-signup-foot-btn .yesilbtn,
.auth-page .signin-signup-foot-btn .gonderbtn {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--color-one), var(--color-one-dark));
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.auth-page .signin-signup-foot-btn .yesilbtn:hover,
.auth-page .signin-signup-foot-btn .gonderbtn:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.4);
}

.auth-page .checkbox-custom-label .checktext,
.auth-page .checkbox-custom-label {
  color: #cbd5e1;
  font-size: 0.95rem;
}

.auth-page .checktext a {
  color: var(--color-one);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.auth-page .checktext a:hover {
  color: var(--color-one-light);
}

.auth-page .captcha-content {
  margin: 20px auto 0;
  max-width: 360px;
  text-align: center;
}

.auth-page .captchainput {
  margin-top: 12px;
  width: 100%;
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.4);
  color: #f8fafc;
  padding: 12px 16px;
  transition: all 0.3s ease;
}

.auth-page .captchainput::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}

.auth-page .captchainput:focus {
  border-color: var(--color-one);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05);
  outline: none;
}

.auth-page .socialconnect {
  margin-bottom: 24px;
}

.auth-page #FormOutput.error {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  backdrop-filter: blur(10px);
}

/* Success */
.auth-page #Success_div {
  padding: 48px 24px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.auth-page #Success_div .fa-check {
  color: #4ade80;
  text-shadow: 0 0 20px rgba(74, 222, 128, 0.4);
}

.auth-page #Success_div h4 {
  color: #ffffff;
  margin-top: 20px;
  font-size: 1.8rem;
}

.auth-page #Success_div h5 {
  color: #94a3b8;
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Side panel */
.auth-page .register-img {
  flex: 0.85;
  min-height: 280px;
  position: relative;
  background: url(../images/datacenter.png) center/cover no-repeat;
}

.auth-page .register-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-one), var(--color-one-dark));
  mix-blend-mode: overlay;
  z-index: 1;
}

.auth-page .register-img > .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 40px;
  color: #fff;
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.6) 100%);
  backdrop-filter: blur(5px);
  z-index: 2;
}

.auth-page .register-img .overlay h3 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.auth-page .register-img .overlay p {
  color: #e2e8f0;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 auto 32px;
  max-width: 340px;
}

.auth-page .register-img .overlay a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.auth-page .register-img .overlay a:hover {
  background: linear-gradient(135deg, var(--color-one), var(--color-one-dark));
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.auth-page .auth-trust-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  text-align: left;
  width: 100%;
  max-width: 300px;
}

.auth-page .auth-trust-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f1f5f9;
  font-size: 0.95rem;
  margin-bottom: 14px;
  font-weight: 500;
}

.auth-page .auth-trust-list li i {
  color: var(--color-one);
  font-size: 1.2rem;
  background: rgba(255, 255, 255, 0.08);
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

@media (max-width: 1024px) {
  .auth-page .register-wrap {
    flex-direction: column;
    min-height: auto;
  }

  .auth-page .register-wrap.reverse .register-inner,
  .auth-page .register-wrap.reverse .register-img,
  .auth-page .register-wrap.reverse .register-img .overlay {
    border-radius: 0;
  }

  .auth-page .register-inner {
    border-radius: 0 0 24px 24px;
    padding: 32px 24px;
  }

  .auth-page .register-img {
    border-radius: 24px 24px 0 0;
    min-height: auto;
    flex: none;
  }

  .auth-page .register-img > .overlay {
    position: relative;
    inset: auto;
    min-height: auto;
    padding: 32px 28px 24px;
  }

  .auth-page .clean-theme-signup-box .yuzde50,
  .auth-page .clean-theme-signup-box .custom-field--content {
    width: 100% !important;
    max-width: 100%;
    flex: 1 1 100%;
  }

  .auth-page .signup-stages-block {
    margin: 0 6%;
  }
}

/* Sign-in / Login Page Styles */
.auth-page .c-input {
  width: 100%;
  position: relative;
  margin-bottom: 20px;
}

.auth-page .c-input input {
  width: 100%;
  min-height: 56px;
  padding: 14px 18px 14px 48px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.4);
  color: #f8fafc;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.auth-page .c-input input:focus {
  outline: none;
  border-color: var(--color-one);
  background: rgba(15, 23, 42, 0.6);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05);
}

.auth-page .c-input img,
.auth-page .c-input .auth-field-icon {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  font-size: 16px;
  color: #94a3b8;
  opacity: 0.6;
  pointer-events: none;
}

.auth-page .c-input span {
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  cursor: pointer;
  color: #94a3b8;
  transition: color 0.2s ease;
}

.auth-page .c-input span:hover {
  color: #ffffff;
}

.auth-page .c-form .mio-ajax-submit {
  padding: 14px 28px;
  min-height: 52px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-one), var(--color-one-dark));
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.auth-page .c-form .mio-ajax-submit:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.auth-page .c-form a {
  color: var(--color-one);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.auth-page .c-form a:hover {
  color: var(--color-one-light);
}

.auth-page .register-inner .heading h3 {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 12px;
}

.auth-page .register-inner .heading h3 svg {
  fill: var(--color-one) !important;
}

.auth-page .register-inner .heading h3 svg path {
  fill: var(--color-one) !important;
}

.auth-page .register-inner .heading p {
  margin: 0 0 24px;
  color: #94a3b8;
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .auth-page.auth-with-layout .register-page > .overlay {
    padding: 12px 0 40px;
  }

  .auth-page .register-page > .overlay {
    padding: 16px 0 40px;
    align-items: flex-start;
  }

  .auth-page .register-page .overlay .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .auth-page .register-wrap {
    border-radius: 16px;
    overflow: hidden;
  }

  .auth-page .register-img {
    flex: none;
    min-height: auto;
    height: auto;
    overflow: hidden;
  }

  .auth-page .register-img > .overlay {
    position: relative;
    inset: auto;
    min-height: auto;
    padding: 24px 20px 20px;
  }

  .auth-page .register-img .overlay h3 {
    font-size: 1.35rem;
    margin-bottom: 8px;
  }

  .auth-page .register-img .overlay p {
    font-size: 0.9rem;
    margin: 0 auto 12px;
    max-width: none;
  }

  .auth-page .register-img .overlay a {
    display: none;
  }

  .auth-page .auth-trust-list {
    margin: 8px 0 0;
    max-width: none;
  }

  .auth-page .auth-trust-list li {
    margin-bottom: 8px;
    font-size: 0.85rem;
  }

  .auth-page .auth-trust-list li i {
    width: 28px;
    height: 28px;
    font-size: 1rem;
  }

  .auth-page .register-inner {
    padding: 20px 16px 28px;
    position: relative;
    z-index: 2;
    flex: none;
  }

  .auth-page .signup-stages {
    margin: 0 0 28px;
    padding: 0 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    clear: both;
  }

  .auth-page .stage-click {
    display: inline-flex;
    flex: 0 0 auto;
    line-height: 1;
  }

  .auth-page .signup-stage-line {
    left: 16%;
    right: 16%;
    top: 50%;
    transform: translateY(-50%);
    height: 3px;
  }

  .auth-page .signup-stages-block {
    margin: 0 10px;
    width: 34px;
    height: 34px;
    line-height: 30px;
    font-size: 0.9rem;
  }

  .auth-page .signup-stages-block.active {
    transform: scale(1.05);
  }

  .auth-page .clean-theme-signup-box {
    padding: 34px 14px 14px;
  }

  .auth-page .clean-theme-signup-box + .clean-theme-signup-box {
    margin-top: 24px;
  }

  .auth-page .clean-theme-signup-box-title {
    top: -13px;
    left: 14px;
    font-size: 0.75rem;
    padding: 5px 12px;
    max-width: calc(100% - 28px);
    white-space: normal;
    line-height: 1.3;
  }

  .auth-page .auth-kind-pills {
    gap: 8px;
  }

  .auth-page .auth-kind-pills .radio-custom-label {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .auth-page .clean-theme-signup-box:hover {
    transform: none;
  }
}

