/*
// auth.css
// uriseednet
//
// Created by EB Song on 2026-04-21.
// Copyright (C) Uriseed. All rights reversed.
 */

/* =========================
   LOGIN
========================= */

.login-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    max-width: 480px;
    margin: 0 auto;
    padding: 80px 20px 20px;
}

.login-box {
    width: 100%;
    max-width: 384px;
    margin: 0 auto;
}

.login-title {
    font-size: 28px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 6px;
}

.login-desc {
    font-size: 14px;
    color: #999;
    text-align: center;
    margin-bottom: 32px;
}

.login-box label {
    font-size: 14px;
    margin-bottom: 6px;
    display: block;
}

.login-box .form-control {
    width: 100%;
    height: 39px;
    border: 1px solid #D9D9D9;
    border-radius: 5px;
    padding: 0 12px;
    font-size: 14px;
    margin-bottom: 10px;
}

.login-box .btn {
    width: 100%;
    height: 39px;
    background: #111111;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    margin-top: 8px;
}

.login-box a {
    display: block;
    text-align: center;
    font-size: 14px;
    margin-top: 12px;
    text-decoration: underline;
    color: #666;
}

/* =========================
   FORGOT PASSWORD
========================= */

.forgot-wrap {
    max-width: 420px;
    margin: 80px auto 0;
}

.forgot-wrap p {
    margin-bottom: 20px;
    font-size: 15px;
    color: #3D3D3D;
    text-align: center;
}

.forgot-box {
    width: 100%;
}

.forgot-box .form-control,
.forgot-box .btn {
    width: 100%;
}

.forgot-wrap .row {
    align-items: center;
    margin-bottom: 20px;
}

.forgot-wrap .row .col-auto:first-child {
    padding-right: 12px;
}

/* =========================
   TERMS
========================= */

.terms-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 56px 20px 80px;
}

.terms-title {
    font-size: 24px;
    font-weight: 600;
    color: #111111;
    line-height: 1.4;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.terms-content {
    color: #111111;
    font-size: 14px;
    line-height: 1.9;
    font-weight: 400;
    letter-spacing: -0.01em;
    word-break: keep-all;
}

.terms-content h1,
.terms-content h2,
.terms-content h3,
.terms-content h4 {
    font-size: 14px !important;
    font-weight: 600;
    color: #111111;
    line-height: 1.6;
    letter-spacing: -0.01em;
    margin-top: 20px;
    margin-bottom: 12px;
}

.terms-content h1:first-child,
.terms-content h2:first-child,
.terms-content h3:first-child,
.terms-content h4:first-child {
    margin-top: 0;
}

.terms-content p {
    margin-bottom: 14px;
}

.terms-content ul,
.terms-content ol {
    margin: 0 0 18px 20px;
    padding: 0;
}

.terms-content li {
    margin-bottom: 8px;
}

.terms-content strong,
.terms-content b {
    color: #3D3D3D;
    font-weight: 600;
}

.terms-content hr {
    border: 0;
    border-top: 1px solid #E5E5E5;
    margin: 28px 0;
}

/* =========================
   SIGNUP
========================= */

.signup-page form {
    max-width: 480px;
    margin: 0 auto;
}

.signup-page h1 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 16px;
}

.signup-page > .row:first-child {
    max-width: 590px;
    margin: 0 auto 24px;
}

.form-control {
    height: 44px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.form-control:focus {
    border-color: #111;
    box-shadow: none;
}

.input-group .btn {
    border-radius: 6px;
    border: 1px solid #ddd;
    background: #f5f5f5;
    font-size: 13px;
    padding: 0 14px;
}

.input-group .input-group-append .btn {
    height: 44px;
    min-width: 60px;
    padding: 0 14px;
    font-size: 13px;
    border-radius: 0 6px 6px 0;
    border: 1px solid #ddd;
    background: #f5f5f5;
    color: #333;
}

.input-group .btn:hover {
    background: #e9e9e9;
}

.form-group {
    margin-bottom: 14px !important;
}

.form-text {
    font-size: 12px;
    color: #888;
    margin-top: 6px;
}

.form-check-input {
    margin-top: 4px;
}

.form-check-label {
    font-size: 14px;
    color: #333;
    margin-left: 6px;
}

.form-group > div[style] {
    margin-top: 8px;
    border-radius: 6px;
    background: #F9F9F9;
    font-size: 13px;
    line-height: 1.7;
    color: #555;
}

.form-group > div[style] h1,
.form-group > div[style] h2,
.form-group > div[style] h3 {
    font-size: 13px;
    font-weight: 600;
    margin-top: 16px;
    margin-bottom: 6px;
}

.form-group > div[style] {
    scrollbar-width: thin;
    scrollbar-color: #999 transparent;
}

.form-group > div[style]::-webkit-scrollbar {
    width: 10px;
}

.form-group > div[style]::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 6px;
}

.form-group > div[style]::-webkit-scrollbar-thumb {
    background: #999;
    border-radius: 999px;
    border: 2px solid #F9F9F9;
}

.form-group input[type="checkbox"] {
    margin-right: 6px;
}

.container:not(.admin-manage-page) form button.btn-primary {
    width: 100%;
    height: 48px;
    border-radius: 8px;
    background: #111;
    border: none;
    font-size: 15px;
    font-weight: 500;
}

.container form button.btn-primary:hover {
    background: #222;
}

/* =========================
   MY INFO
========================= */

.myinfo-page {
  max-width: 420px;
  margin: 80px auto 0;
  padding: 0 12px 72px;
}

.myinfo-title {
  margin: 0 0 20px !important;
  text-align: center;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  color: #111111;
}

.myinfo-page .row.mt-2 {
  margin-top: 10px !important;
}

.myinfo-input.form-control-plaintext {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #D9D9D9;
  border-radius: 6px;
  background: #FFFFFF;
  font-size: 14px;
  line-height: 44px;
  color: #AAAAAA;
}

.myinfo-input.form-control-plaintext:focus {
  box-shadow: none;
  outline: none;
}

.myinfo-check {
  margin-top: 12px !important;
  padding-left: 0;
  min-height: 18px;
}

.myinfo-check .form-check-input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  margin-left: 0;
  border: 1px solid #D9D9D9;
  border-radius: 2px;
  box-shadow: none;
}

.myinfo-check .form-check-input:checked {
  background-color: #111111;
  border-color: #111111;
}

.myinfo-check .form-check-label {
  display: inline-block;
  margin-left: 26px;
  font-size: 14px;
  line-height: 1.5;
  color: #666666;
}

.myinfo-check .form-text {
  margin-left: 26px;
  margin-top: 4px;
  font-size: 12px;
  color: #AAAAAA;
}

.myinfo-page .mt-2:has(.myinfo-btn) {
  margin-top: 12px !important;
}

.myinfo-page .mt-2:first-of-type:has(.myinfo-btn) {
  margin-top: 28px !important;
}

.myinfo-btn {
  width: 100%;
  height: 48px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 300;
  line-height: 48px;
  padding: 0 14px;
}

.myinfo-btn + .myinfo-btn {
  margin-top: 12px;
}

.myinfo-btn-dark,
.myinfo-btn-dark.btn-light,
.myinfo-btn-dark.btn-primary {
  border: none !important;
  background: #111111 !important;
  color: #FFFFFF !important;
}

.myinfo-btn-dark:hover,
.myinfo-btn-dark:focus,
.myinfo-btn-dark:active {
  border: none !important;
  background: #111111 !important;
  color: #FFFFFF !important;
  box-shadow: none !important;
}

.myinfo-withdraw,
.myinfo-withdraw.btn-light {
  width: 100%;
  margin-top: 18px;
  border: none !important;
  background: transparent !important;
  color: #AAAAAA !important;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  padding: 6px 0;
}

.myinfo-withdraw:hover,
.myinfo-withdraw:focus,
.myinfo-withdraw:active {
  background: transparent !important;
  color: #AAAAAA !important;
  box-shadow: none !important;
}

.myinfo-withdraw i {
  margin-left: 4px;
  font-size: 12px;
  vertical-align: middle;
}

.myinfo-withdraw {
    text-decoration: underline;
    text-underline-offset: 6px;
}