@import './base.css';
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700&display=swap');

/* Y이드스트릿체 웹폰트 정의 (로컬 미설치 기기 대응) */
@font-face {
  font-family: 'Yde street';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2110@1.0/YdestreetB.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Yde street';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2110@1.0/YdestreetL.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body,
#app,
#app-container {
  width: 100%;
  height: 100%;
  background: #fff;
  overflow-x: hidden;
}

#app,
#app-container {
  min-height: 100vh;
}

a {
  text-decoration: none;
}

/* 1. 공통 페이지 래퍼 (정중앙 정렬용) */
.app-page-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100%;
  background: #fff;
}

/* 2. 공통 모바일 뷰 컨텐츠 컨테이너 (가용 높이 100% 핏 및 반응형 지원) */
.app-content-container {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 60px 24px 40px;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
}

@media (min-width: 768px) {
  .app-content-container {
    width: 390px;
    height: 844px;
    min-height: 844px;
    padding: 80px 32px 60px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  }
}

/* 3. 폰트 패밀리 지정 */
.global-font-noto {
  font-family:
    'Noto Sans KR',
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
}

.global-font-yde {
  font-family:
    'Yde street',
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
}

/* 4. 공통 웰컴 초록색 라운드 버튼 */
.btn-primary-green {
  width: 325px;
  max-width: 100%;
  height: 50px;
  border: none;
  border-radius: 30px;
  background-color: #0a6e3c;
  color: #fff;
  font-family:
    'Noto Sans KR',
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.2s, background-color 0.2s;
  box-sizing: border-box;
}

.btn-primary-green:hover:not(:disabled) {
  opacity: 0.9;
}

.btn-primary-green:active:not(:disabled) {
  opacity: 0.85;
}

.btn-primary-green:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

.error-message {
  padding: 40px 20px;
  text-align: center;
  font-family: 'Noto Sans KR', sans-serif;
  color: #ff4d4f;
  font-size: 16px;
}

/* 5. 공통 하단 네비게이션 바 컨테이너 */
.div27 {
  position: absolute;
  bottom: 40px;
  left: calc(50% - 162.5px);
  width: 325px;
  height: 50px;
  border-radius: 40px;
  background-color: #131313;
  z-index: 100;
}
