/* ======================================================
 * Admin Gate View CSS – FINAL (WHITE PAGE VERSION)
 * 기준: 레이아웃 유지 + 카드 스타일 제거
 * ====================================================== */

/* 전체 래퍼 */
.admin-gate-wrap {
    width: 100%;
    max-width: none;              /* ❌ 카드 폭 제거 */
    margin: 40px 0;               /* 좌우 여백 제거 */
    padding: 0 24px;              /* 페이지 여백만 유지 */
    background: transparent;      /* ❌ 배경 제거 */
    color: #222;                  /* 기본 흰 페이지 텍스트 */
    border-radius: 0;             /* ❌ 라운드 제거 */
    box-shadow: none;             /* ❌ 쉐도우 제거 */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

/* 제목 */
.admin-gate-title {
    margin: 0 0 28px;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.3px;
    text-align: left;             /* 페이지형 제목 */
    color: #111;
}

/* 정보 테이블 */
.admin-gate-table {
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 28px;
}

/* 행 */
.admin-gate-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
}

.admin-gate-row:last-child {
    border-bottom: none;
}

/* 라벨 */
.admin-gate-label {
    font-size: 13px;
    color: #777;
    letter-spacing: 0.4px;
}

/* 값 */
.admin-gate-value {
    font-size: 15px;
    line-height: 1.7;
    color: #222;
}

/* 내용 행 */
.admin-gate-content .admin-gate-value {
    background: #f7f7f7;          /* 연한 구분용 배경 */
    padding: 14px 16px;
    border-radius: 6px;
}

/* 액션 영역 */
.admin-gate-actions {
    display: flex;
    gap: 14px;
    justify-content: flex-start;  /* 페이지형 버튼 배치 */
    margin: 26px 0 18px;
}

/* ACTIVE 버튼 */
.btn-admin-active {
    min-width: 160px;
    padding: 14px 0;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    background: #ff5252;
    color: #fff;
    transition: background 0.2s ease;
}

.btn-admin-active:hover {
    background: #e64545;
}

/* ACTIVE 완료 상태 */
.btn-admin-active.is-active,
.btn-admin-active:disabled {
    background: #ddd !important;
    color: #999 !important;
    cursor: not-allowed !important;
    opacity: 1;
}

/* 보류 버튼 */
.btn-admin-hold {
    min-width: 120px;
    padding: 14px 0;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: #f5f5f5;
    color: #777;
    cursor: not-allowed;
}

/* 상태 텍스트 */
.admin-gate-status {
    margin-top: 12px;
    font-size: 14px;
    color: #444;
}

.admin-gate-status strong {
    color: #000;
}

/* ACTIVE 이후 안내 */
.admin-gate-note {
    margin-top: 22px;
    padding: 14px 18px;
    background: #fff5f5;
    border-left: 4px solid #ff5252;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

/* 에러 메시지 */
.admin-gate-error {
    max-width: none;
    margin: 60px 0;
    padding: 20px;
    text-align: left;
    background: #fff5f5;
    color: #d63031;
    border-left: 4px solid #ff6b6b;
    border-radius: 4px;
    font-size: 15px;
}

/* ==============================
   반응형
   ============================== */
@media (max-width: 768px) {
    .admin-gate-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .admin-gate-title {
        font-size: 26px;
    }

    .admin-gate-wrap {
        padding: 0 16px;
    }
}
