/**
 * PERSONAL EDITOR 認証ページ用CSS
 * サイトカラー: #F97316 (オレンジ), #1F2933 (ダーク)
 *
 * @package PERSONAL_EDITOR
 * @since 1.0.0
 */

:root {
  --pe-primary: #F97316;
  --pe-primary-hover: #ea580c;
  --pe-dark: #1F2933;
  --pe-bg-gradient: linear-gradient(135deg, #1F2933 0%, #374151 50%, #F97316 100%);
  --pe-text-main: #1f2937;
  --pe-text-muted: #6b7280;
  --pe-input-bg: #f3f4f6;
  --pe-white: #ffffff;
  --pe-border: #e2e8f0;
}

/* ログインページ */
.auth-login-container {
  font-family: 'Noto Sans JP', sans-serif;
  min-height: 100vh;
  position: relative;
}

.auth-login-background {
  position: fixed;
  inset: 0;
  background: var(--pe-dark);
  background-image: radial-gradient(at 0% 0%, rgba(249, 115, 22, 0.15) 0, transparent 50%),
    radial-gradient(at 100% 100%, rgba(55, 65, 81, 0.3) 0, transparent 50%);
  z-index: 0;
}

.auth-login-content {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px 20px;
}

.auth-login-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: rgba(31, 41, 51, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100;
}

.auth-login-header-logo a {
  display: inline-block;
  text-decoration: none;
  line-height: 0;
}

.auth-login-header-logo img {
  height: 32px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
  vertical-align: middle;
}

.auth-login-logo-top a {
  display: inline-block;
  text-decoration: none;
}

.auth-login-logo-top img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.auth-login-header-back,
.auth-login-header-back:hover {
  color: #fff;
  text-decoration: none;
  opacity: 0.8;
}

.auth-login-wrapper {
  width: 100%;
  max-width: 1000px;
  min-height: 600px;
  background: #fff;
  border-radius: 30px;
  display: flex;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.auth-login-side-info {
  flex: 1;
  background: var(--pe-bg-gradient);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 40px;
  text-align: center;
}

.auth-login-side-info h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.auth-login-side-info p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 40px;
  opacity: 0.9;
}

.auth-login-btn-outline {
  padding: 12px 40px;
  border: 2px solid #fff;
  background: transparent;
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.auth-login-btn-outline:hover {
  background: #fff;
  color: var(--pe-dark);
}

.auth-login-side-form {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px;
}

.auth-login-side-form h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--pe-dark);
  margin-bottom: 30px;
}

.auth-login-logo-top {
  margin-bottom: 20px;
}

.auth-login-form-container {
  width: 100%;
  max-width: 360px;
}

.auth-login-error {
  color: #dc2626;
  background: #fef2f2;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  border: 1px solid #fecaca;
}

.auth-login-input-field {
  width: 100%;
  background: var(--pe-input-bg);
  margin-bottom: 15px;
  height: 50px;
  border-radius: 50px;
  display: grid;
  grid-template-columns: 15% 85%;
  padding: 0 1rem;
  align-items: center;
}

.auth-login-input-field i {
  text-align: center;
  color: #acacac;
}

.auth-login-input-field input {
  background: none;
  border: none;
  outline: none;
  font-weight: 500;
  font-size: 1rem;
  color: var(--pe-dark);
  width: 100%;
}

.auth-login-form-options {
  margin: 15px 0 20px 10px;
}

.auth-login-checkbox-container {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 10px;
}

.auth-login-checkbox-container input {
  display: none;
}

.auth-login-checkmark {
  width: 18px;
  height: 18px;
  background: var(--pe-input-bg);
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  flex-shrink: 0;
}

.auth-login-checkbox-container input:checked ~ .auth-login-checkmark {
  background: var(--pe-primary);
  border-color: var(--pe-primary);
}

.auth-login-label-text {
  font-size: 0.85rem;
  color: var(--pe-text-muted);
}

.auth-login-btn-solid {
  width: 100%;
  background: linear-gradient(135deg, var(--pe-primary) 0%, var(--pe-dark) 100%);
  color: #fff;
  padding: 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  margin: 10px 0;
  transition: all 0.3s ease;
}

.auth-login-btn-solid:hover {
  background: linear-gradient(135deg, var(--pe-primary-hover), var(--pe-primary));
  transform: translateY(-1px);
}

@media (max-width: 870px) {
  .auth-login-wrapper {
    flex-direction: column;
    max-width: 500px;
  }

  .auth-login-side-form {
    padding: 40px 20px;
  }
}
