body {
    font-family: Arial, sans-serif;
    margin: 20px;
    background-color: #f9f9f9;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border: 1px solid #ddd;
}

.back-link {
    color: #0066cc;
    text-decoration: none;
    margin-bottom: 15px;
    display: inline-block;
}

.back-link:hover {
    text-decoration: underline;
}

header {
    text-align: center;
    margin-bottom: 20px;
}

header h1 {
    color: #333;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

header p {
    color: #666;
    margin: 10px 0;
}

.main-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    align-items: start;
}

.map-section {
    border: 1px solid #ddd;
}

#map {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 500px;
    max-height: 500px;
}

.map-info {
    padding: 10px;
    background: #f9f9f9;
    border-top: 1px solid #ddd;
}

.coord-display {
    display: flex;
    justify-content: space-between;
    font-family: monospace;
    font-size: 0.9rem;
    color: #666;
}

.form-section {
    border: 1px solid #ddd;
    padding: 20px;
}

.form-section h2 {
    color: #333;
    margin-bottom: 15px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.form-group input:focus {
    outline: none;
    border-color: #0066cc;
}

.csv-output {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #ccc;
}

.csv-output h3 {
    margin-bottom: 10px;
    color: #333;
}

#csv-line {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    font-family: monospace;
    font-size: 12px;
    background-color: #f9f9f9;
    resize: vertical;
    min-height: 60px;
}

#copy-btn {
    margin-top: 10px;
    padding: 8px 16px;
    background: #0066cc;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

#copy-btn:hover {
    background: #0052a3;
}

/* Responsive design */
@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr;
    }
    
    #map {
        max-width: 400px;
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    body {
        margin: 10px;
    }
    
    .container {
        padding: 15px;
    }
    
    .form-section {
        padding: 15px;
    }
    
    #map {
        max-width: 350px;
        max-height: 350px;
    }
} 