/* style.css - Contemporary & Streamlined Redesign */
:root {
    --primary-color: #0d6efd; /* A modern, accessible blue */
    --primary-hover-color: #0b5ed7;
    --background-color: #f8f9fa; /* A very light gray background */
    --card-background-color: #ffffff;
    --text-color: #212529; /* A dark gray, easier on the eyes than pure black */
    --secondary-text-color: #6c757d;
    --border-color: #dee2e6;
    --card-shadow: 0 4px 25px rgba(0, 0, 0, 0.07);
    --border-radius: 12px;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 20px 0;
}

.container {
    max-width: 680px; /* Optimal width for readability */
    margin: 40px auto;
    padding: 0 15px;
}

.main-header {
    text-align: center;
    margin-bottom: 40px;
    border: none;
    background: none;
}

.main-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.main-header p {
    font-size: 1.1rem;
    color: var(--secondary-text-color);
    margin: 0;
}

.card {
    background-color: var(--card-background-color);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 35px 40px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.input-field {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-field:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15);
}

.btn-primary {
    display: block;
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    text-align: center;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.1rem;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: var(--primary-hover-color);
}

/* Error and Result Card Styles */
.error-card {
    background-color: #fff5f5;
    border-left: 5px solid #e53e3e;
    padding: 25px 30px;
}
.error-card h3 {
    color: #c53030;
    margin-top:0;
}

.result-card h3 {
    font-size: 1.5rem;
    text-align: center;
    margin-top: 0;
    padding-bottom: 15px;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.streetview-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    display: block;
}