@charset "UTF-8";

:root {
    /*--primary-color: #3498db;*/
    --primary-color: #1976d2;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --success-color: #2ecc71;
    --info-color: #3498db;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
}
        
body {
    font-family: 'Microsoft JhengHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-color);
    background-color: #f8f9fa;
    line-height: 1.6;
}
/*
.navbar {
    background-color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    color: white !important;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    transition: color 0.3s;
}

.nav-link:hover {
    color: white !important;
}
*/
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 3rem 0;
    padding-top: 140px;
    margin-bottom: 2rem;
}

.hero-title {
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

.search-card {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: none;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 2rem;
}

.search-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-header {
    background-color: var(--primary-color);
    color: white;
    border-radius: 10px 10px 0 0 !important;
    padding: 1rem 1.5rem;
    font-weight: 600;
}

.section-title {
    position: relative;
    margin-bottom: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.company-info-card {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: none;
    margin-bottom: 2rem;
}

.company-info-header {
    background-color: var(--secondary-color);
    color: white;
    border-radius: 10px 10px 0 0 !important;
    padding: 1rem 1.5rem;
}

.info-label {
    font-weight: 600;
    color: var(--secondary-color);
}

.table-of-contents {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.table-of-contents a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.table-of-contents a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.related-links-card {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: none;
    margin-bottom: 2rem;
}

.related-links-header {
    background-color: var(--info-color);
    color: white;
    border-radius: 10px 10px 0 0 !important;
    padding: 1rem 1.5rem;
}

.related-links-card a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    padding: 0.5rem 0;
}

.related-links-card a:hover {
    color: var(--primary-color);
}

/* 風險等級樣式 */
.risk-badge {
	text-align: center;
	outline: solid;
	outline-width: 2px;
	align-items: center;
	gap: 6px;
	font-size: .85rem;
	font-weight: 600;
	padding: 6px 12px;
	border-radius: 24px;
	background: rgba(255, 255, 255, .15);
	backdrop-filter: blur(4px);
	margin-top: 6px;
}

.risk-badge.low {
	background: rgba(46, 125, 50, 1);
	color: #ffffff;
}

.risk-badge.midlow {
	background: rgba(27, 127, 184, 1);
	color: #ffffff;
}

.risk-badge.mid {
	background: rgba(249, 176, 0, 1);
	color: #ffffff;
}

.risk-badge.midhigh {
	background: rgba(239, 108, 0, 1);
	color: #ffffff;
}

.risk-badge.high {
	background: rgba(255, 0, 0, 1);
	color: #ffffff;
}

/* 目錄活動項目樣式 */
.table-of-contents a.active {
    color: var(--primary-color);
    font-weight: 600;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    margin-left: -0.5rem;
}

.content-section {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.content-section .section-title {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #dee2e6;
}

.related-links-card a i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.basic-data-table tr td:first-child {
    width: 30%;
    white-space: nowrap;
}

.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}

.footer a:hover {
    color: white;
    text-decoration: none;
}

button.linklike {
  background:none;
  border:none;
  color:#06c;
  padding:0;
  cursor:pointer;
  text-decoration:underline;
  font:inherit;
}

/* 響應式調整 */
@media (max-width: 992px) {
	
	
	
	
}

@media (max-width: 768px) {
    .hero-section {
        /*padding: 2rem 0;*/
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .basic-data-table tr td {
        display: block;
        width: 100%;
    }
    
    .basic-data-table tr td:first-child {
        font-weight: 600;
        padding-bottom: 0.25rem;
        border-bottom: none;
    }
    
    .basic-data-table tr td:last-child {
        padding-top: 0.25rem;
        padding-bottom: 1rem;
    }
}


@media (max-width: 576px) {
    .container {
        padding-left:0.1rem;
        padding-right:0.1rem;
    }
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .card-header, .company-info-header, .related-links-header {
        padding: 0.75rem 1rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .table-of-contents {
        padding: 1rem;
    }
}