* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #1a1a1a;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem 0;
}

.header h1 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.input-section {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s ease;
}

input:focus {
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
}

button {
    background-color: #4299e1;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

button:hover {
    background-color: #3182ce;
    transform: translateY(-1px);
}

button:active {
    transform: translateY(0);
}

.address-section {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    margin-bottom: 1.5rem;
}

.address-details {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.coordinates {
    color: #718096;
    font-size: 0.875rem;
    font-family: monospace;
}

.map-container {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    height: 450px;
    overflow: hidden;
}

#map {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.hidden {
    display: none;
}

/* 404 Error Page Styles */
.error-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #f7fafc;
    padding: 2rem;
}

.error-content {
    max-width: 500px;
}

.error-content h1 {
    font-size: 8rem;
    font-weight: 700;
    color: #2d3748;
    line-height: 1;
    margin: 0;
}

.error-content h2 {
    font-size: 2rem;
    color: #4a5568;
    margin: 1rem 0;
}

.error-content p {
    color: #718096;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.hidden-map {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Responsive Design */
@media (max-width: 640px) {
    .container {
        padding: 1rem;
    }

    .input-section {
        flex-direction: column;
    }

    button {
        width: 100%;
    }

    .map-container {
        height: 350px;
    }

    #input-section {
        display: none;
    }
    
}