* {
    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;
    flex-direction: column;
    color: #333;
}

.container {
    flex: 1;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.search-container {
    text-align: center;
    margin-top: 15vh;
}

.search-container h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.search-form {
    display: flex;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

#search-input {
    flex: 1;
    padding: 15px 20px;
    font-size: 16px;
    border: none;
    border-radius: 25px;
    outline: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

#search-input:focus {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

button[type="submit"] {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    background: #4CAF50;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

button[type="submit"]:hover {
    background: #45a049;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

button[type="submit"]:active {
    transform: translateY(0);
}

.examples {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.error-message {
    background: #f44336;
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.result-container {
    margin-top: 40px;
}

.result-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.result-card h2 {
    color: #667eea;
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.result-field {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.result-field:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.result-field label {
    display: block;
    font-weight: 600;
    color: #666;
    margin-bottom: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-field .value {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

.result-field .vendor-name {
    font-size: 20px;
    font-weight: 600;
    color: #667eea;
}

.result-field .address {
    white-space: pre-wrap;
}

.result-card.error {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
}

.result-card.error h2 {
    color: #856404;
}

.result-card.error p {
    color: #856404;
    margin-bottom: 10px;
    line-height: 1.6;
}

footer {
    background: rgba(0, 0, 0, 0.3);
    color: white;
    padding: 20px;
    text-align: center;
    margin-top: auto;
}

.footer-content {
    font-size: 14px;
}

.footer-content p {
    margin: 5px 0;
}

.footer-content a {
    color: white;
    text-decoration: underline;
}

.footer-content a:hover {
    text-decoration: none;
}

@media (max-width: 600px) {
    .search-container {
        margin-top: 10vh;
    }

    .search-container h1 {
        font-size: 2rem;
    }

    .search-form {
        flex-direction: column;
    }

    .result-card {
        padding: 20px;
    }
}
