/* enhost tools - shared design system (see DESIGN.md) */

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

body {
    font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    padding: 20px 0;
}

header img,
.logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 10px;
}

header p {
    font-size: 14px;
    color: #666;
}

h1 {
    font-size: 24px;
    font-weight: 600;
}

.info-section {
    margin-bottom: 30px;
}

.info-section p {
    color: #666;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 5px;
}

.tab-button {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    border-radius: 4px 4px 0 0;
    transition: all 0.2s;
}

.tab-button:hover {
    background: #f4f4f4;
    color: #333;
}

.tab-button.active {
    background: #f4f4f4;
    color: #0066cc;
    font-weight: 600;
}

.tab-content {
    margin-top: 20px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.tools-nav {
    text-align: center;
    padding: 25px 0;
    margin-top: 40px;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.tools-nav a {
    display: inline-block;
    padding: 8px 16px;
    margin: 5px;
    color: #0066cc;
    text-decoration: none;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.tools-nav a:hover {
    background-color: #f5f5f5;
    border-color: #0066cc;
}

.tools-nav a.active {
    background-color: #0066cc;
    color: white;
    border-color: #0066cc;
}

footer {
    text-align: center;
    padding: 30px 0;
    color: #999;
    font-size: 13px;
    margin-top: 20px;
}

footer a {
    color: #0066cc;
    text-decoration: none;
}

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

@media (max-width: 600px) {
    body {
        padding: 15px;
    }
    
    h1 {
        font-size: 20px;
    }
    
    .tab-button {
        padding: 6px 12px;
        font-size: 13px;
    }
}

/* Available to assistive technology and the document outline, but takes up no
   space and is not painted. Used where a heading is needed for structure but
   would add visual clutter. */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
