body {
    font-family: sans-serif;
    background: #fafafa;
}

.container {
    width: 600px;
    margin: 50px auto;
    text-align: left;
}

.container h2, .container p {
    text-align: left;
    margin-left: 0;
}

textarea {
    width: 100%;
    padding: 15px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 5px 5px;
    font-family: Arial, sans-serif;
    line-height: 1.4;
}

button {
    padding: 10px 20px;
    margin-top: 15px;
}

.button-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.primary-btn {
    background: #0066CC;
    color: white;
    border: 1px solid #0066CC;
    font-weight: 500;
    min-width: 120px;
}

.primary-btn:hover {
    background: #0052a3;
    border-color: #0052a3;
}

.helper-btn {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
    min-width: 200px;
}

#status {
    text-align: center;
    margin: 15px 0;
    font-style: italic;
    color: #666;
    min-height: 20px;
}

.source-box {
    margin-top: 20px;
    text-align: left;
    background: #f4f4f4;
    padding: 10px;
    border-radius: 5px;
    white-space: pre-wrap;
}

.center-box {
    text-align: center;
}

.logo-container {
    text-align: left;
    margin: 15px 0 15px 20px;
}

.region-logo {
    height: 40px;
    max-width: 250px;
    image-rendering: crisp-edges;
    image-rendering: -webkit-optimize-contrast;
}

.main-nav {
    display: flex;
    justify-content: flex-start;
    border-bottom: 1px solid #ddd;
    margin-bottom: 0;
    background: #f9f9f9;
}

.nav-tab {
    padding: 10px 20px;
    text-decoration: none;
    color: #666;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.nav-tab:hover {
    color: #333;
    background: #f0f0f0;
}

.nav-tab.active {
    color: #0066CC;
    border-bottom-color: #0066CC;
    background: white;
}

.chromia-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fafafa;
    border-top: 1px solid #ddd;
    padding: 10px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.chromia-logo {
    height: 20px;
    max-width: 80px;
    filter: contrast(1.2) brightness(0.9);
    background: transparent;
    padding: 2px;
}

.diff-box {
    white-space: pre-wrap;
    font-family: monospace;
    border: 1px solid #ddd;
    padding: 10px;
    background: #ffffff;
    border-radius: 4px;
    min-height: 80px;
}

.diff-added {
    background-color: #d4ffd4; /* green tint */
}

.diff-removed {
    background-color: #ffd4d4; /* red tint */
}

.diff-unchanged {
    color: #888;
}
