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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 40px;
    max-width: 600px;
    width: 100%;
}

h1 {
    font-size: 2rem;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.controls {
    margin-bottom: 30px;
}

.input-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

label {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

input[type="text"] {
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s;
    font-family: 'Courier New', monospace;
}

input[type="text"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.output-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.output-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.output-title span {
    font-weight: 600;
    color: #333;
}

.copy-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.copy-btn:hover {
    background: #5568d3;
    transform: translateY(-1px);
}

.copy-btn:active {
    transform: translateY(0);
}

.lookup-btn {
    margin-top: 1rem;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
}

.lookup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.lookup-btn:active {
    transform: translateY(0);
}

.result {
    min-height: 60px;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.empty-state {
    color: #999;
    font-style: italic;
}

.vendor-name {
    color: #000;
    font-weight: 600;
    font-size: 1.2rem;
}

.error {
    color: #f44336;
    font-weight: 500;
}

.loading {
    color: #666;
    font-style: italic;
}

.info-box {
    background: #e3f2fd;
    border-left: 4px solid #2196F3;
    padding: 16px;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #333;
    line-height: 1.6;
}

.info-box strong {
    color: #1976D2;
}

.format-examples {
    margin-top: 12px;
    padding-left: 20px;
}

.format-examples li {
    margin: 4px 0;
    color: #555;
    font-family: 'Courier New', monospace;
}