@charset "UTF-8";
/* ================================
   기본 브레이크포인트 (Base Breakpoints)
   ================================ */
/**
 * 회원가입/로그인 페이지 스타일
 * 
 * @package ARIAWELL
 */
.auth-page-background {
  width: 100%;
  height: 158px;
  background-color: #2a2a2a;
}

.auth-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
  z-index: 1;
  padding: clamp(180px, calc(3.125vw + 8.75rem), 200px) 40px clamp(180px, calc(3.125vw + 8.75rem), 200px);
}

.auth-box {
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  padding: 48px;
  animation: slideUp 0.5s ease-out;
}
@media (max-width: 768px) {
  .auth-box {
    padding: 32px 24px;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.auth-header {
  text-align: center;
  margin-bottom: 40px;
}
.auth-header .auth-title {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 12px 0;
}
.auth-header .auth-subtitle {
  font-size: 16px;
  color: #6b7280;
  margin: 0;
}

.auth-form .form-group {
  margin-bottom: 24px;
}
.auth-form .form-group:last-of-type {
  margin-bottom: 32px;
}
.auth-form .form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}
.auth-form .form-label .required {
  color: #ef4444;
  margin-left: 2px;
}
.auth-form .form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  transition: all 0.3s ease;
  background-color: #ffffff;
  color: #1f2937;
}
.auth-form .form-control:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.auth-form .form-control.error {
  border-color: #ef4444;
}
.auth-form .form-control.error:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}
.auth-form .form-control::placeholder {
  color: #9ca3af;
}
.auth-form .password-input-wrapper {
  position: relative;
}
.auth-form .password-input-wrapper .form-control {
  padding-right: 48px;
}
.auth-form .password-input-wrapper .password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  font-size: 20px;
  line-height: 1;
  transition: opacity 0.2s;
}
.auth-form .password-input-wrapper .password-toggle:hover {
  opacity: 0.7;
}
.auth-form .password-input-wrapper .password-toggle:focus {
  outline: 2px solid #667eea;
  outline-offset: 2px;
  border-radius: 4px;
}
.auth-form .field-message {
  display: block;
  font-size: 13px;
  margin-top: 6px;
  min-height: 18px;
}
.auth-form .field-message.error-message {
  color: #ef4444;
}
.auth-form .field-message.success-message {
  color: #10b981;
}
.auth-form .checkbox-group .checkbox-label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  user-select: none;
}
.auth-form .checkbox-group .checkbox-label input[type=checkbox] {
  margin-top: 3px;
  margin-right: 10px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #667eea;
}
.auth-form .checkbox-group .checkbox-label .checkbox-text {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.6;
}
.auth-form .checkbox-group .checkbox-label .checkbox-text a {
  color: #667eea;
  text-decoration: underline;
  transition: color 0.2s;
}
.auth-form .checkbox-group .checkbox-label .checkbox-text a:hover {
  color: #764ba2;
}
.auth-form .checkbox-group .checkbox-label .checkbox-text .required {
  color: #ef4444;
  margin-left: 2px;
}
.auth-form .form-message {
  margin-bottom: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-primary {
  background: #2a2a2a;
  color: #ffffff;
}
.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}
.btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

.btn-block {
  width: 100%;
}

.btn-loader {
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-loader .spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 8px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.alert {
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  animation: slideDown 0.3s ease-out;
}
.alert.alert-success {
  background-color: #d1fae5;
  color: #065f46;
  border-left: 4px solid #10b981;
}
.alert.alert-error {
  background-color: #fee2e2;
  color: #991b1b;
  border-left: 4px solid #ef4444;
}
.alert.alert-info {
  background-color: #dbeafe;
  color: #1e40af;
  border-left: 4px solid #3b82f6;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.auth-footer {
  margin-top: 32px;
  text-align: center;
}
.auth-footer p {
  font-size: 14px;
  color: #6b7280;
  margin: 8px 0;
}
.auth-footer p a {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.auth-footer p a:hover {
  color: #764ba2;
  text-decoration: underline;
}

@media (max-width: 576px) {
  .auth-page-wrapper {
    padding: 40px 15px;
  }
  .auth-box {
    padding: 32px 20px;
  }
  .auth-header {
    margin-bottom: 32px;
  }
  .auth-header .auth-title {
    font-size: 26px;
  }
  .auth-header .auth-subtitle {
    font-size: 14px;
  }
  .auth-form .form-control {
    font-size: 16px;
  }
  .btn {
    font-size: 15px;
    padding: 12px 20px;
  }
}
.mypage-info-section,
.mypage-section {
  padding: 24px 0;
  border-bottom: 1px solid #e5e7eb;
}
.mypage-info-section:last-of-type,
.mypage-section:last-of-type {
  border-bottom: none;
}
.mypage-info-section .section-title,
.mypage-section .section-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 20px 0;
}
.mypage-info-section .section-title.danger-title,
.mypage-section .section-title.danger-title {
  color: #dc2626;
}
.mypage-info-section .info-group,
.mypage-section .info-group {
  display: flex;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
}
.mypage-info-section .info-group:last-child,
.mypage-section .info-group:last-child {
  border-bottom: none;
}
.mypage-info-section .info-group .info-label,
.mypage-section .info-group .info-label {
  flex: 0 0 120px;
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
}
.mypage-info-section .info-group .info-value,
.mypage-section .info-group .info-value {
  flex: 1;
  font-size: 14px;
  color: #1f2937;
  font-weight: 500;
}
.mypage-info-section .danger-description,
.mypage-section .danger-description {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 16px 0;
  padding: 12px 16px;
  background-color: #fef2f2;
  border-left: 4px solid #dc2626;
  border-radius: 4px;
}

.btn-danger {
  background: #dc2626;
  color: #ffffff;
}
.btn-danger:hover:not(:disabled) {
  background: #b91c1c;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.4);
}
.btn-danger:active:not(:disabled) {
  transform: translateY(0);
}

.btn-secondary {
  background: #6b7280;
  color: #ffffff;
}
.btn-secondary:hover:not(:disabled) {
  background: #4b5563;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal .modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}
.modal .modal-content {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  max-width: 480px;
  width: 100%;
  animation: modalSlideUp 0.3s ease-out;
  z-index: 1;
}
.modal .modal-header {
  padding: 24px 24px 16px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal .modal-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
}
.modal .modal-header .modal-close {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: #6b7280;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s;
}
.modal .modal-header .modal-close:hover {
  background: #f3f4f6;
  color: #1f2937;
}
.modal .modal-body {
  padding: 24px;
}
.modal .modal-body .modal-warning {
  font-size: 15px;
  color: #1f2937;
  margin: 0 0 24px 0;
  line-height: 1.6;
  text-align: center;
}
.modal .modal-footer {
  padding: 16px 24px 24px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.modal .modal-footer .btn {
  min-width: 100px;
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 576px) {
  .modal {
    padding: 15px;
  }
  .modal .modal-content {
    max-width: 100%;
  }
  .modal .modal-header {
    padding: 20px 20px 12px;
  }
  .modal .modal-header h3 {
    font-size: 18px;
  }
  .modal .modal-body {
    padding: 20px;
  }
  .modal .modal-footer {
    padding: 12px 20px 20px;
    flex-direction: column;
  }
  .modal .modal-footer .btn {
    width: 100%;
  }
  .mypage-info-section .info-group,
  .mypage-section .info-group {
    flex-direction: column;
    gap: 4px;
  }
  .mypage-info-section .info-group .info-label,
  .mypage-section .info-group .info-label {
    flex: none;
  }
}
@media (prefers-color-scheme: dark) {
  .auth-box {
    background: #1f2937;
  }
  .auth-box .auth-header .auth-title {
    color: #f9fafb;
  }
  .auth-box .auth-header .auth-subtitle {
    color: #d1d5db;
  }
  .auth-box .auth-form .form-label {
    color: #e5e7eb;
  }
  .auth-box .auth-form .form-control {
    background-color: #374151;
    border-color: #4b5563;
    color: #f9fafb;
  }
  .auth-box .auth-form .form-control::placeholder {
    color: #9ca3af;
  }
  .auth-box .auth-form .checkbox-group .checkbox-label .checkbox-text {
    color: #d1d5db;
  }
  .auth-box .auth-footer p {
    color: #d1d5db;
  }
  .mypage-info-section,
  .mypage-section {
    border-color: #374151;
  }
  .mypage-info-section .section-title,
  .mypage-section .section-title {
    color: #f9fafb;
  }
  .mypage-info-section .info-group,
  .mypage-section .info-group {
    border-color: #374151;
  }
  .mypage-info-section .info-group .info-label,
  .mypage-section .info-group .info-label {
    color: #9ca3af;
  }
  .mypage-info-section .info-group .info-value,
  .mypage-section .info-group .info-value {
    color: #e5e7eb;
  }
  .mypage-info-section .danger-description,
  .mypage-section .danger-description {
    background-color: #7f1d1d;
    border-color: #dc2626;
    color: #fecaca;
  }
  .modal .modal-content {
    background: #1f2937;
  }
  .modal .modal-header {
    border-color: #374151;
  }
  .modal .modal-header h3 {
    color: #f9fafb;
  }
  .modal .modal-header .modal-close {
    color: #9ca3af;
  }
  .modal .modal-header .modal-close:hover {
    background: #374151;
    color: #e5e7eb;
  }
  .modal .modal-body .modal-warning {
    color: #e5e7eb;
  }
}