/* 브랜드 컬러 */
:root {
    --brand-primary: #DC3545;
    --brand-primary-dark: #C82333;
    --brand-light: #FFF5F5;
}

/* 공통 버튼 */
.btn-brand {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
}
.btn-brand:hover {
    background-color: var(--brand-primary-dark);
    border-color: var(--brand-primary-dark);
    color: #fff;
}

/* 요약 카드 */
.summary-card {
    border-radius: 12px;
    padding: 24px;
    position: relative;
    overflow: hidden;
}
.summary-card .card-value {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}
.summary-card .card-label {
    font-size: 0.85rem;
    color: #666;
    margin-top: 4px;
}
.summary-card .card-sub {
    font-size: 0.75rem;
    color: #999;
    margin-top: 2px;
}

/* 상태 뱃지 */
.badge-registered { background-color: #6c757d; }
.badge-confirmed { background-color: #ffc107; color: #333; }
.badge-paid { background-color: #28a745; }
.badge-unpaid { background-color: #dc3545; }

/* 역할 뱃지 */
.badge-super_admin { background-color: #dc3545; }
.badge-admin { background-color: #0d6efd; }
.badge-user { background-color: #6c757d; }

/* 상태 뱃지 텍스트 */
.badge-active { background-color: #28a745; }
.badge-inactive { background-color: #dc3545; }

/* 로그인 페이지 */
.login-left {
    background: var(--brand-primary);
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
}
.login-left h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}
.login-left .stat-item .value {
    font-size: 2rem;
    font-weight: 700;
}
.login-left .stat-item .label {
    font-size: 0.85rem;
    opacity: 0.8;
}
.login-right {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px;
}
.login-form-card {
    width: 100%;
    max-width: 400px;
}

/* 설정 탭 */
.settings-tab .nav-link {
    color: #666;
    border: none;
    padding: 10px 20px;
}
.settings-tab .nav-link.active {
    color: var(--brand-primary);
    border-bottom: 2px solid var(--brand-primary);
    font-weight: 600;
}

/* 사이드바 커스텀 */
.app-sidebar {
    display: flex;
    flex-direction: column;
}
.app-sidebar .sidebar-wrapper {
    flex: 1;
    overflow-y: auto;
}
.app-sidebar .sidebar-footer {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 8px 16px;
}
.app-sidebar .sidebar-footer .nav-link {
    font-size: 0.9rem;
}
.sidebar-brand .brand-image {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* DataTables 커스텀 */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
    margin-bottom: 15px;
}

/* 모바일 폼 */
.mobile-form-group {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
}
.mobile-form-group label {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 4px;
}
.mobile-form-group input,
.mobile-form-group select {
    border: none;
    padding: 4px 0;
    font-size: 1rem;
    font-weight: 500;
    width: 100%;
    outline: none;
}
.mobile-form-group input:focus {
    border-bottom: 2px solid var(--brand-primary);
}

/* 사진 촬영 영역 */
.photo-capture {
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin: 16px;
    cursor: pointer;
}
.photo-capture .camera-icon {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 12px;
}
.photo-capture p {
    color: #999;
    margin-bottom: 4px;
}
.photo-capture .ai-note {
    font-size: 0.8rem;
    color: #bbb;
}

/* 구분선 */
.divider-text {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    color: #999;
    font-size: 0.85rem;
}
.divider-text::before,
.divider-text::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}
.divider-text::before { margin-right: 12px; }
.divider-text::after { margin-left: 12px; }
