/* 전역 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 네비게이션 바 */
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.nav-brand {
    font-size: 20px;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 10px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: 500;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    font-weight: 600;
}

.nav-icon {
    font-size: 18px;
}

.nav-text {
    font-size: 14px;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.username-display {
    color: white;
    font-weight: 500;
    font-size: 14px;
}

.logout-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
}

.logout-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* 테이블 중앙 정렬 */
table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

table th,
table td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #495057;
}

table tbody tr:hover {
    background: #f8f9fa;
}

/* 로그인 페이지 스타일 */
.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.login-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.login-header h1 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 24px;
    word-break: keep-all;
}

.login-header p {
    color: #7f8c8d;
    margin-bottom: 30px;
    font-size: 14px;
}

.login-form {
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #2c3e50;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e8ed;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
}

.form-help {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.job-id-format {
    display: block;
    margin-top: 3px;
    font-size: 11px;
    color: #95a5a6;
    font-style: italic;
}

/* 실행 방식 선택 스타일 */
.execution-type-selector {
    display: flex;
    gap: 15px;
}

.radio-option {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 12px;
    border: 2px solid #e1e8ed;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-option:hover {
    border-color: #667eea;
    background-color: #f8f9ff;
}

.radio-option input[type="radio"] {
    margin-right: 10px;
    width: auto;
}

.radio-option input[type="radio"]:checked + .radio-label {
    color: #667eea;
}

.radio-option:has(input[type="radio"]:checked) {
    border-color: #667eea;
    background-color: #f8f9ff;
}

.radio-label {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.radio-label strong {
    font-size: 14px;
    color: #2c3e50;
}

.radio-label small {
    font-size: 11px;
    color: #7f8c8d;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.login-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.login-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.error-message {
    background: #fee;
    color: #c33;
    padding: 10px;
    border-radius: 6px;
    margin-top: 15px;
    font-size: 14px;
    text-align: center;
}

/* 대시보드 페이지 스타일 */
.dashboard-page {
    background-color: #f5f7fa;
    min-height: 100vh;
}

.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.header h1 {
    color: #2c3e50;
    font-size: 20px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info .admin-link {
    color: #3498db;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.user-info .admin-link:hover {
    background-color: rgba(52, 152, 219, 0.1);
}

.user-info span {
    color: #7f8c8d;
    font-size: 14px;
}

.logout-btn {
    padding: 8px 16px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.logout-btn:hover {
    background: #c0392b;
}

.main-content {
    padding: 30px 0;
}

/* 섹션 스타일 */
section {
    background: white;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

section h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 18px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

/* 폼 스타일 */
.config-form {
    margin-top: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    position: relative;
}

.refresh-btn {
    position: absolute;
    right: 0;
    top: 28px;
    padding: 8px 12px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.refresh-btn:hover {
    background: #2980b9;
}

/* 계정 선택기 스타일 */
.account-selector {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.combobox-container {
    position: relative;
    display: flex;
}

.combobox-input {
    flex: 1;
    padding: 10px 40px 10px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: white;
}

.combobox-input:focus {
    outline: none;
    border-color: #007bff;
}

.combobox-toggle {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 30px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 12px;
    color: #666;
}

.combobox-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.dropdown-item {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

.dropdown-item.selected {
    background-color: #007bff;
    color: white;
}

.dropdown-loading {
    padding: 10px;
    text-align: center;
    color: #666;
    font-style: italic;
}

.dropdown-no-results {
    padding: 10px;
    text-align: center;
    color: #999;
    font-style: italic;
}

.account-selector .refresh-btn {
    align-self: flex-start;
    margin-top: 4px;
    position: static;
}

.start-btn {
    padding: 12px 30px;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.start-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.start-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 상태 카드 스타일 */
.status-card,
.results-card {
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    padding: 20px;
    background: #f8f9fa;
}

.status-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.status-item,
.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-item label,
.result-item label {
    font-weight: 500;
    color: #2c3e50;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.status-badge.pending,
.status-badge.starting {
    background: #fff3cd;
    color: #856404;
}

.status-badge.running,
.status-badge.scanning {
    background: #d1ecf1;
    color: #0c5460;
}

.status-badge.completed {
    background: #d4edda;
    color: #155724;
}

.status-badge.failed {
    background: #f8d7da;
    color: #721c24;
}

.status-badge.terminated {
    background: #e2e3e5;
    color: #383d41;
}

/* 프로그레스 바 */
.progress-container {
    margin: 20px 0;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3498db 0%, #2ecc71 100%);
    transition: width 0.5s ease;
    border-radius: 10px;
}

.progress-text {
    display: block;
    text-align: center;
    margin-top: 5px;
    font-weight: 500;
    color: #2c3e50;
}

/* 액션 버튼들 */
.status-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.cancel-btn {
    padding: 8px 16px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.cancel-btn:hover {
    background: #c0392b;
}

/* 다운로드 섹션 */
.download-section h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 16px;
}

.download-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.download-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: white;
    border: 1px solid #e1e8ed;
    border-radius: 4px;
}

.download-link a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.download-link a:hover {
    text-decoration: underline;
}

.file-size {
    color: #7f8c8d;
    font-size: 12px;
    margin-right: 10px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.download-btn:hover {
    background: #2980b9;
}

.download-btn svg {
    width: 16px;
    height: 16px;
}

/* 히스토리 테이블 */
.history-table {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th,
td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e1e8ed;
}

th {
    background: #f8f9fa;
    font-weight: 500;
    color: #2c3e50;
}

tr:hover {
    background: #f8f9fa;
}

.action-btn {
    padding: 4px 8px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    margin-right: 4px;
    transition: all 0.15s ease;
    transform: translateY(0);
}

.action-btn:hover {
    background: #2980b9;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

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

.action-btn.terminate-btn {
    background: #e74c3c;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
}

.action-btn.terminate-btn:hover {
    background: #c0392b;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.action-btn.terminate-btn:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .status-info {
        grid-template-columns: 1fr;
    }
    
    .header-content {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
    }
    
    .user-info {
        margin-top: 10px;
    }
    
    .status-actions {
        flex-direction: column;
    }
}

/* 로딩 애니메이션 */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.btn-loading::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
}


/* 모달 스타일 */
.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.5);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.modal-header h3 {
    margin: 0;
    color: #2c3e50;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover,
.close:focus {
    color: #000;
}

.modal-body {
    padding: 20px;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

/* 테이블 스타일 개선 */
.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th,
table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
    white-space: nowrap;
}

table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #495057;
}

table tr:hover {
    background-color: #f8f9fa;
}

.loading,
.no-data,
.error {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.error {
    color: #dc3545;
}

/* 액션 버튼 스타일 */
.action-btn.success {
    background-color: #28a745;
    color: white;
}

.action-btn.success:hover {
    background-color: #218838;
}

.action-btn.danger {
    background-color: #dc3545;
    color: white;
}

.action-btn.danger:hover {
    background-color: #c82333;
}

/* 상태 배지 추가 스타일 */
.status-badge.confirmed {
    background-color: #d4edda;
    color: #155724;
}

.status-badge.disabled {
    background-color: #f8d7da;
    color: #721c24;
}

/* 히스토리 뷰 전환 버튼 */
.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.view-toggle {
    display: flex;
    gap: 10px;
}

.toggle-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: white;
    color: #333;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.15s ease;
    transform: translateY(0);
}

.toggle-btn:hover {
    background: #f5f5f5;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.toggle-btn:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.toggle-btn.active {
    background: #0073bb;
    color: white;
    border-color: #0073bb;
}

.toggle-btn.active:hover {
    background: #005a94;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.toggle-btn.active:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* 사용자 관리 페이지 개선 스타일 */

/* 검색 및 필터 섹션 */
.filter-section {
    padding: 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.search-box {
    flex: 1;
    min-width: 250px;
}

.search-box input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.filter-group {
    display: flex;
    gap: 10px;
}

.filter-group select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s;
}

.filter-group select:focus {
    outline: none;
    border-color: #667eea;
}

/* 드롭다운 메뉴 */
.action-dropdown {
    position: relative;
    display: inline-block;
}

.action-btn-icon {
    background: #f0f0f0;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: background 0.3s;
}

.action-btn-icon:hover {
    background: #e0e0e0;
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 5px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    z-index: 1000;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
}

.dropdown-menu a.danger {
    color: #dc3545;
}

.dropdown-menu a.danger:hover {
    background: #fff5f5;
}

/* 비밀번호 입력 래퍼 */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input {
    flex: 1;
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.toggle-password:hover {
    opacity: 1;
}

/* 비밀번호 강도 표시 */
.password-strength {
    margin-top: 10px;
}

.strength-bar {
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 5px;
}

.strength-fill {
    height: 100%;
    transition: width 0.3s, background 0.3s;
}

.strength-text {
    font-size: 12px;
    font-weight: 500;
}

/* 상태 배지 개선 */
.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-badge.confirmed {
    background: #d4edda;
    color: #155724;
}

.status-badge.pending {
    background: #fff3cd;
    color: #856404;
}

.status-badge.disabled {
    background: #f8d7da;
    color: #721c24;
}

/* 테이블 반응형 개선 */
@media (max-width: 768px) {
    .filter-section {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        min-width: 100%;
    }
    
    .filter-group {
        flex-direction: column;
    }
    
    .filter-group select {
        width: 100%;
    }
    
    .table-container {
        overflow-x: auto;
    }
    
    table {
        min-width: 800px;
    }
}

/* 모달 개선 */
.modal-content {
    max-width: 500px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.modal-header h3 {
    margin: 0;
    font-size: 20px;
    color: #2c3e50;
}

.modal-header .close {
    font-size: 28px;
    font-weight: 300;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-header .close:hover {
    color: #333;
}

/* 로딩 및 에러 상태 */
.loading, .no-data, .error {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-style: italic;
}

.error {
    color: #dc3545;
}


/* 외부 계정 섹션 스타일 */
.external-account-section {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.external-checkbox-container {
    margin-bottom: 15px;
}

.external-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    padding: 10px;
    background: white;
    border-radius: 6px;
    transition: all 0.3s;
}

.external-checkbox-label:hover {
    background: #e9ecef;
}

.external-checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
}

.external-guide {
    background: #e7f3ff;
    border: 2px solid #2196F3;
    border-radius: 8px;
    padding: 20px;
    margin-top: 15px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.guide-header h4 {
    color: #1976D2;
    margin-bottom: 8px;
    font-size: 16px;
}

.guide-header p {
    color: #555;
    font-size: 13px;
    margin-bottom: 15px;
}

.cfn-download-btn {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    margin-bottom: 15px;
}

.cfn-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
}

.guide-steps {
    background: white;
    border-left: 4px solid #2196F3;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.guide-steps strong {
    color: #1976D2;
    display: block;
    margin-bottom: 8px;
}

.guide-steps ol {
    margin-left: 20px;
    line-height: 1.8;
    font-size: 13px;
}

.guide-steps li {
    margin-bottom: 5px;
}

.external-input-fields {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 6px;
    padding: 15px;
}

.external-input-fields .form-group {
    margin-bottom: 12px;
}

.external-input-fields .form-group:last-child {
    margin-bottom: 0;
}

.external-input-fields label {
    font-size: 13px;
    font-weight: 600;
    color: #856404;
}

.external-input-fields input {
    border: 2px solid #ffc107;
}

.external-input-fields input:focus {
    border-color: #ff9800;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
}
