:root {
    --color-primary: #2D6A4F;       /* 메인 색상 (버튼, 포인트) */
    --color-primary-hover: #1B4332; /* 버튼 호버 색상 */
    --color-background: #F8F9FA;    /* 배경색 */
    --color-surface: #FFFFFF;       /* 카드/폼 배경색 */
    --color-text: #212529;          /* 기본 텍스트 색상 */
    --color-text-sub: #6C757D;      /* 보조 텍스트 색상 */
    --color-error: #DC3545;         /* 에러 메시지 색상 */
    --color-border: #DEE2E6;        /* 입력창 테두리 색상 */
    --color-input-focus: #2D6A4F;   /* 입력창 포커스 색상 */

    --font-size-base: 16px;
    --border-radius: 12px;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* 기본 초기화 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-background);
    color: var(--color-text);
    font-family: 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
    font-size: var(--font-size-base);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

/* 공통 카드 컨테이너 */
.card {
    background: var(--color-surface);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 32px 24px;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

/* 로고 */
.logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

/* 안내 문구 */
.guide-text {
    color: var(--color-text-sub);
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.6;
}

/* 입력창 */
.input-field {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--color-border);
    border-radius: 8px;
    font-size: 16px;
    color: var(--color-text);
    background: var(--color-surface);
    margin-bottom: 12px;
    outline: none;
    transition: border-color 0.2s;
}

.input-field:focus {
    border-color: var(--color-input-focus);
}

/* 제출 버튼 */
.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--color-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    transition: background-color 0.2s;
}

.submit-btn:hover {
    background-color: var(--color-primary-hover);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 에러 메시지 */
.error-message {
    color: var(--color-error);
    font-size: 13px;
    margin-top: 12px;
    display: none;
    text-align: left;
}

/* result 페이지 */
.welcome-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
}

.section-info {
    font-size: 16px;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 20px;
}

.staff-guide {
    font-size: 13px;
    color: var(--color-text-sub);
    background: var(--color-background);
    border-radius: 8px;
    padding: 12px;
}

/* denied / desktop 페이지 */
.denied-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.denied-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.denied-desc {
    font-size: 14px;
    color: var(--color-text-sub);
    line-height: 1.6;
}