/* HIWIN Custom Block Page Styles */

:root {
    --color-primary: #c41230;       /* HIWIN 紅色 */
    --color-secondary: #1a1a1a;     /* 深灰色 */
    --color-text: #333333;
    --color-text-light: #666666;
    --color-text-muted: #888888;
    --color-border: #e0e0e0;
    --color-background: #ffffff;
    --color-background-alt: #f8f9fa;
    --font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: var(--font-family);
    background: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 700px;
    width: 100%;
    background: var(--color-background);
    border-radius: 8px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.logo-section {
    background: var(--color-background-alt);
    padding: 24px 40px;
    border-bottom: 1px solid var(--color-border);
    text-align: left;
}

.logo {
    height: 40px;
    width: auto;
}

.content {
    padding: 40px;
}

.title {
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--color-secondary);
    margin-bottom: 32px;
    line-height: 1.3;
}

.policy-tag {
    font-weight: 400;
    color: var(--color-text-light);
}

.message-section {
    margin-bottom: 32px;
}

.message-zh {
    font-size: 1.125rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    font-weight: 500;
}

.message-zh #blocked-site {
    word-break: break-all;
    background: rgba(196, 18, 48, 0.08);
    padding: 2px 8px;
    border-radius: 4px;
}

.contact-info {
    font-size: 1.125rem;
    color: var(--color-primary);
    margin-bottom: 24px;
    padding: 16px 20px;
    background: rgba(196, 18, 48, 0.05);
    border-left: 4px solid var(--color-primary);
    border-radius: 0 4px 4px 0;
}

.message-en {
    font-size: 1rem;
    color: var(--color-text-light);
}

.details-section {
    background: var(--color-background-alt);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 24px;
}

.details-section h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.details-table {
    width: 100%;
    font-size: 0.875rem;
    border-collapse: collapse;
}

.details-table td {
    padding: 8px 0;
    vertical-align: top;
}

.details-table td:first-child {
    width: 140px;
    color: var(--color-text-muted);
    font-weight: 500;
}

.details-table td:last-child {
    color: var(--color-text);
    word-break: break-all;
}

.details-table tr:not(:last-child) td {
    border-bottom: 1px solid var(--color-border);
}

.footer {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.footer p {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.footer a {
    color: var(--color-primary);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 600px) {
    body {
        padding: 10px;
        align-items: flex-start;
    }

    .container {
        margin-top: 20px;
    }

    .logo-section {
        padding: 16px 24px;
    }

    .logo {
        height: 32px;
    }

    .content {
        padding: 24px;
    }

    .title {
        font-size: 1.375rem;
        margin-bottom: 24px;
    }

    .message-zh,
    .contact-info {
        font-size: 1rem;
    }

    .contact-info {
        padding: 12px 16px;
    }

    .details-table td:first-child {
        width: 110px;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
    }

    .container {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
