:root {
    --primary-color: #3498db !important;
    --primary-dark: #2980b9 !important;
}        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Noto Sans KR', sans-serif;
        }
        
        body {
            font-size: 16px;
            line-height: 1.6;
            color: #333;
        }
        
        a {
            text-decoration: none;
            color: inherit;
        }
        
        ul, li {
            list-style: none;
        }
        
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        /* 헤더 스타일 */
        header {
            background-color: #fff;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }
        
        .logo {
            font-size: 24px;
            font-weight: bold;
        }
        
        .logo img {
            height: 40px;
        }
        
        .main-nav {
            display: flex;
        }
        
        .main-nav > li {
            position: relative;
            margin-left: 20px;
        }
        
        .main-nav > li > a {
            padding: 10px 15px;
            display: block;
            font-weight: bold;
        }
        
        .sub-menu {
            position: absolute;
            top: 100%;
            left: 0;
            background-color: #fff;
            width: 200px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }
        
        .main-nav > li:hover .sub-menu {
            opacity: 1;
            visibility: visible;
        }
        
        .sub-menu li a {
            padding: 10px 15px;
            display: block;
        }
        
        .sub-menu li a:hover {
            background-color: #f8f8f8;
        }
        
        .mobile-menu-toggle {
            display: none;
            font-size: 24px;
            cursor: pointer;
        }
        
        /* 배너 슬라이더 스타일 */
        .banner-slider {
            position: relative;
            overflow: hidden;
            height: 500px;
        }
        
        .slides {
            display: flex;
            width: <?php echo count($banners) * 100; ?>%; /* 슬라이드 개수에 따라 동적 설정 */
            transition: transform 0.5s ease-in-out;
        }
        
        .slide {
            width: <?php echo 100 / count($banners); ?>%; /* 슬라이드 개수에 따라 동적 설정 */
            height: 500px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 24px;
            background-size: cover;
            background-position: center;
        }
        
        .slide-content {
            text-align: center;
            max-width: 80%;
            padding: 20px;
            background-color: rgba(0, 0, 0, 0.5);
            border-radius: 10px;
        }
        
        .slide-content h2 {
            font-size: 36px;
            margin-bottom: 20px;
        }
        
        .slide-content p {
            font-size: 18px;
            margin-bottom: 20px;
        }
        
        .btn {
            display: inline-block;
            padding: 10px 20px;
            background-color: var(--primary-color);
            color: #fff;
            border-radius: 5px;
            transition: background-color 0.3s ease;
        }
        
        .btn:hover {
            background-color: var(--primary-dark);
        }
        
        .slider-nav {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
        }
        
        .slider-dot {
            width: 12px;
            height: 12px;
            background-color: rgba(255,255,255,0.5);
            border-radius: 50%;
            margin: 0 5px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }
        
        .slider-dot.active {
            background-color: #fff;
        }
        
/* 서비스 요청 목록 스타일 - 모바일 높이 제한 */
.service-requests-section {
    background-color: #f8f9fa;
    padding: 30px 0;
    margin-bottom: 30px;
}

.ticker-container {
    position: relative;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    height: 430px; /* 기본 높이 */
}

.ticker-header {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 15px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.ticker-title {
    font-size: 18px;
    margin: 0;
}

.ticker-count {
    background-color: rgba(255,255,255,0.2);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 14px;
}

.ticker-body {
    height: calc(100% - 48px);
    overflow-y: auto; /* 스크롤바 추가 */
    position: relative;
}

/* 스크롤바 스타일 */
.ticker-body::-webkit-scrollbar {
    width: 6px;
}

.ticker-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.ticker-body::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.ticker-body::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.ticker-list {
    width: 100%;
}

.ticker-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
    background-color: white;
    transition: background-color 0.3s ease;
    min-height: 105px; /* 최소 높이 지정 */
    box-sizing: border-box;
}

.ticker-item:hover {
    background-color: #f5f5f5;
}

.ticker-item:last-child {
    border-bottom: none;
}

.ticker-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 5px;
}

.ticker-col {
    padding-right: 15px;
    margin-bottom: 5px;
    flex: 1 1 50%;
    min-width: 150px; /* 최소 너비 지정 */
}

.ticker-label {
    font-weight: bold;
    color: #666;
    margin-right: 5px;
    font-size: 12px;
    display: inline-block;
}

.ticker-value {
    font-size: 14px;
    display: inline-block;
    word-break: break-all; /* 긴 텍스트 줄바꿈 */
}

.ticker-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    color: white;
    text-align: center;
}

.status-접수 {
    background-color: #007bff;
}

.status-진행중 {
    background-color: #ffc107;
    color: #212529;
}

.status-완료 {
    background-color: #28a745;
}

.status-취소 {
    background-color: #dc3545;
}

.status-보류 {
    background-color: #6c757d;
}

/* 새로고침 버튼 */
.ticker-refresh {
    background-color: transparent;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
    transition: transform 0.3s ease;
}

.ticker-refresh:hover {
    transform: rotate(180deg);
}

/* 로딩 애니메이션 */
.ticker-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: #666;
}

.ticker-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 자동 롤링 표시기 */
.ticker-auto-indicator {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0,0,0,0.1);
    color: #555;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 15px;
    display: flex;
    align-items: center;
}

.ticker-auto-indicator i {
    margin-right: 5px;
}

/* 접기/펼치기 토글 버튼 */
.ticker-toggle-container {
    text-align: center;
    padding: 10px 0;
    display: none; /* 기본적으로 숨김 */
}

.ticker-toggle-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 15px;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.ticker-toggle-btn i {
    margin-right: 5px;
}

.ticker-container.collapsed .ticker-body {
    max-height: 150px; /* 접었을 때 높이 */
    overflow: hidden;
}

.ticker-container.collapsed .ticker-auto-indicator {
    display: none;
}

/* 모바일 최적화 */
@media (max-width: 768px) {
    .service-requests-section {
        padding: 20px 0;
    }
    
    .ticker-container {
        height: auto; /* 고정 높이 제거 */
        max-height: 300px; /* 모바일에서 최대 높이 제한 */
    }
    
    .ticker-body {
        max-height: 250px; /* 본문의 최대 높이 제한 */
        overflow-y: auto; /* 스크롤 가능하게 */
    }
    
    .ticker-toggle-container {
        display: block; /* 모바일에서만 표시 */
    }
    
    .ticker-row {
        flex-direction: column;
    }
    
    .ticker-col {
        flex: 1 1 100%;
        padding-right: 0;
        margin-bottom: 5px;
    }
    
    .ticker-item {
        min-height: 130px; /* 모바일에서 더 높은 높이 */
        padding: 12px 10px;
    }
    
    .ticker-label, .ticker-value {
        display: block; /* 세로로 배치 */
        word-break: break-word;
        line-height: 1.4;
    }
    
    .ticker-value {
        padding-left: 5px;
    }
    
    /* 접히는 효과 추가 */
    .ticker-container.collapsed {
        max-height: 150px;
        overflow: hidden;
    }
    
    .ticker-container.collapsed .ticker-body {
        max-height: 100px;
    }
    
    /* 그라데이션 효과로 접혀있음을 표시 */
    .ticker-container.collapsed::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 30px;
        background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.9));
        pointer-events: none;
    }
}

@media (max-width: 480px) {
    .ticker-container {
        max-height: 250px;
    }
    
    .ticker-body {
        max-height: 200px;
    }
    
    .ticker-header {
        padding: 10px;
    }
    
    .ticker-title {
        font-size: 16px;
    }
    
    .ticker-container.collapsed {
        max-height: 130px;
    }
    
    .ticker-container.collapsed .ticker-body {
        max-height: 80px;
    }
}

        /* 메인 콘텐츠 스타일 */
        .main-content {
            padding: 50px 0;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 40px;
        }
        
        .section-title h2 {
            font-size: 32px;
            margin-bottom: 15px;
        }
        
        .section-title p {
            color: #777;
        }
        
        .features {
            display: flex;
            flex-wrap: wrap;
            margin: 0 -15px;
        }
        
        .feature {
            flex: 1;
            min-width: 300px;
            margin: 0 15px 30px;
            background-color: #f8f8f8;
            padding: 20px;
            border-radius: 5px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .feature:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .feature-icon {
            font-size: 36px;
            color: var(--primary-color);
            margin-bottom: 15px;
        }
        
        .feature h3 {
            margin-bottom: 15px;
        }
        
/* 서비스 요청 양식 스타일 (수정) */
.service-request-section {
    background-color: #f5f5f5;
    padding: 50px 0;
}

.service-form-container {
    width: 100%; /* 전체 너비 사용 */
    margin: 0 auto;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 그리드 레이아웃으로 변경 */
.service-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2열 그리드 */
    gap: 20px;
}

/* 모바일에서는 1열로 변경 */
@media (max-width: 768px) {
    .service-form-grid {
        grid-template-columns: 1fr;
    }
}

/* 전체 너비를 차지하는 항목 */
.full-width {
    grid-column: 1 / -1;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="tel"],
input[type="date"],
input[type="time"],
select,
textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

textarea {
    height: 100px;
    resize: vertical;
}

.address-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.address-group input[readonly] {
    background-color: #f8f9fa;
}

.message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.success {
    background-color: #d4edda;
    color: #155724;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
}

.address-search-btn {
    white-space: nowrap;
    padding: 8px 15px;
    width: auto;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.address-search-btn:hover {
    background-color: var(--primary-dark);
}

.notice {
    background-color: #f8f9fa;
    padding: 15px;
    border-left: 4px solid #6c757d;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.btn-container {
    text-align: center;
    margin-top: 30px;
}        
        /* 하단 영역 스타일 */
        .footer {
            background-color: #333;
            color: #fff;
            padding: 50px 0 20px;
        }
        
        .footer-container {
            display: flex;
            flex-wrap: wrap;
            margin-bottom: 30px;
        }
        
        .footer-section {
            flex: 1;
            min-width: 250px;
            padding: 0 15px;
            margin-bottom: 30px;
        }
        
        .footer-section h3 {
            margin-bottom: 20px;
            font-size: 18px;
        }
        
        .footer-contact li {
            margin-bottom: 10px;
        }
        
        .footer-contact i {
            margin-right: 10px;
            width: 20px;
            text-align: center;
        }
        
        .social-media {
            display: flex;
            margin-top: 20px;
        }
        
        .social-media a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            background-color: #444;
            color: #fff;
            border-radius: 50%;
            margin-right: 10px;
            transition: background-color 0.3s ease;
        }
        
        .social-media a:hover {
            background-color: var(--primary-color);
        }
        
        .copyright {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid #444;
            color: #999;
        }
        
        /* 사용자 메뉴 스타일 */
        .user-menu {
            position: relative;
        }
        
        .user-menu-trigger {
            display: flex;
            align-items: center;
            cursor: pointer;
            padding: 10px 15px;
        }
        
        .user-menu-trigger .profile-image {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            object-fit: cover;
            margin-right: 8px;
        }
        
        .user-menu-trigger .fa-chevron-down {
            font-size: 12px;
            margin-left: 5px;
        }
        
        .user-dropdown {
            position: absolute;
            top: 100%;
            right: 0;
            background: #fff;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            width: 200px;
            border-radius: 4px;
            padding: 10px 0;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 1001;
        }
        
        .user-menu:hover .user-dropdown {
            opacity: 1;
            visibility: visible;
        }
        
        .user-dropdown li {
            padding: 0;
            margin: 0;
        }
        
        .user-dropdown li a {
            padding: 10px 15px;
            display: block;
            color: #333;
            transition: all 0.3s ease;
            font-weight: normal;
        }
        
        .user-dropdown li a:hover {
            background-color: #f8f8f8;
        }
        
        .user-dropdown li a i {
            width: 20px;
            margin-right: 8px;
            text-align: center;
        }
        
        .admin-link {
            color: #e74c3c !important;
        }
        
        /* 미디어 쿼리 - 반응형 스타일 */
        @media (max-width: 992px) {
            .feature {
                flex: 0 0 calc(50% - 30px);
            }
            
            .footer-section {
                flex: 0 0 calc(50% - 30px);
            }
        }
        
        @media (max-width: 768px) {
            .main-nav {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background-color: #fff;
                box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            }
            
            .main-nav.active {
                display: flex;
            }
            
            .main-nav > li {
                margin-left: 0;
                border-bottom: 1px solid #eee;
            }
            
            .main-nav > li:last-child {
                border-bottom: none;
            }
            
            .sub-menu {
                position: static;
                width: 100%;
                box-shadow: none;
                opacity: 1;
                visibility: visible;
                display: none;
                background-color: #f8f8f8;
            }
            
            .main-nav > li:hover .sub-menu {
                display: block;
            }
            
            .mobile-menu-toggle {
                display: block;
            }
            
            .banner-slider {
                height: 350px;
            }
            
            .slide {
                height: 350px;
            }
            
            .slide-content h2 {
                font-size: 28px;
            }
            
            .slide-content p {
                font-size: 16px;
            }
            
            .ticker-container {
                height: 350px;
            }
            
            .ticker-row {
                flex-direction: column;
            }
            
            .ticker-col {
                flex: 1 1 100%;
            }
        }
        
        @media (max-width: 576px) {
            .feature {
                flex: 0 0 calc(100% - 30px);
            }
            
            .footer-section {
                flex: 0 0 calc(100% - 30px);
            }
            
            .banner-slider {
                height: 250px;
            }
            
            .slide {
                height: 250px;
            }
            
            .slide-content h2 {
                font-size: 24px;
            }
            
            .slide-content p {
                font-size: 14px;
            }
            
            .logo img {
                height: 30px;
            }
        }

.service-button {
    background-color: var(--primary-color);
}

.service-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

.pc-remote-button {
    background-color: #17a2b8; /* 청록색 */
}

.pc-remote-button:hover {
    background-color: #138496;
    transform: translateY(-3px);
}

.video-remote-button {
    background-color: #6f42c1; /* 보라색 */
}

.video-remote-button:hover {
    background-color: #5e35b1;
    transform: translateY(-3px);
}

.call-button {
    background-color: #28a745; /* 녹색 */
}

.call-button:hover {
    background-color: #218838;
    transform: translateY(-3px);
}

/* 위로가기 버튼 스타일 */
.go-top-button {
    background-color: #6c757d; /* 회색 */
    opacity: 0; /* 처음에는 숨겨둠 */
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s ease;
}

.go-top-button.visible {
    opacity: 1;
    visibility: visible;
}

.go-top-button:hover {
    background-color: #5a6268;
    transform: translateY(-3px);
}


/* 모달 스타일 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: #fff;
    margin: 10vh auto;
    width: 90%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.4s;
    position: relative;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    padding: 15px 20px;
    background-color: var(--primary-color) !important;
    color: white !important;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 1 !important;
}

.modal-header h3 {
    margin: 0;
    font-size: 20px;
}

.close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    opacity: 0.8;
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
}

/* 모달 내부 폼 스타일 개선 */
.modal .form-group {
    margin-bottom: 15px;
}

.modal label {
    font-size: 14px;
    color: #555;
}

.modal input,
.modal select,
.modal textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.modal input:focus,
.modal select:focus,
.modal textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.modal .address-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.modal .address-search-btn {
    white-space: nowrap;
    padding: 10px 15px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.modal .address-search-btn:hover {
    background-color: var(--primary-dark);
}

/* 모달 배경 불투명도 수정 */
.modal {
    background-color: rgba(0, 0, 0, 0.7) !important;
}

.modal .btn-container {
    text-align: center;
    margin-top: 20px;
}

.modal .btn {
    padding: 12px 25px;
    font-size: 16px;
}

.modal .notice {
    background-color: #f8f9fa;
    padding: 12px 15px;
    border-left: 4px solid #6c757d;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 4px;
}

/* 영상 원격지원 모달 전용 스타일 */
.video-modal-content {
    width: 95%;
    max-width: 1000px;
    height: 90vh;
    margin: 3vh auto;
}

.video-modal-body {
    padding: 0;
    height: calc(100% - 50px);
    overflow: hidden;
}

.video-modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .video-modal-content {
        width: 98%;
        height: 95vh;
        margin: 2vh auto;
    }
}

/* 원격지원 모달 스타일 */
.remote-support-info {
    margin-bottom: 20px;
}

.remote-step {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
}

.step-number {
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
}

.download-btn {
    background-color: #17a2b8;
    margin-top: 10px;
}

.download-btn:hover {
    background-color: #138496;
}

.connection-code {
    display: flex;
    margin-top: 10px;
}

.connection-code input {
    flex: 1;
    padding: 10px;
    font-family: monospace;
    font-size: 18px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    background-color: #f8f9fa;
    text-align: center;
}

.copy-code-btn {
    padding: 10px 15px;
    background-color: #6c757d;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    white-space: nowrap;
}

.copy-code-btn:hover {
    background-color: #5a6268;
}

.remote-support-contact {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 4px;
    text-align: center;
}

.remote-support-contact p {
    margin: 5px 0;
}

.link-notice {
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
}

/* 모바일 최적화 */
@media (max-width: 768px) {
    .fixed-buttons {
        bottom: 15px;
        right: 15px;
    }
    
    .fixed-button {
        padding: 10px;
        font-size: 12px;
        width: 100%; /* 모바일에서는 버튼을 좀 더 넓게 */
    }
    
    .modal-content {
        width: 95%;
        margin: 5vh auto;
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 12px 15px;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .remote-step {
        flex-direction: column;
    }
    
    .step-number {
        margin-bottom: 10px;
    }
    
    .connection-code {
        flex-direction: column;
    }
    
    .connection-code input {
        border-radius: 4px;
        margin-bottom: 5px;
    }
    
    .copy-code-btn {
        border-radius: 4px;
        width: 100%;
    }
}

/* 게시판 섹션 스타일 */
.board-section {
    padding: 50px 0;
    background-color: #f9f9f9;
}

.board-container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    height: 100%;
    min-height: 400px;
    margin-bottom: 30px;
}

.board-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.board-header h3 {
    margin: 0;
    font-size: 20px;
    color: var(--primary-color);
    font-weight: bold;
}

.more-link {
    color: #777;
    font-size: 14px;
    transition: color 0.3s;
}

.more-link:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.more-link i {
    margin-left: 5px;
}

/* 공지사항 스타일 */
.featured-post {
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px dashed #ddd;
}

.featured-post h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
}

.featured-post h4 a {
    color: #333;
    transition: color 0.3s;
}

.featured-post h4 a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.post-content {
    color: #666;
    margin-bottom: 10px;
    line-height: 1.5;
}

.post-date {
    color: #999;
    font-size: 12px;
    margin: 5px 0;
}

.post-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.post-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.post-list li:last-child {
    border-bottom: none;
}

.post-list li a {
    color: #333;
    flex: 1;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    transition: color 0.3s;
}

.post-list li a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* QnA 스타일 */
.qna-list .post-info {
    display: flex;
    align-items: center;
    min-width: 150px;
    justify-content: flex-end;
}

.post-author {
    color: #555;
    font-size: 13px;
    margin-right: 10px;
}

.no-posts {
    color: #999;
    text-align: center;
    padding: 30px 0;
}

/* 반응형 조정 */
@media (max-width: 768px) {
    .board-container {
        min-height: auto;
    }
    
    .post-list li {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .post-list li a {
        margin-bottom: 5px;
    }
    
    .qna-list .post-info {
        align-self: flex-start;
    }
}

/* 서비스 유형 URL 버튼 스타일 */
.url-service-buttons {
    margin-bottom: 30px;
}

.url-service-buttons h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.url-service-buttons p {
    margin-bottom: 15px;
    color: #555;
    font-size: 14px;
}

.service-button-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.url-service-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
    height: 100%;
    min-height: 100px;
}

.url-service-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.url-service-btn i {
    font-size: 24px;
    margin-bottom: 10px;
}

.url-service-btn .btn-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
}

.url-service-btn .btn-desc {
    font-size: 12px;
    opacity: 0.8;
}

.url-service-btn:hover i,
.url-service-btn:hover .btn-title,
.url-service-btn:hover .btn-desc {
    color: white;
}

.service-divider {
    position: relative;
    text-align: center;
    margin: 30px 0;
}

.service-divider:before,
.service-divider:after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: #dee2e6;
    position: absolute;
    top: 50%;
}

.service-divider:before {
    left: 0;
}

.service-divider:after {
    right: 0;
}

.service-divider span {
    background: #fff;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    color: #6c757d;
    font-size: 14px;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .service-button-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .url-service-btn {
        padding: 10px;
        min-height: 80px;
    }
    
    .url-service-btn i {
        font-size: 20px;
        margin-bottom: 5px;
    }
    
    .url-service-btn .btn-title {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .service-button-grid {
        grid-template-columns: 1fr;
    }
}
/* 서비스 프레임 스타일 */
#service-frame-container {
    margin-top: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
}

.service-frame-header {
    padding: 10px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.btn-back {
    background-color: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 5px 0;
    display: inline-flex;
    align-items: center;
}

.btn-back i {
    margin-right: 5px;
}

.btn-back:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

#service-frame {
    width: 100%;
    height: 500px;
    border: none;
    display: block;
    transition: height 0.3s ease;
}

/* 로딩 표시 */
#service-frame-container.loading {
    position: relative;
}

#service-frame-container.loading::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

#service-frame-container.loading::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 5px solid var(--primary-color);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 2;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 모달 내 iframe 최대 높이 제한 (모바일) */
@media (max-width: 768px) {
    #service-frame {
        max-height: 70vh;
    }
}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           dth: 5px 0 5px 5px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(0, 0, 0, 0.8);
}

/* 버튼에 호버했을 때 툴팁 표시 (데스크탑에서만) */
@media (min-width: 769px) {
    .button-container:hover .button-tooltip {
        opacity: 1;
        visibility: visible;
    }
}
/* 원형 버튼 + 항상 표시되는 라벨 */
.fixed-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

/* 버튼 컨테이너 - 버튼과 라벨을 함께 그룹화 */
.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.fixed-button {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border: none !important;
    color: white !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
    position: relative;
}

.fixed-button i {
    margin: 0 !important;
    font-size: 24px !important;
    line-height: 1 !important;
}

/* 버튼 아래 레이블 스타일 - 모든 디바이스에서 표시 */
.button-label {
    font-size: 10px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 2px 6px;
    border-radius: 10px;
    margin-top: 5px;
    white-space: nowrap;
    text-align: center;
    font-weight: normal;
    line-height: 1.2;
    display: block !important; /* 항상 표시 강제 */
}

/* 툴팁 스타일 */
.button-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    pointer-events: none; /* 툴팁이 마우스 이벤트를 차단하지 않도록 */
    z-index: 1000;
}

/* 툴팁 화살표 */
.button-tooltip:after {
    content: "";
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    border-width: 5px 0 5px 5px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(0, 0, 0, 0.8);
}

/* 버튼에 호버했을 때 툴팁 표시 (데스크탑에서만) */
@media (min-width: 769px) {
    .button-container:hover .button-tooltip {
        opacity: 1;
        visibility: visible;
    }
}

/* 모바일에서는 터치 시 툴팁 표시 (JavaScript 필요) */
.button-tooltip.show-mobile {
    opacity: 1;
    visibility: visible;
}

.service-button {
    background-color: #1E90FF !important;
}

.pc-remote-button {
    background-color: #17a2b8 !important;
}

.video-remote-button {
    background-color: #6f42c1 !important;
}

.call-button {
    background-color: #28a745 !important;
}

.go-top-button {
    background-color: #6c757d !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.fixed-button:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4) !important;
}

/* 모바일에서 버튼 크기 약간 축소 */
@media (max-width: 480px) {
    .fixed-button {
        width: 50px !important;
        height: 50px !important;
    }
    
    .fixed-button i {
        font-size: 20px !important;
    }
    
    .button-label {
        font-size: 9px;
        padding: 1px 5px;
    }
}