.wsa-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.wsa-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

#wsa-url-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

#wsa-analyze-btn {
    padding: 0.75rem 1.5rem;
    background-color: #2271b1;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s;
}

#wsa-analyze-btn:hover {
    background-color: #135e96;
}

#wsa-analyze-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.wsa-loading {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.wsa-error {
    background-color: #f8d7da;
    color: #842029;
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.wsa-style-guide {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 2rem;
}

.wsa-style-guide section {
    margin-bottom: 3rem;
}

.wsa-style-guide h3 {
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eee;
}

/* Colors Section */
.wsa-color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.wsa-color-item {
    text-align: center;
}

.wsa-color-swatch {
    width: 100%;
    height: 100px;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    border: 1px solid #eee;
}

/* Typography Section */
.wsa-type-item {
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 4px;
}

.wsa-type-preview {
    margin: 1rem 0;
    padding: 1rem;
    background: white;
    border-radius: 4px;
}

.wsa-type-specs {
    background: #f1f1f1;
    padding: 1rem;
    border-radius: 4px;
}

/* Components Section */
.wsa-component-item {
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 4px;
}

.wsa-component-specs {
    background: #f1f1f1;
    padding: 1rem;
    border-radius: 4px;
}

code {
    display: block;
    font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #333;
}
