/* 전역 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --background: #f8fafc;
    --surface: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Malgun Gothic', sans-serif;
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    background: var(--surface);
    position: relative;
}

/* 모바일 화면 제한 (근로자용 화면만) */
@media (max-width: 768px) {
    #login-screen,
    #register-screen,
    #worker-dashboard,
    #schedule-screen,
    #attendance-screen,
    #education-screen,
    #contract-screen,
    #salary-screen,
    #profile-screen {
        max-width: 480px;
        margin: 0 auto;
    }
}

/* 관리자 화면 반응형 */
body.manager-mode .container {
    max-width: 1400px;
}

@media (min-width: 769px) {
    body.manager-mode .container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    body.manager-mode .dashboard {
        max-width: 1400px;
        margin: 0 auto;
    }
    
    body.manager-mode .content {
        max-width: 1400px;
        margin: 0 auto;
    }
    
    body.manager-mode .stats-cards {
        grid-template-columns: repeat(4, 1fr);
    }
    
    body.manager-mode .menu-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    body.manager-mode .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    body.manager-mode .schedule-list,
    body.manager-mode .worker-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    body.manager-mode .salary-table {
        overflow-x: auto;
    }
    
    body.manager-mode .attendance-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    body.manager-mode .contract-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* 랜딩 페이지 스타일 */
#landing-screen {
    background: #ffffff;
}

.landing-header {
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.landing-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-login {
    background: var(--primary-color);
    color: white;
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-login:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.landing-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
    min-height: 600px;
}

.hero-content {
    max-width: 550px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-hero.primary {
    background: var(--primary-color);
    color: white;
}

.btn-hero.primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-hero.secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-hero.secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Stats Section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 60px 0;
    background: var(--background);
    margin: 0 -40px;
    padding-left: 40px;
    padding-right: 40px;
    border-radius: 16px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Features Section */
.features-section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 60px;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.feature-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 16px;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 0 -40px;
    border-radius: 16px;
}

.cta-section h2 {
    font-size: 40px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 20px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
}

.btn-cta {
    background: white;
    color: #667eea;
    padding: 18px 48px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* Footer */
.landing-footer {
    background: #1e293b;
    color: white;
    padding: 40px 0;
    margin: 0 -40px;
    text-align: center;
}

.landing-footer p {
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

/* 반응형 - 모바일 */
@media (max-width: 768px) {
    .landing-nav {
        padding: 16px 20px;
    }
    
    .nav-links {
        display: none;
    }
    
    .landing-content {
        padding: 0 20px;
    }
    
    .hero-section {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 0;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-image {
        order: -1;
    }
    
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        padding: 40px 20px;
        margin: 0 -20px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .features-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .cta-section {
        padding: 60px 20px;
        margin: 0 -20px;
    }
    
    .cta-section h2 {
        font-size: 28px;
    }
    
    .cta-section p {
        font-size: 16px;
    }
    
    .landing-footer {
        margin: 0 -20px;
    }
}

/* 화면 전환 */
.screen {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.screen.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 헤더 */
.header {
    background: var(--primary-color);
    color: white;
    padding: 20px;
    box-shadow: var(--shadow);
    position: relative;
}

.header h1 {
    font-size: 24px;
    margin-bottom: 8px;
}

.header h2 {
    font-size: 20px;
}

.subtitle {
    font-size: 14px;
    opacity: 0.9;
}

.btn-back {
    background: transparent;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 5px 10px;
    margin-bottom: 10px;
}

.btn-logout {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

/* 로그인 박스 */
.login-box {
    padding: 40px 20px;
}

.login-box h2 {
    margin-bottom: 24px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* 버튼 */
.btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
    margin-top: 10px;
}

.btn-secondary:hover {
    background: #475569;
}

.btn-small {
    width: auto;
    padding: 8px 16px;
    font-size: 14px;
}

/* 데모 계정 */
.demo-accounts {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.demo-accounts h3 {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    text-align: center;
}

.login-footer {
    margin-top: 20px;
    text-align: center;
    color: var(--text-secondary);
}

.login-footer a {
    color: var(--primary-color);
    text-decoration: none;
}

.login-footer span {
    margin: 0 10px;
}

/* 회원가입 */
.register-box {
    padding: 20px;
}

.user-type-select {
    text-align: center;
    padding: 20px 0;
}

.type-buttons {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.type-btn {
    flex: 1;
    padding: 32px 20px;
    background: var(--surface);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.type-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.type-btn .icon {
    font-size: 48px;
    display: block;
    margin-bottom: 12px;
}

.type-btn span:last-child {
    font-size: 18px;
    font-weight: 600;
}

/* 대시보드 */
.dashboard {
    padding: 20px;
}

.user-info {
    display: flex;
    align-items: center;
    padding: 20px;
    background: var(--surface);
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.profile-img {
    width: 60px;
    height: 60px;
    background: var(--background);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-right: 16px;
}

.user-info .info h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.user-info .info p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* 통계 카드 */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--surface);
    padding: 16px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
}

.stat-card h4 {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.stat-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-value.warning {
    color: var(--warning-color);
}

/* 메뉴 그리드 */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.menu-item {
    background: var(--surface);
    border: 1px solid var(--border-color);
    padding: 24px 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
}

.menu-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.menu-item .icon {
    font-size: 32px;
}

.menu-item span:last-child {
    font-size: 14px;
    font-weight: 600;
}

.badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--danger-color);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.badge.success {
    background: var(--success-color);
}

.badge.warning {
    background: var(--warning-color);
}

.badge.danger {
    background: var(--danger-color);
}

/* 알림 */
.notifications {
    background: var(--surface);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.notifications h3 {
    font-size: 16px;
    margin-bottom: 16px;
}

.notification-item {
    padding: 16px;
    background: var(--background);
    border-radius: 8px;
    margin-bottom: 12px;
    position: relative;
}

.notification-item.new {
    border-left: 4px solid var(--primary-color);
}

.notification-item.warning {
    border-left: 4px solid var(--warning-color);
    background: #fef3c7;
}

.notification-item p {
    margin-bottom: 4px;
}

.notification-item .time {
    font-size: 12px;
    color: var(--text-secondary);
}

/* 콘텐츠 영역 */
.content {
    padding: 20px;
}

/* 섹션 박스 */
.section-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

/* 탭 */
.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.tab {
    flex: 1;
    padding: 12px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* 작업 카드 */
.job-card {
    background: var(--surface);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 16px;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.job-header h3 {
    font-size: 18px;
}

.job-details {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.job-details p {
    margin-bottom: 8px;
    font-size: 14px;
}

.job-info {
    margin-bottom: 16px;
}

.info-badge {
    display: inline-block;
    background: var(--success-color);
    color: white;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 13px;
    margin-bottom: 8px;
}

.info-badge.warning {
    background: var(--warning-color);
}

.info-text {
    font-size: 13px;
    color: var(--text-secondary);
}

/* 스케줄 아이템 */
.schedule-item {
    background: var(--surface);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
}

.schedule-item.confirmed {
    border-left: 4px solid var(--success-color);
}

.schedule-item.pending {
    border-left: 4px solid var(--warning-color);
}

.schedule-item h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.schedule-item p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.status-badges {
    margin-top: 12px;
    display: flex;
    gap: 8px;
}

/* 히스토리 아이템 */
.history-item {
    background: var(--background);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
}

.history-item h3 {
    font-size: 15px;
    margin-bottom: 8px;
}

.history-item p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

/* 교육 */
.education-status,
.education-info {
    margin-bottom: 24px;
}

.education-status h3,
.education-info h3 {
    font-size: 18px;
    margin-bottom: 16px;
}

.status-card {
    background: var(--surface);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
}

.status-card.warning {
    border-left: 4px solid var(--warning-color);
}

.status-card.success {
    border-left: 4px solid var(--success-color);
}

.status-card p {
    margin-bottom: 12px;
}

.education-info ul {
    background: var(--background);
    padding: 20px;
    border-radius: 8px;
    list-style-position: inside;
}

.education-info li {
    margin-bottom: 8px;
    font-size: 14px;
}

/* 계약서 */
.contract-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contract-item {
    background: var(--surface);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.contract-item.pending {
    border-left: 4px solid var(--warning-color);
}

.contract-item.completed {
    border-left: 4px solid var(--success-color);
}

.contract-item h3 {
    font-size: 16px;
    margin-bottom: 12px;
}

.contract-item p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.action-buttons {
    margin-top: 16px;
    display: flex;
    gap: 8px;
}

.action-buttons .btn {
    flex: 1;
}

/* QR 섹션 */
.qr-section {
    margin-bottom: 32px;
}

.today-work {
    background: var(--surface);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    text-align: center;
}

.today-work p {
    margin-bottom: 4px;
}

.qr-scanner {
    text-align: center;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    margin: 20px auto;
    background: var(--background);
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.qr-placeholder p:first-child {
    font-size: 64px;
    margin-bottom: 8px;
}

/* 출퇴근 기록 */
.attendance-history h3 {
    font-size: 18px;
    margin-bottom: 16px;
}

.attendance-record {
    background: var(--surface);
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: var(--shadow);
}

.attendance-record p {
    font-size: 14px;
    margin-bottom: 4px;
}

/* 급여 */
.salary-summary {
    background: var(--surface);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

.salary-summary h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.salary-amount {
    text-align: center;
    padding: 20px;
    background: var(--background);
    border-radius: 8px;
    margin-bottom: 20px;
}

.salary-amount .label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.salary-amount .amount {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
}

.salary-details {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 15px;
}

.detail-row.total {
    border-top: 2px solid var(--border-color);
    margin-top: 8px;
    padding-top: 16px;
}

.payslip-list h3 {
    font-size: 18px;
    margin-bottom: 16px;
}

.payslip-item {
    background: var(--surface);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 16px;
}

.payslip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.payslip-header h4 {
    font-size: 16px;
}

.payslip-item p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.payslip-item .btn {
    margin-top: 12px;
}

/* 관리자 스케줄 */
.action-bar {
    margin-bottom: 20px;
}

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.schedule-card {
    background: var(--surface);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.schedule-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.schedule-info {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.schedule-info p {
    font-size: 14px;
    margin-bottom: 8px;
}

.warning-text {
    color: var(--warning-color);
    font-weight: 600;
}

.schedule-status {
    background: var(--background);
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.status-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.status-item span:last-child {
    font-weight: 600;
}

.status-item .warning {
    color: var(--warning-color);
}

/* 근로자 관리 */
.search-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.search-input {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
}

.filters {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    overflow-x: auto;
}

.filter-btn {
    padding: 8px 16px;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.worker-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.worker-item {
    background: var(--surface);
    padding: 16px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.worker-info h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.worker-info p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 2px;
}

.worker-stats {
    text-align: right;
}

.worker-stats p {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 2px;
}

/* 급여 관리 */
.salary-overview {
    background: var(--surface);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.salary-overview h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.stat-box {
    background: var(--background);
    padding: 16px;
    border-radius: 8px;
    text-align: center;
}

.stat-box .label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.stat-box .value {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.salary-table {
    background: var(--surface);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow);
    overflow-x: auto;
}

.salary-table table {
    width: 100%;
    border-collapse: collapse;
}

.salary-table th,
.salary-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 13px;
}

.salary-table th {
    background: var(--background);
    font-weight: 600;
    white-space: nowrap;
}

.salary-table td {
    white-space: nowrap;
}

/* 모달 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.2s ease-in;
}

.modal-content {
    background-color: var(--surface);
    margin: 10% auto;
    padding: 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    position: relative;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    color: var(--text-secondary);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: var(--text-primary);
}

/* 반응형 */
@media (max-width: 480px) {
    .stats-cards {
        grid-template-columns: 1fr;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* 태블릿 및 데스크톱 반응형 (관리자 전용) */
@media (min-width: 481px) and (max-width: 768px) {
    body.manager-mode .stats-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    body.manager-mode .menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    body.manager-mode .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    body.manager-mode .stats-cards {
        grid-template-columns: repeat(3, 1fr);
    }
    
    body.manager-mode .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 출결 리스트 스타일 */
.attendance-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 프로필 화면 */
.profile-section {
    max-width: 600px;
    margin: 0 auto;
}

.profile-photo {
    text-align: center;
    margin-bottom: 32px;
}

.photo-placeholder {
    width: 120px;
    height: 120px;
    margin: 0 auto 16px;
    background: var(--background);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--border-color);
}

.profile-form {
    background: var(--surface);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.profile-form h3 {
    font-size: 16px;
    color: var(--text-primary);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
}

.document-section {
    background: var(--surface);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.document-section h3 {
    font-size: 16px;
}

.danger-zone {
    background: var(--surface);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

/* 서류 관리 */
.document-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.document-item {
    background: var(--surface);
    padding: 16px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 16px;
}

.doc-icon {
    font-size: 32px;
    width: 50px;
    height: 50px;
    background: var(--background);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.doc-info {
    flex: 1;
}

.doc-info h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.doc-info p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 2px;
}

.doc-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.certificate-request {
    max-width: 600px;
    margin: 0 auto;
}

.info-box {
    margin-bottom: 16px;
}

.info-box ul {
    margin: 0;
}

.info-box li {
    margin-bottom: 4px;
}

/* 반응형 - 서류 아이템 */
@media (max-width: 480px) {
    .document-item {
        flex-direction: column;
        text-align: center;
    }
    
    .doc-actions {
        width: 100%;
        flex-direction: row;
    }
    
    .doc-actions .btn {
        flex: 1;
    }
}

/* 회원 승인 관리 */
.approval-item {
    background: var(--surface);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 16px;
}

.approval-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.approval-header h3 {
    font-size: 18px;
    color: var(--text-primary);
}

.approval-details {
    background: var(--background);
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row .label {
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 120px;
}

.approval-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.approval-actions .btn {
    flex: 1;
    min-width: 100px;
}

@media (max-width: 480px) {
    .detail-row {
        flex-direction: column;
        gap: 4px;
    }
    
    .detail-row .label {
        font-size: 12px;
    }
}

/* 설정 화면 */
.settings-section {
    background: var(--surface);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.settings-section h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.setting-item:last-child {
    border-bottom: none;
}

.setting-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.setting-info p {
    font-size: 14px;
    color: var(--text-secondary);
}

.setting-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.setting-control input[type="number"],
.setting-control input[type="text"],
.setting-control input[type="tel"],
.setting-control input[type="email"] {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
}

.setting-control input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .setting-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .setting-control {
        width: 100%;
    }
    
    .setting-control input[type="number"],
    .setting-control input[type="text"],
    .setting-control input[type="tel"],
    .setting-control input[type="email"] {
        width: 100%;
    }
}

/* 유틸리티 */
.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 8px;
}

.mt-2 {
    margin-top: 16px;
}

.mb-1 {
    margin-bottom: 8px;
}

.mb-2 {
    margin-bottom: 16px;
}

/* ========================
   구인자 전용 스타일
   ======================== */

/* 템플릿 그리드 */
.template-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.template-card {
    background: var(--surface);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.template-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.template-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 8px;
}

.template-title {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

/* 폼 행 */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* 자동 계산 박스 */
.auto-calc-box {
    background: #f0f9ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
}

.auto-calc-box h4 {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.auto-calc-box p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 6px 0;
    display: flex;
    justify-content: space-between;
}

.auto-calc-box span {
    font-weight: 600;
    color: var(--text-primary);
}

/* 구인자 공고 카드 */
.employer-job-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
}

.employer-job-card.disabled {
    opacity: 0.7;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.job-header h3 {
    font-size: 16px;
    margin: 0;
    flex: 1;
}

.job-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 12px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.job-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

.mini-badge {
    background: #e0e7ff;
    color: #4338ca;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
}

.urgent-badge {
    background: #fef3c7;
    color: #92400e;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    margin: 12px 0;
    display: inline-block;
}

.job-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

/* 공고 정보 배너 */
.job-info-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.job-info-banner h3 {
    margin: 0 0 8px 0;
}

.job-info-banner p {
    margin: 0;
    opacity: 0.9;
}

/* 필터 바 */
.filter-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.filter-btn {
    background: var(--surface);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.filter-btn:hover {
    background: #f1f5f9;
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* 지원자 카드 */
.applicant-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.applicant-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.applicant-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.profile-section {
    display: flex;
    gap: 12px;
    align-items: center;
}

.profile-section .profile-img {
    width: 48px;
    height: 48px;
    line-height: 48px;
    font-size: 24px;
}

.badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}

.cert-badge {
    background: #f1f5f9;
    color: #64748b;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    border: 1px solid #e2e8f0;
}

.cert-badge.verified {
    background: #d1fae5;
    color: #065f46;
    border-color: #10b981;
}

.applicant-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 16px 0;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
}

.stat-item {
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.stat-value {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.applicant-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.btn-success {
    background: var(--success-color);
    color: white;
}

.btn-success:hover {
    background: #059669;
}

.btn-danger {
    background: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

.bulk-actions {
    margin-top: 20px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 12px;
}

/* QR 코드 */
.qr-code-box {
    margin: 20px 0;
}

.attendance-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 20px 0;
}

.stat-box {
    background: #f8fafc;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
}

.stat-box h4 {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-number.warning {
    color: var(--warning-color);
}

.attendance-log {
    margin-top: 24px;
}

.attendance-log h4 {
    font-size: 16px;
    margin-bottom: 12px;
}

.log-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 8px;
}

.log-time {
    font-weight: 600;
    color: var(--text-primary);
    min-width: 50px;
}

.log-name {
    flex: 1;
    color: var(--text-secondary);
}

/* 결제 카드 */
.payment-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
}

.payment-card.completed {
    background: #f0fdf4;
    border-color: #86efac;
}

.payment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.payment-header h3 {
    font-size: 16px;
    margin: 0;
}

.payment-details {
    background: #f8fafc;
    padding: 16px;
    border-radius: 8px;
    margin: 16px 0;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.detail-row.total {
    border-top: 2px solid var(--border-color);
    margin-top: 8px;
    padding-top: 12px;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-primary);
}

.payment-date {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 12px 0;
}

.history-summary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.history-summary h3 {
    margin: 0 0 16px 0;
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 16px 0 20px 0;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.summary-item span:first-child {
    font-size: 14px;
    opacity: 0.9;
}

.summary-value {
    font-size: 20px;
    font-weight: 700;
}

/* 계약서 카드 */
.contract-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
}

.contract-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.contract-header h4 {
    font-size: 16px;
    margin: 0 0 4px 0;
}

.contract-info {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 12px 0;
}

.contract-info p {
    margin: 6px 0;
}

.contract-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

/* B2B 카드 */
.b2b-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
}

.b2b-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.b2b-header h3 {
    font-size: 16px;
    margin: 0;
}

.b2b-details {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 12px 0;
}

.b2b-details p {
    margin: 6px 0;
}

.b2b-progress {
    margin: 16px 0;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.progress-bar {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.b2b-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 16px 0;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
}

.stat-mini {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-mini span:first-child {
    font-size: 12px;
    color: var(--text-secondary);
}

.stat-mini span:last-child {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.b2b-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

/* 정보 배너 */
.info-banner {
    background: #f0f9ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

.info-banner h4 {
    font-size: 16px;
    color: var(--primary-color);
    margin: 0 0 8px 0;
}

.info-banner p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 6px 0;
}

.info-banner ul {
    margin-top: 12px;
    margin-left: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

.info-banner ul li {
    margin: 6px 0;
}

/* 반응형 */
@media (max-width: 768px) {
    .template-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .applicant-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .attendance-stats {
        grid-template-columns: 1fr;
    }
    
    .summary-stats {
        grid-template-columns: 1fr;
    }
    
    .b2b-stats {
        grid-template-columns: 1fr;
    }
}

/* 통계 화면 전용 스타일 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.stat-change {
    font-size: 13px;
    margin-top: 4px;
}

.stat-change.positive {
    color: var(--success-color);
}

.stat-change.negative {
    color: var(--danger-color);
}

/* 차트 컨테이너 */
.chart-container {
    margin: 20px 0;
}

.bar-chart {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bar-item {
    display: grid;
    grid-template-columns: 120px 1fr 80px;
    gap: 12px;
    align-items: center;
}

.bar-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.bar-wrapper {
    background: #e2e8f0;
    border-radius: 8px;
    height: 32px;
    position: relative;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 8px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    transition: width 0.3s ease;
}

.bar-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: right;
}

/* 트렌드 차트 */
.trend-chart {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.trend-item {
    display: grid;
    grid-template-columns: 80px 1fr 120px;
    gap: 12px;
    align-items: center;
}

.trend-month {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.trend-bar {
    background: #e2e8f0;
    border-radius: 8px;
    height: 24px;
    overflow: hidden;
}

.trend-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: right;
}

/* 지원자 현황 */
.applicant-status {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 20px 0;
}

.status-row {
    display: grid;
    grid-template-columns: 100px 1fr 120px;
    gap: 12px;
    align-items: center;
    font-size: 14px;
}

.status-bar {
    display: block;
}

.status-value {
    text-align: right;
    font-weight: 600;
    color: var(--text-primary);
}

/* 메트릭 그리드 */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.metric-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.metric-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.metric-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.metric-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

/* 교육 통계 */
.education-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
}

.stat-row:last-child {
    border-bottom: none;
}

/* 폼 컨트롤 */
.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* 반응형 업데이트 */
@media (max-width: 768px) {
    .bar-item {
        grid-template-columns: 80px 1fr 60px;
    }
    
    .trend-item {
        grid-template-columns: 60px 1fr 100px;
    }
    
    .status-row {
        grid-template-columns: 70px 1fr 100px;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================
   업체 관리 화면 스타일
   ======================== */

/* 업체 요약 통계 */
.employer-summary-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 20px 0;
}

.summary-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.summary-label {
    font-size: 13px;
    color: var(--text-secondary);
}

.summary-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

/* 업체 카드 */
.employer-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
    transition: all 0.2s;
}

.employer-card:hover {
    box-shadow: var(--shadow-lg);
}

.employer-card.disabled {
    opacity: 0.7;
    background: #fafafa;
}

.employer-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.employer-info {
    display: flex;
    gap: 12px;
    align-items: center;
    flex: 1;
}

.employer-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.employer-info h4 {
    margin: 0 0 4px 0;
    font-size: 18px;
    color: var(--text-primary);
}

.employer-meta {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

/* 업체 상세 정보 */
.employer-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 16px 0;
    padding: 16px;
    background: #f8fafc;
    border-radius: 8px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    font-size: 12px;
    color: var(--text-secondary);
}

.detail-item > span:last-child {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

/* 업체 통계 행 */
.employer-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 16px 0;
    padding: 16px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 8px;
}

.stat-mini-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
}

.stat-mini-label {
    font-size: 12px;
    color: #0369a1;
}

.stat-mini-value {
    font-size: 18px;
    font-weight: 700;
    color: #0c4a6e;
}

/* 업체 액션 버튼 */
.employer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

/* 승인 대기 정보 */
.pending-info {
    margin: 16px 0;
    padding: 16px;
    background: #fffbeb;
    border: 1px solid #fef3c7;
    border-radius: 8px;
}

.pending-info h5 {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: #92400e;
}

.document-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.document-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: white;
    border-radius: 6px;
    font-size: 14px;
}

/* 반응형 - 업체 관리 */
@media (max-width: 768px) {
    .employer-summary-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .employer-details {
        grid-template-columns: 1fr;
    }
    
    .employer-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .employer-actions {
        flex-direction: column;
    }
    
    .employer-actions button {
        width: 100%;
    }
}
