/* 导办页面专用样式 */

/* 页面布局 */
.guide-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.guide-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* 政务大厅布局 */
.hall-simulation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.hall-layout {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.hall-layout h2 {
    color: #333;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.hall-map {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-height: 400px;
}

.entrance-area {
    display: flex;
    gap: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
}

.kiosk-station {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #667eea;
    color: white;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    position: relative;
}

.kiosk-station:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.kiosk-station.active {
    animation: pulse-kiosk 2s infinite;
}

@keyframes pulse-kiosk {
    0%, 100% { box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3); }
    50% { box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6); }
}

.kiosk-station i {
    font-size: 2rem;
}

.status-indicator {
    position: absolute;
    top: -5px;
    right: -5px;
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
}

.status-indicator.online {
    background: #28a745;
    color: white;
}

.info-desk {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #f0f0f0;
    border-radius: 12px;
    flex: 1;
}

.info-desk i {
    font-size: 2rem;
    color: #666;
}

.waiting-area {
    display: flex;
    gap: 2rem;
    padding: 1.5rem;
    background: #e8f5e8;
    border-radius: 12px;
    border: 2px solid #d4edda;
}

.queue-display,
.seating-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    flex: 1;
}

.queue-display i,
.seating-area i {
    font-size: 2rem;
    color: #28a745;
}

.service-area {
    padding: 1.5rem;
    background: #fff3cd;
    border-radius: 12px;
    border: 2px solid #ffc107;
}

.window-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.service-window {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.service-window:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.service-window.busy {
    border: 2px solid #dc3545;
    background: #f8d7da;
}

.service-window.normal {
    border: 2px solid #28a745;
    background: #d4edda;
}

.window-status {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
}

.service-window.busy .window-status {
    background: #dc3545;
    color: white;
}

.service-window.normal .window-status {
    background: #28a745;
    color: white;
}

/* 智能导办机 */
.kiosk-demo {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.kiosk-screen {
    background: #000;
    border-radius: 15px;
    padding: 2rem;
    color: white;
    min-height: 500px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.screen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #667eea;
}

.screen-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: #667eea;
}

.screen-time {
    font-family: monospace;
    font-size: 1.1rem;
    color: #95a5a6;
}

.welcome-section {
    text-align: center;
    margin-bottom: 2rem;
}

.welcome-section h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.welcome-section p {
    color: #bdc3c7;
    font-size: 1.1rem;
}

.service-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.category-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    backdrop-filter: blur(5px);
}

.category-card:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #667eea;
    transform: translateY(-3px);
}

.category-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.category-title {
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.5rem;
    color: white;
}

.category-desc {
    text-align: center;
    color: #bdc3c7;
    font-size: 0.95rem;
}

.screen-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid #34495e;
}

.help-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.help-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.help-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #667eea;
}

/* 服务详情 */
.service-detail {
    animation: slideInRight 0.5s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.service-list h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.service-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
}

.service-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.8rem;
}

.service-info {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #bdc3c7;
}

.service-action {
    margin-left: auto;
    color: #667eea;
    font-size: 1.2rem;
}

/* 服务指引 */
.service-guide h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.guide-sections {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.guide-section {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.guide-section h5 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.guide-section p {
    color: #ecf0f1;
    margin-bottom: 0.5rem;
}

.guide-section ul {
    color: #bdc3c7;
    margin-left: 1.5rem;
}

.guide-section li {
    margin-bottom: 0.5rem;
}

.guide-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.action-btn.primary {
    background: #667eea;
    color: white;
}

.action-btn.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* 功能展示区域 */
.features-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-demo,
.queue-demo,
.material-check-demo {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.feature-demo h3,
.queue-demo h3,
.material-check-demo h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

/* 多终端支持 */
.device-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.device-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.device-item:hover {
    border-color: #667eea;
    transform: translateY(-3px);
}

.device-item i {
    font-size: 2.5rem;
    color: #667eea;
}

.device-status {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
}

/* 排队叫号展示 */
.queue-display-demo {
    background: #2c3e50;
    color: white;
    border-radius: 15px;
    padding: 2rem;
    font-family: 'Microsoft YaHei', monospace;
}

.display-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #34495e;
}

.current-time {
    font-size: 1.2rem;
    color: #3498db;
}

.hall-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #e74c3c;
}

.queue-info {
    display: flex;
    gap: 3rem;
    margin-bottom: 2rem;
}

.calling-section {
    flex: 1;
    text-align: center;
}

.calling-label {
    font-size: 1.1rem;
    color: #95a5a6;
    margin-bottom: 1rem;
}

.calling-number {
    font-size: 4rem;
    font-weight: 900;
    color: #e74c3c;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.calling-window {
    font-size: 1.3rem;
    color: #f39c12;
    font-weight: 600;
}

.waiting-section {
    flex: 1;
}

.waiting-label {
    font-size: 1.1rem;
    color: #95a5a6;
    margin-bottom: 1rem;
    text-align: center;
}

.waiting-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.wait-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.window-name {
    font-weight: 600;
    color: #3498db;
}

.wait-count {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f39c12;
}

.scrolling-notices {
    background: #e74c3c;
    padding: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.notice-text {
    color: white;
    text-align: center;
    animation: scrollText 15s linear infinite;
}

@keyframes scrollText {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* 材料预检 */
.check-interface {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #e0e0e0;
}

.check-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
}

.check-title h4 {
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
}

.completeness-indicator {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.completeness-text {
    font-weight: 600;
    color: #666;
}

.completeness-bar {
    width: 120px;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.completeness-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffc107 0%, #28a745 100%);
    transition: width 0.3s ease;
}

.completeness-percent {
    font-weight: 700;
    color: #667eea;
}

.material-checklist {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.check-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.check-item.completed {
    border-left: 4px solid #28a745;
    background: #f8fff8;
}

.check-item.missing {
    border-left: 4px solid #dc3545;
    background: #fff8f8;
}

.check-item.warning {
    border-left: 4px solid #ffc107;
    background: #fffcf0;
}

.check-status {
    font-size: 1.5rem;
}

.check-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.material-name {
    font-weight: 600;
    color: #333;
}

.check-result {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
}

.check-item.completed .check-result {
    background: #d4edda;
    color: #155724;
}

.check-item.missing .check-result {
    background: #f8d7da;
    color: #721c24;
}

.check-item.warning .check-result {
    background: #fff3cd;
    color: #856404;
}

.check-suggestions {
    background: #e8f5e8;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.check-suggestions h5 {
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.check-suggestions ul {
    margin-left: 1.5rem;
}

.check-suggestions li {
    margin-bottom: 0.8rem;
    color: #666;
    line-height: 1.6;
}

.check-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* 运营数据 */
.analytics-panel {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.analytics-panel h3 {
    color: #333;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.analytics-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.analytics-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    color: #667eea;
}

.card-header i {
    font-size: 1.5rem;
}

.card-header span {
    font-weight: 600;
    font-size: 1.1rem;
}

.card-value {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #333;
}

.unit {
    font-size: 1rem;
    color: #666;
    font-weight: 600;
}

.card-trend {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.card-trend.up {
    color: #28a745;
}

.card-trend.down {
    color: #dc3545;
}

.card-trend i {
    font-size: 0.8rem;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .guide-main {
        padding: 1.5rem;
    }
    
    .hall-simulation {
        grid-template-columns: 1fr;
    }
    
    .features-showcase {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hall-map {
        gap: 1rem;
    }
    
    .entrance-area,
    .waiting-area {
        flex-direction: column;
    }
    
    .window-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-categories {
        grid-template-columns: 1fr;
    }
    
    .help-buttons {
        flex-direction: column;
    }
    
    .device-grid {
        grid-template-columns: 1fr;
    }
    
    .queue-info {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .calling-number {
        font-size: 3rem;
    }
    
    .completeness-indicator {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .check-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .check-actions {
        flex-direction: column;
    }
    
    .analytics-grid {
        grid-template-columns: 1fr;
    }
}

/* 动画效果 */
.slide-up {
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
} 