/* Extracted from customs/taiwan-info.blade.php */
/* Auto-generated - do not edit inline styles in the template */

.customs-info-page {
    background-color: #f8f9fa;
}

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

.customs-header {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 40px 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    text-align: center;
}

.customs-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.customs-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.customs-nav {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    padding: 20px;
}

.nav-tabs {
    border: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.nav-tab {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 8px 12px;
    color: #495057;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9rem;
}

.nav-tab:hover, .nav-tab.active {
    background: #3498db;
    border-color: #3498db;
    color: white;
    text-decoration: none;
}

.customs-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.section-title {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #3498db;
}

.code-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.code-card {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.code-card:hover {
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
}

.code-title {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.code-subtitle {
    color: #3498db;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.code-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.code-features {
    list-style: none;
    padding: 0;
}

.code-features li {
    color: #555;
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.code-features li:before {
    content: "✓";
    color: #27ae60;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.process-steps {
    counter-reset: step-counter;
}

.process-step {
    background: #f8f9fa;
    border-left: 4px solid #3498db;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 0 8px 8px 0;
    counter-increment: step-counter;
    position: relative;
}

.process-step:before {
    content: counter(step-counter);
    background: #3498db;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    position: absolute;
    left: -17px;
    top: 20px;
}

.step-title {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    margin-left: 20px;
}

.step-content {
    color: #555;
    line-height: 1.6;
    margin-left: 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.contact-card {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
}

.contact-title {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    color: #555;
    padding: 5px 0;
    display: flex;
    align-items: center;
}

.contact-info li strong {
    color: #2c3e50;
    min-width: 80px;
    margin-right: 10px;
}

.contact-info a {
    color: #3498db;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.alert-info {
    background: #e8f4fd;
    border: 1px solid #bee5eb;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}

.alert-info h4 {
    color: #0c5460;
    margin-bottom: 10px;
}

.alert-info p {
    color: #0c5460;
    margin-bottom: 0;
}

.alert-warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}

.alert-warning h4 {
    color: #856404;
    margin-bottom: 10px;
}

.alert-warning p, .alert-warning li {
    color: #856404;
}

.alert-danger {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}

.alert-danger h4 {
    color: #721c24;
    margin-bottom: 10px;
}

.alert-danger p, .alert-danger li {
    color: #721c24;
}

.requirements-list {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.requirements-list h4 {
    color: #856404;
    margin-bottom: 15px;
}

.requirements-list ul {
    margin: 0;
    padding-left: 20px;
}

.requirements-list li {
    color: #856404;
    margin-bottom: 8px;
}

/* 新增：關稅計算區塊樣式 */
.formula-box {
    background: #e8f5e9;
    border: 2px solid #4caf50;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.formula-box h4 {
    color: #2e7d32;
    margin-bottom: 15px;
}

.formula-step {
    font-family: monospace;
    font-size: 1.1rem;
    color: #1b5e20;
    padding: 8px 0;
    border-bottom: 1px dashed #a5d6a7;
}

.formula-step:last-child {
    border-bottom: none;
}

.example-box {
    background: #e3f2fd;
    border: 2px solid #2196f3;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.example-box h4 {
    color: #1565c0;
    margin-bottom: 15px;
}

.example-calc {
    font-family: monospace;
    color: #0d47a1;
    padding: 5px 0;
}

/* FAQ 樣式 */
.faq-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    background: #3498db;
    color: white;
    padding: 15px 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: #2980b9;
}

.faq-answer {
    padding: 15px 20px;
    color: #555;
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question .arrow {
    transform: rotate(180deg);
}

.arrow {
    transition: transform 0.3s ease;
}

/* 禁止物品樣式 */
.prohibited-item {
    background: #ffebee;
    border-left: 4px solid #f44336;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 0 8px 8px 0;
}

.prohibited-item h5 {
    color: #c62828;
    margin-bottom: 5px;
}

.prohibited-item p {
    color: #b71c1c;
    margin: 0;
    font-size: 0.9rem;
}

.restricted-category {
    background: #fff8e1;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.restricted-category h4 {
    color: #f57c00;
    margin-bottom: 15px;
}

.restricted-category ul {
    margin: 0;
    padding-left: 20px;
}

.restricted-category li {
    color: #e65100;
    margin-bottom: 5px;
}

/* Useful links */
.useful-links {
    background: #e8f5e9;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.useful-links h4 {
    color: #2e7d32;
    margin-bottom: 15px;
}

.useful-links a {
    display: block;
    color: #1b5e20;
    padding: 8px 0;
    border-bottom: 1px solid #a5d6a7;
}

.useful-links a:last-child {
    border-bottom: none;
}

.useful-links a:hover {
    color: #4caf50;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .customs-header h1 {
        font-size: 1.8rem;
    }
    
    .nav-tabs {
        flex-direction: column;
    }
    
    .nav-tab {
        text-align: center;
    }
    
    .code-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .customs-content {
        padding: 20px;
    }
}

.section-heading {
    color: #2c3e50;
    margin-bottom: 20px;
}

.section-heading-spaced {
    color: #2c3e50;
    margin: 30px 0 20px;
}

.hidden-section {
    display: none;
}
