* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header h1 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.header nav {
    display: flex;
    gap: 1.5rem;
}

.header nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.header nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.main-content {
    flex: 1;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.footer {
    background-color: #2d3748;
    color: white;
    text-align: center;
    padding: 1.5rem;
    margin-top: auto;
}

/* Home Page */
.home-page {
    text-align: center;
}

.hero {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #667eea;
}

.subtitle {
    font-size: 1.25rem;
    color: #666;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #667eea;
}

.getting-started {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.getting-started h3 {
    margin-bottom: 1rem;
    color: #667eea;
}

.getting-started ol {
    margin-left: 2rem;
}

.getting-started li {
    margin-bottom: 0.5rem;
}

/* Login Page */
.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.login-container {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.login-container h2 {
    margin-bottom: 1rem;
    color: #667eea;
}

.login-description {
    margin-bottom: 1.5rem;
    color: #666;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
}

button {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s;
}

button:hover:not(:disabled) {
    opacity: 0.9;
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    background-color: #f0f0f0;
}

.note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #666;
    font-style: italic;
}

/* Location Match Page */
.location-match-page {
    max-width: 800px;
    margin: 0 auto;
}

.location-match-container {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.location-match-container h2 {
    margin-bottom: 1rem;
    color: #667eea;
}

.description {
    margin-bottom: 1.5rem;
    color: #666;
}

.error-message {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #fee;
    border-left: 4px solid #f44;
    color: #c00;
    border-radius: 4px;
}

.results {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #eee;
}

.results h3 {
    margin-bottom: 1.5rem;
    color: #667eea;
}

.section {
    margin-bottom: 2rem;
}

.section h4 {
    margin-bottom: 1rem;
    color: #555;
}

.no-results {
    color: #999;
    font-style: italic;
}

.location-list {
    list-style: none;
}

.location-item {
    background-color: #f9f9f9;
    padding: 1rem;
    margin-bottom: 0.75rem;
    border-radius: 4px;
    border-left: 4px solid #667eea;
}

.location-item strong {
    color: #333;
    font-size: 1.1rem;
}

.location-item small {
    color: #999;
}

.simple-list {
    list-style: none;
    padding-left: 1rem;
}

.simple-list li {
    padding: 0.5rem;
    border-bottom: 1px solid #eee;
}

.simple-list li:last-child {
    border-bottom: none;
}
